You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aws-models/codebuild.json
+20-8Lines changed: 20 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,12 @@
124
124
"traits": {
125
125
"smithy.api#enumValue": "CODECONNECTIONS"
126
126
}
127
+
},
128
+
"SECRETS_MANAGER": {
129
+
"target": "smithy.api#Unit",
130
+
"traits": {
131
+
"smithy.api#enumValue": "SECRETS_MANAGER"
132
+
}
127
133
}
128
134
}
129
135
},
@@ -4551,7 +4557,7 @@
4551
4557
}
4552
4558
],
4553
4559
"traits": {
4554
-
"smithy.api#documentation": "<p> Imports the source repository credentials for an CodeBuild project that has its\n source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>"
4560
+
"smithy.api#documentation": "<p> Imports the source repository credentials for an CodeBuild project that has its\n source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. </p>"
"smithy.api#documentation": "<p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,\n this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, \n this is the <code>connectionArn</code>.</p>",
4575
+
"smithy.api#documentation": "<p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,\n this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, \n this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>",
4570
4576
"smithy.api#required": {}
4571
4577
}
4572
4578
},
@@ -4580,7 +4586,7 @@
4580
4586
"authType": {
4581
4587
"target": "com.amazonaws.codebuild#AuthType",
4582
4588
"traits": {
4583
-
"smithy.api#documentation": "<p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or\n Bitbucket repository. An OAUTH connection is not supported by the API and must be\n created using the CodeBuild console. Note that CODECONNECTIONS is only valid for \n GitLab and GitLab Self Managed.</p>",
4589
+
"smithy.api#documentation": "<p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or\n Bitbucket repository. An OAUTH connection is not supported by the API and must be\n created using the CodeBuild console.</p>",
4584
4590
"smithy.api#required": {}
4585
4591
}
4586
4592
},
@@ -6437,7 +6443,7 @@
6437
6443
"auth": {
6438
6444
"target": "com.amazonaws.codebuild#SourceAuth",
6439
6445
"traits": {
6440
-
"smithy.api#documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be\n built.</p>\n <p>This information is for the CodeBuild console's use only. Your code should not get or set\n this information directly.</p>"
6446
+
"smithy.api#documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be\n built.</p>"
"smithy.api#documentation": "<p>The authorization type to use. Valid options are OAUTHor CODECONNECTIONS.</p>",
7552
+
"smithy.api#documentation": "<p>The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.</p>",
7547
7553
"smithy.api#required": {}
7548
7554
}
7549
7555
},
@@ -7555,7 +7561,7 @@
7555
7561
}
7556
7562
},
7557
7563
"traits": {
7558
-
"smithy.api#documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be\n built.</p>\n <p>This information is for the CodeBuild console's use only. Your code should not get or set\n this information directly.</p>"
7564
+
"smithy.api#documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be\n built.</p>"
7559
7565
}
7560
7566
},
7561
7567
"com.amazonaws.codebuild#SourceAuthType": {
@@ -7572,6 +7578,12 @@
7572
7578
"traits": {
7573
7579
"smithy.api#enumValue": "CODECONNECTIONS"
7574
7580
}
7581
+
},
7582
+
"SECRETS_MANAGER": {
7583
+
"target": "smithy.api#Unit",
7584
+
"traits": {
7585
+
"smithy.api#enumValue": "SECRETS_MANAGER"
7586
+
}
7575
7587
}
7576
7588
}
7577
7589
},
@@ -7593,13 +7605,13 @@
7593
7605
"authType": {
7594
7606
"target": "com.amazonaws.codebuild#AuthType",
7595
7607
"traits": {
7596
-
"smithy.api#documentation": "<p> The type of authentication used by the credentials. Valid options are OAUTH,\n BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS. </p>"
7608
+
"smithy.api#documentation": "<p> The type of authentication used by the credentials. Valid options are OAUTH,\n BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER. </p>"
7597
7609
}
7598
7610
},
7599
7611
"resource": {
7600
7612
"target": "com.amazonaws.codebuild#String",
7601
7613
"traits": {
7602
-
"smithy.api#documentation": "<p>The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.</p>"
7614
+
"smithy.api#documentation": "<p>The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.</p>"
Copy file name to clipboardExpand all lines: sdk/codebuild/src/client/import_source_credentials.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ impl super::Client {
4
4
///
5
5
/// - The fluent builder is configurable:
6
6
/// - [`username(impl Into<String>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::username) / [`set_username(Option<String>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::set_username):<br>required: **false**<br><p>The Bitbucket username when the <code>authType</code> is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.</p><br>
7
-
/// - [`token(impl Into<String>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::token) / [`set_token(Option<String>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::set_token):<br>required: **true**<br><p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>.</p><br>
7
+
/// - [`token(impl Into<String>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::token) / [`set_token(Option<String>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::set_token):<br>required: **true**<br><p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p><br>
8
8
/// - [`server_type(ServerType)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::server_type) / [`set_server_type(Option<ServerType>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::set_server_type):<br>required: **true**<br><p>The source provider used for this project.</p><br>
9
-
/// - [`auth_type(AuthType)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::auth_type) / [`set_auth_type(Option<AuthType>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::set_auth_type):<br>required: **true**<br><p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.</p><br>
9
+
/// - [`auth_type(AuthType)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::auth_type) / [`set_auth_type(Option<AuthType>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::set_auth_type):<br>required: **true**<br><p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.</p><br>
10
10
/// - [`should_overwrite(bool)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::should_overwrite) / [`set_should_overwrite(Option<bool>)`](crate::operation::import_source_credentials::builders::ImportSourceCredentialsFluentBuilder::set_should_overwrite):<br>required: **false**<br><p>Set to <code>false</code> to prevent overwriting the repository source credentials. Set to <code>true</code> to overwrite the repository source credentials. The default value is <code>true</code>.</p><br>
11
11
/// - On success, responds with [`ImportSourceCredentialsOutput`](crate::operation::import_source_credentials::ImportSourceCredentialsOutput) with field(s):
12
12
/// - [`arn(Option<String>)`](crate::operation::import_source_credentials::ImportSourceCredentialsOutput::arn): <p>The Amazon Resource Name (ARN) of the token.</p>
Copy file name to clipboardExpand all lines: sdk/codebuild/src/operation/import_source_credentials/_import_source_credentials_input.rs
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,11 @@
5
5
pubstructImportSourceCredentialsInput{
6
6
/// <p>The Bitbucket username when the <code>authType</code> is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.</p>
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>.</p>
8
+
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.</p>
12
+
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.</p>
/// <p>Set to <code>false</code> to prevent overwriting the repository source credentials. Set to <code>true</code> to overwrite the repository source credentials. The default value is <code>true</code>.</p>
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>.</p>
22
+
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>
23
23
pubfntoken(&self) -> ::std::option::Option<&str>{
24
24
self.token.as_deref()
25
25
}
26
26
/// <p>The source provider used for this project.</p>
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.</p>
30
+
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.</p>
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>.</p>
82
+
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>.</p>
88
+
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>.</p>
93
+
/// <p>For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.</p>
112
+
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.</p>
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.</p>
118
+
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.</p>
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.</p>
123
+
/// <p>The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.</p>
0 commit comments