You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-shield/src/Shield.ts
+23-13Lines changed: 23 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ import { ShieldClient } from "./ShieldClient";
184
184
exportclassShieldextendsShieldClient{
185
185
/**
186
186
* <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>
187
-
* <p>To use the services of the SRT and make an <code>AssociateDRTLogBucket</code> request, you must be subscribed to the <a href="https://docs.aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://docs.aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
187
+
* <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>
188
188
*/
189
189
publicassociateDRTLogBucket(
190
190
args: AssociateDRTLogBucketCommandInput,
@@ -223,7 +223,7 @@ export class Shield extends ShieldClient {
223
223
*
224
224
* <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>
225
225
* <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>
226
-
* <p>To use the services of the SRT and make an <code>AssociateDRTRole</code> request, you must be subscribed to the <a href="https://docs.aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://docs.aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
226
+
* <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>
227
227
*/
228
228
publicassociateDRTRole(
229
229
args: AssociateDRTRoleCommandInput,
@@ -325,7 +325,7 @@ export class Shield extends ShieldClient {
325
325
}
326
326
327
327
/**
328
-
* <p>Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, Global Accelerator accelerator, Elastic IP Address, or an Amazon Route 53 hosted zone.</p>
328
+
* <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>
329
329
* <p>You can add protection to only a single resource with each <code>CreateProtection</code> request. You can add protection to multiple resources
330
330
* 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>.
331
331
* For more information see
@@ -395,8 +395,11 @@ export class Shield extends ShieldClient {
395
395
396
396
/**
397
397
* <p>Activates Shield Advanced for an account.</p>
398
-
*
399
-
* <p>When you initally 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>
398
+
* <note>
399
+
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
400
+
* regardless of whether the payer account itself is subscribed. </p>
401
+
* </note>
402
+
* <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>
400
403
*/
401
404
publiccreateSubscription(
402
405
args: CreateSubscriptionCommandInput,
@@ -752,7 +755,7 @@ export class Shield extends ShieldClient {
752
755
}
753
756
754
757
/**
755
-
* <p>Disable the Shield Advanced automatic application layer DDoS mitigation feature for the resource. This
758
+
* <p>Disable the Shield Advanced automatic application layer DDoS mitigation feature for the protected resource. This
756
759
* stops Shield Advanced from creating, verifying, and applying WAF rules for attacks that it detects for the resource. </p>
757
760
*/
758
761
publicdisableApplicationLayerAutomaticResponse(
@@ -916,19 +919,20 @@ export class Shield extends ShieldClient {
916
919
}
917
920
918
921
/**
919
-
* <p>Enable the Shield Advanced automatic application layer DDoS mitigation for the resource. </p>
922
+
* <p>Enable the Shield Advanced automatic application layer DDoS mitigation for the protected resource. </p>
920
923
* <note>
921
-
* <p>This feature is available for Amazon CloudFront distributions only.</p>
924
+
* <p>This feature is available for Amazon CloudFront distributions and Application Load Balancers only.</p>
922
925
* </note>
923
926
* <p>This causes Shield Advanced to create, verify, and apply WAF rules for DDoS attacks that it detects for the
924
927
* resource. Shield Advanced applies the rules in a Shield rule group inside the web ACL that you've associated
925
928
* with the resource. For information about how automatic mitigation works and the requirements for using it, see
* <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>
930
+
* <note>
931
+
* <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>
932
+
* </note>
928
933
* <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
929
934
* at <a href="https://console.aws.amazon.com/wafv2/shieldv2#/">https://console.aws.amazon.com/wafv2/shieldv2#/</a>. For more information,
930
-
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html">Getting Started with Shield Advanced</a>.</p>
931
-
* <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
935
+
* 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
@@ -1054,7 +1058,8 @@ export class Shield extends ShieldClient {
1054
1058
}
1055
1059
1056
1060
/**
1057
-
* <p>Retrieves the <a>ProtectionGroup</a> objects for the account.</p>
1061
+
* <p>Retrieves <a>ProtectionGroup</a> objects for the account. You can retrieve all protection groups or you can provide
1062
+
* filtering criteria and retrieve just the subset of protection groups that match the criteria. </p>
1058
1063
*/
1059
1064
publiclistProtectionGroups(
1060
1065
args: ListProtectionGroupsCommandInput,
@@ -1086,7 +1091,8 @@ export class Shield extends ShieldClient {
1086
1091
}
1087
1092
1088
1093
/**
1089
-
* <p>Lists all <a>Protection</a> objects for the account.</p>
1094
+
* <p>Retrieves <a>Protection</a> objects for the account. You can retrieve all protections or you can provide
1095
+
* filtering criteria and retrieve just the subset of protections that match the criteria. </p>
1090
1096
*/
1091
1097
publiclistProtections(
1092
1098
args: ListProtectionsCommandInput,
@@ -1339,6 +1345,10 @@ export class Shield extends ShieldClient {
1339
1345
1340
1346
/**
1341
1347
* <p>Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.</p>
1348
+
* <note>
1349
+
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
1350
+
* regardless of whether the payer account itself is subscribed. </p>
* <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>
32
-
* <p>To use the services of the SRT and make an <code>AssociateDRTLogBucket</code> request, you must be subscribed to the <a href="https://docs.aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://docs.aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
32
+
* <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>
33
33
* @example
34
34
* Use a bare-bones client and the command you need to make an API call.
* <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>
37
37
* <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>
38
-
* <p>To use the services of the SRT and make an <code>AssociateDRTRole</code> request, you must be subscribed to the <a href="https://docs.aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://docs.aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
38
+
* <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>
39
39
* @example
40
40
* Use a bare-bones client and the command you need to make an API call.
* <p>Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, Global Accelerator accelerator, Elastic IP Address, or an Amazon Route 53 hosted zone.</p>
31
+
* <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>
32
32
* <p>You can add protection to only a single resource with each <code>CreateProtection</code> request. You can add protection to multiple resources
33
33
* 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>.
* <p>Activates Shield Advanced for an account.</p>
32
-
*
33
-
* <p>When you initally 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>
32
+
* <note>
33
+
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
34
+
* regardless of whether the payer account itself is subscribed. </p>
35
+
* </note>
36
+
* <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>
34
37
* @example
35
38
* Use a bare-bones client and the command you need to make an API call.
* <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>
42
+
* <note>
43
+
* <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>
44
+
* </note>
43
45
* <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
44
46
* at <a href="https://console.aws.amazon.com/wafv2/shieldv2#/">https://console.aws.amazon.com/wafv2/shieldv2#/</a>. For more information,
45
-
* see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html">Getting Started with Shield Advanced</a>.</p>
46
-
* <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
47
+
* 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
* <p>Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.</p>
32
+
* <note>
33
+
* <p>For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account,
34
+
* regardless of whether the payer account itself is subscribed. </p>
35
+
* </note>
32
36
* @example
33
37
* Use a bare-bones client and the command you need to make an API call.
0 commit comments