-
Notifications
You must be signed in to change notification settings - Fork 49
/
migrationhubconfig.2019-06-30.json
482 lines (482 loc) · 21.8 KB
/
migrationhubconfig.2019-06-30.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.migrationhubconfig#AWSMigrationHubMultiAccountService": {
"type": "service",
"version": "2019-06-30",
"operations": [
{
"target": "com.amazonaws.migrationhubconfig#CreateHomeRegionControl"
},
{
"target": "com.amazonaws.migrationhubconfig#DescribeHomeRegionControls"
},
{
"target": "com.amazonaws.migrationhubconfig#GetHomeRegion"
}
],
"traits": {
"aws.api#service": {
"sdkId": "MigrationHub Config",
"arnNamespace": "mgh",
"cloudFormationName": "MigrationHubConfig",
"cloudTrailEventSource": "migrationhubconfig.amazonaws.com",
"endpointPrefix": "migrationhub-config"
},
"aws.auth#sigv4": {
"name": "mgh"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p>The AWS Migration Hub home region APIs are available specifically for working with your\n Migration Hub home region. You can use these APIs to determine a home region, as well as to\n create and work with controls that describe the home region.</p>\n\n <ul>\n <li>\n <p>You must make API calls for write actions (create, notify, associate, disassociate,\n import, or put) while in your home region, or a <code>HomeRegionNotSetException</code>\n error is returned.</p>\n </li>\n <li>\n <p>API calls for read actions (list, describe, stop, and delete) are permitted outside of\n your home region.</p>\n </li>\n <li>\n <p>If you call a write API outside the home region, an <code>InvalidInputException</code>\n is returned.</p>\n </li>\n <li>\n <p>You can call <code>GetHomeRegion</code> action to obtain the account's Migration Hub\n home region.</p>\n </li>\n </ul>\n\n <p>For specific API usage, see the sections that follow in this AWS Migration Hub Home Region\n API reference. </p>",
"smithy.api#title": "AWS Migration Hub Config"
}
},
"com.amazonaws.migrationhubconfig#AccessDeniedException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.migrationhubconfig#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>You do not have sufficient access to perform this action.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.migrationhubconfig#ControlId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
},
"smithy.api#pattern": "^hrc-[a-z0-9]{12}$"
}
},
"com.amazonaws.migrationhubconfig#CreateHomeRegionControl": {
"type": "operation",
"input": {
"target": "com.amazonaws.migrationhubconfig#CreateHomeRegionControlRequest"
},
"output": {
"target": "com.amazonaws.migrationhubconfig#CreateHomeRegionControlResult"
},
"errors": [
{
"target": "com.amazonaws.migrationhubconfig#AccessDeniedException"
},
{
"target": "com.amazonaws.migrationhubconfig#DryRunOperation"
},
{
"target": "com.amazonaws.migrationhubconfig#InternalServerError"
},
{
"target": "com.amazonaws.migrationhubconfig#InvalidInputException"
},
{
"target": "com.amazonaws.migrationhubconfig#ServiceUnavailableException"
},
{
"target": "com.amazonaws.migrationhubconfig#ThrottlingException"
}
],
"traits": {
"smithy.api#documentation": "<p>This API sets up the home region for the calling account only.</p>"
}
},
"com.amazonaws.migrationhubconfig#CreateHomeRegionControlRequest": {
"type": "structure",
"members": {
"HomeRegion": {
"target": "com.amazonaws.migrationhubconfig#HomeRegion",
"traits": {
"smithy.api#documentation": "<p>The name of the home region of the calling account.</p>",
"smithy.api#required": {}
}
},
"Target": {
"target": "com.amazonaws.migrationhubconfig#Target",
"traits": {
"smithy.api#documentation": "<p>The account for which this command sets up a home region control. The <code>Target</code>\n is always of type <code>ACCOUNT</code>.</p>",
"smithy.api#required": {}
}
},
"DryRun": {
"target": "com.amazonaws.migrationhubconfig#DryRun",
"traits": {
"smithy.api#documentation": "<p>Optional Boolean flag to indicate whether any effect should take place. It tests whether\n the caller has permission to make the call.</p>"
}
}
}
},
"com.amazonaws.migrationhubconfig#CreateHomeRegionControlResult": {
"type": "structure",
"members": {
"HomeRegionControl": {
"target": "com.amazonaws.migrationhubconfig#HomeRegionControl",
"traits": {
"smithy.api#documentation": "<p>This object is the <code>HomeRegionControl</code> object that's returned by a successful\n call to <code>CreateHomeRegionControl</code>.</p>"
}
}
}
},
"com.amazonaws.migrationhubconfig#DescribeHomeRegionControls": {
"type": "operation",
"input": {
"target": "com.amazonaws.migrationhubconfig#DescribeHomeRegionControlsRequest"
},
"output": {
"target": "com.amazonaws.migrationhubconfig#DescribeHomeRegionControlsResult"
},
"errors": [
{
"target": "com.amazonaws.migrationhubconfig#AccessDeniedException"
},
{
"target": "com.amazonaws.migrationhubconfig#InternalServerError"
},
{
"target": "com.amazonaws.migrationhubconfig#InvalidInputException"
},
{
"target": "com.amazonaws.migrationhubconfig#ServiceUnavailableException"
},
{
"target": "com.amazonaws.migrationhubconfig#ThrottlingException"
}
],
"traits": {
"smithy.api#documentation": "<p>This API permits filtering on the <code>ControlId</code> and <code>HomeRegion</code>\n fields.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.migrationhubconfig#DescribeHomeRegionControlsMaxResults": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.migrationhubconfig#DescribeHomeRegionControlsRequest": {
"type": "structure",
"members": {
"ControlId": {
"target": "com.amazonaws.migrationhubconfig#ControlId",
"traits": {
"smithy.api#documentation": "<p>The <code>ControlID</code> is a unique identifier string of your\n <code>HomeRegionControl</code> object.</p>"
}
},
"HomeRegion": {
"target": "com.amazonaws.migrationhubconfig#HomeRegion",
"traits": {
"smithy.api#documentation": "<p>The name of the home region you'd like to view.</p>"
}
},
"Target": {
"target": "com.amazonaws.migrationhubconfig#Target",
"traits": {
"smithy.api#documentation": "<p>The target parameter specifies the identifier to which the home region is applied, which\n is always of type <code>ACCOUNT</code>. It applies the home region to the current\n <code>ACCOUNT</code>.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.migrationhubconfig#DescribeHomeRegionControlsMaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of filtering results to display per page. </p>"
}
},
"NextToken": {
"target": "com.amazonaws.migrationhubconfig#Token",
"traits": {
"smithy.api#documentation": "<p>If a <code>NextToken</code> was returned by a previous call, more results are available.\n To retrieve the next page of results, make the call again using the returned token in\n <code>NextToken</code>.</p>"
}
}
}
},
"com.amazonaws.migrationhubconfig#DescribeHomeRegionControlsResult": {
"type": "structure",
"members": {
"HomeRegionControls": {
"target": "com.amazonaws.migrationhubconfig#HomeRegionControls",
"traits": {
"smithy.api#documentation": "<p>An array that contains your <code>HomeRegionControl</code> objects.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.migrationhubconfig#Token",
"traits": {
"smithy.api#documentation": "<p>If a <code>NextToken</code> was returned by a previous call, more results are available.\n To retrieve the next page of results, make the call again using the returned token in\n <code>NextToken</code>.</p>"
}
}
}
},
"com.amazonaws.migrationhubconfig#DryRun": {
"type": "boolean"
},
"com.amazonaws.migrationhubconfig#DryRunOperation": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.migrationhubconfig#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Exception raised to indicate that authorization of an action was successful, when the\n <code>DryRun</code> flag is set to true.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.migrationhubconfig#ErrorMessage": {
"type": "string"
},
"com.amazonaws.migrationhubconfig#GetHomeRegion": {
"type": "operation",
"input": {
"target": "com.amazonaws.migrationhubconfig#GetHomeRegionRequest"
},
"output": {
"target": "com.amazonaws.migrationhubconfig#GetHomeRegionResult"
},
"errors": [
{
"target": "com.amazonaws.migrationhubconfig#AccessDeniedException"
},
{
"target": "com.amazonaws.migrationhubconfig#InternalServerError"
},
{
"target": "com.amazonaws.migrationhubconfig#InvalidInputException"
},
{
"target": "com.amazonaws.migrationhubconfig#ServiceUnavailableException"
},
{
"target": "com.amazonaws.migrationhubconfig#ThrottlingException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the calling account’s home region, if configured. This API is used by other AWS\n services to determine the regional endpoint for calling AWS Application Discovery Service and\n Migration Hub. You must call <code>GetHomeRegion</code> at least once before you call any\n other AWS Application Discovery Service and AWS Migration Hub APIs, to obtain the account's\n Migration Hub home region.</p>"
}
},
"com.amazonaws.migrationhubconfig#GetHomeRegionRequest": {
"type": "structure",
"members": {}
},
"com.amazonaws.migrationhubconfig#GetHomeRegionResult": {
"type": "structure",
"members": {
"HomeRegion": {
"target": "com.amazonaws.migrationhubconfig#HomeRegion",
"traits": {
"smithy.api#documentation": "<p>The name of the home region of the calling account.</p>"
}
}
}
},
"com.amazonaws.migrationhubconfig#HomeRegion": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
},
"smithy.api#pattern": "^([a-z]+)-([a-z]+)-([0-9]+)$"
}
},
"com.amazonaws.migrationhubconfig#HomeRegionControl": {
"type": "structure",
"members": {
"ControlId": {
"target": "com.amazonaws.migrationhubconfig#ControlId",
"traits": {
"smithy.api#documentation": "<p>A unique identifier that's generated for each home region control. It's always a string\n that begins with \"hrc-\" followed by 12 lowercase letters and numbers.</p>"
}
},
"HomeRegion": {
"target": "com.amazonaws.migrationhubconfig#HomeRegion",
"traits": {
"smithy.api#documentation": "<p>The AWS Region that's been set as home region. For example, \"us-west-2\" or \"eu-central-1\"\n are valid home regions.</p>"
}
},
"Target": {
"target": "com.amazonaws.migrationhubconfig#Target",
"traits": {
"smithy.api#documentation": "<p>The target parameter specifies the identifier to which the home region is applied, which\n is always an <code>ACCOUNT</code>. It applies the home region to the current\n <code>ACCOUNT</code>.</p>"
}
},
"RequestedTime": {
"target": "com.amazonaws.migrationhubconfig#RequestedTime",
"traits": {
"smithy.api#documentation": "<p>A timestamp representing the time when the customer called\n <code>CreateHomeregionControl</code> and set the home region for the account.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A home region control is an object that specifies the home region for an account, with\n some additional information. It contains a target (always of type <code>ACCOUNT</code>), an\n ID, and a time at which the home region was set.</p>"
}
},
"com.amazonaws.migrationhubconfig#HomeRegionControls": {
"type": "list",
"member": {
"target": "com.amazonaws.migrationhubconfig#HomeRegionControl"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 100
}
}
},
"com.amazonaws.migrationhubconfig#InternalServerError": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.migrationhubconfig#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Exception raised when an internal, configuration, or dependency error is\n encountered.</p>",
"smithy.api#error": "server"
}
},
"com.amazonaws.migrationhubconfig#InvalidInputException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.migrationhubconfig#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Exception raised when the provided input violates a policy constraint or is entered in the\n wrong format or data type.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.migrationhubconfig#RequestedTime": {
"type": "timestamp"
},
"com.amazonaws.migrationhubconfig#RetryAfterSeconds": {
"type": "integer"
},
"com.amazonaws.migrationhubconfig#ServiceUnavailableException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.migrationhubconfig#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Exception raised when a request fails due to temporary unavailability of the\n service.</p>",
"smithy.api#error": "server"
}
},
"com.amazonaws.migrationhubconfig#Target": {
"type": "structure",
"members": {
"Type": {
"target": "com.amazonaws.migrationhubconfig#TargetType",
"traits": {
"smithy.api#documentation": "<p>The target type is always an <code>ACCOUNT</code>.</p>",
"smithy.api#required": {}
}
},
"Id": {
"target": "com.amazonaws.migrationhubconfig#TargetId",
"traits": {
"smithy.api#documentation": "<p>The <code>TargetID</code> is a 12-character identifier of the <code>ACCOUNT</code> for\n which the control was created. (This must be the current account.) </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The target parameter specifies the identifier to which the home region is applied, which\n is always an <code>ACCOUNT</code>. It applies the home region to the current\n <code>ACCOUNT</code>.</p>"
}
},
"com.amazonaws.migrationhubconfig#TargetId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 12,
"max": 12
},
"smithy.api#pattern": "^\\d{12}$"
}
},
"com.amazonaws.migrationhubconfig#TargetType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ACCOUNT",
"name": "ACCOUNT"
}
]
}
},
"com.amazonaws.migrationhubconfig#ThrottlingException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.migrationhubconfig#ErrorMessage",
"traits": {
"smithy.api#required": {}
}
},
"RetryAfterSeconds": {
"target": "com.amazonaws.migrationhubconfig#RetryAfterSeconds",
"traits": {
"smithy.api#documentation": "<p>The number of seconds the caller should wait before retrying.</p>",
"smithy.api#httpHeader": "Retry-After"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request was denied due to request throttling.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 429
}
},
"com.amazonaws.migrationhubconfig#Token": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 2048
},
"smithy.api#pattern": "^[a-zA-Z0-9\\/\\+\\=]{0,2048}$"
}
}
}
}