@aws-sdk/client-shield 3.321.1 → 3.326.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +4 -0
- package/dist-types/commands/AssociateDRTRoleCommand.d.ts +4 -0
- package/dist-types/commands/AssociateHealthCheckCommand.d.ts +4 -0
- package/dist-types/commands/AssociateProactiveEngagementDetailsCommand.d.ts +4 -0
- package/dist-types/commands/CreateProtectionCommand.d.ts +6 -0
- package/dist-types/commands/CreateProtectionGroupCommand.d.ts +4 -0
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteProtectionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteProtectionGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSubscriptionCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAttackCommand.d.ts +62 -0
- package/dist-types/commands/DescribeAttackStatisticsCommand.d.ts +25 -0
- package/dist-types/commands/DescribeDRTAccessCommand.d.ts +9 -0
- package/dist-types/commands/DescribeEmergencyContactSettingsCommand.d.ts +12 -0
- package/dist-types/commands/DescribeProtectionCommand.d.ts +21 -0
- package/dist-types/commands/DescribeProtectionGroupCommand.d.ts +15 -0
- package/dist-types/commands/DescribeSubscriptionCommand.d.ts +37 -0
- package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +4 -0
- package/dist-types/commands/DisableProactiveEngagementCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateDRTRoleCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +4 -0
- package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +4 -0
- package/dist-types/commands/EnableProactiveEngagementCommand.d.ts +4 -0
- package/dist-types/commands/GetSubscriptionStateCommand.d.ts +6 -0
- package/dist-types/commands/ListAttacksCommand.d.ts +19 -0
- package/dist-types/commands/ListProtectionGroupsCommand.d.ts +18 -0
- package/dist-types/commands/ListProtectionsCommand.d.ts +24 -0
- package/dist-types/commands/ListResourcesInProtectionGroupCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +4 -0
- package/dist-types/commands/UpdateEmergencyContactSettingsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateProtectionGroupCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +4 -0
- package/package.json +16 -16
|
@@ -32,6 +32,8 @@ export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucke
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new AssociateDRTLogBucketCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
37
39
|
* @param AssociateDRTLogBucketCommandInput - {@link AssociateDRTLogBucketCommandInput}
|
|
@@ -65,6 +67,8 @@ export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucke
|
|
|
65
67
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
68
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
67
69
|
*
|
|
70
|
+
* @throws {@link ShieldServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
68
72
|
*
|
|
69
73
|
*/
|
|
70
74
|
export declare class AssociateDRTLogBucketCommand extends $Command<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -38,6 +38,8 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse,
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new AssociateDRTRoleCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
41
43
|
* ```
|
|
42
44
|
*
|
|
43
45
|
* @param AssociateDRTRoleCommandInput - {@link AssociateDRTRoleCommandInput}
|
|
@@ -65,6 +67,8 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse,
|
|
|
65
67
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
68
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
67
69
|
*
|
|
70
|
+
* @throws {@link ShieldServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
68
72
|
*
|
|
69
73
|
*/
|
|
70
74
|
export declare class AssociateDRTRoleCommand extends $Command<AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -33,6 +33,8 @@ export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckR
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new AssociateHealthCheckCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param AssociateHealthCheckCommandInput - {@link AssociateHealthCheckCommandInput}
|
|
@@ -60,6 +62,8 @@ export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckR
|
|
|
60
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
63
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
62
64
|
*
|
|
65
|
+
* @throws {@link ShieldServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
63
67
|
*
|
|
64
68
|
*/
|
|
65
69
|
export declare class AssociateHealthCheckCommand extends $Command<AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -42,6 +42,8 @@ export interface AssociateProactiveEngagementDetailsCommandOutput extends Associ
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new AssociateProactiveEngagementDetailsCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
45
47
|
* ```
|
|
46
48
|
*
|
|
47
49
|
* @param AssociateProactiveEngagementDetailsCommandInput - {@link AssociateProactiveEngagementDetailsCommandInput}
|
|
@@ -66,6 +68,8 @@ export interface AssociateProactiveEngagementDetailsCommandOutput extends Associ
|
|
|
66
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
69
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
68
70
|
*
|
|
71
|
+
* @throws {@link ShieldServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
69
73
|
*
|
|
70
74
|
*/
|
|
71
75
|
export declare class AssociateProactiveEngagementDetailsCommand extends $Command<AssociateProactiveEngagementDetailsCommandInput, AssociateProactiveEngagementDetailsCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -43,6 +43,10 @@ export interface CreateProtectionCommandOutput extends CreateProtectionResponse,
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new CreateProtectionCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // CreateProtectionResponse
|
|
47
|
+
* // ProtectionId: "STRING_VALUE",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
46
50
|
* ```
|
|
47
51
|
*
|
|
48
52
|
* @param CreateProtectionCommandInput - {@link CreateProtectionCommandInput}
|
|
@@ -76,6 +80,8 @@ export interface CreateProtectionCommandOutput extends CreateProtectionResponse,
|
|
|
76
80
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
81
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
78
82
|
*
|
|
83
|
+
* @throws {@link ShieldServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
79
85
|
*
|
|
80
86
|
*/
|
|
81
87
|
export declare class CreateProtectionCommand extends $Command<CreateProtectionCommandInput, CreateProtectionCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -43,6 +43,8 @@ export interface CreateProtectionGroupCommandOutput extends CreateProtectionGrou
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new CreateProtectionGroupCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
46
48
|
* ```
|
|
47
49
|
*
|
|
48
50
|
* @param CreateProtectionGroupCommandInput - {@link CreateProtectionGroupCommandInput}
|
|
@@ -70,6 +72,8 @@ export interface CreateProtectionGroupCommandOutput extends CreateProtectionGrou
|
|
|
70
72
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
73
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
72
74
|
*
|
|
75
|
+
* @throws {@link ShieldServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
73
77
|
*
|
|
74
78
|
*/
|
|
75
79
|
export declare class CreateProtectionGroupCommand extends $Command<CreateProtectionGroupCommandInput, CreateProtectionGroupCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface CreateSubscriptionCommandOutput extends CreateSubscriptionRespo
|
|
|
34
34
|
* const input = {};
|
|
35
35
|
* const command = new CreateSubscriptionCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param CreateSubscriptionCommandInput - {@link CreateSubscriptionCommandInput}
|
|
@@ -48,6 +50,8 @@ export interface CreateSubscriptionCommandOutput extends CreateSubscriptionRespo
|
|
|
48
50
|
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
49
51
|
* <p>Exception indicating the specified resource already exists. If available, this exception includes details in additional properties. </p>
|
|
50
52
|
*
|
|
53
|
+
* @throws {@link ShieldServiceException}
|
|
54
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
51
55
|
*
|
|
52
56
|
*/
|
|
53
57
|
export declare class CreateSubscriptionCommand extends $Command<CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -31,6 +31,8 @@ export interface DeleteProtectionCommandOutput extends DeleteProtectionResponse,
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteProtectionCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // {};
|
|
35
|
+
*
|
|
34
36
|
* ```
|
|
35
37
|
*
|
|
36
38
|
* @param DeleteProtectionCommandInput - {@link DeleteProtectionCommandInput}
|
|
@@ -49,6 +51,8 @@ export interface DeleteProtectionCommandOutput extends DeleteProtectionResponse,
|
|
|
49
51
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
50
52
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
51
53
|
*
|
|
54
|
+
* @throws {@link ShieldServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
52
56
|
*
|
|
53
57
|
*/
|
|
54
58
|
export declare class DeleteProtectionCommand extends $Command<DeleteProtectionCommandInput, DeleteProtectionCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -31,6 +31,8 @@ export interface DeleteProtectionGroupCommandOutput extends DeleteProtectionGrou
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteProtectionGroupCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // {};
|
|
35
|
+
*
|
|
34
36
|
* ```
|
|
35
37
|
*
|
|
36
38
|
* @param DeleteProtectionGroupCommandInput - {@link DeleteProtectionGroupCommandInput}
|
|
@@ -49,6 +51,8 @@ export interface DeleteProtectionGroupCommandOutput extends DeleteProtectionGrou
|
|
|
49
51
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
50
52
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
51
53
|
*
|
|
54
|
+
* @throws {@link ShieldServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
52
56
|
*
|
|
53
57
|
*/
|
|
54
58
|
export declare class DeleteProtectionGroupCommand extends $Command<DeleteProtectionGroupCommandInput, DeleteProtectionGroupCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -31,6 +31,8 @@ export interface DeleteSubscriptionCommandOutput extends DeleteSubscriptionRespo
|
|
|
31
31
|
* const input = {};
|
|
32
32
|
* const command = new DeleteSubscriptionCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // {};
|
|
35
|
+
*
|
|
34
36
|
* ```
|
|
35
37
|
*
|
|
36
38
|
* @param DeleteSubscriptionCommandInput - {@link DeleteSubscriptionCommandInput}
|
|
@@ -48,6 +50,8 @@ export interface DeleteSubscriptionCommandOutput extends DeleteSubscriptionRespo
|
|
|
48
50
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
49
51
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
50
52
|
*
|
|
53
|
+
* @throws {@link ShieldServiceException}
|
|
54
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
51
55
|
*
|
|
52
56
|
*/
|
|
53
57
|
export declare class DeleteSubscriptionCommand extends $Command<DeleteSubscriptionCommandInput, DeleteSubscriptionCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -31,6 +31,66 @@ export interface DescribeAttackCommandOutput extends DescribeAttackResponse, __M
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeAttackCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeAttackResponse
|
|
35
|
+
* // Attack: { // AttackDetail
|
|
36
|
+
* // AttackId: "STRING_VALUE",
|
|
37
|
+
* // ResourceArn: "STRING_VALUE",
|
|
38
|
+
* // SubResources: [ // SubResourceSummaryList
|
|
39
|
+
* // { // SubResourceSummary
|
|
40
|
+
* // Type: "STRING_VALUE",
|
|
41
|
+
* // Id: "STRING_VALUE",
|
|
42
|
+
* // AttackVectors: [ // SummarizedAttackVectorList
|
|
43
|
+
* // { // SummarizedAttackVector
|
|
44
|
+
* // VectorType: "STRING_VALUE", // required
|
|
45
|
+
* // VectorCounters: [ // SummarizedCounterList
|
|
46
|
+
* // { // SummarizedCounter
|
|
47
|
+
* // Name: "STRING_VALUE",
|
|
48
|
+
* // Max: Number("double"),
|
|
49
|
+
* // Average: Number("double"),
|
|
50
|
+
* // Sum: Number("double"),
|
|
51
|
+
* // N: Number("int"),
|
|
52
|
+
* // Unit: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // Counters: [
|
|
58
|
+
* // {
|
|
59
|
+
* // Name: "STRING_VALUE",
|
|
60
|
+
* // Max: Number("double"),
|
|
61
|
+
* // Average: Number("double"),
|
|
62
|
+
* // Sum: Number("double"),
|
|
63
|
+
* // N: Number("int"),
|
|
64
|
+
* // Unit: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
70
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
71
|
+
* // AttackCounters: "<SummarizedCounterList>",
|
|
72
|
+
* // AttackProperties: [ // AttackProperties
|
|
73
|
+
* // { // AttackProperty
|
|
74
|
+
* // AttackLayer: "STRING_VALUE",
|
|
75
|
+
* // AttackPropertyIdentifier: "STRING_VALUE",
|
|
76
|
+
* // TopContributors: [ // TopContributors
|
|
77
|
+
* // { // Contributor
|
|
78
|
+
* // Name: "STRING_VALUE",
|
|
79
|
+
* // Value: Number("long"),
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // Unit: "STRING_VALUE",
|
|
83
|
+
* // Total: Number("long"),
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // Mitigations: [ // MitigationList
|
|
87
|
+
* // { // Mitigation
|
|
88
|
+
* // MitigationName: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // };
|
|
93
|
+
*
|
|
34
94
|
* ```
|
|
35
95
|
*
|
|
36
96
|
* @param DescribeAttackCommandInput - {@link DescribeAttackCommandInput}
|
|
@@ -45,6 +105,8 @@ export interface DescribeAttackCommandOutput extends DescribeAttackResponse, __M
|
|
|
45
105
|
* @throws {@link InternalErrorException} (server fault)
|
|
46
106
|
* <p>Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.</p>
|
|
47
107
|
*
|
|
108
|
+
* @throws {@link ShieldServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
48
110
|
*
|
|
49
111
|
*/
|
|
50
112
|
export declare class DescribeAttackCommand extends $Command<DescribeAttackCommandInput, DescribeAttackCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -31,6 +31,29 @@ export interface DescribeAttackStatisticsCommandOutput extends DescribeAttackSta
|
|
|
31
31
|
* const input = {};
|
|
32
32
|
* const command = new DescribeAttackStatisticsCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeAttackStatisticsResponse
|
|
35
|
+
* // TimeRange: { // TimeRange
|
|
36
|
+
* // FromInclusive: new Date("TIMESTAMP"),
|
|
37
|
+
* // ToExclusive: new Date("TIMESTAMP"),
|
|
38
|
+
* // },
|
|
39
|
+
* // DataItems: [ // AttackStatisticsDataList // required
|
|
40
|
+
* // { // AttackStatisticsDataItem
|
|
41
|
+
* // AttackVolume: { // AttackVolume
|
|
42
|
+
* // BitsPerSecond: { // AttackVolumeStatistics
|
|
43
|
+
* // Max: Number("double"), // required
|
|
44
|
+
* // },
|
|
45
|
+
* // PacketsPerSecond: {
|
|
46
|
+
* // Max: Number("double"), // required
|
|
47
|
+
* // },
|
|
48
|
+
* // RequestsPerSecond: {
|
|
49
|
+
* // Max: Number("double"), // required
|
|
50
|
+
* // },
|
|
51
|
+
* // },
|
|
52
|
+
* // AttackCount: Number("long"), // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
34
57
|
* ```
|
|
35
58
|
*
|
|
36
59
|
* @param DescribeAttackStatisticsCommandInput - {@link DescribeAttackStatisticsCommandInput}
|
|
@@ -42,6 +65,8 @@ export interface DescribeAttackStatisticsCommandOutput extends DescribeAttackSta
|
|
|
42
65
|
* @throws {@link InternalErrorException} (server fault)
|
|
43
66
|
* <p>Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.</p>
|
|
44
67
|
*
|
|
68
|
+
* @throws {@link ShieldServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
45
70
|
*
|
|
46
71
|
*/
|
|
47
72
|
export declare class DescribeAttackStatisticsCommand extends $Command<DescribeAttackStatisticsCommandInput, DescribeAttackStatisticsCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -29,6 +29,13 @@ export interface DescribeDRTAccessCommandOutput extends DescribeDRTAccessRespons
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new DescribeDRTAccessCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // { // DescribeDRTAccessResponse
|
|
33
|
+
* // RoleArn: "STRING_VALUE",
|
|
34
|
+
* // LogBucketList: [ // LogBucketList
|
|
35
|
+
* // "STRING_VALUE",
|
|
36
|
+
* // ],
|
|
37
|
+
* // };
|
|
38
|
+
*
|
|
32
39
|
* ```
|
|
33
40
|
*
|
|
34
41
|
* @param DescribeDRTAccessCommandInput - {@link DescribeDRTAccessCommandInput}
|
|
@@ -43,6 +50,8 @@ export interface DescribeDRTAccessCommandOutput extends DescribeDRTAccessRespons
|
|
|
43
50
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
44
51
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
45
52
|
*
|
|
53
|
+
* @throws {@link ShieldServiceException}
|
|
54
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
46
55
|
*
|
|
47
56
|
*/
|
|
48
57
|
export declare class DescribeDRTAccessCommand extends $Command<DescribeDRTAccessCommandInput, DescribeDRTAccessCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -29,6 +29,16 @@ export interface DescribeEmergencyContactSettingsCommandOutput extends DescribeE
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new DescribeEmergencyContactSettingsCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // { // DescribeEmergencyContactSettingsResponse
|
|
33
|
+
* // EmergencyContactList: [ // EmergencyContactList
|
|
34
|
+
* // { // EmergencyContact
|
|
35
|
+
* // EmailAddress: "STRING_VALUE", // required
|
|
36
|
+
* // PhoneNumber: "STRING_VALUE",
|
|
37
|
+
* // ContactNotes: "STRING_VALUE",
|
|
38
|
+
* // },
|
|
39
|
+
* // ],
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
32
42
|
* ```
|
|
33
43
|
*
|
|
34
44
|
* @param DescribeEmergencyContactSettingsCommandInput - {@link DescribeEmergencyContactSettingsCommandInput}
|
|
@@ -43,6 +53,8 @@ export interface DescribeEmergencyContactSettingsCommandOutput extends DescribeE
|
|
|
43
53
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
44
54
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
45
55
|
*
|
|
56
|
+
* @throws {@link ShieldServiceException}
|
|
57
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
46
58
|
*
|
|
47
59
|
*/
|
|
48
60
|
export declare class DescribeEmergencyContactSettingsCommand extends $Command<DescribeEmergencyContactSettingsCommandInput, DescribeEmergencyContactSettingsCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -32,6 +32,25 @@ export interface DescribeProtectionCommandOutput extends DescribeProtectionRespo
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeProtectionCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeProtectionResponse
|
|
36
|
+
* // Protection: { // Protection
|
|
37
|
+
* // Id: "STRING_VALUE",
|
|
38
|
+
* // Name: "STRING_VALUE",
|
|
39
|
+
* // ResourceArn: "STRING_VALUE",
|
|
40
|
+
* // HealthCheckIds: [ // HealthCheckIds
|
|
41
|
+
* // "STRING_VALUE",
|
|
42
|
+
* // ],
|
|
43
|
+
* // ProtectionArn: "STRING_VALUE",
|
|
44
|
+
* // ApplicationLayerAutomaticResponseConfiguration: { // ApplicationLayerAutomaticResponseConfiguration
|
|
45
|
+
* // Status: "STRING_VALUE", // required
|
|
46
|
+
* // Action: { // ResponseAction
|
|
47
|
+
* // Block: {},
|
|
48
|
+
* // Count: {},
|
|
49
|
+
* // },
|
|
50
|
+
* // },
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
35
54
|
* ```
|
|
36
55
|
*
|
|
37
56
|
* @param DescribeProtectionCommandInput - {@link DescribeProtectionCommandInput}
|
|
@@ -49,6 +68,8 @@ export interface DescribeProtectionCommandOutput extends DescribeProtectionRespo
|
|
|
49
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
50
69
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
51
70
|
*
|
|
71
|
+
* @throws {@link ShieldServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
52
73
|
*
|
|
53
74
|
*/
|
|
54
75
|
export declare class DescribeProtectionCommand extends $Command<DescribeProtectionCommandInput, DescribeProtectionCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -31,6 +31,19 @@ export interface DescribeProtectionGroupCommandOutput extends DescribeProtection
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeProtectionGroupCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeProtectionGroupResponse
|
|
35
|
+
* // ProtectionGroup: { // ProtectionGroup
|
|
36
|
+
* // ProtectionGroupId: "STRING_VALUE", // required
|
|
37
|
+
* // Aggregation: "STRING_VALUE", // required
|
|
38
|
+
* // Pattern: "STRING_VALUE", // required
|
|
39
|
+
* // ResourceType: "STRING_VALUE",
|
|
40
|
+
* // Members: [ // ProtectionGroupMembers // required
|
|
41
|
+
* // "STRING_VALUE",
|
|
42
|
+
* // ],
|
|
43
|
+
* // ProtectionGroupArn: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
34
47
|
* ```
|
|
35
48
|
*
|
|
36
49
|
* @param DescribeProtectionGroupCommandInput - {@link DescribeProtectionGroupCommandInput}
|
|
@@ -45,6 +58,8 @@ export interface DescribeProtectionGroupCommandOutput extends DescribeProtection
|
|
|
45
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
46
59
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
47
60
|
*
|
|
61
|
+
* @throws {@link ShieldServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
48
63
|
*
|
|
49
64
|
*/
|
|
50
65
|
export declare class DescribeProtectionGroupCommand extends $Command<DescribeProtectionGroupCommandInput, DescribeProtectionGroupCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -29,6 +29,41 @@ export interface DescribeSubscriptionCommandOutput extends DescribeSubscriptionR
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new DescribeSubscriptionCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // { // DescribeSubscriptionResponse
|
|
33
|
+
* // Subscription: { // Subscription
|
|
34
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
35
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
36
|
+
* // TimeCommitmentInSeconds: Number("long"),
|
|
37
|
+
* // AutoRenew: "STRING_VALUE",
|
|
38
|
+
* // Limits: [ // Limits
|
|
39
|
+
* // { // Limit
|
|
40
|
+
* // Type: "STRING_VALUE",
|
|
41
|
+
* // Max: Number("long"),
|
|
42
|
+
* // },
|
|
43
|
+
* // ],
|
|
44
|
+
* // ProactiveEngagementStatus: "STRING_VALUE",
|
|
45
|
+
* // SubscriptionLimits: { // SubscriptionLimits
|
|
46
|
+
* // ProtectionLimits: { // ProtectionLimits
|
|
47
|
+
* // ProtectedResourceTypeLimits: [ // required
|
|
48
|
+
* // {
|
|
49
|
+
* // Type: "STRING_VALUE",
|
|
50
|
+
* // Max: Number("long"),
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // },
|
|
54
|
+
* // ProtectionGroupLimits: { // ProtectionGroupLimits
|
|
55
|
+
* // MaxProtectionGroups: Number("long"), // required
|
|
56
|
+
* // PatternTypeLimits: { // ProtectionGroupPatternTypeLimits
|
|
57
|
+
* // ArbitraryPatternLimits: { // ProtectionGroupArbitraryPatternLimits
|
|
58
|
+
* // MaxMembers: Number("long"), // required
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // SubscriptionArn: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
32
67
|
* ```
|
|
33
68
|
*
|
|
34
69
|
* @param DescribeSubscriptionCommandInput - {@link DescribeSubscriptionCommandInput}
|
|
@@ -43,6 +78,8 @@ export interface DescribeSubscriptionCommandOutput extends DescribeSubscriptionR
|
|
|
43
78
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
44
79
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
45
80
|
*
|
|
81
|
+
* @throws {@link ShieldServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
46
83
|
*
|
|
47
84
|
*/
|
|
48
85
|
export declare class DescribeSubscriptionCommand extends $Command<DescribeSubscriptionCommandInput, DescribeSubscriptionCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -32,6 +32,8 @@ export interface DisableApplicationLayerAutomaticResponseCommandOutput extends D
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DisableApplicationLayerAutomaticResponseCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
37
39
|
* @param DisableApplicationLayerAutomaticResponseCommandInput - {@link DisableApplicationLayerAutomaticResponseCommandInput}
|
|
@@ -56,6 +58,8 @@ export interface DisableApplicationLayerAutomaticResponseCommandOutput extends D
|
|
|
56
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
59
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
58
60
|
*
|
|
61
|
+
* @throws {@link ShieldServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
59
63
|
*
|
|
60
64
|
*/
|
|
61
65
|
export declare class DisableApplicationLayerAutomaticResponseCommand extends $Command<DisableApplicationLayerAutomaticResponseCommandInput, DisableApplicationLayerAutomaticResponseCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -29,6 +29,8 @@ export interface DisableProactiveEngagementCommandOutput extends DisableProactiv
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new DisableProactiveEngagementCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // {};
|
|
33
|
+
*
|
|
32
34
|
* ```
|
|
33
35
|
*
|
|
34
36
|
* @param DisableProactiveEngagementCommandInput - {@link DisableProactiveEngagementCommandInput}
|
|
@@ -53,6 +55,8 @@ export interface DisableProactiveEngagementCommandOutput extends DisableProactiv
|
|
|
53
55
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
54
56
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
55
57
|
*
|
|
58
|
+
* @throws {@link ShieldServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
56
60
|
*
|
|
57
61
|
*/
|
|
58
62
|
export declare class DisableProactiveEngagementCommand extends $Command<DisableProactiveEngagementCommandInput, DisableProactiveEngagementCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -31,6 +31,8 @@ export interface DisassociateDRTLogBucketCommandOutput extends DisassociateDRTLo
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DisassociateDRTLogBucketCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // {};
|
|
35
|
+
*
|
|
34
36
|
* ```
|
|
35
37
|
*
|
|
36
38
|
* @param DisassociateDRTLogBucketCommandInput - {@link DisassociateDRTLogBucketCommandInput}
|
|
@@ -58,6 +60,8 @@ export interface DisassociateDRTLogBucketCommandOutput extends DisassociateDRTLo
|
|
|
58
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
61
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
60
62
|
*
|
|
63
|
+
* @throws {@link ShieldServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
61
65
|
*
|
|
62
66
|
*/
|
|
63
67
|
export declare class DisassociateDRTLogBucketCommand extends $Command<DisassociateDRTLogBucketCommandInput, DisassociateDRTLogBucketCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -29,6 +29,8 @@ export interface DisassociateDRTRoleCommandOutput extends DisassociateDRTRoleRes
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new DisassociateDRTRoleCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // {};
|
|
33
|
+
*
|
|
32
34
|
* ```
|
|
33
35
|
*
|
|
34
36
|
* @param DisassociateDRTRoleCommandInput - {@link DisassociateDRTRoleCommandInput}
|
|
@@ -50,6 +52,8 @@ export interface DisassociateDRTRoleCommandOutput extends DisassociateDRTRoleRes
|
|
|
50
52
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
51
53
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
52
54
|
*
|
|
55
|
+
* @throws {@link ShieldServiceException}
|
|
56
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
53
57
|
*
|
|
54
58
|
*/
|
|
55
59
|
export declare class DisassociateDRTRoleCommand extends $Command<DisassociateDRTRoleCommandInput, DisassociateDRTRoleCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -33,6 +33,8 @@ export interface DisassociateHealthCheckCommandOutput extends DisassociateHealth
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DisassociateHealthCheckCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param DisassociateHealthCheckCommandInput - {@link DisassociateHealthCheckCommandInput}
|
|
@@ -57,6 +59,8 @@ export interface DisassociateHealthCheckCommandOutput extends DisassociateHealth
|
|
|
57
59
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
60
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
59
61
|
*
|
|
62
|
+
* @throws {@link ShieldServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
60
64
|
*
|
|
61
65
|
*/
|
|
62
66
|
export declare class DisassociateHealthCheckCommand extends $Command<DisassociateHealthCheckCommandInput, DisassociateHealthCheckCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -49,6 +49,8 @@ export interface EnableApplicationLayerAutomaticResponseCommandOutput extends En
|
|
|
49
49
|
* };
|
|
50
50
|
* const command = new EnableApplicationLayerAutomaticResponseCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
52
|
+
* // {};
|
|
53
|
+
*
|
|
52
54
|
* ```
|
|
53
55
|
*
|
|
54
56
|
* @param EnableApplicationLayerAutomaticResponseCommandInput - {@link EnableApplicationLayerAutomaticResponseCommandInput}
|
|
@@ -76,6 +78,8 @@ export interface EnableApplicationLayerAutomaticResponseCommandOutput extends En
|
|
|
76
78
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
79
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
78
80
|
*
|
|
81
|
+
* @throws {@link ShieldServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
79
83
|
*
|
|
80
84
|
*/
|
|
81
85
|
export declare class EnableApplicationLayerAutomaticResponseCommand extends $Command<EnableApplicationLayerAutomaticResponseCommandInput, EnableApplicationLayerAutomaticResponseCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -29,6 +29,8 @@ export interface EnableProactiveEngagementCommandOutput extends EnableProactiveE
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new EnableProactiveEngagementCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // {};
|
|
33
|
+
*
|
|
32
34
|
* ```
|
|
33
35
|
*
|
|
34
36
|
* @param EnableProactiveEngagementCommandInput - {@link EnableProactiveEngagementCommandInput}
|
|
@@ -53,6 +55,8 @@ export interface EnableProactiveEngagementCommandOutput extends EnableProactiveE
|
|
|
53
55
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
54
56
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
55
57
|
*
|
|
58
|
+
* @throws {@link ShieldServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
56
60
|
*
|
|
57
61
|
*/
|
|
58
62
|
export declare class EnableProactiveEngagementCommand extends $Command<EnableProactiveEngagementCommandInput, EnableProactiveEngagementCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -29,6 +29,10 @@ export interface GetSubscriptionStateCommandOutput extends GetSubscriptionStateR
|
|
|
29
29
|
* const input = {};
|
|
30
30
|
* const command = new GetSubscriptionStateCommand(input);
|
|
31
31
|
* const response = await client.send(command);
|
|
32
|
+
* // { // GetSubscriptionStateResponse
|
|
33
|
+
* // SubscriptionState: "STRING_VALUE", // required
|
|
34
|
+
* // };
|
|
35
|
+
*
|
|
32
36
|
* ```
|
|
33
37
|
*
|
|
34
38
|
* @param GetSubscriptionStateCommandInput - {@link GetSubscriptionStateCommandInput}
|
|
@@ -40,6 +44,8 @@ export interface GetSubscriptionStateCommandOutput extends GetSubscriptionStateR
|
|
|
40
44
|
* @throws {@link InternalErrorException} (server fault)
|
|
41
45
|
* <p>Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.</p>
|
|
42
46
|
*
|
|
47
|
+
* @throws {@link ShieldServiceException}
|
|
48
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
43
49
|
*
|
|
44
50
|
*/
|
|
45
51
|
export declare class GetSubscriptionStateCommand extends $Command<GetSubscriptionStateCommandInput, GetSubscriptionStateCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -44,6 +44,23 @@ export interface ListAttacksCommandOutput extends ListAttacksResponse, __Metadat
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new ListAttacksCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // { // ListAttacksResponse
|
|
48
|
+
* // AttackSummaries: [ // AttackSummaries
|
|
49
|
+
* // { // AttackSummary
|
|
50
|
+
* // AttackId: "STRING_VALUE",
|
|
51
|
+
* // ResourceArn: "STRING_VALUE",
|
|
52
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // AttackVectors: [ // AttackVectorDescriptionList
|
|
55
|
+
* // { // AttackVectorDescription
|
|
56
|
+
* // VectorType: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // NextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
47
64
|
* ```
|
|
48
65
|
*
|
|
49
66
|
* @param ListAttacksCommandInput - {@link ListAttacksCommandInput}
|
|
@@ -61,6 +78,8 @@ export interface ListAttacksCommandOutput extends ListAttacksResponse, __Metadat
|
|
|
61
78
|
* @throws {@link InvalidParameterException} (client fault)
|
|
62
79
|
* <p>Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties. </p>
|
|
63
80
|
*
|
|
81
|
+
* @throws {@link ShieldServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
64
83
|
*
|
|
65
84
|
*/
|
|
66
85
|
export declare class ListAttacksCommand extends $Command<ListAttacksCommandInput, ListAttacksCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -47,6 +47,22 @@ export interface ListProtectionGroupsCommandOutput extends ListProtectionGroupsR
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new ListProtectionGroupsCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // { // ListProtectionGroupsResponse
|
|
51
|
+
* // ProtectionGroups: [ // ProtectionGroups // required
|
|
52
|
+
* // { // ProtectionGroup
|
|
53
|
+
* // ProtectionGroupId: "STRING_VALUE", // required
|
|
54
|
+
* // Aggregation: "STRING_VALUE", // required
|
|
55
|
+
* // Pattern: "STRING_VALUE", // required
|
|
56
|
+
* // ResourceType: "STRING_VALUE",
|
|
57
|
+
* // Members: [ // ProtectionGroupMembers // required
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // ProtectionGroupArn: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // NextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
50
66
|
* ```
|
|
51
67
|
*
|
|
52
68
|
* @param ListProtectionGroupsCommandInput - {@link ListProtectionGroupsCommandInput}
|
|
@@ -64,6 +80,8 @@ export interface ListProtectionGroupsCommandOutput extends ListProtectionGroupsR
|
|
|
64
80
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
81
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
66
82
|
*
|
|
83
|
+
* @throws {@link ShieldServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
67
85
|
*
|
|
68
86
|
*/
|
|
69
87
|
export declare class ListProtectionGroupsCommand extends $Command<ListProtectionGroupsCommandInput, ListProtectionGroupsCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -44,6 +44,28 @@ export interface ListProtectionsCommandOutput extends ListProtectionsResponse, _
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new ListProtectionsCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // { // ListProtectionsResponse
|
|
48
|
+
* // Protections: [ // Protections
|
|
49
|
+
* // { // Protection
|
|
50
|
+
* // Id: "STRING_VALUE",
|
|
51
|
+
* // Name: "STRING_VALUE",
|
|
52
|
+
* // ResourceArn: "STRING_VALUE",
|
|
53
|
+
* // HealthCheckIds: [ // HealthCheckIds
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // ProtectionArn: "STRING_VALUE",
|
|
57
|
+
* // ApplicationLayerAutomaticResponseConfiguration: { // ApplicationLayerAutomaticResponseConfiguration
|
|
58
|
+
* // Status: "STRING_VALUE", // required
|
|
59
|
+
* // Action: { // ResponseAction
|
|
60
|
+
* // Block: {},
|
|
61
|
+
* // Count: {},
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // NextToken: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
47
69
|
* ```
|
|
48
70
|
*
|
|
49
71
|
* @param ListProtectionsCommandInput - {@link ListProtectionsCommandInput}
|
|
@@ -61,6 +83,8 @@ export interface ListProtectionsCommandOutput extends ListProtectionsResponse, _
|
|
|
61
83
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
84
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
63
85
|
*
|
|
86
|
+
* @throws {@link ShieldServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
64
88
|
*
|
|
65
89
|
*/
|
|
66
90
|
export declare class ListProtectionsCommand extends $Command<ListProtectionsCommandInput, ListProtectionsCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -33,6 +33,13 @@ export interface ListResourcesInProtectionGroupCommandOutput extends ListResourc
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListResourcesInProtectionGroupCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListResourcesInProtectionGroupResponse
|
|
37
|
+
* // ResourceArns: [ // ResourceArnList // required
|
|
38
|
+
* // "STRING_VALUE",
|
|
39
|
+
* // ],
|
|
40
|
+
* // NextToken: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
36
43
|
* ```
|
|
37
44
|
*
|
|
38
45
|
* @param ListResourcesInProtectionGroupCommandInput - {@link ListResourcesInProtectionGroupCommandInput}
|
|
@@ -50,6 +57,8 @@ export interface ListResourcesInProtectionGroupCommandOutput extends ListResourc
|
|
|
50
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
51
58
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
52
59
|
*
|
|
60
|
+
* @throws {@link ShieldServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
53
62
|
*
|
|
54
63
|
*/
|
|
55
64
|
export declare class ListResourcesInProtectionGroupCommand extends $Command<ListResourcesInProtectionGroupCommandInput, ListResourcesInProtectionGroupCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // ListTagsForResourceResponse
|
|
35
|
+
* // Tags: [ // TagList
|
|
36
|
+
* // { // Tag
|
|
37
|
+
* // Key: "STRING_VALUE",
|
|
38
|
+
* // Value: "STRING_VALUE",
|
|
39
|
+
* // },
|
|
40
|
+
* // ],
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
34
43
|
* ```
|
|
35
44
|
*
|
|
36
45
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -48,6 +57,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
48
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
49
58
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
50
59
|
*
|
|
60
|
+
* @throws {@link ShieldServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
51
62
|
*
|
|
52
63
|
*/
|
|
53
64
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -37,6 +37,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new TagResourceCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
40
42
|
* ```
|
|
41
43
|
*
|
|
42
44
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -57,6 +59,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
57
59
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
60
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
59
61
|
*
|
|
62
|
+
* @throws {@link ShieldServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
60
64
|
*
|
|
61
65
|
*/
|
|
62
66
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -54,6 +56,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
54
56
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
57
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
56
58
|
*
|
|
59
|
+
* @throws {@link ShieldServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
57
61
|
*
|
|
58
62
|
*/
|
|
59
63
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -35,6 +35,8 @@ export interface UpdateApplicationLayerAutomaticResponseCommandOutput extends Up
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new UpdateApplicationLayerAutomaticResponseCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param UpdateApplicationLayerAutomaticResponseCommandInput - {@link UpdateApplicationLayerAutomaticResponseCommandInput}
|
|
@@ -59,6 +61,8 @@ export interface UpdateApplicationLayerAutomaticResponseCommandOutput extends Up
|
|
|
59
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
62
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
61
63
|
*
|
|
64
|
+
* @throws {@link ShieldServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
62
66
|
*
|
|
63
67
|
*/
|
|
64
68
|
export declare class UpdateApplicationLayerAutomaticResponseCommand extends $Command<UpdateApplicationLayerAutomaticResponseCommandInput, UpdateApplicationLayerAutomaticResponseCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -37,6 +37,8 @@ export interface UpdateEmergencyContactSettingsCommandOutput extends UpdateEmerg
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UpdateEmergencyContactSettingsCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
40
42
|
* ```
|
|
41
43
|
*
|
|
42
44
|
* @param UpdateEmergencyContactSettingsCommandInput - {@link UpdateEmergencyContactSettingsCommandInput}
|
|
@@ -58,6 +60,8 @@ export interface UpdateEmergencyContactSettingsCommandOutput extends UpdateEmerg
|
|
|
58
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
61
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
60
62
|
*
|
|
63
|
+
* @throws {@link ShieldServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
61
65
|
*
|
|
62
66
|
*/
|
|
63
67
|
export declare class UpdateEmergencyContactSettingsCommand extends $Command<UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSettingsCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -37,6 +37,8 @@ export interface UpdateProtectionGroupCommandOutput extends UpdateProtectionGrou
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UpdateProtectionGroupCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
40
42
|
* ```
|
|
41
43
|
*
|
|
42
44
|
* @param UpdateProtectionGroupCommandInput - {@link UpdateProtectionGroupCommandInput}
|
|
@@ -58,6 +60,8 @@ export interface UpdateProtectionGroupCommandOutput extends UpdateProtectionGrou
|
|
|
58
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
61
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
60
62
|
*
|
|
63
|
+
* @throws {@link ShieldServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
61
65
|
*
|
|
62
66
|
*/
|
|
63
67
|
export declare class UpdateProtectionGroupCommand extends $Command<UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput, ShieldClientResolvedConfig> {
|
|
@@ -35,6 +35,8 @@ export interface UpdateSubscriptionCommandOutput extends UpdateSubscriptionRespo
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new UpdateSubscriptionCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param UpdateSubscriptionCommandInput - {@link UpdateSubscriptionCommandInput}
|
|
@@ -59,6 +61,8 @@ export interface UpdateSubscriptionCommandOutput extends UpdateSubscriptionRespo
|
|
|
59
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
62
|
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
61
63
|
*
|
|
64
|
+
* @throws {@link ShieldServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
62
66
|
*
|
|
63
67
|
*/
|
|
64
68
|
export declare class UpdateSubscriptionCommand extends $Command<UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput, ShieldClientResolvedConfig> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-shield",
|
|
3
3
|
"description": "AWS SDK for JavaScript Shield Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|