@aws-sdk/client-shield 3.295.0 → 3.297.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/Shield.d.ts +37 -0
- package/dist-types/ShieldClient.d.ts +24 -4
- package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +16 -0
- package/dist-types/commands/AssociateDRTRoleCommand.d.ts +16 -0
- package/dist-types/commands/AssociateHealthCheckCommand.d.ts +16 -0
- package/dist-types/commands/AssociateProactiveEngagementDetailsCommand.d.ts +16 -0
- package/dist-types/commands/CreateProtectionCommand.d.ts +16 -0
- package/dist-types/commands/CreateProtectionGroupCommand.d.ts +16 -0
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteProtectionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteProtectionGroupCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSubscriptionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAttackCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAttackStatisticsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDRTAccessCommand.d.ts +16 -0
- package/dist-types/commands/DescribeEmergencyContactSettingsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeProtectionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeProtectionGroupCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSubscriptionCommand.d.ts +16 -0
- package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +16 -0
- package/dist-types/commands/DisableProactiveEngagementCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateDRTRoleCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +16 -0
- package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +16 -0
- package/dist-types/commands/EnableProactiveEngagementCommand.d.ts +16 -0
- package/dist-types/commands/GetSubscriptionStateCommand.d.ts +16 -0
- package/dist-types/commands/ListAttacksCommand.d.ts +16 -0
- package/dist-types/commands/ListProtectionGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListProtectionsCommand.d.ts +16 -0
- package/dist-types/commands/ListResourcesInProtectionGroupCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +16 -0
- package/dist-types/commands/UpdateEmergencyContactSettingsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateProtectionGroupCommand.d.ts +16 -0
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +16 -0
- package/dist-types/models/ShieldServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +298 -2
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAttacksPaginator.d.ts +3 -0
- package/dist-types/pagination/ListProtectionGroupsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListProtectionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListResourcesInProtectionGroupPaginator.d.ts +3 -0
- package/package.json +29 -29
package/dist-types/Shield.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ import { UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput }
|
|
|
37
37
|
import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "./commands/UpdateSubscriptionCommand";
|
|
38
38
|
import { ShieldClient } from "./ShieldClient";
|
|
39
39
|
/**
|
|
40
|
+
* @public
|
|
40
41
|
* <fullname>Shield Advanced</fullname>
|
|
41
42
|
* <p>This is the <i>Shield Advanced API Reference</i>. This guide is for developers who need detailed information about the Shield Advanced API actions,
|
|
42
43
|
* data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the
|
|
@@ -44,6 +45,7 @@ import { ShieldClient } from "./ShieldClient";
|
|
|
44
45
|
*/
|
|
45
46
|
export declare class Shield extends ShieldClient {
|
|
46
47
|
/**
|
|
48
|
+
* @public
|
|
47
49
|
* <p>Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.</p>
|
|
48
50
|
* <p>To use the services of the SRT and make an <code>AssociateDRTLogBucket</code> request, you must be subscribed to the <a href="http://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="http://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
|
|
49
51
|
*/
|
|
@@ -51,6 +53,7 @@ export declare class Shield extends ShieldClient {
|
|
|
51
53
|
associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, cb: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void): void;
|
|
52
54
|
associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void): void;
|
|
53
55
|
/**
|
|
56
|
+
* @public
|
|
54
57
|
* <p>Authorizes the Shield Response Team (SRT) using the specified role, to access your Amazon Web Services account to assist with DDoS attack mitigation during potential attacks. This enables the SRT to inspect your WAF configuration and create or update WAF rules and web ACLs.</p>
|
|
55
58
|
* <p>You can associate only one <code>RoleArn</code> with your subscription. If you submit an <code>AssociateDRTRole</code> request for an account that already has an associated role, the new <code>RoleArn</code> will replace the existing <code>RoleArn</code>. </p>
|
|
56
59
|
* <p>Prior to making the <code>AssociateDRTRole</code> request, you must attach the <code>AWSShieldDRTAccessPolicy</code> managed policy to the role that you'll specify in the request. You can access this policy in the IAM console at <a href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy">AWSShieldDRTAccessPolicy</a>. For more information see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html">Adding and removing IAM identity permissions</a>. The role must also trust the service principal
|
|
@@ -64,6 +67,7 @@ export declare class Shield extends ShieldClient {
|
|
|
64
67
|
associateDRTRole(args: AssociateDRTRoleCommandInput, cb: (err: any, data?: AssociateDRTRoleCommandOutput) => void): void;
|
|
65
68
|
associateDRTRole(args: AssociateDRTRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDRTRoleCommandOutput) => void): void;
|
|
66
69
|
/**
|
|
70
|
+
* @public
|
|
67
71
|
* <p>Adds health-based detection to the Shield Advanced protection for a resource. Shield Advanced health-based detection uses the health of your Amazon Web Services resource to improve responsiveness and accuracy in attack detection and response. </p>
|
|
68
72
|
* <p>You define the health check in Route 53 and then associate it with your Shield Advanced protection. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html#ddos-advanced-health-check-option">Shield Advanced Health-Based Detection</a> in the <i>WAF Developer Guide</i>. </p>
|
|
69
73
|
*/
|
|
@@ -71,6 +75,7 @@ export declare class Shield extends ShieldClient {
|
|
|
71
75
|
associateHealthCheck(args: AssociateHealthCheckCommandInput, cb: (err: any, data?: AssociateHealthCheckCommandOutput) => void): void;
|
|
72
76
|
associateHealthCheck(args: AssociateHealthCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateHealthCheckCommandOutput) => void): void;
|
|
73
77
|
/**
|
|
78
|
+
* @public
|
|
74
79
|
* <p>Initializes proactive engagement and sets the list of contacts for the Shield Response Team (SRT) to use. You must provide at least one phone number in the emergency contact list. </p>
|
|
75
80
|
* <p>After you have initialized proactive engagement using this call, to disable or enable proactive engagement, use the calls <code>DisableProactiveEngagement</code> and <code>EnableProactiveEngagement</code>. </p>
|
|
76
81
|
* <note>
|
|
@@ -82,6 +87,7 @@ export declare class Shield extends ShieldClient {
|
|
|
82
87
|
associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void): void;
|
|
83
88
|
associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void): void;
|
|
84
89
|
/**
|
|
90
|
+
* @public
|
|
85
91
|
* <p>Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Amazon Route 53 hosted zone, Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses.</p>
|
|
86
92
|
* <p>You can add protection to only a single resource with each <code>CreateProtection</code> request. You can add protection to multiple resources
|
|
87
93
|
* at once through the Shield Advanced console at <a href="https://console.aws.amazon.com/wafv2/shieldv2#/">https://console.aws.amazon.com/wafv2/shieldv2#/</a>.
|
|
@@ -93,12 +99,14 @@ export declare class Shield extends ShieldClient {
|
|
|
93
99
|
createProtection(args: CreateProtectionCommandInput, cb: (err: any, data?: CreateProtectionCommandOutput) => void): void;
|
|
94
100
|
createProtection(args: CreateProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProtectionCommandOutput) => void): void;
|
|
95
101
|
/**
|
|
102
|
+
* @public
|
|
96
103
|
* <p>Creates a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. </p>
|
|
97
104
|
*/
|
|
98
105
|
createProtectionGroup(args: CreateProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateProtectionGroupCommandOutput>;
|
|
99
106
|
createProtectionGroup(args: CreateProtectionGroupCommandInput, cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void): void;
|
|
100
107
|
createProtectionGroup(args: CreateProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void): void;
|
|
101
108
|
/**
|
|
109
|
+
* @public
|
|
102
110
|
* <p>Activates Shield Advanced for an account.</p>
|
|
103
111
|
* <note>
|
|
104
112
|
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
|
|
@@ -110,18 +118,21 @@ export declare class Shield extends ShieldClient {
|
|
|
110
118
|
createSubscription(args: CreateSubscriptionCommandInput, cb: (err: any, data?: CreateSubscriptionCommandOutput) => void): void;
|
|
111
119
|
createSubscription(args: CreateSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSubscriptionCommandOutput) => void): void;
|
|
112
120
|
/**
|
|
121
|
+
* @public
|
|
113
122
|
* <p>Deletes an Shield Advanced <a>Protection</a>.</p>
|
|
114
123
|
*/
|
|
115
124
|
deleteProtection(args: DeleteProtectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProtectionCommandOutput>;
|
|
116
125
|
deleteProtection(args: DeleteProtectionCommandInput, cb: (err: any, data?: DeleteProtectionCommandOutput) => void): void;
|
|
117
126
|
deleteProtection(args: DeleteProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProtectionCommandOutput) => void): void;
|
|
118
127
|
/**
|
|
128
|
+
* @public
|
|
119
129
|
* <p>Removes the specified protection group.</p>
|
|
120
130
|
*/
|
|
121
131
|
deleteProtectionGroup(args: DeleteProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProtectionGroupCommandOutput>;
|
|
122
132
|
deleteProtectionGroup(args: DeleteProtectionGroupCommandInput, cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void): void;
|
|
123
133
|
deleteProtectionGroup(args: DeleteProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void): void;
|
|
124
134
|
/**
|
|
135
|
+
* @public
|
|
125
136
|
* @deprecated
|
|
126
137
|
*
|
|
127
138
|
* <p>Removes Shield Advanced from an account. Shield Advanced requires a 1-year subscription commitment. You cannot delete a subscription prior to the completion of that commitment. </p>
|
|
@@ -130,12 +141,14 @@ export declare class Shield extends ShieldClient {
|
|
|
130
141
|
deleteSubscription(args: DeleteSubscriptionCommandInput, cb: (err: any, data?: DeleteSubscriptionCommandOutput) => void): void;
|
|
131
142
|
deleteSubscription(args: DeleteSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSubscriptionCommandOutput) => void): void;
|
|
132
143
|
/**
|
|
144
|
+
* @public
|
|
133
145
|
* <p>Describes the details of a DDoS attack. </p>
|
|
134
146
|
*/
|
|
135
147
|
describeAttack(args: DescribeAttackCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAttackCommandOutput>;
|
|
136
148
|
describeAttack(args: DescribeAttackCommandInput, cb: (err: any, data?: DescribeAttackCommandOutput) => void): void;
|
|
137
149
|
describeAttack(args: DescribeAttackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttackCommandOutput) => void): void;
|
|
138
150
|
/**
|
|
151
|
+
* @public
|
|
139
152
|
* <p>Provides information about the number and type of attacks Shield has detected in the last year for all resources that belong to your account, regardless of whether you've defined Shield protections for them. This operation is available to Shield customers as well as to Shield Advanced customers.</p>
|
|
140
153
|
* <p>The operation returns data for the time range of midnight UTC, one year ago, to midnight UTC, today. For example, if the current time is <code>2020-10-26 15:39:32 PDT</code>, equal to <code>2020-10-26 22:39:32 UTC</code>, then the time range for the attack data returned is from <code>2019-10-26 00:00:00 UTC</code> to <code>2020-10-26 00:00:00 UTC</code>. </p>
|
|
141
154
|
* <p>The time range indicates the period covered by the attack statistics data items.</p>
|
|
@@ -144,36 +157,42 @@ export declare class Shield extends ShieldClient {
|
|
|
144
157
|
describeAttackStatistics(args: DescribeAttackStatisticsCommandInput, cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void): void;
|
|
145
158
|
describeAttackStatistics(args: DescribeAttackStatisticsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void): void;
|
|
146
159
|
/**
|
|
160
|
+
* @public
|
|
147
161
|
* <p>Returns the current role and list of Amazon S3 log buckets used by the Shield Response Team (SRT) to access your Amazon Web Services account while assisting with attack mitigation.</p>
|
|
148
162
|
*/
|
|
149
163
|
describeDRTAccess(args: DescribeDRTAccessCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDRTAccessCommandOutput>;
|
|
150
164
|
describeDRTAccess(args: DescribeDRTAccessCommandInput, cb: (err: any, data?: DescribeDRTAccessCommandOutput) => void): void;
|
|
151
165
|
describeDRTAccess(args: DescribeDRTAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDRTAccessCommandOutput) => void): void;
|
|
152
166
|
/**
|
|
167
|
+
* @public
|
|
153
168
|
* <p>A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.</p>
|
|
154
169
|
*/
|
|
155
170
|
describeEmergencyContactSettings(args: DescribeEmergencyContactSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEmergencyContactSettingsCommandOutput>;
|
|
156
171
|
describeEmergencyContactSettings(args: DescribeEmergencyContactSettingsCommandInput, cb: (err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void): void;
|
|
157
172
|
describeEmergencyContactSettings(args: DescribeEmergencyContactSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void): void;
|
|
158
173
|
/**
|
|
174
|
+
* @public
|
|
159
175
|
* <p>Lists the details of a <a>Protection</a> object.</p>
|
|
160
176
|
*/
|
|
161
177
|
describeProtection(args: DescribeProtectionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProtectionCommandOutput>;
|
|
162
178
|
describeProtection(args: DescribeProtectionCommandInput, cb: (err: any, data?: DescribeProtectionCommandOutput) => void): void;
|
|
163
179
|
describeProtection(args: DescribeProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProtectionCommandOutput) => void): void;
|
|
164
180
|
/**
|
|
181
|
+
* @public
|
|
165
182
|
* <p>Returns the specification for the specified protection group.</p>
|
|
166
183
|
*/
|
|
167
184
|
describeProtectionGroup(args: DescribeProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProtectionGroupCommandOutput>;
|
|
168
185
|
describeProtectionGroup(args: DescribeProtectionGroupCommandInput, cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void): void;
|
|
169
186
|
describeProtectionGroup(args: DescribeProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void): void;
|
|
170
187
|
/**
|
|
188
|
+
* @public
|
|
171
189
|
* <p>Provides details about the Shield Advanced subscription for an account.</p>
|
|
172
190
|
*/
|
|
173
191
|
describeSubscription(args: DescribeSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSubscriptionCommandOutput>;
|
|
174
192
|
describeSubscription(args: DescribeSubscriptionCommandInput, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
|
|
175
193
|
describeSubscription(args: DescribeSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
|
|
176
194
|
/**
|
|
195
|
+
* @public
|
|
177
196
|
* <p>Disable the Shield Advanced automatic application layer DDoS mitigation feature for the protected resource. This
|
|
178
197
|
* stops Shield Advanced from creating, verifying, and applying WAF rules for attacks that it detects for the resource. </p>
|
|
179
198
|
*/
|
|
@@ -181,24 +200,28 @@ export declare class Shield extends ShieldClient {
|
|
|
181
200
|
disableApplicationLayerAutomaticResponse(args: DisableApplicationLayerAutomaticResponseCommandInput, cb: (err: any, data?: DisableApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
182
201
|
disableApplicationLayerAutomaticResponse(args: DisableApplicationLayerAutomaticResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
183
202
|
/**
|
|
203
|
+
* @public
|
|
184
204
|
* <p>Removes authorization from the Shield Response Team (SRT) to notify contacts about escalations to the SRT and to initiate proactive customer support.</p>
|
|
185
205
|
*/
|
|
186
206
|
disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, options?: __HttpHandlerOptions): Promise<DisableProactiveEngagementCommandOutput>;
|
|
187
207
|
disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void): void;
|
|
188
208
|
disableProactiveEngagement(args: DisableProactiveEngagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void): void;
|
|
189
209
|
/**
|
|
210
|
+
* @public
|
|
190
211
|
* <p>Removes the Shield Response Team's (SRT) access to the specified Amazon S3 bucket containing the logs that you shared previously.</p>
|
|
191
212
|
*/
|
|
192
213
|
disassociateDRTLogBucket(args: DisassociateDRTLogBucketCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDRTLogBucketCommandOutput>;
|
|
193
214
|
disassociateDRTLogBucket(args: DisassociateDRTLogBucketCommandInput, cb: (err: any, data?: DisassociateDRTLogBucketCommandOutput) => void): void;
|
|
194
215
|
disassociateDRTLogBucket(args: DisassociateDRTLogBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDRTLogBucketCommandOutput) => void): void;
|
|
195
216
|
/**
|
|
217
|
+
* @public
|
|
196
218
|
* <p>Removes the Shield Response Team's (SRT) access to your Amazon Web Services account.</p>
|
|
197
219
|
*/
|
|
198
220
|
disassociateDRTRole(args: DisassociateDRTRoleCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateDRTRoleCommandOutput>;
|
|
199
221
|
disassociateDRTRole(args: DisassociateDRTRoleCommandInput, cb: (err: any, data?: DisassociateDRTRoleCommandOutput) => void): void;
|
|
200
222
|
disassociateDRTRole(args: DisassociateDRTRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateDRTRoleCommandOutput) => void): void;
|
|
201
223
|
/**
|
|
224
|
+
* @public
|
|
202
225
|
* <p>Removes health-based detection from the Shield Advanced protection for a resource. Shield Advanced health-based detection uses the health of your Amazon Web Services resource to improve responsiveness and accuracy in attack detection and response. </p>
|
|
203
226
|
* <p>You define the health check in Route 53 and then associate or disassociate it with your Shield Advanced protection. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html#ddos-advanced-health-check-option">Shield Advanced Health-Based Detection</a> in the <i>WAF Developer Guide</i>. </p>
|
|
204
227
|
*/
|
|
@@ -206,6 +229,7 @@ export declare class Shield extends ShieldClient {
|
|
|
206
229
|
disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
|
|
207
230
|
disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
|
|
208
231
|
/**
|
|
232
|
+
* @public
|
|
209
233
|
* <p>Enable the Shield Advanced automatic application layer DDoS mitigation for the protected resource. </p>
|
|
210
234
|
* <note>
|
|
211
235
|
* <p>This feature is available for Amazon CloudFront distributions and Application Load Balancers only.</p>
|
|
@@ -226,18 +250,21 @@ export declare class Shield extends ShieldClient {
|
|
|
226
250
|
enableApplicationLayerAutomaticResponse(args: EnableApplicationLayerAutomaticResponseCommandInput, cb: (err: any, data?: EnableApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
227
251
|
enableApplicationLayerAutomaticResponse(args: EnableApplicationLayerAutomaticResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
228
252
|
/**
|
|
253
|
+
* @public
|
|
229
254
|
* <p>Authorizes the Shield Response Team (SRT) to use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.</p>
|
|
230
255
|
*/
|
|
231
256
|
enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, options?: __HttpHandlerOptions): Promise<EnableProactiveEngagementCommandOutput>;
|
|
232
257
|
enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void): void;
|
|
233
258
|
enableProactiveEngagement(args: EnableProactiveEngagementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void): void;
|
|
234
259
|
/**
|
|
260
|
+
* @public
|
|
235
261
|
* <p>Returns the <code>SubscriptionState</code>, either <code>Active</code> or <code>Inactive</code>.</p>
|
|
236
262
|
*/
|
|
237
263
|
getSubscriptionState(args: GetSubscriptionStateCommandInput, options?: __HttpHandlerOptions): Promise<GetSubscriptionStateCommandOutput>;
|
|
238
264
|
getSubscriptionState(args: GetSubscriptionStateCommandInput, cb: (err: any, data?: GetSubscriptionStateCommandOutput) => void): void;
|
|
239
265
|
getSubscriptionState(args: GetSubscriptionStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubscriptionStateCommandOutput) => void): void;
|
|
240
266
|
/**
|
|
267
|
+
* @public
|
|
241
268
|
* <p>Returns all ongoing DDoS attacks or all DDoS attacks during a specified time
|
|
242
269
|
* period.</p>
|
|
243
270
|
*/
|
|
@@ -245,6 +272,7 @@ export declare class Shield extends ShieldClient {
|
|
|
245
272
|
listAttacks(args: ListAttacksCommandInput, cb: (err: any, data?: ListAttacksCommandOutput) => void): void;
|
|
246
273
|
listAttacks(args: ListAttacksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttacksCommandOutput) => void): void;
|
|
247
274
|
/**
|
|
275
|
+
* @public
|
|
248
276
|
* <p>Retrieves <a>ProtectionGroup</a> objects for the account. You can retrieve all protection groups or you can provide
|
|
249
277
|
* filtering criteria and retrieve just the subset of protection groups that match the criteria. </p>
|
|
250
278
|
*/
|
|
@@ -252,6 +280,7 @@ export declare class Shield extends ShieldClient {
|
|
|
252
280
|
listProtectionGroups(args: ListProtectionGroupsCommandInput, cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void): void;
|
|
253
281
|
listProtectionGroups(args: ListProtectionGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void): void;
|
|
254
282
|
/**
|
|
283
|
+
* @public
|
|
255
284
|
* <p>Retrieves <a>Protection</a> objects for the account. You can retrieve all protections or you can provide
|
|
256
285
|
* filtering criteria and retrieve just the subset of protections that match the criteria. </p>
|
|
257
286
|
*/
|
|
@@ -259,48 +288,56 @@ export declare class Shield extends ShieldClient {
|
|
|
259
288
|
listProtections(args: ListProtectionsCommandInput, cb: (err: any, data?: ListProtectionsCommandOutput) => void): void;
|
|
260
289
|
listProtections(args: ListProtectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectionsCommandOutput) => void): void;
|
|
261
290
|
/**
|
|
291
|
+
* @public
|
|
262
292
|
* <p>Retrieves the resources that are included in the protection group. </p>
|
|
263
293
|
*/
|
|
264
294
|
listResourcesInProtectionGroup(args: ListResourcesInProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesInProtectionGroupCommandOutput>;
|
|
265
295
|
listResourcesInProtectionGroup(args: ListResourcesInProtectionGroupCommandInput, cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void): void;
|
|
266
296
|
listResourcesInProtectionGroup(args: ListResourcesInProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void): void;
|
|
267
297
|
/**
|
|
298
|
+
* @public
|
|
268
299
|
* <p>Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in Shield.</p>
|
|
269
300
|
*/
|
|
270
301
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
271
302
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
272
303
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
273
304
|
/**
|
|
305
|
+
* @public
|
|
274
306
|
* <p>Adds or updates tags for a resource in Shield.</p>
|
|
275
307
|
*/
|
|
276
308
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
277
309
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
278
310
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
279
311
|
/**
|
|
312
|
+
* @public
|
|
280
313
|
* <p>Removes tags from a resource in Shield.</p>
|
|
281
314
|
*/
|
|
282
315
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
283
316
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
284
317
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
285
318
|
/**
|
|
319
|
+
* @public
|
|
286
320
|
* <p>Updates an existing Shield Advanced automatic application layer DDoS mitigation configuration for the specified resource.</p>
|
|
287
321
|
*/
|
|
288
322
|
updateApplicationLayerAutomaticResponse(args: UpdateApplicationLayerAutomaticResponseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationLayerAutomaticResponseCommandOutput>;
|
|
289
323
|
updateApplicationLayerAutomaticResponse(args: UpdateApplicationLayerAutomaticResponseCommandInput, cb: (err: any, data?: UpdateApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
290
324
|
updateApplicationLayerAutomaticResponse(args: UpdateApplicationLayerAutomaticResponseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationLayerAutomaticResponseCommandOutput) => void): void;
|
|
291
325
|
/**
|
|
326
|
+
* @public
|
|
292
327
|
* <p>Updates the details of the list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.</p>
|
|
293
328
|
*/
|
|
294
329
|
updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEmergencyContactSettingsCommandOutput>;
|
|
295
330
|
updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void): void;
|
|
296
331
|
updateEmergencyContactSettings(args: UpdateEmergencyContactSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void): void;
|
|
297
332
|
/**
|
|
333
|
+
* @public
|
|
298
334
|
* <p>Updates an existing protection group. A protection group is a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. </p>
|
|
299
335
|
*/
|
|
300
336
|
updateProtectionGroup(args: UpdateProtectionGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProtectionGroupCommandOutput>;
|
|
301
337
|
updateProtectionGroup(args: UpdateProtectionGroupCommandInput, cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void): void;
|
|
302
338
|
updateProtectionGroup(args: UpdateProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void): void;
|
|
303
339
|
/**
|
|
340
|
+
* @public
|
|
304
341
|
* <p>Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.</p>
|
|
305
342
|
* <note>
|
|
306
343
|
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
|
|
@@ -44,15 +44,24 @@ import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSetti
|
|
|
44
44
|
import { UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput } from "./commands/UpdateProtectionGroupCommand";
|
|
45
45
|
import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "./commands/UpdateSubscriptionCommand";
|
|
46
46
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
47
50
|
export type ServiceInputTypes = AssociateDRTLogBucketCommandInput | AssociateDRTRoleCommandInput | AssociateHealthCheckCommandInput | AssociateProactiveEngagementDetailsCommandInput | CreateProtectionCommandInput | CreateProtectionGroupCommandInput | CreateSubscriptionCommandInput | DeleteProtectionCommandInput | DeleteProtectionGroupCommandInput | DeleteSubscriptionCommandInput | DescribeAttackCommandInput | DescribeAttackStatisticsCommandInput | DescribeDRTAccessCommandInput | DescribeEmergencyContactSettingsCommandInput | DescribeProtectionCommandInput | DescribeProtectionGroupCommandInput | DescribeSubscriptionCommandInput | DisableApplicationLayerAutomaticResponseCommandInput | DisableProactiveEngagementCommandInput | DisassociateDRTLogBucketCommandInput | DisassociateDRTRoleCommandInput | DisassociateHealthCheckCommandInput | EnableApplicationLayerAutomaticResponseCommandInput | EnableProactiveEngagementCommandInput | GetSubscriptionStateCommandInput | ListAttacksCommandInput | ListProtectionGroupsCommandInput | ListProtectionsCommandInput | ListResourcesInProtectionGroupCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationLayerAutomaticResponseCommandInput | UpdateEmergencyContactSettingsCommandInput | UpdateProtectionGroupCommandInput | UpdateSubscriptionCommandInput;
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
48
54
|
export type ServiceOutputTypes = AssociateDRTLogBucketCommandOutput | AssociateDRTRoleCommandOutput | AssociateHealthCheckCommandOutput | AssociateProactiveEngagementDetailsCommandOutput | CreateProtectionCommandOutput | CreateProtectionGroupCommandOutput | CreateSubscriptionCommandOutput | DeleteProtectionCommandOutput | DeleteProtectionGroupCommandOutput | DeleteSubscriptionCommandOutput | DescribeAttackCommandOutput | DescribeAttackStatisticsCommandOutput | DescribeDRTAccessCommandOutput | DescribeEmergencyContactSettingsCommandOutput | DescribeProtectionCommandOutput | DescribeProtectionGroupCommandOutput | DescribeSubscriptionCommandOutput | DisableApplicationLayerAutomaticResponseCommandOutput | DisableProactiveEngagementCommandOutput | DisassociateDRTLogBucketCommandOutput | DisassociateDRTRoleCommandOutput | DisassociateHealthCheckCommandOutput | EnableApplicationLayerAutomaticResponseCommandOutput | EnableProactiveEngagementCommandOutput | GetSubscriptionStateCommandOutput | ListAttacksCommandOutput | ListProtectionGroupsCommandOutput | ListProtectionsCommandOutput | ListResourcesInProtectionGroupCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationLayerAutomaticResponseCommandOutput | UpdateEmergencyContactSettingsCommandOutput | UpdateProtectionGroupCommandOutput | UpdateSubscriptionCommandOutput;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
49
58
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
50
59
|
/**
|
|
51
60
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
52
61
|
*/
|
|
53
62
|
requestHandler?: __HttpHandler;
|
|
54
63
|
/**
|
|
55
|
-
* A constructor for a class implementing the {@link
|
|
64
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
56
65
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
57
66
|
* @internal
|
|
58
67
|
*/
|
|
@@ -142,23 +151,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
142
151
|
*/
|
|
143
152
|
logger?: __Logger;
|
|
144
153
|
/**
|
|
145
|
-
* The {@link
|
|
154
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
146
155
|
*/
|
|
147
156
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
148
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
149
161
|
type ShieldClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
150
162
|
/**
|
|
151
|
-
*
|
|
163
|
+
* @public
|
|
164
|
+
*
|
|
165
|
+
* The configuration interface of ShieldClient class constructor that set the region, credentials and other options.
|
|
152
166
|
*/
|
|
153
167
|
export interface ShieldClientConfig extends ShieldClientConfigType {
|
|
154
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
155
172
|
type ShieldClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
156
173
|
/**
|
|
157
|
-
*
|
|
174
|
+
* @public
|
|
175
|
+
*
|
|
176
|
+
* The resolved configuration interface of ShieldClient class. This is resolved and normalized from the {@link ShieldClientConfig | constructor configuration interface}.
|
|
158
177
|
*/
|
|
159
178
|
export interface ShieldClientResolvedConfig extends ShieldClientResolvedConfigType {
|
|
160
179
|
}
|
|
161
180
|
/**
|
|
181
|
+
* @public
|
|
162
182
|
* <fullname>Shield Advanced</fullname>
|
|
163
183
|
* <p>This is the <i>Shield Advanced API Reference</i>. This guide is for developers who need detailed information about the Shield Advanced API actions,
|
|
164
184
|
* data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AssociateDRTLogBucketRequest, AssociateDRTLogBucketResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AssociateDRTLogBucketCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AssociateDRTLogBucketCommandInput extends AssociateDRTLogBucketRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AssociateDRTLogBucketCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucketResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.</p>
|
|
18
23
|
* <p>To use the services of the SRT and make an <code>AssociateDRTLogBucket</code> request, you must be subscribed to the <a href="http://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="http://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucke
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param AssociateDRTLogBucketCommandInput - {@link AssociateDRTLogBucketCommandInput}
|
|
35
|
+
* @returns {@link AssociateDRTLogBucketCommandOutput}
|
|
29
36
|
* @see {@link AssociateDRTLogBucketCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link AssociateDRTLogBucketCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link ShieldClientResolvedConfig | config} for ShieldClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucke
|
|
|
60
67
|
export declare class AssociateDRTLogBucketCommand extends $Command<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput, ShieldClientResolvedConfig> {
|
|
61
68
|
readonly input: AssociateDRTLogBucketCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: AssociateDRTLogBucketCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AssociateDRTRoleRequest, AssociateDRTRoleResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AssociateDRTRoleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AssociateDRTRoleCommandInput extends AssociateDRTRoleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AssociateDRTRoleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Authorizes the Shield Response Team (SRT) using the specified role, to access your Amazon Web Services account to assist with DDoS attack mitigation during potential attacks. This enables the SRT to inspect your WAF configuration and create or update WAF rules and web ACLs.</p>
|
|
18
23
|
* <p>You can associate only one <code>RoleArn</code> with your subscription. If you submit an <code>AssociateDRTRole</code> request for an account that already has an associated role, the new <code>RoleArn</code> will replace the existing <code>RoleArn</code>. </p>
|
|
19
24
|
* <p>Prior to making the <code>AssociateDRTRole</code> request, you must attach the <code>AWSShieldDRTAccessPolicy</code> managed policy to the role that you'll specify in the request. You can access this policy in the IAM console at <a href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy">AWSShieldDRTAccessPolicy</a>. For more information see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html">Adding and removing IAM identity permissions</a>. The role must also trust the service principal
|
|
@@ -32,6 +37,8 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse,
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param AssociateDRTRoleCommandInput - {@link AssociateDRTRoleCommandInput}
|
|
41
|
+
* @returns {@link AssociateDRTRoleCommandOutput}
|
|
35
42
|
* @see {@link AssociateDRTRoleCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link AssociateDRTRoleCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link ShieldClientResolvedConfig | config} for ShieldClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse,
|
|
|
60
67
|
export declare class AssociateDRTRoleCommand extends $Command<AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput, ShieldClientResolvedConfig> {
|
|
61
68
|
readonly input: AssociateDRTRoleCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: AssociateDRTRoleCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AssociateHealthCheckRequest, AssociateHealthCheckResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AssociateHealthCheckCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AssociateHealthCheckCommandInput extends AssociateHealthCheckRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AssociateHealthCheckCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds health-based detection to the Shield Advanced protection for a resource. Shield Advanced health-based detection uses the health of your Amazon Web Services resource to improve responsiveness and accuracy in attack detection and response. </p>
|
|
18
23
|
* <p>You define the health check in Route 53 and then associate it with your Shield Advanced protection. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html#ddos-advanced-health-check-option">Shield Advanced Health-Based Detection</a> in the <i>WAF Developer Guide</i>. </p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckR
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param AssociateHealthCheckCommandInput - {@link AssociateHealthCheckCommandInput}
|
|
35
|
+
* @returns {@link AssociateHealthCheckCommandOutput}
|
|
29
36
|
* @see {@link AssociateHealthCheckCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link AssociateHealthCheckCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link ShieldClientResolvedConfig | config} for ShieldClient's `config` shape.
|
|
@@ -54,11 +61,20 @@ export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckR
|
|
|
54
61
|
export declare class AssociateHealthCheckCommand extends $Command<AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput, ShieldClientResolvedConfig> {
|
|
55
62
|
readonly input: AssociateHealthCheckCommandInput;
|
|
56
63
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
57
67
|
constructor(input: AssociateHealthCheckCommandInput);
|
|
58
68
|
/**
|
|
59
69
|
* @internal
|
|
60
70
|
*/
|
|
61
71
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
62
75
|
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
63
79
|
private deserialize;
|
|
64
80
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AssociateProactiveEngagementDetailsRequest, AssociateProactiveEngagementDetailsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AssociateProactiveEngagementDetailsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AssociateProactiveEngagementDetailsCommandInput extends AssociateProactiveEngagementDetailsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AssociateProactiveEngagementDetailsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AssociateProactiveEngagementDetailsCommandOutput extends AssociateProactiveEngagementDetailsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Initializes proactive engagement and sets the list of contacts for the Shield Response Team (SRT) to use. You must provide at least one phone number in the emergency contact list. </p>
|
|
18
23
|
* <p>After you have initialized proactive engagement using this call, to disable or enable proactive engagement, use the calls <code>DisableProactiveEngagement</code> and <code>EnableProactiveEngagement</code>. </p>
|
|
19
24
|
* <note>
|
|
@@ -30,6 +35,8 @@ export interface AssociateProactiveEngagementDetailsCommandOutput extends Associ
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param AssociateProactiveEngagementDetailsCommandInput - {@link AssociateProactiveEngagementDetailsCommandInput}
|
|
39
|
+
* @returns {@link AssociateProactiveEngagementDetailsCommandOutput}
|
|
33
40
|
* @see {@link AssociateProactiveEngagementDetailsCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link AssociateProactiveEngagementDetailsCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link ShieldClientResolvedConfig | config} for ShieldClient's `config` shape.
|
|
@@ -55,11 +62,20 @@ export interface AssociateProactiveEngagementDetailsCommandOutput extends Associ
|
|
|
55
62
|
export declare class AssociateProactiveEngagementDetailsCommand extends $Command<AssociateProactiveEngagementDetailsCommandInput, AssociateProactiveEngagementDetailsCommandOutput, ShieldClientResolvedConfig> {
|
|
56
63
|
readonly input: AssociateProactiveEngagementDetailsCommandInput;
|
|
57
64
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
58
68
|
constructor(input: AssociateProactiveEngagementDetailsCommandInput);
|
|
59
69
|
/**
|
|
60
70
|
* @internal
|
|
61
71
|
*/
|
|
62
72
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateProactiveEngagementDetailsCommandInput, AssociateProactiveEngagementDetailsCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
63
76
|
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
64
80
|
private deserialize;
|
|
65
81
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateProtectionRequest, CreateProtectionResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateProtectionCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateProtectionCommandInput extends CreateProtectionRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateProtectionCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateProtectionCommandOutput extends CreateProtectionResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Amazon Route 53 hosted zone, Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses.</p>
|
|
18
23
|
* <p>You can add protection to only a single resource with each <code>CreateProtection</code> request. You can add protection to multiple resources
|
|
19
24
|
* at once through the Shield Advanced console at <a href="https://console.aws.amazon.com/wafv2/shieldv2#/">https://console.aws.amazon.com/wafv2/shieldv2#/</a>.
|
|
@@ -30,6 +35,8 @@ export interface CreateProtectionCommandOutput extends CreateProtectionResponse,
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param CreateProtectionCommandInput - {@link CreateProtectionCommandInput}
|
|
39
|
+
* @returns {@link CreateProtectionCommandOutput}
|
|
33
40
|
* @see {@link CreateProtectionCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link CreateProtectionCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link ShieldClientResolvedConfig | config} for ShieldClient's `config` shape.
|
|
@@ -64,11 +71,20 @@ export interface CreateProtectionCommandOutput extends CreateProtectionResponse,
|
|
|
64
71
|
export declare class CreateProtectionCommand extends $Command<CreateProtectionCommandInput, CreateProtectionCommandOutput, ShieldClientResolvedConfig> {
|
|
65
72
|
readonly input: CreateProtectionCommandInput;
|
|
66
73
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
67
77
|
constructor(input: CreateProtectionCommandInput);
|
|
68
78
|
/**
|
|
69
79
|
* @internal
|
|
70
80
|
*/
|
|
71
81
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProtectionCommandInput, CreateProtectionCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
72
85
|
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
73
89
|
private deserialize;
|
|
74
90
|
}
|