Skip to content

Commit

Permalink
Update SDK models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci committed Jul 1, 2024
1 parent 2f4b280 commit ce3435e
Show file tree
Hide file tree
Showing 118 changed files with 5,423 additions and 253 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[workspace]
resolver = "2"
exclude = [
"examples/test-utils",
"examples/lambda",
"examples/webassembly",
"examples/examples",
"examples/test-utils",
"examples/cross_service",
"examples/lambda",
"tests/webassembly",
"tests/no-default-features"
]
Expand Down
15 changes: 14 additions & 1 deletion aws-models/api-gateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -6478,7 +6478,20 @@
"outputToken": "position",
"items": "items",
"pageSize": "limit"
}
},
"smithy.test#smokeTests": [
{
"id": "GetDomainNamesSuccess",
"params": {},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
"com.amazonaws.apigateway#GetDomainNamesRequest": {
Expand Down
19 changes: 17 additions & 2 deletions aws-models/cognito-identity.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"sdkId": "Cognito Identity",
"arnNamespace": "cognito-identity",
"cloudFormationName": "Cognito",
"cloudTrailEventSource": "cognitoidentity.amazonaws.com",
"cloudTrailEventSource": "cognito-identity.amazonaws.com",
"endpointPrefix": "cognito-identity"
},
"aws.auth#sigv4": {
Expand Down Expand Up @@ -2484,7 +2484,22 @@
"outputToken": "NextToken",
"items": "IdentityPools",
"pageSize": "MaxResults"
}
},
"smithy.test#smokeTests": [
{
"id": "ListIdentityPoolsSuccess",
"params": {
"MaxResults": 10
},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
"com.amazonaws.cognitoidentity#ListIdentityPoolsInput": {
Expand Down
468 changes: 460 additions & 8 deletions aws-models/connect.json

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion aws-models/docdb.json
Original file line number Diff line number Diff line change
Expand Up @@ -4675,7 +4675,20 @@
"outputToken": "Marker",
"items": "DBEngineVersions",
"pageSize": "MaxRecords"
}
},
"smithy.test#smokeTests": [
{
"id": "DescribeDBEngineVersionsSuccess",
"params": {},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
"com.amazonaws.docdb#DescribeDBEngineVersionsMessage": {
Expand Down
6 changes: 6 additions & 0 deletions aws-models/eks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2312,6 +2312,12 @@
"traits": {
"smithy.api#enumValue": "SPOT"
}
},
"CAPACITY_BLOCK": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CAPACITY_BLOCK"
}
}
}
},
Expand Down
157 changes: 127 additions & 30 deletions aws-models/payment-cryptography-data.json

Large diffs are not rendered by default.

27 changes: 14 additions & 13 deletions aws-models/payment-cryptography.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,16 @@
"smithy.api#output": {}
}
},
"com.amazonaws.paymentcryptography#EvenHexLengthBetween16And32": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 16,
"max": 32
},
"smithy.api#pattern": "^(?:[0-9a-fA-F][0-9a-fA-F])+$"
}
},
"com.amazonaws.paymentcryptography#ExportAttributes": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -682,7 +692,7 @@
}
},
"RandomNonce": {
"target": "com.amazonaws.paymentcryptography#HexLength16",
"target": "com.amazonaws.paymentcryptography#EvenHexLengthBetween16And32",
"traits": {
"smithy.api#documentation": "<p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>"
}
Expand Down Expand Up @@ -1113,16 +1123,6 @@
"smithy.api#output": {}
}
},
"com.amazonaws.paymentcryptography#HexLength16": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 16,
"max": 16
},
"smithy.api#pattern": "^[0-9A-F]+$"
}
},
"com.amazonaws.paymentcryptography#HexLength20Or24": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -1366,7 +1366,7 @@
}
},
"RandomNonce": {
"target": "com.amazonaws.paymentcryptography#HexLength16",
"target": "com.amazonaws.paymentcryptography#EvenHexLengthBetween16And32",
"traits": {
"smithy.api#documentation": "<p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>"
}
Expand Down Expand Up @@ -3552,7 +3552,8 @@
"min": 56,
"max": 9984
},
"smithy.api#pattern": "^[0-9A-Z]+$"
"smithy.api#pattern": "^[0-9A-Z]+$",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.paymentcryptography#Tr34KeyBlockFormat": {
Expand Down
3 changes: 2 additions & 1 deletion aws-models/sdk-endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -21084,7 +21084,8 @@
"protocols" : [ "https" ]
},
"endpoints" : {
"cn-north-1" : { }
"cn-north-1" : { },
"cn-northwest-1" : { }
}
},
"airflow" : {
Expand Down
17 changes: 15 additions & 2 deletions aws-models/sfn.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"sdkId": "SFN",
"arnNamespace": "states",
"cloudFormationName": "StepFunctions",
"cloudTrailEventSource": "sfn.amazonaws.com",
"cloudTrailEventSource": "states.amazonaws.com",
"docId": "states-2016-11-23",
"endpointPrefix": "states"
},
Expand Down Expand Up @@ -4222,7 +4222,20 @@
"outputToken": "nextToken",
"items": "activities",
"pageSize": "maxResults"
}
},
"smithy.test#smokeTests": [
{
"id": "ListActivitiesSuccess",
"params": {},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
"com.amazonaws.sfn#ListActivitiesInput": {
Expand Down
17 changes: 16 additions & 1 deletion aws-models/swf.json
Original file line number Diff line number Diff line change
Expand Up @@ -3761,7 +3761,22 @@
"outputToken": "nextPageToken",
"items": "domainInfos",
"pageSize": "maximumPageSize"
}
},
"smithy.test#smokeTests": [
{
"id": "ListDomainsSuccess",
"params": {
"registrationStatus": "REGISTERED"
},
"vendorParams": {
"region": "us-west-2"
},
"vendorParamsShape": "aws.test#AwsVendorParams",
"expect": {
"success": {}
}
}
]
}
},
"com.amazonaws.swf#ListDomainsInput": {
Expand Down
4 changes: 2 additions & 2 deletions aws-models/wafv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7153,7 +7153,7 @@
"InvalidFallbackBehavior": {
"target": "com.amazonaws.wafv2#BodyParsingFallbackBehavior",
"traits": {
"smithy.api#documentation": "<p>What WAF should do if it fails to completely parse the JSON body. The options are\n the following:</p>\n <ul>\n <li>\n <p>\n <code>EVALUATE_AS_STRING</code> - Inspect the body as plain text. WAF\n applies the text transformations and inspection criteria that you defined for the\n JSON inspection to the body text string.</p>\n </li>\n <li>\n <p>\n <code>MATCH</code> - Treat the web request as matching the rule statement.\n WAF applies the rule action to the request.</p>\n </li>\n <li>\n <p>\n <code>NO_MATCH</code> - Treat the web request as not matching the rule\n statement.</p>\n </li>\n </ul>\n <p>If you don't provide this setting, WAF parses and evaluates the content only up to the\n first parsing failure that it encounters. </p>\n <p>WAF does its best to parse the entire JSON body, but might be forced to stop for\n reasons such as invalid characters, duplicate keys, truncation, and any content whose root\n node isn't an object or an array. </p>\n <p>WAF parses the JSON in the following examples as two valid key, value pairs: </p>\n <ul>\n <li>\n <p>Missing comma: <code>{\"key1\":\"value1\"\"key2\":\"value2\"}</code>\n </p>\n </li>\n <li>\n <p>Missing colon: <code>{\"key1\":\"value1\",\"key2\"\"value2\"}</code>\n </p>\n </li>\n <li>\n <p>Extra colons: <code>{\"key1\"::\"value1\",\"key2\"\"value2\"}</code>\n </p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>What WAF should do if it fails to completely parse the JSON body. The options are\n the following:</p>\n <ul>\n <li>\n <p>\n <code>EVALUATE_AS_STRING</code> - Inspect the body as plain text. WAF\n applies the text transformations and inspection criteria that you defined for the\n JSON inspection to the body text string.</p>\n </li>\n <li>\n <p>\n <code>MATCH</code> - Treat the web request as matching the rule statement.\n WAF applies the rule action to the request.</p>\n </li>\n <li>\n <p>\n <code>NO_MATCH</code> - Treat the web request as not matching the rule\n statement.</p>\n </li>\n </ul>\n <p>If you don't provide this setting, WAF parses and evaluates the content only up to the\n first parsing failure that it encounters. </p>\n <note>\n <p>WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When \n parsing succeeds, WAF doesn't apply the fallback behavior. For more information, \n see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body\">JSON body</a> \n in the <i>WAF Developer Guide</i>.</p>\n </note>"
}
},
"OversizeHandling": {
Expand All @@ -7164,7 +7164,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Inspect the body of the web request as JSON. The body immediately follows the request\n headers. </p>\n <p>This is used to indicate the web request component to inspect, in the <a>FieldToMatch</a> specification. </p>\n <p>Use the specifications in this object to indicate which parts of the JSON body to\n inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON\n that result from the matches that you indicate.\n </p>\n <p>Example JSON: <code>\"JsonBody\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"ALL\"\n }</code>\n </p>"
"smithy.api#documentation": "<p>Inspect the body of the web request as JSON. The body immediately follows the request\n headers. </p>\n <p>This is used to indicate the web request component to inspect, in the <a>FieldToMatch</a> specification. </p>\n <p>Use the specifications in this object to indicate which parts of the JSON body to\n inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON\n that result from the matches that you indicate. </p>\n <p>Example JSON: <code>\"JsonBody\": { \"MatchPattern\": { \"All\": {} }, \"MatchScope\": \"ALL\"\n }</code>\n </p>\n <p>For additional information about this request component option, see <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body\">JSON body</a> \n in the <i>WAF Developer Guide</i>.</p>"
}
},
"com.amazonaws.wafv2#JsonMatchPattern": {
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/apigateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
[dependencies]
thiserror = "1.0"
aws-config= { version = "1.5.3", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-apigateway= { version = "1.33.0", path = "../../../sdk/apigateway" }
aws-sdk-apigateway= { version = "1.34.0", path = "../../../sdk/apigateway" }
aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] }

[dependencies.clap]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/cognitoidentity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish = false
chrono = "0.4"
thiserror = "1.0"
aws-config= { version = "1.5.3", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-cognitoidentity= { version = "1.33.0", path = "../../../sdk/cognitoidentity" }
aws-sdk-cognitoidentity= { version = "1.34.0", path = "../../../sdk/cognitoidentity" }
aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] }

[dependencies.clap]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/eks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
aws-config= { version = "1.5.3", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-eks= { version = "1.37.0", path = "../../../sdk/eks" }
aws-sdk-eks= { version = "1.38.0", path = "../../../sdk/eks" }
aws-types= { version = "1.3.2", path = "../../../sdk/aws-types" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/stepfunction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
aws-config= { version = "1.5.3", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-sfn= { version = "1.34.0", path = "../../../sdk/sfn" }
aws-sdk-sfn= { version = "1.35.0", path = "../../../sdk/sfn" }

[dependencies.tokio]
version = "1.20.1"
Expand Down
2 changes: 1 addition & 1 deletion sdk/apigateway/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-apigateway"
version = "1.33.0"
version = "1.34.0"
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
description = "AWS SDK for Amazon API Gateway"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk/apigateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-apigateway = "1.33.0"
aws-sdk-apigateway = "1.34.0"
tokio = { version = "1", features = ["full"] }
```

Expand Down
2 changes: 1 addition & 1 deletion sdk/apigateway/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
//! aws-sdk-apigateway = "1.33.0"
//! aws-sdk-apigateway = "1.34.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
Expand Down
2 changes: 1 addition & 1 deletion sdk/cognitoidentity/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-cognitoidentity"
version = "1.33.0"
version = "1.34.0"
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
description = "AWS SDK for Amazon Cognito Identity"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk/cognitoidentity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-cognitoidentity = "1.33.0"
aws-sdk-cognitoidentity = "1.34.0"
tokio = { version = "1", features = ["full"] }
```

Expand Down
2 changes: 1 addition & 1 deletion sdk/cognitoidentity/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
//! aws-sdk-cognitoidentity = "1.33.0"
//! aws-sdk-cognitoidentity = "1.34.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
Expand Down
2 changes: 1 addition & 1 deletion sdk/connect/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-connect"
version = "1.48.0"
version = "1.49.0"
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
description = "AWS SDK for Amazon Connect Service"
edition = "2021"
Expand Down
5 changes: 4 additions & 1 deletion sdk/connect/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# aws-sdk-connect

- [Amazon Connect actions](https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Service.html)
- [Amazon Connect data types](https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Service.html)

Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
Expand All @@ -20,7 +23,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-connect = "1.48.0"
aws-sdk-connect = "1.49.0"
tokio = { version = "1", features = ["full"] }
```

Expand Down
6 changes: 6 additions & 0 deletions sdk/connect/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ mod delete_vocabulary;

mod describe_agent_status;

mod describe_authentication_profile;

mod describe_contact;

mod describe_contact_evaluation;
Expand Down Expand Up @@ -409,6 +411,8 @@ mod list_analytics_data_associations;

mod list_approved_origins;

mod list_authentication_profiles;

mod list_bots;

mod list_contact_evaluations;
Expand Down Expand Up @@ -573,6 +577,8 @@ mod untag_resource;

mod update_agent_status;

mod update_authentication_profile;

mod update_contact;

mod update_contact_attributes;
Expand Down
Loading

0 comments on commit ce3435e

Please sign in to comment.