forked from aws/aws-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshield-2016-06-02.normal.json
682 lines (682 loc) · 22.2 KB
/
shield-2016-06-02.normal.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
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
{
"version":"2.0",
"metadata":{
"apiVersion":"2016-06-02",
"endpointPrefix":"shield",
"jsonVersion":"1.1",
"protocol":"json",
"serviceAbbreviation":"AWS Shield",
"serviceFullName":"AWS Shield",
"signatureVersion":"v4",
"targetPrefix":"AWSShield_20160616",
"uid":"shield-2016-06-02"
},
"operations":{
"CreateProtection":{
"name":"CreateProtection",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateProtectionRequest"},
"output":{"shape":"CreateProtectionResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidResourceException"},
{"shape":"InvalidOperationException"},
{"shape":"LimitsExceededException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"OptimisticLockException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, or an Amazon Route 53 hosted zone.</p>"
},
"CreateSubscription":{
"name":"CreateSubscription",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CreateSubscriptionRequest"},
"output":{"shape":"CreateSubscriptionResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"ResourceAlreadyExistsException"}
],
"documentation":"<p>Activates AWS Shield Advanced for an account.</p>"
},
"DeleteProtection":{
"name":"DeleteProtection",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteProtectionRequest"},
"output":{"shape":"DeleteProtectionResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"ResourceNotFoundException"},
{"shape":"OptimisticLockException"}
],
"documentation":"<p>Deletes an AWS Shield Advanced <a>Protection</a>.</p>"
},
"DeleteSubscription":{
"name":"DeleteSubscription",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteSubscriptionRequest"},
"output":{"shape":"DeleteSubscriptionResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"LockedSubscriptionException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Removes AWS Shield Advanced from an account.</p>"
},
"DescribeAttack":{
"name":"DescribeAttack",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeAttackRequest"},
"output":{"shape":"DescribeAttackResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"}
],
"documentation":"<p>Describes the details of a DDoS attack. </p>"
},
"DescribeProtection":{
"name":"DescribeProtection",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeProtectionRequest"},
"output":{"shape":"DescribeProtectionResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Lists the details of a <a>Protection</a> object.</p>"
},
"DescribeSubscription":{
"name":"DescribeSubscription",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeSubscriptionRequest"},
"output":{"shape":"DescribeSubscriptionResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Provides details about the AWS Shield Advanced subscription for an account.</p>"
},
"ListAttacks":{
"name":"ListAttacks",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListAttacksRequest"},
"output":{"shape":"ListAttacksResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"InvalidParameterException"},
{"shape":"InvalidOperationException"}
],
"documentation":"<p>Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.</p>"
},
"ListProtections":{
"name":"ListProtections",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"ListProtectionsRequest"},
"output":{"shape":"ListProtectionsResponse"},
"errors":[
{"shape":"InternalErrorException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Lists all <a>Protection</a> objects for the account.</p>"
}
},
"shapes":{
"AttackDetail":{
"type":"structure",
"members":{
"AttackId":{
"shape":"AttackId",
"documentation":"<p>The unique identifier (ID) of the attack.</p>"
},
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The ARN (Amazon Resource Name) of the resource that was attacked.</p>"
},
"SubResources":{
"shape":"SubResourceSummaryList",
"documentation":"<p>If applicable, additional detail about the resource being attacked, for example, IP address or URL.</p>"
},
"StartTime":{
"shape":"AttackTimestamp",
"documentation":"<p>The time the attack started, in the format 2016-12-16T13:50Z.</p>"
},
"EndTime":{
"shape":"AttackTimestamp",
"documentation":"<p>The time the attack ended, in the format 2016-12-16T13:50Z.</p>"
},
"AttackCounters":{
"shape":"SummarizedCounterList",
"documentation":"<p>List of counters that describe the attack for the specified time period.</p>"
},
"Mitigations":{
"shape":"MitigationList",
"documentation":"<p>List of mitigation actions taken for the attack.</p>"
}
},
"documentation":"<p>The details of a DDoS attack.</p>"
},
"AttackId":{
"type":"string",
"max":128,
"min":1,
"pattern":"[a-zA-Z0-9\\\\-]*"
},
"AttackSummaries":{
"type":"list",
"member":{"shape":"AttackSummary"}
},
"AttackSummary":{
"type":"structure",
"members":{
"AttackId":{
"shape":"String",
"documentation":"<p>The unique identifier (ID) of the attack.</p>"
},
"ResourceArn":{
"shape":"String",
"documentation":"<p>The ARN (Amazon Resource Name) of the resource that was attacked.</p>"
},
"StartTime":{
"shape":"AttackTimestamp",
"documentation":"<p>The start time of the attack, in the format 2016-12-16T13:50Z.</p>"
},
"EndTime":{
"shape":"AttackTimestamp",
"documentation":"<p>The end time of the attack, in the format 2016-12-16T13:50Z.</p>"
},
"AttackVectors":{
"shape":"AttackVectorDescriptionList",
"documentation":"<p>The list of attacks for a specified time period.</p>"
}
},
"documentation":"<p>Summarizes all DDoS attacks for a specified time period.</p>"
},
"AttackTimestamp":{"type":"timestamp"},
"AttackVectorDescription":{
"type":"structure",
"required":["VectorType"],
"members":{
"VectorType":{
"shape":"String",
"documentation":"<p>The attack type, for example, SNMP reflection or SYN flood.</p>"
}
},
"documentation":"<p>Describes the attack.</p>"
},
"AttackVectorDescriptionList":{
"type":"list",
"member":{"shape":"AttackVectorDescription"}
},
"CreateProtectionRequest":{
"type":"structure",
"required":[
"Name",
"ResourceArn"
],
"members":{
"Name":{
"shape":"ProtectionName",
"documentation":"<p>Friendly name for the <code>Protection</code> you are creating.</p>"
},
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The ARN (Amazon Resource Name) of the resource to be protected.</p>"
}
}
},
"CreateProtectionResponse":{
"type":"structure",
"members":{
"ProtectionId":{
"shape":"ProtectionId",
"documentation":"<p>The unique identifier (ID) for the <a>Protection</a> object that is created.</p>"
}
}
},
"CreateSubscriptionRequest":{
"type":"structure",
"members":{
}
},
"CreateSubscriptionResponse":{
"type":"structure",
"members":{
}
},
"DeleteProtectionRequest":{
"type":"structure",
"required":["ProtectionId"],
"members":{
"ProtectionId":{
"shape":"ProtectionId",
"documentation":"<p>The unique identifier (ID) for the <a>Protection</a> object to be deleted.</p>"
}
}
},
"DeleteProtectionResponse":{
"type":"structure",
"members":{
}
},
"DeleteSubscriptionRequest":{
"type":"structure",
"members":{
}
},
"DeleteSubscriptionResponse":{
"type":"structure",
"members":{
}
},
"DescribeAttackRequest":{
"type":"structure",
"required":["AttackId"],
"members":{
"AttackId":{
"shape":"AttackId",
"documentation":"<p>The unique identifier (ID) for the attack that to be described.</p>"
}
}
},
"DescribeAttackResponse":{
"type":"structure",
"members":{
"Attack":{
"shape":"AttackDetail",
"documentation":"<p>The attack that is described.</p>"
}
}
},
"DescribeProtectionRequest":{
"type":"structure",
"required":["ProtectionId"],
"members":{
"ProtectionId":{
"shape":"ProtectionId",
"documentation":"<p>The unique identifier (ID) for the <a>Protection</a> object that is described.</p>"
}
}
},
"DescribeProtectionResponse":{
"type":"structure",
"members":{
"Protection":{
"shape":"Protection",
"documentation":"<p>The <a>Protection</a> object that is described.</p>"
}
}
},
"DescribeSubscriptionRequest":{
"type":"structure",
"members":{
}
},
"DescribeSubscriptionResponse":{
"type":"structure",
"members":{
"Subscription":{
"shape":"Subscription",
"documentation":"<p>The AWS Shield Advanced subscription details for an account.</p>"
}
}
},
"Double":{"type":"double"},
"DurationInSeconds":{
"type":"long",
"min":0
},
"Integer":{"type":"integer"},
"InternalErrorException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.</p>",
"exception":true,
"fault":true
},
"InvalidOperationException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>Exception that indicates that the operation would not cause any change to occur.</p>",
"exception":true
},
"InvalidParameterException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>Exception that indicates that the parameters passed to the API are invalid. </p>",
"exception":true
},
"InvalidResourceException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>Exception that indicates that the resource is invalid. You might not have access to the resource, or the resource might not exist.</p>",
"exception":true
},
"LimitNumber":{"type":"long"},
"LimitType":{"type":"string"},
"LimitsExceededException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"},
"Type":{"shape":"LimitType"},
"Limit":{"shape":"LimitNumber"}
},
"documentation":"<p>Exception that indicates that the operation would exceed a limit.</p>",
"exception":true
},
"ListAttacksRequest":{
"type":"structure",
"members":{
"ResourceArns":{
"shape":"ResourceArnFilterList",
"documentation":"<p>The ARN (Amazon Resource Name) of the resource that was attacked. If this is left blank, all applicable resources for this account will be included.</p>"
},
"StartTime":{
"shape":"TimeRange",
"documentation":"<p>The time period for the attacks.</p>"
},
"EndTime":{
"shape":"TimeRange",
"documentation":"<p>The end of the time period for the attacks.</p>"
},
"NextToken":{
"shape":"Token",
"documentation":"<p>The <code>ListAttacksRequest.NextMarker</code> value from a previous call to <code>ListAttacksRequest</code>. Pass null if this is the first call.</p>"
},
"MaxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of <a>AttackSummary</a> objects to be returned. If this is left blank, the first 20 results will be returned.</p>"
}
}
},
"ListAttacksResponse":{
"type":"structure",
"members":{
"AttackSummaries":{
"shape":"AttackSummaries",
"documentation":"<p>The attack information for the specified time range.</p>"
},
"NextToken":{
"shape":"Token",
"documentation":"<p>The token returned by a previous call to indicate that there is more data available. If not null, more results are available. Pass this value for the <code>NextMarker</code> parameter in a subsequent call to <code>ListAttacks</code> to retrieve the next set of items.</p>"
}
}
},
"ListProtectionsRequest":{
"type":"structure",
"members":{
"NextToken":{
"shape":"Token",
"documentation":"<p>The <code>ListProtectionsRequest.NextToken</code> value from a previous call to <code>ListProtections</code>. Pass null if this is the first call.</p>"
},
"MaxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of <a>Protection</a> objects to be returned. If this is left blank the first 20 results will be returned.</p>"
}
}
},
"ListProtectionsResponse":{
"type":"structure",
"members":{
"Protections":{
"shape":"Protections",
"documentation":"<p>The array of enabled <a>Protection</a> objects.</p>"
},
"NextToken":{
"shape":"Token",
"documentation":"<p>If you specify a value for <code>MaxResults</code> and you have more Protections than the value of MaxResults, AWS Shield Advanced returns a NextToken value in the response that allows you to list another group of Protections. For the second and subsequent ListProtections requests, specify the value of NextToken from the previous response to get information about another batch of Protections.</p>"
}
}
},
"LockedSubscriptionException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>Exception that indicates that the subscription has been modified by another client. You can retry the request.</p>",
"exception":true
},
"MaxResults":{
"type":"integer",
"box":true,
"max":100,
"min":0
},
"Mitigation":{
"type":"structure",
"members":{
"MitigationName":{
"shape":"String",
"documentation":"<p>The name of the mitigation taken for this attack.</p>"
}
},
"documentation":"<p>The mitigation applied to a DDoS attack.</p>"
},
"MitigationList":{
"type":"list",
"member":{"shape":"Mitigation"}
},
"OptimisticLockException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>Exception that indicates that the protection state has been modified by another client. You can retry the request.</p>",
"exception":true
},
"Protection":{
"type":"structure",
"members":{
"Id":{
"shape":"ProtectionId",
"documentation":"<p>The unique identifier (ID) of the protection.</p>"
},
"Name":{
"shape":"ProtectionName",
"documentation":"<p>The friendly name of the protection. For example, <code>My CloudFront distributions</code>.</p>"
},
"ResourceArn":{
"shape":"ResourceArn",
"documentation":"<p>The ARN (Amazon Resource Name) of the AWS resource that is protected.</p>"
}
},
"documentation":"<p>An object that represents a resource that is under DDoS protection.</p>"
},
"ProtectionId":{
"type":"string",
"max":36,
"min":1,
"pattern":"[a-zA-Z0-9\\\\-]*"
},
"ProtectionName":{
"type":"string",
"max":128,
"min":1,
"pattern":"[ a-zA-Z0-9_\\\\.\\\\-]*"
},
"Protections":{
"type":"list",
"member":{"shape":"Protection"}
},
"ResourceAlreadyExistsException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>Exception indicating the specified resource already exists.</p>",
"exception":true
},
"ResourceArn":{
"type":"string",
"min":1
},
"ResourceArnFilterList":{
"type":"list",
"member":{"shape":"ResourceArn"}
},
"ResourceNotFoundException":{
"type":"structure",
"members":{
"message":{"shape":"errorMessage"}
},
"documentation":"<p>Exception indicating the specified resource does not exist.</p>",
"exception":true
},
"String":{"type":"string"},
"SubResourceSummary":{
"type":"structure",
"members":{
"Type":{
"shape":"SubResourceType",
"documentation":"<p>The <code>SubResource</code> type.</p>"
},
"Id":{
"shape":"String",
"documentation":"<p>The unique identifier (ID) of the <code>SubResource</code>.</p>"
},
"AttackVectors":{
"shape":"SummarizedAttackVectorList",
"documentation":"<p>The list of attack types and associated counters.</p>"
},
"Counters":{
"shape":"SummarizedCounterList",
"documentation":"<p>The counters that describe the details of the attack.</p>"
}
},
"documentation":"<p>The attack information for the specified SubResource.</p>"
},
"SubResourceSummaryList":{
"type":"list",
"member":{"shape":"SubResourceSummary"}
},
"SubResourceType":{
"type":"string",
"enum":[
"IP",
"URL"
]
},
"Subscription":{
"type":"structure",
"members":{
"StartTime":{
"shape":"Timestamp",
"documentation":"<p>The start time of the subscription, in the format \"2016-12-16T13:50Z\".</p>"
},
"TimeCommitmentInSeconds":{
"shape":"DurationInSeconds",
"documentation":"<p>The length, in seconds, of the AWS Shield Advanced subscription for the account.</p>"
}
},
"documentation":"<p>Information about the AWS Shield Advanced subscription for an account.</p>"
},
"SummarizedAttackVector":{
"type":"structure",
"required":["VectorType"],
"members":{
"VectorType":{
"shape":"String",
"documentation":"<p>The attack type, for example, SNMP reflection or SYN flood.</p>"
},
"VectorCounters":{
"shape":"SummarizedCounterList",
"documentation":"<p>The list of counters that describe the details of the attack.</p>"
}
},
"documentation":"<p>A summary of information about the attack.</p>"
},
"SummarizedAttackVectorList":{
"type":"list",
"member":{"shape":"SummarizedAttackVector"}
},
"SummarizedCounter":{
"type":"structure",
"members":{
"Name":{
"shape":"String",
"documentation":"<p>The counter name.</p>"
},
"Max":{
"shape":"Double",
"documentation":"<p>The maximum value of the counter for a specified time period.</p>"
},
"Average":{
"shape":"Double",
"documentation":"<p>The average value of the counter for a specified time period.</p>"
},
"Sum":{
"shape":"Double",
"documentation":"<p>The total of counter values for a specified time period.</p>"
},
"N":{
"shape":"Integer",
"documentation":"<p>The number of counters for a specified time period.</p>"
},
"Unit":{
"shape":"String",
"documentation":"<p>The unit of the counters.</p>"
}
},
"documentation":"<p>The counter that describes a DDoS attack.</p>"
},
"SummarizedCounterList":{
"type":"list",
"member":{"shape":"SummarizedCounter"}
},
"TimeRange":{
"type":"structure",
"members":{
"FromInclusive":{
"shape":"AttackTimestamp",
"documentation":"<p>The start time, in the format 2016-12-16T13:50Z.</p>"
},
"ToExclusive":{
"shape":"AttackTimestamp",
"documentation":"<p>The end time, in the format 2016-12-16T15:50Z.</p>"
}
},
"documentation":"<p>The time range.</p>"
},
"Timestamp":{"type":"timestamp"},
"Token":{
"type":"string",
"min":1
},
"errorMessage":{"type":"string"}
},
"documentation":"<fullname>AWS Shield Advanced</fullname> <p>This is the <i>AWS Shield Advanced API Reference</i>. This guide is for developers who need detailed information about the AWS Shield Advanced API actions, data types, and errors. For detailed information about AWS WAF and AWS Shield Advanced features and an overview of how to use the AWS WAF and AWS Shield Advanced APIs, see the <a href=\"http://docs.aws.amazon.com/waf/latest/developerguide/\">AWS WAF and AWS Shield Developer Guide</a>.</p>"
}