Skip to content

Commit c58b3a7

Browse files
Update SDK models
1 parent 91a9d82 commit c58b3a7

File tree

108 files changed

+1898
-1403
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1898
-1403
lines changed

Cargo.toml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The SDK provides one crate per AWS service. You must add [Tokio](https://crates.
2525
```toml
2626
[dependencies]
2727
aws-config = { version= "1.6.1", features = ["behavior-version-latest"] }
28-
aws-sdk-dynamodb = "1.71.1"
28+
aws-sdk-dynamodb = "1.71.2"
2929
tokio = { version = "1", features = ["full"] }
3030
```
3131

aws-models/connect-contact-lens.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,9 +1389,7 @@
13891389
"Sentiment": {
13901390
"target": "com.amazonaws.connectcontactlens#SentimentValue",
13911391
"traits": {
1392-
"smithy.api#clientOptional": {},
1393-
"smithy.api#documentation": "<p>The sentiment detected for this piece of transcript.</p>",
1394-
"smithy.api#required": {}
1392+
"smithy.api#documentation": "<p>The sentiment detected for this piece of transcript.</p>"
13951393
}
13961394
},
13971395
"IssuesDetected": {

aws-models/datazone.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@
18301830
"traits": {
18311831
"smithy.api#length": {
18321832
"min": 1,
1833-
"max": 10
1833+
"max": 20
18341834
}
18351835
}
18361836
},

aws-models/detective.json

Lines changed: 471 additions & 503 deletions
Large diffs are not rendered by default.

aws-models/dynamodb.json

Lines changed: 95 additions & 95 deletions
Large diffs are not rendered by default.

aws-models/marketplace-entitlement-service.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,49 @@
259259
},
260260
"type": "endpoint"
261261
},
262+
{
263+
"conditions": [
264+
{
265+
"fn": "stringEquals",
266+
"argv": [
267+
{
268+
"fn": "getAttr",
269+
"argv": [
270+
{
271+
"ref": "PartitionResult"
272+
},
273+
"name"
274+
]
275+
},
276+
"aws-cn"
277+
]
278+
},
279+
{
280+
"fn": "booleanEquals",
281+
"argv": [
282+
{
283+
"ref": "UseFIPS"
284+
},
285+
false
286+
]
287+
},
288+
{
289+
"fn": "booleanEquals",
290+
"argv": [
291+
{
292+
"ref": "UseDualStack"
293+
},
294+
true
295+
]
296+
}
297+
],
298+
"endpoint": {
299+
"url": "https://entitlement-marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}",
300+
"properties": {},
301+
"headers": {}
302+
},
303+
"type": "endpoint"
304+
},
262305
{
263306
"conditions": [
264307
{
@@ -599,7 +642,7 @@
599642
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled",
600643
"expect": {
601644
"endpoint": {
602-
"url": "https://entitlement.marketplace.cn-northwest-1.api.amazonwebservices.com.cn"
645+
"url": "https://entitlement-marketplace.cn-northwest-1.api.amazonwebservices.com.cn"
603646
}
604647
},
605648
"params": {

aws-models/marketplace-metering.json

Lines changed: 88 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,92 @@
225225
},
226226
"type": "endpoint"
227227
},
228+
{
229+
"conditions": [
230+
{
231+
"fn": "stringEquals",
232+
"argv": [
233+
{
234+
"fn": "getAttr",
235+
"argv": [
236+
{
237+
"ref": "PartitionResult"
238+
},
239+
"name"
240+
]
241+
},
242+
"aws-cn"
243+
]
244+
},
245+
{
246+
"fn": "booleanEquals",
247+
"argv": [
248+
{
249+
"ref": "UseFIPS"
250+
},
251+
false
252+
]
253+
},
254+
{
255+
"fn": "booleanEquals",
256+
"argv": [
257+
{
258+
"ref": "UseDualStack"
259+
},
260+
true
261+
]
262+
}
263+
],
264+
"endpoint": {
265+
"url": "https://metering-marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}",
266+
"properties": {},
267+
"headers": {}
268+
},
269+
"type": "endpoint"
270+
},
271+
{
272+
"conditions": [
273+
{
274+
"fn": "stringEquals",
275+
"argv": [
276+
{
277+
"fn": "getAttr",
278+
"argv": [
279+
{
280+
"ref": "PartitionResult"
281+
},
282+
"name"
283+
]
284+
},
285+
"aws-us-gov"
286+
]
287+
},
288+
{
289+
"fn": "booleanEquals",
290+
"argv": [
291+
{
292+
"ref": "UseFIPS"
293+
},
294+
false
295+
]
296+
},
297+
{
298+
"fn": "booleanEquals",
299+
"argv": [
300+
{
301+
"ref": "UseDualStack"
302+
},
303+
true
304+
]
305+
}
306+
],
307+
"endpoint": {
308+
"url": "https://metering-marketplace.{Region}.{PartitionResult#dualStackDnsSuffix}",
309+
"properties": {},
310+
"headers": {}
311+
},
312+
"type": "endpoint"
313+
},
228314
{
229315
"conditions": [
230316
{
@@ -565,7 +651,7 @@
565651
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled",
566652
"expect": {
567653
"endpoint": {
568-
"url": "https://metering.marketplace.cn-northwest-1.api.amazonwebservices.com.cn"
654+
"url": "https://metering-marketplace.cn-northwest-1.api.amazonwebservices.com.cn"
569655
}
570656
},
571657
"params": {
@@ -617,7 +703,7 @@
617703
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
618704
"expect": {
619705
"endpoint": {
620-
"url": "https://metering.marketplace.us-gov-west-1.api.aws"
706+
"url": "https://metering-marketplace.us-gov-west-1.api.aws"
621707
}
622708
},
623709
"params": {

aws-models/pcs.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@
858858
"com.amazonaws.pcs#ClusterIdentifier": {
859859
"type": "string",
860860
"traits": {
861-
"smithy.api#pattern": "^(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{3,40})$"
861+
"smithy.api#pattern": "^(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{2,40})$"
862862
}
863863
},
864864
"com.amazonaws.pcs#ClusterList": {
@@ -1213,7 +1213,7 @@
12131213
"com.amazonaws.pcs#ComputeNodeGroupIdentifier": {
12141214
"type": "string",
12151215
"traits": {
1216-
"smithy.api#pattern": "^(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{3,25})$"
1216+
"smithy.api#pattern": "^(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{2,25})$"
12171217
}
12181218
},
12191219
"com.amazonaws.pcs#ComputeNodeGroupList": {
@@ -2937,7 +2937,7 @@
29372937
"com.amazonaws.pcs#QueueIdentifier": {
29382938
"type": "string",
29392939
"traits": {
2940-
"smithy.api#pattern": "^(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{3,25})$"
2940+
"smithy.api#pattern": "^(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{2,25})$"
29412941
}
29422942
},
29432943
"com.amazonaws.pcs#QueueList": {

0 commit comments

Comments
 (0)