@aws-sdk/client-shield 3.137.0 → 3.142.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/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/models/models_0.js +9 -1
- package/dist-cjs/protocols/Aws_json1_1.js +257 -303
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +357 -306
- package/dist-types/Shield.d.ts +23 -13
- package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +1 -1
- package/dist-types/commands/AssociateDRTRoleCommand.d.ts +1 -1
- package/dist-types/commands/CreateProtectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +5 -2
- package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +1 -1
- package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +6 -5
- package/dist-types/commands/ListProtectionGroupsCommand.d.ts +2 -1
- package/dist-types/commands/ListProtectionsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +67 -13
- package/dist-types/ts3.4/models/models_0.d.ts +28 -0
- package/package.json +6 -6
package/dist-types/Shield.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ import { ShieldClient } from "./ShieldClient";
|
|
|
45
45
|
export declare class Shield extends ShieldClient {
|
|
46
46
|
/**
|
|
47
47
|
* <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
|
-
* <p>To use the services of the SRT and make an <code>AssociateDRTLogBucket</code> request, you must be subscribed to the <a href="
|
|
48
|
+
* <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
49
|
*/
|
|
50
50
|
associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDRTLogBucketCommandOutput>;
|
|
51
51
|
associateDRTLogBucket(args: AssociateDRTLogBucketCommandInput, cb: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void): void;
|
|
@@ -58,7 +58,7 @@ export declare class Shield extends ShieldClient {
|
|
|
58
58
|
*
|
|
59
59
|
* <p>The SRT will have access only to your WAF and Shield resources. By submitting this request, you authorize the SRT to inspect your WAF and Shield configuration and create and update WAF rules and web ACLs on your behalf. The SRT takes these actions only if explicitly authorized by you.</p>
|
|
60
60
|
* <p>You must have the <code>iam:PassRole</code> permission to make an <code>AssociateDRTRole</code> request. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a user permissions to pass a role to an Amazon Web Services service</a>. </p>
|
|
61
|
-
* <p>To use the services of the SRT and make an <code>AssociateDRTRole</code> request, you must be subscribed to the <a href="
|
|
61
|
+
* <p>To use the services of the SRT and make an <code>AssociateDRTRole</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>
|
|
62
62
|
*/
|
|
63
63
|
associateDRTRole(args: AssociateDRTRoleCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDRTRoleCommandOutput>;
|
|
64
64
|
associateDRTRole(args: AssociateDRTRoleCommandInput, cb: (err: any, data?: AssociateDRTRoleCommandOutput) => void): void;
|
|
@@ -82,7 +82,7 @@ export declare class Shield extends ShieldClient {
|
|
|
82
82
|
associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void): void;
|
|
83
83
|
associateProactiveEngagementDetails(args: AssociateProactiveEngagementDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void): void;
|
|
84
84
|
/**
|
|
85
|
-
* <p>Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution,
|
|
85
|
+
* <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
86
|
* <p>You can add protection to only a single resource with each <code>CreateProtection</code> request. You can add protection to multiple resources
|
|
87
87
|
* 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>.
|
|
88
88
|
* For more information see
|
|
@@ -100,8 +100,11 @@ export declare class Shield extends ShieldClient {
|
|
|
100
100
|
createProtectionGroup(args: CreateProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void): void;
|
|
101
101
|
/**
|
|
102
102
|
* <p>Activates Shield Advanced for an account.</p>
|
|
103
|
-
*
|
|
104
|
-
*
|
|
103
|
+
* <note>
|
|
104
|
+
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
|
|
105
|
+
* regardless of whether the payer account itself is subscribed. </p>
|
|
106
|
+
* </note>
|
|
107
|
+
* <p>When you initially create a subscription, your subscription is set to be automatically renewed at the end of the existing subscription period. You can change this by submitting an <code>UpdateSubscription</code> request. </p>
|
|
105
108
|
*/
|
|
106
109
|
createSubscription(args: CreateSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateSubscriptionCommandOutput>;
|
|
107
110
|
createSubscription(args: CreateSubscriptionCommandInput, cb: (err: any, data?: CreateSubscriptionCommandOutput) => void): void;
|
|
@@ -171,7 +174,7 @@ export declare class Shield extends ShieldClient {
|
|
|
171
174
|
describeSubscription(args: DescribeSubscriptionCommandInput, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
|
|
172
175
|
describeSubscription(args: DescribeSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void): void;
|
|
173
176
|
/**
|
|
174
|
-
* <p>Disable the Shield Advanced automatic application layer DDoS mitigation feature for the resource. This
|
|
177
|
+
* <p>Disable the Shield Advanced automatic application layer DDoS mitigation feature for the protected resource. This
|
|
175
178
|
* stops Shield Advanced from creating, verifying, and applying WAF rules for attacks that it detects for the resource. </p>
|
|
176
179
|
*/
|
|
177
180
|
disableApplicationLayerAutomaticResponse(args: DisableApplicationLayerAutomaticResponseCommandInput, options?: __HttpHandlerOptions): Promise<DisableApplicationLayerAutomaticResponseCommandOutput>;
|
|
@@ -203,19 +206,20 @@ export declare class Shield extends ShieldClient {
|
|
|
203
206
|
disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
|
|
204
207
|
disassociateHealthCheck(args: DisassociateHealthCheckCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void): void;
|
|
205
208
|
/**
|
|
206
|
-
* <p>Enable the Shield Advanced automatic application layer DDoS mitigation for the resource. </p>
|
|
209
|
+
* <p>Enable the Shield Advanced automatic application layer DDoS mitigation for the protected resource. </p>
|
|
207
210
|
* <note>
|
|
208
|
-
* <p>This feature is available for Amazon CloudFront distributions only.</p>
|
|
211
|
+
* <p>This feature is available for Amazon CloudFront distributions and Application Load Balancers only.</p>
|
|
209
212
|
* </note>
|
|
210
213
|
* <p>This causes Shield Advanced to create, verify, and apply WAF rules for DDoS attacks that it detects for the
|
|
211
214
|
* resource. Shield Advanced applies the rules in a Shield rule group inside the web ACL that you've associated
|
|
212
215
|
* with the resource. For information about how automatic mitigation works and the requirements for using it, see
|
|
213
216
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/ddos-advanced-automatic-app-layer-response.html">Shield Advanced automatic application layer DDoS mitigation</a>.</p>
|
|
214
|
-
* <
|
|
217
|
+
* <note>
|
|
218
|
+
* <p>Don't use this action to make changes to automatic mitigation settings when it's already enabled for a resource. Instead, use <a>UpdateApplicationLayerAutomaticResponse</a>.</p>
|
|
219
|
+
* </note>
|
|
215
220
|
* <p>To use this feature, you must associate a web ACL with the protected resource. The web ACL must be created using the latest version of WAF (v2). You can associate the web ACL through the Shield Advanced console
|
|
216
221
|
* at <a href="https://console.aws.amazon.com/wafv2/shieldv2#/">https://console.aws.amazon.com/wafv2/shieldv2#/</a>. For more information,
|
|
217
|
-
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html">Getting Started with Shield Advanced</a
|
|
218
|
-
* <p>You can also do this through the WAF console or the WAF API, but you must manage Shield Advanced automatic mitigation through Shield Advanced. For information about WAF, see
|
|
222
|
+
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html">Getting Started with Shield Advanced</a>. You can also associate the web ACL to the resource through the WAF console or the WAF API, but you must manage Shield Advanced automatic mitigation through Shield Advanced. For information about WAF, see
|
|
219
223
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">WAF Developer Guide</a>.</p>
|
|
220
224
|
*/
|
|
221
225
|
enableApplicationLayerAutomaticResponse(args: EnableApplicationLayerAutomaticResponseCommandInput, options?: __HttpHandlerOptions): Promise<EnableApplicationLayerAutomaticResponseCommandOutput>;
|
|
@@ -241,13 +245,15 @@ export declare class Shield extends ShieldClient {
|
|
|
241
245
|
listAttacks(args: ListAttacksCommandInput, cb: (err: any, data?: ListAttacksCommandOutput) => void): void;
|
|
242
246
|
listAttacks(args: ListAttacksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAttacksCommandOutput) => void): void;
|
|
243
247
|
/**
|
|
244
|
-
* <p>Retrieves
|
|
248
|
+
* <p>Retrieves <a>ProtectionGroup</a> objects for the account. You can retrieve all protection groups or you can provide
|
|
249
|
+
* filtering criteria and retrieve just the subset of protection groups that match the criteria. </p>
|
|
245
250
|
*/
|
|
246
251
|
listProtectionGroups(args: ListProtectionGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectionGroupsCommandOutput>;
|
|
247
252
|
listProtectionGroups(args: ListProtectionGroupsCommandInput, cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void): void;
|
|
248
253
|
listProtectionGroups(args: ListProtectionGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void): void;
|
|
249
254
|
/**
|
|
250
|
-
* <p>
|
|
255
|
+
* <p>Retrieves <a>Protection</a> objects for the account. You can retrieve all protections or you can provide
|
|
256
|
+
* filtering criteria and retrieve just the subset of protections that match the criteria. </p>
|
|
251
257
|
*/
|
|
252
258
|
listProtections(args: ListProtectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectionsCommandOutput>;
|
|
253
259
|
listProtections(args: ListProtectionsCommandInput, cb: (err: any, data?: ListProtectionsCommandOutput) => void): void;
|
|
@@ -296,6 +302,10 @@ export declare class Shield extends ShieldClient {
|
|
|
296
302
|
updateProtectionGroup(args: UpdateProtectionGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void): void;
|
|
297
303
|
/**
|
|
298
304
|
* <p>Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.</p>
|
|
305
|
+
* <note>
|
|
306
|
+
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
|
|
307
|
+
* regardless of whether the payer account itself is subscribed. </p>
|
|
308
|
+
* </note>
|
|
299
309
|
*/
|
|
300
310
|
updateSubscription(args: UpdateSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubscriptionCommandOutput>;
|
|
301
311
|
updateSubscription(args: UpdateSubscriptionCommandInput, cb: (err: any, data?: UpdateSubscriptionCommandOutput) => void): void;
|
|
@@ -8,7 +8,7 @@ export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucke
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <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>
|
|
11
|
-
* <p>To use the services of the SRT and make an <code>AssociateDRTLogBucket</code> request, you must be subscribed to the <a href="
|
|
11
|
+
* <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>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -14,7 +14,7 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse,
|
|
|
14
14
|
*
|
|
15
15
|
* <p>The SRT will have access only to your WAF and Shield resources. By submitting this request, you authorize the SRT to inspect your WAF and Shield configuration and create and update WAF rules and web ACLs on your behalf. The SRT takes these actions only if explicitly authorized by you.</p>
|
|
16
16
|
* <p>You must have the <code>iam:PassRole</code> permission to make an <code>AssociateDRTRole</code> request. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a user permissions to pass a role to an Amazon Web Services service</a>. </p>
|
|
17
|
-
* <p>To use the services of the SRT and make an <code>AssociateDRTRole</code> request, you must be subscribed to the <a href="
|
|
17
|
+
* <p>To use the services of the SRT and make an <code>AssociateDRTRole</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>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface CreateProtectionCommandInput extends CreateProtectionRequest {
|
|
|
7
7
|
export interface CreateProtectionCommandOutput extends CreateProtectionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution,
|
|
10
|
+
* <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>
|
|
11
11
|
* <p>You can add protection to only a single resource with each <code>CreateProtection</code> request. You can add protection to multiple resources
|
|
12
12
|
* 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>.
|
|
13
13
|
* For more information see
|
|
@@ -8,8 +8,11 @@ export interface CreateSubscriptionCommandOutput extends CreateSubscriptionRespo
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Activates Shield Advanced for an account.</p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
|
|
13
|
+
* regardless of whether the payer account itself is subscribed. </p>
|
|
14
|
+
* </note>
|
|
15
|
+
* <p>When you initially create a subscription, your subscription is set to be automatically renewed at the end of the existing subscription period. You can change this by submitting an <code>UpdateSubscription</code> request. </p>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface DisableApplicationLayerAutomaticResponseCommandInput extends Di
|
|
|
7
7
|
export interface DisableApplicationLayerAutomaticResponseCommandOutput extends DisableApplicationLayerAutomaticResponseResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Disable the Shield Advanced automatic application layer DDoS mitigation feature for the resource. This
|
|
10
|
+
* <p>Disable the Shield Advanced automatic application layer DDoS mitigation feature for the protected resource. This
|
|
11
11
|
* stops Shield Advanced from creating, verifying, and applying WAF rules for attacks that it detects for the resource. </p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,19 +7,20 @@ export interface EnableApplicationLayerAutomaticResponseCommandInput extends Ena
|
|
|
7
7
|
export interface EnableApplicationLayerAutomaticResponseCommandOutput extends EnableApplicationLayerAutomaticResponseResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Enable the Shield Advanced automatic application layer DDoS mitigation for the resource. </p>
|
|
10
|
+
* <p>Enable the Shield Advanced automatic application layer DDoS mitigation for the protected resource. </p>
|
|
11
11
|
* <note>
|
|
12
|
-
* <p>This feature is available for Amazon CloudFront distributions only.</p>
|
|
12
|
+
* <p>This feature is available for Amazon CloudFront distributions and Application Load Balancers only.</p>
|
|
13
13
|
* </note>
|
|
14
14
|
* <p>This causes Shield Advanced to create, verify, and apply WAF rules for DDoS attacks that it detects for the
|
|
15
15
|
* resource. Shield Advanced applies the rules in a Shield rule group inside the web ACL that you've associated
|
|
16
16
|
* with the resource. For information about how automatic mitigation works and the requirements for using it, see
|
|
17
17
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/ddos-advanced-automatic-app-layer-response.html">Shield Advanced automatic application layer DDoS mitigation</a>.</p>
|
|
18
|
-
* <
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>Don't use this action to make changes to automatic mitigation settings when it's already enabled for a resource. Instead, use <a>UpdateApplicationLayerAutomaticResponse</a>.</p>
|
|
20
|
+
* </note>
|
|
19
21
|
* <p>To use this feature, you must associate a web ACL with the protected resource. The web ACL must be created using the latest version of WAF (v2). You can associate the web ACL through the Shield Advanced console
|
|
20
22
|
* at <a href="https://console.aws.amazon.com/wafv2/shieldv2#/">https://console.aws.amazon.com/wafv2/shieldv2#/</a>. For more information,
|
|
21
|
-
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html">Getting Started with Shield Advanced</a
|
|
22
|
-
* <p>You can also do this through the WAF console or the WAF API, but you must manage Shield Advanced automatic mitigation through Shield Advanced. For information about WAF, see
|
|
23
|
+
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html">Getting Started with Shield Advanced</a>. You can also associate the web ACL to the resource through the WAF console or the WAF API, but you must manage Shield Advanced automatic mitigation through Shield Advanced. For information about WAF, see
|
|
23
24
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">WAF Developer Guide</a>.</p>
|
|
24
25
|
* @example
|
|
25
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,8 @@ export interface ListProtectionGroupsCommandInput extends ListProtectionGroupsRe
|
|
|
7
7
|
export interface ListProtectionGroupsCommandOutput extends ListProtectionGroupsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Retrieves
|
|
10
|
+
* <p>Retrieves <a>ProtectionGroup</a> objects for the account. You can retrieve all protection groups or you can provide
|
|
11
|
+
* filtering criteria and retrieve just the subset of protection groups that match the criteria. </p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface ListProtectionsCommandInput extends ListProtectionsRequest {
|
|
|
7
7
|
export interface ListProtectionsCommandOutput extends ListProtectionsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Retrieves <a>Protection</a> objects for the account. You can retrieve all protections or you can provide
|
|
11
|
+
* filtering criteria and retrieve just the subset of protections that match the criteria. </p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -8,6 +8,10 @@ export interface UpdateSubscriptionCommandOutput extends UpdateSubscriptionRespo
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.</p>
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
|
|
13
|
+
* regardless of whether the payer account itself is subscribed. </p>
|
|
14
|
+
* </note>
|
|
11
15
|
* @example
|
|
12
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
17
|
* ```javascript
|
|
@@ -162,7 +162,7 @@ export declare class LimitsExceededException extends __BaseException {
|
|
|
162
162
|
constructor(opts: __ExceptionOptionType<LimitsExceededException, __BaseException>);
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
|
-
* <p>The ARN of the role that you
|
|
165
|
+
* <p>The ARN of the role that you specified does not exist.</p>
|
|
166
166
|
*/
|
|
167
167
|
export declare class NoAssociatedRoleException extends __BaseException {
|
|
168
168
|
readonly name: "NoAssociatedRoleException";
|
|
@@ -614,7 +614,7 @@ export interface CreateProtectionRequest {
|
|
|
614
614
|
* </p>
|
|
615
615
|
* </li>
|
|
616
616
|
* <li>
|
|
617
|
-
* <p>For an Global Accelerator accelerator: <code>arn:aws:globalaccelerator::<i>account-id</i>:accelerator/<i>accelerator-id</i>
|
|
617
|
+
* <p>For an Global Accelerator standard accelerator: <code>arn:aws:globalaccelerator::<i>account-id</i>:accelerator/<i>accelerator-id</i>
|
|
618
618
|
* </code>
|
|
619
619
|
* </p>
|
|
620
620
|
* </li>
|
|
@@ -759,7 +759,7 @@ export interface DescribeAttackRequest {
|
|
|
759
759
|
}
|
|
760
760
|
export interface DescribeAttackResponse {
|
|
761
761
|
/**
|
|
762
|
-
* <p>The attack that
|
|
762
|
+
* <p>The attack that you requested. </p>
|
|
763
763
|
*/
|
|
764
764
|
Attack?: AttackDetail;
|
|
765
765
|
}
|
|
@@ -780,7 +780,7 @@ export interface TimeRange {
|
|
|
780
780
|
}
|
|
781
781
|
export interface DescribeAttackStatisticsResponse {
|
|
782
782
|
/**
|
|
783
|
-
* <p>The time range
|
|
783
|
+
* <p>The time range of the attack.</p>
|
|
784
784
|
*/
|
|
785
785
|
TimeRange: TimeRange | undefined;
|
|
786
786
|
/**
|
|
@@ -810,13 +810,13 @@ export interface DescribeEmergencyContactSettingsResponse {
|
|
|
810
810
|
}
|
|
811
811
|
export interface DescribeProtectionRequest {
|
|
812
812
|
/**
|
|
813
|
-
* <p>The unique identifier (ID) for the <a>Protection</a> object
|
|
814
|
-
*
|
|
813
|
+
* <p>The unique identifier (ID) for the <a>Protection</a> object to describe.
|
|
814
|
+
* You must provide either the <code>ResourceArn</code> of the protected resource or the <code>ProtectionID</code> of the protection, but not both.</p>
|
|
815
815
|
*/
|
|
816
816
|
ProtectionId?: string;
|
|
817
817
|
/**
|
|
818
|
-
* <p>The ARN (Amazon Resource Name) of the Amazon Web Services resource
|
|
819
|
-
*
|
|
818
|
+
* <p>The ARN (Amazon Resource Name) of the protected Amazon Web Services resource.
|
|
819
|
+
* You must provide either the <code>ResourceArn</code> of the protected resource or the <code>ProtectionID</code> of the protection, but not both.</p>
|
|
820
820
|
*/
|
|
821
821
|
ResourceArn?: string;
|
|
822
822
|
}
|
|
@@ -853,7 +853,7 @@ export interface Protection {
|
|
|
853
853
|
}
|
|
854
854
|
export interface DescribeProtectionResponse {
|
|
855
855
|
/**
|
|
856
|
-
* <p>The <a>Protection</a>
|
|
856
|
+
* <p>The <a>Protection</a> that you requested. </p>
|
|
857
857
|
*/
|
|
858
858
|
Protection?: Protection;
|
|
859
859
|
}
|
|
@@ -887,7 +887,7 @@ export interface ProtectionGroup {
|
|
|
887
887
|
*/
|
|
888
888
|
Aggregation: ProtectionGroupAggregation | string | undefined;
|
|
889
889
|
/**
|
|
890
|
-
* <p>The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names
|
|
890
|
+
* <p>The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource ARNs (Amazon Resource Names), or include all resources of a specified resource type.</p>
|
|
891
891
|
*/
|
|
892
892
|
Pattern: ProtectionGroupPattern | string | undefined;
|
|
893
893
|
/**
|
|
@@ -896,7 +896,7 @@ export interface ProtectionGroup {
|
|
|
896
896
|
*/
|
|
897
897
|
ResourceType?: ProtectedResourceType | string;
|
|
898
898
|
/**
|
|
899
|
-
* <p>The Amazon Resource Names
|
|
899
|
+
* <p>The ARNs (Amazon Resource Names) of the resources to include in the protection group. You must set this when you set <code>Pattern</code> to <code>ARBITRARY</code> and you must not set it for any other <code>Pattern</code> setting. </p>
|
|
900
900
|
*/
|
|
901
901
|
Members: string[] | undefined;
|
|
902
902
|
/**
|
|
@@ -1031,7 +1031,7 @@ export interface DescribeSubscriptionResponse {
|
|
|
1031
1031
|
}
|
|
1032
1032
|
export interface DisableApplicationLayerAutomaticResponseRequest {
|
|
1033
1033
|
/**
|
|
1034
|
-
* <p>The ARN (Amazon Resource Name) of the resource.</p>
|
|
1034
|
+
* <p>The ARN (Amazon Resource Name) of the protected resource.</p>
|
|
1035
1035
|
*/
|
|
1036
1036
|
ResourceArn: string | undefined;
|
|
1037
1037
|
}
|
|
@@ -1067,7 +1067,7 @@ export interface DisassociateHealthCheckResponse {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
export interface EnableApplicationLayerAutomaticResponseRequest {
|
|
1069
1069
|
/**
|
|
1070
|
-
* <p>The ARN (Amazon Resource Name) of the resource.</p>
|
|
1070
|
+
* <p>The ARN (Amazon Resource Name) of the protected resource.</p>
|
|
1071
1071
|
*/
|
|
1072
1072
|
ResourceArn: string | undefined;
|
|
1073
1073
|
/**
|
|
@@ -1155,6 +1155,27 @@ export declare class InvalidPaginationTokenException extends __BaseException {
|
|
|
1155
1155
|
*/
|
|
1156
1156
|
constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
|
|
1157
1157
|
}
|
|
1158
|
+
/**
|
|
1159
|
+
* <p>Narrows the set of protection groups that the call retrieves. You can retrieve a single protection group by its name and you can retrieve all protection groups that are configured with a specific pattern, aggregation, or resource type. You can provide up to one criteria per filter type. Shield Advanced returns the protection groups that exactly match all of the search criteria that you provide.</p>
|
|
1160
|
+
*/
|
|
1161
|
+
export interface InclusionProtectionGroupFilters {
|
|
1162
|
+
/**
|
|
1163
|
+
* <p>The ID of the protection group that you want to retrieve. </p>
|
|
1164
|
+
*/
|
|
1165
|
+
ProtectionGroupIds?: string[];
|
|
1166
|
+
/**
|
|
1167
|
+
* <p>The pattern specification of the protection groups that you want to retrieve. </p>
|
|
1168
|
+
*/
|
|
1169
|
+
Patterns?: (ProtectionGroupPattern | string)[];
|
|
1170
|
+
/**
|
|
1171
|
+
* <p>The resource type configuration of the protection groups that you want to retrieve. In the protection group configuration, you specify the resource type when you set the group's <code>Pattern</code> to <code>BY_RESOURCE_TYPE</code>. </p>
|
|
1172
|
+
*/
|
|
1173
|
+
ResourceTypes?: (ProtectedResourceType | string)[];
|
|
1174
|
+
/**
|
|
1175
|
+
* <p>The aggregation setting of the protection groups that you want to retrieve. </p>
|
|
1176
|
+
*/
|
|
1177
|
+
Aggregations?: (ProtectionGroupAggregation | string)[];
|
|
1178
|
+
}
|
|
1158
1179
|
export interface ListProtectionGroupsRequest {
|
|
1159
1180
|
/**
|
|
1160
1181
|
* <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
|
|
@@ -1173,6 +1194,10 @@ export interface ListProtectionGroupsRequest {
|
|
|
1173
1194
|
* <p>The default setting is 20.</p>
|
|
1174
1195
|
*/
|
|
1175
1196
|
MaxResults?: number;
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>Narrows the set of protection groups that the call retrieves. You can retrieve a single protection group by its name and you can retrieve all protection groups that are configured with specific pattern or aggregation settings. You can provide up to one criteria per filter type. Shield Advanced returns the protection groups that exactly match all of the search criteria that you provide.</p>
|
|
1199
|
+
*/
|
|
1200
|
+
InclusionFilters?: InclusionProtectionGroupFilters;
|
|
1176
1201
|
}
|
|
1177
1202
|
export interface ListProtectionGroupsResponse {
|
|
1178
1203
|
/**
|
|
@@ -1189,6 +1214,23 @@ export interface ListProtectionGroupsResponse {
|
|
|
1189
1214
|
*/
|
|
1190
1215
|
NextToken?: string;
|
|
1191
1216
|
}
|
|
1217
|
+
/**
|
|
1218
|
+
* <p>Narrows the set of protections that the call retrieves. You can retrieve a single protection by providing its name or the ARN (Amazon Resource Name) of its protected resource. You can also retrieve all protections for a specific resource type. You can provide up to one criteria per filter type. Shield Advanced returns protections that exactly match all of the filter criteria that you provide.</p>
|
|
1219
|
+
*/
|
|
1220
|
+
export interface InclusionProtectionFilters {
|
|
1221
|
+
/**
|
|
1222
|
+
* <p>The ARN (Amazon Resource Name) of the resource whose protection you want to retrieve. </p>
|
|
1223
|
+
*/
|
|
1224
|
+
ResourceArns?: string[];
|
|
1225
|
+
/**
|
|
1226
|
+
* <p>The name of the protection that you want to retrieve. </p>
|
|
1227
|
+
*/
|
|
1228
|
+
ProtectionNames?: string[];
|
|
1229
|
+
/**
|
|
1230
|
+
* <p>The type of protected resource whose protections you want to retrieve. </p>
|
|
1231
|
+
*/
|
|
1232
|
+
ResourceTypes?: (ProtectedResourceType | string)[];
|
|
1233
|
+
}
|
|
1192
1234
|
export interface ListProtectionsRequest {
|
|
1193
1235
|
/**
|
|
1194
1236
|
* <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
|
|
@@ -1207,6 +1249,10 @@ export interface ListProtectionsRequest {
|
|
|
1207
1249
|
* <p>The default setting is 20.</p>
|
|
1208
1250
|
*/
|
|
1209
1251
|
MaxResults?: number;
|
|
1252
|
+
/**
|
|
1253
|
+
* <p>Narrows the set of protections that the call retrieves. You can retrieve a single protection by providing its name or the ARN (Amazon Resource Name) of its protected resource. You can also retrieve all protections for a specific resource type. You can provide up to one criteria per filter type. Shield Advanced returns protections that exactly match all of the filter criteria that you provide.</p>
|
|
1254
|
+
*/
|
|
1255
|
+
InclusionFilters?: InclusionProtectionFilters;
|
|
1210
1256
|
}
|
|
1211
1257
|
export interface ListProtectionsResponse {
|
|
1212
1258
|
/**
|
|
@@ -1688,6 +1734,10 @@ export declare const ListAttacksRequestFilterSensitiveLog: (obj: ListAttacksRequ
|
|
|
1688
1734
|
* @internal
|
|
1689
1735
|
*/
|
|
1690
1736
|
export declare const ListAttacksResponseFilterSensitiveLog: (obj: ListAttacksResponse) => any;
|
|
1737
|
+
/**
|
|
1738
|
+
* @internal
|
|
1739
|
+
*/
|
|
1740
|
+
export declare const InclusionProtectionGroupFiltersFilterSensitiveLog: (obj: InclusionProtectionGroupFilters) => any;
|
|
1691
1741
|
/**
|
|
1692
1742
|
* @internal
|
|
1693
1743
|
*/
|
|
@@ -1696,6 +1746,10 @@ export declare const ListProtectionGroupsRequestFilterSensitiveLog: (obj: ListPr
|
|
|
1696
1746
|
* @internal
|
|
1697
1747
|
*/
|
|
1698
1748
|
export declare const ListProtectionGroupsResponseFilterSensitiveLog: (obj: ListProtectionGroupsResponse) => any;
|
|
1749
|
+
/**
|
|
1750
|
+
* @internal
|
|
1751
|
+
*/
|
|
1752
|
+
export declare const InclusionProtectionFiltersFilterSensitiveLog: (obj: InclusionProtectionFilters) => any;
|
|
1699
1753
|
/**
|
|
1700
1754
|
* @internal
|
|
1701
1755
|
*/
|
|
@@ -609,11 +609,24 @@ export declare class InvalidPaginationTokenException extends __BaseException {
|
|
|
609
609
|
|
|
610
610
|
constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
|
|
611
611
|
}
|
|
612
|
+
|
|
613
|
+
export interface InclusionProtectionGroupFilters {
|
|
614
|
+
|
|
615
|
+
ProtectionGroupIds?: string[];
|
|
616
|
+
|
|
617
|
+
Patterns?: (ProtectionGroupPattern | string)[];
|
|
618
|
+
|
|
619
|
+
ResourceTypes?: (ProtectedResourceType | string)[];
|
|
620
|
+
|
|
621
|
+
Aggregations?: (ProtectionGroupAggregation | string)[];
|
|
622
|
+
}
|
|
612
623
|
export interface ListProtectionGroupsRequest {
|
|
613
624
|
|
|
614
625
|
NextToken?: string;
|
|
615
626
|
|
|
616
627
|
MaxResults?: number;
|
|
628
|
+
|
|
629
|
+
InclusionFilters?: InclusionProtectionGroupFilters;
|
|
617
630
|
}
|
|
618
631
|
export interface ListProtectionGroupsResponse {
|
|
619
632
|
|
|
@@ -621,11 +634,22 @@ export interface ListProtectionGroupsResponse {
|
|
|
621
634
|
|
|
622
635
|
NextToken?: string;
|
|
623
636
|
}
|
|
637
|
+
|
|
638
|
+
export interface InclusionProtectionFilters {
|
|
639
|
+
|
|
640
|
+
ResourceArns?: string[];
|
|
641
|
+
|
|
642
|
+
ProtectionNames?: string[];
|
|
643
|
+
|
|
644
|
+
ResourceTypes?: (ProtectedResourceType | string)[];
|
|
645
|
+
}
|
|
624
646
|
export interface ListProtectionsRequest {
|
|
625
647
|
|
|
626
648
|
NextToken?: string;
|
|
627
649
|
|
|
628
650
|
MaxResults?: number;
|
|
651
|
+
|
|
652
|
+
InclusionFilters?: InclusionProtectionFilters;
|
|
629
653
|
}
|
|
630
654
|
export interface ListProtectionsResponse {
|
|
631
655
|
|
|
@@ -868,10 +892,14 @@ export declare const ListAttacksRequestFilterSensitiveLog: (obj: ListAttacksRequ
|
|
|
868
892
|
|
|
869
893
|
export declare const ListAttacksResponseFilterSensitiveLog: (obj: ListAttacksResponse) => any;
|
|
870
894
|
|
|
895
|
+
export declare const InclusionProtectionGroupFiltersFilterSensitiveLog: (obj: InclusionProtectionGroupFilters) => any;
|
|
896
|
+
|
|
871
897
|
export declare const ListProtectionGroupsRequestFilterSensitiveLog: (obj: ListProtectionGroupsRequest) => any;
|
|
872
898
|
|
|
873
899
|
export declare const ListProtectionGroupsResponseFilterSensitiveLog: (obj: ListProtectionGroupsResponse) => any;
|
|
874
900
|
|
|
901
|
+
export declare const InclusionProtectionFiltersFilterSensitiveLog: (obj: InclusionProtectionFilters) => any;
|
|
902
|
+
|
|
875
903
|
export declare const ListProtectionsRequestFilterSensitiveLog: (obj: ListProtectionsRequest) => any;
|
|
876
904
|
|
|
877
905
|
export declare const ListProtectionsResponseFilterSensitiveLog: (obj: ListProtectionsResponse) => any;
|
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.142.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.142.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.142.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|