Skip to content

Commit 581c441

Browse files
Update SDK models
1 parent a9f6d87 commit 581c441

File tree

14 files changed

+79
-69
lines changed

14 files changed

+79
-69
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4-
"examples/webassembly",
5-
"examples/lambda",
64
"examples/examples",
5+
"examples/lambda",
76
"examples/test-utils",
87
"examples/cross_service",
9-
"tests/webassembly",
10-
"tests/no-default-features"
8+
"examples/webassembly",
9+
"tests/no-default-features",
10+
"tests/webassembly"
1111
]
1212
members = [
1313
"sdk/accessanalyzer",

aws-models/codebuild.json

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@
124124
"traits": {
125125
"smithy.api#enumValue": "CODECONNECTIONS"
126126
}
127+
},
128+
"SECRETS_MANAGER": {
129+
"target": "smithy.api#Unit",
130+
"traits": {
131+
"smithy.api#enumValue": "SECRETS_MANAGER"
132+
}
127133
}
128134
}
129135
},
@@ -4551,7 +4557,7 @@
45514557
}
45524558
],
45534559
"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>"
45554561
}
45564562
},
45574563
"com.amazonaws.codebuild#ImportSourceCredentialsInput": {
@@ -4566,7 +4572,7 @@
45664572
"token": {
45674573
"target": "com.amazonaws.codebuild#SensitiveNonEmptyString",
45684574
"traits": {
4569-
"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>",
45704576
"smithy.api#required": {}
45714577
}
45724578
},
@@ -4580,7 +4586,7 @@
45804586
"authType": {
45814587
"target": "com.amazonaws.codebuild#AuthType",
45824588
"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>",
45844590
"smithy.api#required": {}
45854591
}
45864592
},
@@ -6437,7 +6443,7 @@
64376443
"auth": {
64386444
"target": "com.amazonaws.codebuild#SourceAuth",
64396445
"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>"
64416447
}
64426448
},
64436449
"reportBuildStatus": {
@@ -7543,7 +7549,7 @@
75437549
"type": {
75447550
"target": "com.amazonaws.codebuild#SourceAuthType",
75457551
"traits": {
7546-
"smithy.api#documentation": "<p>The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.</p>",
7552+
"smithy.api#documentation": "<p>The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.</p>",
75477553
"smithy.api#required": {}
75487554
}
75497555
},
@@ -7555,7 +7561,7 @@
75557561
}
75567562
},
75577563
"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>"
75597565
}
75607566
},
75617567
"com.amazonaws.codebuild#SourceAuthType": {
@@ -7572,6 +7578,12 @@
75727578
"traits": {
75737579
"smithy.api#enumValue": "CODECONNECTIONS"
75747580
}
7581+
},
7582+
"SECRETS_MANAGER": {
7583+
"target": "smithy.api#Unit",
7584+
"traits": {
7585+
"smithy.api#enumValue": "SECRETS_MANAGER"
7586+
}
75757587
}
75767588
}
75777589
},
@@ -7593,13 +7605,13 @@
75937605
"authType": {
75947606
"target": "com.amazonaws.codebuild#AuthType",
75957607
"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>"
75977609
}
75987610
},
75997611
"resource": {
76007612
"target": "com.amazonaws.codebuild#String",
76017613
"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>"
76037615
}
76047616
}
76057617
},

sdk/codebuild/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
22
[package]
33
name = "aws-sdk-codebuild"
4-
version = "1.46.0"
4+
version = "1.47.0"
55
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
66
description = "AWS SDK for AWS CodeBuild"
77
edition = "2021"

sdk/codebuild/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
1414
```toml
1515
[dependencies]
1616
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
17-
aws-sdk-codebuild = "1.46.0"
17+
aws-sdk-codebuild = "1.47.0"
1818
tokio = { version = "1", features = ["full"] }
1919
```
2020

sdk/codebuild/src/client/import_source_credentials.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ impl super::Client {
44
///
55
/// - The fluent builder is configurable:
66
/// - [`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>
88
/// - [`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>
1010
/// - [`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>
1111
/// - On success, responds with [`ImportSourceCredentialsOutput`](crate::operation::import_source_credentials::ImportSourceCredentialsOutput) with field(s):
1212
/// - [`arn(Option<String>)`](crate::operation::import_source_credentials::ImportSourceCredentialsOutput::arn): <p>The Amazon Resource Name (ARN) of the token.</p>

sdk/codebuild/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
//! ```toml
3232
//! [dependencies]
3333
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
34-
//! aws-sdk-codebuild = "1.46.0"
34+
//! aws-sdk-codebuild = "1.47.0"
3535
//! tokio = { version = "1", features = ["full"] }
3636
//! ```
3737
//!

sdk/codebuild/src/operation/import_source_credentials/_import_source_credentials_input.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
pub struct ImportSourceCredentialsInput {
66
/// <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>
77
pub username: ::std::option::Option<::std::string::String>,
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>.</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>
99
pub token: ::std::option::Option<::std::string::String>,
1010
/// <p>The source provider used for this project.</p>
1111
pub server_type: ::std::option::Option<crate::types::ServerType>,
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. 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>
1313
pub auth_type: ::std::option::Option<crate::types::AuthType>,
1414
/// <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>
1515
pub should_overwrite: ::std::option::Option<bool>,
@@ -19,15 +19,15 @@ impl ImportSourceCredentialsInput {
1919
pub fn username(&self) -> ::std::option::Option<&str> {
2020
self.username.as_deref()
2121
}
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>.</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>
2323
pub fn token(&self) -> ::std::option::Option<&str> {
2424
self.token.as_deref()
2525
}
2626
/// <p>The source provider used for this project.</p>
2727
pub fn server_type(&self) -> ::std::option::Option<&crate::types::ServerType> {
2828
self.server_type.as_ref()
2929
}
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. 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>
3131
pub fn auth_type(&self) -> ::std::option::Option<&crate::types::AuthType> {
3232
self.auth_type.as_ref()
3333
}
@@ -79,18 +79,18 @@ impl ImportSourceCredentialsInputBuilder {
7979
pub fn get_username(&self) -> &::std::option::Option<::std::string::String> {
8080
&self.username
8181
}
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>.</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>
8383
/// This field is required.
8484
pub fn token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
8585
self.token = ::std::option::Option::Some(input.into());
8686
self
8787
}
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>.</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>
8989
pub fn set_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
9090
self.token = input;
9191
self
9292
}
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>.</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>
9494
pub fn get_token(&self) -> &::std::option::Option<::std::string::String> {
9595
&self.token
9696
}
@@ -109,18 +109,18 @@ impl ImportSourceCredentialsInputBuilder {
109109
pub fn get_server_type(&self) -> &::std::option::Option<crate::types::ServerType> {
110110
&self.server_type
111111
}
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. 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>
113113
/// This field is required.
114114
pub fn auth_type(mut self, input: crate::types::AuthType) -> Self {
115115
self.auth_type = ::std::option::Option::Some(input);
116116
self
117117
}
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. 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>
119119
pub fn set_auth_type(mut self, input: ::std::option::Option<crate::types::AuthType>) -> Self {
120120
self.auth_type = input;
121121
self
122122
}
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. 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>
124124
pub fn get_auth_type(&self) -> &::std::option::Option<crate::types::AuthType> {
125125
&self.auth_type
126126
}

0 commit comments

Comments
 (0)