Skip to content

Commit c561a5b

Browse files
Update SDK models
1 parent 3cbd806 commit c561a5b

File tree

271 files changed

+2381
-1555
lines changed

Some content is hidden

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

271 files changed

+2381
-1555
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4+
"tests/telemetry",
45
"tests/no-default-features",
5-
"tests/webassembly",
6-
"tests/telemetry"
6+
"tests/webassembly"
77
]
88
members = [
99
"sdk/accessanalyzer",

aws-models/acm-pca.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,27 +96,27 @@
9696
"builtIn": "AWS::Region",
9797
"required": false,
9898
"documentation": "The AWS region used to dispatch the request.",
99-
"type": "String"
99+
"type": "string"
100100
},
101101
"UseDualStack": {
102102
"builtIn": "AWS::UseDualStack",
103103
"required": true,
104104
"default": false,
105105
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
106-
"type": "Boolean"
106+
"type": "boolean"
107107
},
108108
"UseFIPS": {
109109
"builtIn": "AWS::UseFIPS",
110110
"required": true,
111111
"default": false,
112112
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
113-
"type": "Boolean"
113+
"type": "boolean"
114114
},
115115
"Endpoint": {
116116
"builtIn": "SDK::Endpoint",
117117
"required": false,
118118
"documentation": "Override the endpoint used to send this request",
119-
"type": "String"
119+
"type": "string"
120120
}
121121
},
122122
"rules": [

aws-models/amplify.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,27 +189,27 @@
189189
"builtIn": "AWS::Region",
190190
"required": false,
191191
"documentation": "The AWS region used to dispatch the request.",
192-
"type": "String"
192+
"type": "string"
193193
},
194194
"UseDualStack": {
195195
"builtIn": "AWS::UseDualStack",
196196
"required": true,
197197
"default": false,
198198
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
199-
"type": "Boolean"
199+
"type": "boolean"
200200
},
201201
"UseFIPS": {
202202
"builtIn": "AWS::UseFIPS",
203203
"required": true,
204204
"default": false,
205205
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
206-
"type": "Boolean"
206+
"type": "boolean"
207207
},
208208
"Endpoint": {
209209
"builtIn": "SDK::Endpoint",
210210
"required": false,
211211
"documentation": "Override the endpoint used to send this request",
212-
"type": "String"
212+
"type": "string"
213213
}
214214
},
215215
"rules": [

aws-models/apigatewaymanagementapi.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,27 +67,27 @@
6767
"builtIn": "AWS::Region",
6868
"required": false,
6969
"documentation": "The AWS region used to dispatch the request.",
70-
"type": "String"
70+
"type": "string"
7171
},
7272
"UseDualStack": {
7373
"builtIn": "AWS::UseDualStack",
7474
"required": true,
7575
"default": false,
7676
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
77-
"type": "Boolean"
77+
"type": "boolean"
7878
},
7979
"UseFIPS": {
8080
"builtIn": "AWS::UseFIPS",
8181
"required": true,
8282
"default": false,
8383
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
84-
"type": "Boolean"
84+
"type": "boolean"
8585
},
8686
"Endpoint": {
8787
"builtIn": "SDK::Endpoint",
8888
"required": false,
8989
"documentation": "Override the endpoint used to send this request",
90-
"type": "String"
90+
"type": "string"
9191
}
9292
},
9393
"rules": [

aws-models/apprunner.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,27 +195,27 @@
195195
"builtIn": "AWS::Region",
196196
"required": false,
197197
"documentation": "The AWS region used to dispatch the request.",
198-
"type": "String"
198+
"type": "string"
199199
},
200200
"UseDualStack": {
201201
"builtIn": "AWS::UseDualStack",
202202
"required": true,
203203
"default": false,
204204
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
205-
"type": "Boolean"
205+
"type": "boolean"
206206
},
207207
"UseFIPS": {
208208
"builtIn": "AWS::UseFIPS",
209209
"required": true,
210210
"default": false,
211211
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
212-
"type": "Boolean"
212+
"type": "boolean"
213213
},
214214
"Endpoint": {
215215
"builtIn": "SDK::Endpoint",
216216
"required": false,
217217
"documentation": "Override the endpoint used to send this request",
218-
"type": "String"
218+
"type": "string"
219219
}
220220
},
221221
"rules": [

aws-models/apptest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,27 +100,27 @@
100100
"builtIn": "AWS::Region",
101101
"required": false,
102102
"documentation": "The AWS region used to dispatch the request.",
103-
"type": "String"
103+
"type": "string"
104104
},
105105
"UseDualStack": {
106106
"builtIn": "AWS::UseDualStack",
107107
"required": true,
108108
"default": false,
109109
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
110-
"type": "Boolean"
110+
"type": "boolean"
111111
},
112112
"UseFIPS": {
113113
"builtIn": "AWS::UseFIPS",
114114
"required": true,
115115
"default": false,
116116
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
117-
"type": "Boolean"
117+
"type": "boolean"
118118
},
119119
"Endpoint": {
120120
"builtIn": "SDK::Endpoint",
121121
"required": false,
122122
"documentation": "Override the endpoint used to send this request",
123-
"type": "String"
123+
"type": "string"
124124
}
125125
},
126126
"rules": [

aws-models/auto-scaling-plans.json

Lines changed: 62 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,27 +74,27 @@
7474
"builtIn": "AWS::Region",
7575
"required": false,
7676
"documentation": "The AWS region used to dispatch the request.",
77-
"type": "String"
77+
"type": "string"
7878
},
7979
"UseDualStack": {
8080
"builtIn": "AWS::UseDualStack",
8181
"required": true,
8282
"default": false,
8383
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
84-
"type": "Boolean"
84+
"type": "boolean"
8585
},
8686
"UseFIPS": {
8787
"builtIn": "AWS::UseFIPS",
8888
"required": true,
8989
"default": false,
9090
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
91-
"type": "Boolean"
91+
"type": "boolean"
9292
},
9393
"Endpoint": {
9494
"builtIn": "SDK::Endpoint",
9595
"required": false,
9696
"documentation": "Override the endpoint used to send this request",
97-
"type": "String"
97+
"type": "string"
9898
}
9999
},
100100
"rules": [
@@ -287,6 +287,44 @@
287287
}
288288
],
289289
"rules": [
290+
{
291+
"conditions": [
292+
{
293+
"fn": "stringEquals",
294+
"argv": [
295+
{
296+
"ref": "Region"
297+
},
298+
"us-gov-east-1"
299+
]
300+
}
301+
],
302+
"endpoint": {
303+
"url": "https://autoscaling-plans.us-gov-east-1.amazonaws.com",
304+
"properties": {},
305+
"headers": {}
306+
},
307+
"type": "endpoint"
308+
},
309+
{
310+
"conditions": [
311+
{
312+
"fn": "stringEquals",
313+
"argv": [
314+
{
315+
"ref": "Region"
316+
},
317+
"us-gov-west-1"
318+
]
319+
}
320+
],
321+
"endpoint": {
322+
"url": "https://autoscaling-plans.us-gov-west-1.amazonaws.com",
323+
"properties": {},
324+
"headers": {}
325+
},
326+
"type": "endpoint"
327+
},
290328
{
291329
"conditions": [],
292330
"endpoint": {
@@ -786,6 +824,19 @@
786824
"UseDualStack": false
787825
}
788826
},
827+
{
828+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
829+
"expect": {
830+
"endpoint": {
831+
"url": "https://autoscaling-plans.us-gov-east-1.amazonaws.com"
832+
}
833+
},
834+
"params": {
835+
"Region": "us-gov-east-1",
836+
"UseFIPS": true,
837+
"UseDualStack": false
838+
}
839+
},
789840
{
790841
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
791842
"expect": {
@@ -800,29 +851,29 @@
800851
}
801852
},
802853
{
803-
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
854+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
804855
"expect": {
805856
"endpoint": {
806-
"url": "https://autoscaling-plans-fips.us-gov-east-1.api.aws"
857+
"url": "https://autoscaling-plans.us-gov-west-1.amazonaws.com"
807858
}
808859
},
809860
"params": {
810-
"Region": "us-gov-east-1",
861+
"Region": "us-gov-west-1",
811862
"UseFIPS": true,
812-
"UseDualStack": true
863+
"UseDualStack": false
813864
}
814865
},
815866
{
816-
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
867+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
817868
"expect": {
818869
"endpoint": {
819-
"url": "https://autoscaling-plans-fips.us-gov-east-1.amazonaws.com"
870+
"url": "https://autoscaling-plans-fips.us-gov-east-1.api.aws"
820871
}
821872
},
822873
"params": {
823874
"Region": "us-gov-east-1",
824875
"UseFIPS": true,
825-
"UseDualStack": false
876+
"UseDualStack": true
826877
}
827878
},
828879
{

aws-models/batch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,27 +175,27 @@
175175
"builtIn": "AWS::Region",
176176
"required": false,
177177
"documentation": "The AWS region used to dispatch the request.",
178-
"type": "String"
178+
"type": "string"
179179
},
180180
"UseDualStack": {
181181
"builtIn": "AWS::UseDualStack",
182182
"required": true,
183183
"default": false,
184184
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
185-
"type": "Boolean"
185+
"type": "boolean"
186186
},
187187
"UseFIPS": {
188188
"builtIn": "AWS::UseFIPS",
189189
"required": true,
190190
"default": false,
191191
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
192-
"type": "Boolean"
192+
"type": "boolean"
193193
},
194194
"Endpoint": {
195195
"builtIn": "SDK::Endpoint",
196196
"required": false,
197197
"documentation": "Override the endpoint used to send this request",
198-
"type": "String"
198+
"type": "string"
199199
}
200200
},
201201
"rules": [

0 commit comments

Comments
 (0)