Skip to content

Commit a2048e0

Browse files
Updated API models and rebuilt service gems.
1 parent 485eb43 commit a2048e0

Some content is hidden

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

75 files changed

+3064
-587
lines changed

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

Lines changed: 96 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"output":{"shape":"AcceptPrimaryEmailUpdateResponse"},
2626
"errors":[
2727
{"shape":"ResourceNotFoundException"},
28+
{"shape":"AccessDeniedException"},
2829
{"shape":"ValidationException"},
2930
{"shape":"ConflictException"},
30-
{"shape":"AccessDeniedException"},
3131
{"shape":"TooManyRequestsException"},
3232
{"shape":"InternalServerException"}
3333
]
@@ -58,9 +58,9 @@
5858
},
5959
"input":{"shape":"DisableRegionRequest"},
6060
"errors":[
61+
{"shape":"AccessDeniedException"},
6162
{"shape":"ValidationException"},
6263
{"shape":"ConflictException"},
63-
{"shape":"AccessDeniedException"},
6464
{"shape":"TooManyRequestsException"},
6565
{"shape":"InternalServerException"}
6666
]
@@ -74,9 +74,25 @@
7474
},
7575
"input":{"shape":"EnableRegionRequest"},
7676
"errors":[
77+
{"shape":"AccessDeniedException"},
7778
{"shape":"ValidationException"},
7879
{"shape":"ConflictException"},
80+
{"shape":"TooManyRequestsException"},
81+
{"shape":"InternalServerException"}
82+
]
83+
},
84+
"GetAccountInformation":{
85+
"name":"GetAccountInformation",
86+
"http":{
87+
"method":"POST",
88+
"requestUri":"/getAccountInformation",
89+
"responseCode":200
90+
},
91+
"input":{"shape":"GetAccountInformationRequest"},
92+
"output":{"shape":"GetAccountInformationResponse"},
93+
"errors":[
7994
{"shape":"AccessDeniedException"},
95+
{"shape":"ValidationException"},
8096
{"shape":"TooManyRequestsException"},
8197
{"shape":"InternalServerException"}
8298
]
@@ -126,8 +142,8 @@
126142
"output":{"shape":"GetPrimaryEmailResponse"},
127143
"errors":[
128144
{"shape":"ResourceNotFoundException"},
129-
{"shape":"ValidationException"},
130145
{"shape":"AccessDeniedException"},
146+
{"shape":"ValidationException"},
131147
{"shape":"TooManyRequestsException"},
132148
{"shape":"InternalServerException"}
133149
]
@@ -142,8 +158,8 @@
142158
"input":{"shape":"GetRegionOptStatusRequest"},
143159
"output":{"shape":"GetRegionOptStatusResponse"},
144160
"errors":[
145-
{"shape":"ValidationException"},
146161
{"shape":"AccessDeniedException"},
162+
{"shape":"ValidationException"},
147163
{"shape":"TooManyRequestsException"},
148164
{"shape":"InternalServerException"}
149165
]
@@ -158,12 +174,28 @@
158174
"input":{"shape":"ListRegionsRequest"},
159175
"output":{"shape":"ListRegionsResponse"},
160176
"errors":[
161-
{"shape":"ValidationException"},
162177
{"shape":"AccessDeniedException"},
178+
{"shape":"ValidationException"},
163179
{"shape":"TooManyRequestsException"},
164180
{"shape":"InternalServerException"}
165181
]
166182
},
183+
"PutAccountName":{
184+
"name":"PutAccountName",
185+
"http":{
186+
"method":"POST",
187+
"requestUri":"/putAccountName",
188+
"responseCode":200
189+
},
190+
"input":{"shape":"PutAccountNameRequest"},
191+
"errors":[
192+
{"shape":"AccessDeniedException"},
193+
{"shape":"ValidationException"},
194+
{"shape":"TooManyRequestsException"},
195+
{"shape":"InternalServerException"}
196+
],
197+
"idempotent":true
198+
},
167199
"PutAlternateContact":{
168200
"name":"PutAlternateContact",
169201
"http":{
@@ -207,9 +239,9 @@
207239
"output":{"shape":"StartPrimaryEmailUpdateResponse"},
208240
"errors":[
209241
{"shape":"ResourceNotFoundException"},
242+
{"shape":"AccessDeniedException"},
210243
{"shape":"ValidationException"},
211244
{"shape":"ConflictException"},
212-
{"shape":"AccessDeniedException"},
213245
{"shape":"TooManyRequestsException"},
214246
{"shape":"InternalServerException"}
215247
]
@@ -239,6 +271,11 @@
239271
"type":"structure",
240272
"required":["message"],
241273
"members":{
274+
"errorType":{
275+
"shape":"String",
276+
"location":"header",
277+
"locationName":"x-amzn-ErrorType"
278+
},
242279
"message":{"shape":"String"}
243280
},
244281
"error":{
@@ -247,10 +284,21 @@
247284
},
248285
"exception":true
249286
},
287+
"AccountCreatedDate":{
288+
"type":"timestamp",
289+
"timestampFormat":"iso8601"
290+
},
250291
"AccountId":{
251292
"type":"string",
252293
"pattern":"^\\d{12}$"
253294
},
295+
"AccountName":{
296+
"type":"string",
297+
"max":50,
298+
"min":1,
299+
"pattern":"^[ -;=?-~]+$",
300+
"sensitive":true
301+
},
254302
"AddressLine":{
255303
"type":"string",
256304
"max":60,
@@ -291,6 +339,11 @@
291339
"type":"structure",
292340
"required":["message"],
293341
"members":{
342+
"errorType":{
343+
"shape":"String",
344+
"location":"header",
345+
"locationName":"x-amzn-ErrorType"
346+
},
294347
"message":{"shape":"String"}
295348
},
296349
"error":{
@@ -380,6 +433,20 @@
380433
"min":1,
381434
"sensitive":true
382435
},
436+
"GetAccountInformationRequest":{
437+
"type":"structure",
438+
"members":{
439+
"AccountId":{"shape":"AccountId"}
440+
}
441+
},
442+
"GetAccountInformationResponse":{
443+
"type":"structure",
444+
"members":{
445+
"AccountCreatedDate":{"shape":"AccountCreatedDate"},
446+
"AccountId":{"shape":"AccountId"},
447+
"AccountName":{"shape":"AccountName"}
448+
}
449+
},
383450
"GetAlternateContactRequest":{
384451
"type":"structure",
385452
"required":["AlternateContactType"],
@@ -438,6 +505,11 @@
438505
"type":"structure",
439506
"required":["message"],
440507
"members":{
508+
"errorType":{
509+
"shape":"String",
510+
"location":"header",
511+
"locationName":"x-amzn-ErrorType"
512+
},
441513
"message":{"shape":"String"}
442514
},
443515
"error":{"httpStatusCode":500},
@@ -509,6 +581,14 @@
509581
"ACCEPTED"
510582
]
511583
},
584+
"PutAccountNameRequest":{
585+
"type":"structure",
586+
"required":["AccountName"],
587+
"members":{
588+
"AccountId":{"shape":"AccountId"},
589+
"AccountName":{"shape":"AccountName"}
590+
}
591+
},
512592
"PutAlternateContactRequest":{
513593
"type":"structure",
514594
"required":[
@@ -569,6 +649,11 @@
569649
"type":"structure",
570650
"required":["message"],
571651
"members":{
652+
"errorType":{
653+
"shape":"String",
654+
"location":"header",
655+
"locationName":"x-amzn-ErrorType"
656+
},
572657
"message":{"shape":"String"}
573658
},
574659
"error":{
@@ -615,6 +700,11 @@
615700
"type":"structure",
616701
"required":["message"],
617702
"members":{
703+
"errorType":{
704+
"shape":"String",
705+
"location":"header",
706+
"locationName":"x-amzn-ErrorType"
707+
},
618708
"message":{"shape":"String"}
619709
},
620710
"error":{

0 commit comments

Comments
 (0)