Skip to content

Commit 087ce52

Browse files
Updated API models and rebuilt service gems.
1 parent 11731dc commit 087ce52

Some content is hidden

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

63 files changed

+6205
-5044
lines changed

apis/account/2021-02-01/api-2.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,24 @@
131131
{"shape":"InternalServerException"}
132132
]
133133
},
134+
"GetGovCloudAccountInformation":{
135+
"name":"GetGovCloudAccountInformation",
136+
"http":{
137+
"method":"POST",
138+
"requestUri":"/getGovCloudAccountInformation",
139+
"responseCode":200
140+
},
141+
"input":{"shape":"GetGovCloudAccountInformationRequest"},
142+
"output":{"shape":"GetGovCloudAccountInformationResponse"},
143+
"errors":[
144+
{"shape":"ResourceNotFoundException"},
145+
{"shape":"ResourceUnavailableException"},
146+
{"shape":"ValidationException"},
147+
{"shape":"AccessDeniedException"},
148+
{"shape":"TooManyRequestsException"},
149+
{"shape":"InternalServerException"}
150+
]
151+
},
134152
"GetPrimaryEmail":{
135153
"name":"GetPrimaryEmail",
136154
"http":{
@@ -323,6 +341,15 @@
323341
"SECURITY"
324342
]
325343
},
344+
"AwsAccountState":{
345+
"type":"string",
346+
"enum":[
347+
"PENDING_ACTIVATION",
348+
"ACTIVE",
349+
"SUSPENDED",
350+
"CLOSED"
351+
]
352+
},
326353
"City":{
327354
"type":"string",
328355
"max":50,
@@ -473,6 +500,23 @@
473500
"ContactInformation":{"shape":"ContactInformation"}
474501
}
475502
},
503+
"GetGovCloudAccountInformationRequest":{
504+
"type":"structure",
505+
"members":{
506+
"StandardAccountId":{"shape":"AccountId"}
507+
}
508+
},
509+
"GetGovCloudAccountInformationResponse":{
510+
"type":"structure",
511+
"required":[
512+
"AccountState",
513+
"GovCloudAccountId"
514+
],
515+
"members":{
516+
"AccountState":{"shape":"AwsAccountState"},
517+
"GovCloudAccountId":{"shape":"AccountId"}
518+
}
519+
},
476520
"GetPrimaryEmailRequest":{
477521
"type":"structure",
478522
"required":["AccountId"],
@@ -662,6 +706,23 @@
662706
},
663707
"exception":true
664708
},
709+
"ResourceUnavailableException":{
710+
"type":"structure",
711+
"required":["message"],
712+
"members":{
713+
"errorType":{
714+
"shape":"String",
715+
"location":"header",
716+
"locationName":"x-amzn-ErrorType"
717+
},
718+
"message":{"shape":"String"}
719+
},
720+
"error":{
721+
"httpStatusCode":424,
722+
"senderFault":true
723+
},
724+
"exception":true
725+
},
665726
"SensitiveString":{
666727
"type":"string",
667728
"sensitive":true

apis/account/2021-02-01/docs-2.json

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

apis/account/2021-02-01/endpoint-tests-1.json

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -202,85 +202,43 @@
202202
}
203203
},
204204
{
205-
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
206-
"expect": {
207-
"endpoint": {
208-
"properties": {
209-
"authSchemes": [
210-
{
211-
"name": "sigv4",
212-
"signingRegion": "us-gov-west-1"
213-
}
214-
]
215-
},
216-
"url": "https://account-fips.us-gov-west-1.api.aws"
217-
}
218-
},
219-
"params": {
220-
"Region": "us-gov-west-1",
221-
"UseFIPS": true,
222-
"UseDualStack": true
223-
}
224-
},
225-
{
226-
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
205+
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
227206
"expect": {
228207
"endpoint": {
229208
"properties": {
230209
"authSchemes": [
231210
{
232211
"name": "sigv4",
233-
"signingRegion": "us-gov-west-1"
212+
"signingRegion": "eusc-de-east-1"
234213
}
235214
]
236215
},
237-
"url": "https://account-fips.us-gov-west-1.amazonaws.com"
216+
"url": "https://account-fips.eusc-de-east-1.amazonaws.eu"
238217
}
239218
},
240219
"params": {
241-
"Region": "us-gov-west-1",
220+
"Region": "eusc-de-east-1",
242221
"UseFIPS": true,
243222
"UseDualStack": false
244223
}
245224
},
246225
{
247-
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
248-
"expect": {
249-
"endpoint": {
250-
"properties": {
251-
"authSchemes": [
252-
{
253-
"name": "sigv4",
254-
"signingRegion": "us-gov-west-1"
255-
}
256-
]
257-
},
258-
"url": "https://account.us-gov-west-1.api.aws"
259-
}
260-
},
261-
"params": {
262-
"Region": "us-gov-west-1",
263-
"UseFIPS": false,
264-
"UseDualStack": true
265-
}
266-
},
267-
{
268-
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
226+
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
269227
"expect": {
270228
"endpoint": {
271229
"properties": {
272230
"authSchemes": [
273231
{
274232
"name": "sigv4",
275-
"signingRegion": "us-gov-west-1"
233+
"signingRegion": "eusc-de-east-1"
276234
}
277235
]
278236
},
279-
"url": "https://account.us-gov-west-1.amazonaws.com"
237+
"url": "https://account.eusc-de-east-1.amazonaws.eu"
280238
}
281239
},
282240
"params": {
283-
"Region": "us-gov-west-1",
241+
"Region": "eusc-de-east-1",
284242
"UseFIPS": false,
285243
"UseDualStack": false
286244
}
@@ -454,43 +412,85 @@
454412
}
455413
},
456414
{
457-
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
415+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
458416
"expect": {
459417
"endpoint": {
460418
"properties": {
461419
"authSchemes": [
462420
{
463421
"name": "sigv4",
464-
"signingRegion": "eusc-de-east-1"
422+
"signingRegion": "us-gov-west-1"
465423
}
466424
]
467425
},
468-
"url": "https://account-fips.eusc-de-east-1.amazonaws.eu"
426+
"url": "https://account-fips.us-gov-west-1.api.aws"
469427
}
470428
},
471429
"params": {
472-
"Region": "eusc-de-east-1",
430+
"Region": "us-gov-west-1",
431+
"UseFIPS": true,
432+
"UseDualStack": true
433+
}
434+
},
435+
{
436+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
437+
"expect": {
438+
"endpoint": {
439+
"properties": {
440+
"authSchemes": [
441+
{
442+
"name": "sigv4",
443+
"signingRegion": "us-gov-west-1"
444+
}
445+
]
446+
},
447+
"url": "https://account-fips.us-gov-west-1.amazonaws.com"
448+
}
449+
},
450+
"params": {
451+
"Region": "us-gov-west-1",
473452
"UseFIPS": true,
474453
"UseDualStack": false
475454
}
476455
},
477456
{
478-
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
457+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
479458
"expect": {
480459
"endpoint": {
481460
"properties": {
482461
"authSchemes": [
483462
{
484463
"name": "sigv4",
485-
"signingRegion": "eusc-de-east-1"
464+
"signingRegion": "us-gov-west-1"
486465
}
487466
]
488467
},
489-
"url": "https://account.eusc-de-east-1.amazonaws.eu"
468+
"url": "https://account.us-gov-west-1.api.aws"
490469
}
491470
},
492471
"params": {
493-
"Region": "eusc-de-east-1",
472+
"Region": "us-gov-west-1",
473+
"UseFIPS": false,
474+
"UseDualStack": true
475+
}
476+
},
477+
{
478+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
479+
"expect": {
480+
"endpoint": {
481+
"properties": {
482+
"authSchemes": [
483+
{
484+
"name": "sigv4",
485+
"signingRegion": "us-gov-west-1"
486+
}
487+
]
488+
},
489+
"url": "https://account.us-gov-west-1.amazonaws.com"
490+
}
491+
},
492+
"params": {
493+
"Region": "us-gov-west-1",
494494
"UseFIPS": false,
495495
"UseDualStack": false
496496
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"version": "1.0",
3-
"examples": {
4-
}
3+
"examples": {}
54
}

apis/appsync/2017-07-25/api-2.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,10 @@
16871687
},
16881688
"CreateApiRequest":{
16891689
"type":"structure",
1690-
"required":["name"],
1690+
"required":[
1691+
"name",
1692+
"eventConfig"
1693+
],
16911694
"members":{
16921695
"name":{"shape":"ApiName"},
16931696
"ownerContact":{"shape":"String"},
@@ -4006,7 +4009,8 @@
40064009
"type":"structure",
40074010
"required":[
40084011
"apiId",
4009-
"name"
4012+
"name",
4013+
"eventConfig"
40104014
],
40114015
"members":{
40124016
"apiId":{

apis/guardduty/2017-11-28/api-2.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3864,7 +3864,10 @@
38643864
"shape":"Ec2InstanceUids",
38653865
"locationName":"ec2InstanceUids"
38663866
},
3867-
"Version":{"shape":"LaunchTemplateVersion"}
3867+
"Version":{
3868+
"shape":"LaunchTemplateVersion",
3869+
"locationName":"version"
3870+
}
38683871
}
38693872
},
38703873
"Ec2NetworkInterface":{

apis/ivs-realtime/2020-07-14/api-2.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,9 @@
11841184
"errorCode":{"shape":"EventErrorCode"},
11851185
"destinationStageArn":{"shape":"StageArn"},
11861186
"destinationSessionId":{"shape":"StageSessionId"},
1187-
"replica":{"shape":"Replica"}
1187+
"replica":{"shape":"Replica"},
1188+
"previousToken":{"shape":"ExchangedParticipantToken"},
1189+
"newToken":{"shape":"ExchangedParticipantToken"}
11881190
}
11891191
},
11901192
"EventErrorCode":{
@@ -1223,9 +1225,19 @@
12231225
"SUBSCRIBE_ERROR",
12241226
"JOIN_ERROR",
12251227
"REPLICATION_STARTED",
1226-
"REPLICATION_STOPPED"
1228+
"REPLICATION_STOPPED",
1229+
"TOKEN_EXCHANGED"
12271230
]
12281231
},
1232+
"ExchangedParticipantToken":{
1233+
"type":"structure",
1234+
"members":{
1235+
"capabilities":{"shape":"ParticipantTokenCapabilities"},
1236+
"attributes":{"shape":"ParticipantTokenAttributes"},
1237+
"userId":{"shape":"ParticipantTokenUserId"},
1238+
"expirationTime":{"shape":"ParticipantTokenExpirationTime"}
1239+
}
1240+
},
12291241
"Framerate":{
12301242
"type":"float",
12311243
"box":true,

apis/ivs-realtime/2020-07-14/docs-2.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,13 @@
407407
"Event$name": "<p>The name of the event.</p>"
408408
}
409409
},
410+
"ExchangedParticipantToken": {
411+
"base": "<p>Object specifying an exchanged participant token in a stage, created when an original participant token is updated.</p> <p> <b>Important</b>: Treat tokens as opaque; i.e., do not build functionality based on token contents. The format of tokens could change in the future.</p>",
412+
"refs": {
413+
"Event$previousToken": "<p>Source participant token for <code>TOKEN_EXCHANGED</code> event.</p>",
414+
"Event$newToken": "<p>Participant token created during <code>TOKEN_EXCHANGED</code> event.</p>"
415+
}
416+
},
410417
"Framerate": {
411418
"base": null,
412419
"refs": {
@@ -958,14 +965,16 @@
958965
"base": null,
959966
"refs": {
960967
"CreateParticipantTokenRequest$attributes": "<p>Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>",
961-
"ParticipantToken$attributes": "<p>Application-provided attributes to encode into the token and attach to a stage. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>",
968+
"ExchangedParticipantToken$attributes": "<p>Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>",
969+
"ParticipantToken$attributes": "<p>Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>",
962970
"ParticipantTokenConfiguration$attributes": "<p>Application-provided attributes to encode into the corresponding participant token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>"
963971
}
964972
},
965973
"ParticipantTokenCapabilities": {
966974
"base": null,
967975
"refs": {
968976
"CreateParticipantTokenRequest$capabilities": "<p>Set of capabilities that the user is allowed to perform in the stage. Default: <code>PUBLISH, SUBSCRIBE</code>.</p>",
977+
"ExchangedParticipantToken$capabilities": "<p>Set of capabilities that the user is allowed to perform in the stage.</p>",
969978
"ParticipantToken$capabilities": "<p>Set of capabilities that the user is allowed to perform in the stage.</p>",
970979
"ParticipantTokenConfiguration$capabilities": "<p>Set of capabilities that the user is allowed to perform in the stage.</p>"
971980
}
@@ -999,6 +1008,7 @@
9991008
"ParticipantTokenExpirationTime": {
10001009
"base": null,
10011010
"refs": {
1011+
"ExchangedParticipantToken$expirationTime": "<p>ISO 8601 timestamp (returned as a string) for when this token expires.</p>",
10021012
"ParticipantToken$expirationTime": "<p>ISO 8601 timestamp (returned as a string) for when this token expires.</p>"
10031013
}
10041014
},
@@ -1025,6 +1035,7 @@
10251035
"base": null,
10261036
"refs": {
10271037
"CreateParticipantTokenRequest$userId": "<p>Name that can be specified to help identify the token. This can be any UTF-8 encoded text. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>",
1038+
"ExchangedParticipantToken$userId": "<p>Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>",
10281039
"ParticipantToken$userId": "<p>Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>",
10291040
"ParticipantTokenConfiguration$userId": "<p>Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>"
10301041
}

0 commit comments

Comments
 (0)