@aws-sdk/client-shield 3.408.0 → 3.409.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const A = "required", B = "type", C = "fn", D = "argv", E = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = "getAttr", g = "https://shield-fips.us-east-1.amazonaws.com", h = { [A]: false, [B]: "String" }, i = { [A]: true, "default": false, [B]: "Boolean" }, j = { [E]: "Region" }, k = { [E]: "Endpoint" }, l = {}, m = { [E]: a }, n = { "authSchemes": [{ "name": "sigv4", "signingName": "shield", "signingRegion": "us-east-1" }] }, o = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [B]: c }, p = { [c]: "FIPS is enabled but this partition does not support FIPS", [B]: c }, q = { [c]: "DualStack is enabled but this partition does not support DualStack", [B]: c }, r = { "url": "https://shield.us-east-1.amazonaws.com", "properties": n, "headers": {} }, s = [k], t = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseFIPS" }, true] }], u = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseDualStack" }, true] }], v = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseFIPS" }, true] }, { [C]: "booleanEquals", [D]: [{ [E]: "UseDualStack" }, true] }], w = [{ [C]: "booleanEquals", [D]: [true, { [C]: f, [D]: [m, "supportsFIPS"] }] }, { [C]: "booleanEquals", [D]: [true, { [C]: f, [D]: [m, "supportsDualStack"] }] }], x = [{ [C]: "booleanEquals", [D]: [true, { [C]: f, [D]: [m, "supportsFIPS"] }] }], y = [{ [C]: "booleanEquals", [D]: [true, { [C]: f, [D]: [m, "supportsDualStack"] }] }], z = [{ [C]: e, [D]: [j, "aws-global"] }];
6
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [C]: "aws.partition", [D]: [j], assign: a }], [B]: b, rules: [{ conditions: [{ [C]: "isSet", [D]: s }, { [C]: "parseURL", [D]: s, assign: "url" }], [B]: b, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [B]: c }, { [B]: b, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [B]: c }, { endpoint: { url: k, properties: l, headers: l }, [B]: d }] }] }, { conditions: [{ [C]: e, [D]: [{ [C]: f, [D]: [m, "name"] }, "aws"] }], [B]: b, rules: [{ conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ endpoint: { url: "https://shield-fips.{Region}.api.aws", properties: n, headers: l }, [B]: d }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ endpoint: { url: g, properties: n, headers: l }, [B]: d }] }, p] }, { conditions: u, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ endpoint: { url: "https://shield.{Region}.api.aws", properties: n, headers: l }, [B]: d }] }, q] }, { endpoint: r, [B]: d }] }, { conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, [B]: d }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ [B]: b, rules: [{ conditions: z, endpoint: { url: g, properties: l, headers: l }, [B]: d }, { endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, [B]: d }] }] }, p] }, { conditions: u, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ endpoint: { url: "https://shield.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, [B]: d }] }, q] }, { [B]: b, rules: [{ conditions: z, endpoint: r, [B]: d }, { endpoint: { url: "https://shield.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, [B]: d }] }] }] };
4
+ const w = "required", x = "fn", y = "argv", z = "ref";
5
+ const a = false, b = "isSet", c = "tree", d = "booleanEquals", e = "error", f = "endpoint", g = "PartitionResult", h = { [w]: false, "type": "String" }, i = { [w]: true, "default": false, "type": "Boolean" }, j = { [z]: "Endpoint" }, k = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, l = { [z]: "UseFIPS" }, m = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, n = {}, o = { [x]: "stringEquals", [y]: [{ [x]: "getAttr", [y]: [{ [z]: g }, "name"] }, "aws"] }, p = { [x]: d, [y]: [{ [z]: "UseDualStack" }, false] }, q = { "authSchemes": [{ "name": "sigv4", "signingName": "shield", "signingRegion": "us-east-1" }] }, r = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsFIPS"] }] }, s = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsDualStack"] }] }, t = [k], u = [m], v = [{ [z]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [x]: b, [y]: [j] }], type: c, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: j, properties: n, headers: n }, type: f }] }, { conditions: [{ [x]: b, [y]: v }], type: c, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], type: c, rules: [{ conditions: [o, { [x]: d, [y]: [l, a] }, p], endpoint: { url: "https://shield.us-east-1.amazonaws.com", properties: q, headers: n }, type: f }, { conditions: [o, k, p], endpoint: { url: "https://shield-fips.us-east-1.amazonaws.com", properties: q, headers: n }, type: f }, { conditions: [k, m], type: c, rules: [{ conditions: [r, s], type: c, rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: f }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }] }, { conditions: t, type: c, rules: [{ conditions: [r], type: c, rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: f }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }] }, { conditions: u, type: c, rules: [{ conditions: [s], type: c, rules: [{ endpoint: { url: "https://shield.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: f }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }] }, { endpoint: { url: "https://shield.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: f }] }] }, { error: "Invalid Configuration: Missing Region", type: e }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const A = "required", B = "type", C = "fn", D = "argv", E = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = "getAttr", g = "https://shield-fips.us-east-1.amazonaws.com", h = { [A]: false, [B]: "String" }, i = { [A]: true, "default": false, [B]: "Boolean" }, j = { [E]: "Region" }, k = { [E]: "Endpoint" }, l = {}, m = { [E]: a }, n = { "authSchemes": [{ "name": "sigv4", "signingName": "shield", "signingRegion": "us-east-1" }] }, o = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [B]: c }, p = { [c]: "FIPS is enabled but this partition does not support FIPS", [B]: c }, q = { [c]: "DualStack is enabled but this partition does not support DualStack", [B]: c }, r = { "url": "https://shield.us-east-1.amazonaws.com", "properties": n, "headers": {} }, s = [k], t = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseFIPS" }, true] }], u = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseDualStack" }, true] }], v = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseFIPS" }, true] }, { [C]: "booleanEquals", [D]: [{ [E]: "UseDualStack" }, true] }], w = [{ [C]: "booleanEquals", [D]: [true, { [C]: f, [D]: [m, "supportsFIPS"] }] }, { [C]: "booleanEquals", [D]: [true, { [C]: f, [D]: [m, "supportsDualStack"] }] }], x = [{ [C]: "booleanEquals", [D]: [true, { [C]: f, [D]: [m, "supportsFIPS"] }] }], y = [{ [C]: "booleanEquals", [D]: [true, { [C]: f, [D]: [m, "supportsDualStack"] }] }], z = [{ [C]: e, [D]: [j, "aws-global"] }];
3
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [C]: "aws.partition", [D]: [j], assign: a }], [B]: b, rules: [{ conditions: [{ [C]: "isSet", [D]: s }, { [C]: "parseURL", [D]: s, assign: "url" }], [B]: b, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [B]: c }, { [B]: b, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [B]: c }, { endpoint: { url: k, properties: l, headers: l }, [B]: d }] }] }, { conditions: [{ [C]: e, [D]: [{ [C]: f, [D]: [m, "name"] }, "aws"] }], [B]: b, rules: [{ conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ endpoint: { url: "https://shield-fips.{Region}.api.aws", properties: n, headers: l }, [B]: d }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ endpoint: { url: g, properties: n, headers: l }, [B]: d }] }, p] }, { conditions: u, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ endpoint: { url: "https://shield.{Region}.api.aws", properties: n, headers: l }, [B]: d }] }, q] }, { endpoint: r, [B]: d }] }, { conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, [B]: d }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ [B]: b, rules: [{ conditions: z, endpoint: { url: g, properties: l, headers: l }, [B]: d }, { endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, [B]: d }] }] }, p] }, { conditions: u, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ endpoint: { url: "https://shield.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, [B]: d }] }, q] }, { [B]: b, rules: [{ conditions: z, endpoint: r, [B]: d }, { endpoint: { url: "https://shield.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, [B]: d }] }] }] };
1
+ const w = "required", x = "fn", y = "argv", z = "ref";
2
+ const a = false, b = "isSet", c = "tree", d = "booleanEquals", e = "error", f = "endpoint", g = "PartitionResult", h = { [w]: false, "type": "String" }, i = { [w]: true, "default": false, "type": "Boolean" }, j = { [z]: "Endpoint" }, k = { [x]: d, [y]: [{ [z]: "UseFIPS" }, true] }, l = { [z]: "UseFIPS" }, m = { [x]: d, [y]: [{ [z]: "UseDualStack" }, true] }, n = {}, o = { [x]: "stringEquals", [y]: [{ [x]: "getAttr", [y]: [{ [z]: g }, "name"] }, "aws"] }, p = { [x]: d, [y]: [{ [z]: "UseDualStack" }, false] }, q = { "authSchemes": [{ "name": "sigv4", "signingName": "shield", "signingRegion": "us-east-1" }] }, r = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsFIPS"] }] }, s = { [x]: d, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsDualStack"] }] }, t = [k], u = [m], v = [{ [z]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [x]: b, [y]: [j] }], type: c, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: e }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: e }, { endpoint: { url: j, properties: n, headers: n }, type: f }] }, { conditions: [{ [x]: b, [y]: v }], type: c, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], type: c, rules: [{ conditions: [o, { [x]: d, [y]: [l, a] }, p], endpoint: { url: "https://shield.us-east-1.amazonaws.com", properties: q, headers: n }, type: f }, { conditions: [o, k, p], endpoint: { url: "https://shield-fips.us-east-1.amazonaws.com", properties: q, headers: n }, type: f }, { conditions: [k, m], type: c, rules: [{ conditions: [r, s], type: c, rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: f }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: e }] }, { conditions: t, type: c, rules: [{ conditions: [r], type: c, rules: [{ endpoint: { url: "https://shield-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: f }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: e }] }, { conditions: u, type: c, rules: [{ conditions: [s], type: c, rules: [{ endpoint: { url: "https://shield.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: f }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: e }] }, { endpoint: { url: "https://shield.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: f }] }] }, { error: "Invalid Configuration: Missing Region", type: e }] };
4
4
  export const ruleSet = _data;
@@ -27,7 +27,6 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse,
27
27
  * <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>
28
28
  * <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
29
29
  * <code>drt.shield.amazonaws.com</code>. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html">IAM JSON policy elements: Principal</a>.</p>
30
- *
31
30
  * <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>
32
31
  * <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>
33
32
  * <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>
@@ -32,9 +32,9 @@ export interface CreateProtectionGroupCommandOutput extends CreateProtectionGrou
32
32
  * const client = new ShieldClient(config);
33
33
  * const input = { // CreateProtectionGroupRequest
34
34
  * ProtectionGroupId: "STRING_VALUE", // required
35
- * Aggregation: "STRING_VALUE", // required
36
- * Pattern: "STRING_VALUE", // required
37
- * ResourceType: "STRING_VALUE",
35
+ * Aggregation: "SUM" || "MEAN" || "MAX", // required
36
+ * Pattern: "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE", // required
37
+ * ResourceType: "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR",
38
38
  * Members: [ // ProtectionGroupMembers
39
39
  * "STRING_VALUE",
40
40
  * ],
@@ -41,7 +41,7 @@ export interface DescribeAttackCommandOutput extends DescribeAttackResponse, __M
41
41
  * // ResourceArn: "STRING_VALUE",
42
42
  * // SubResources: [ // SubResourceSummaryList
43
43
  * // { // SubResourceSummary
44
- * // Type: "STRING_VALUE",
44
+ * // Type: "IP" || "URL",
45
45
  * // Id: "STRING_VALUE",
46
46
  * // AttackVectors: [ // SummarizedAttackVectorList
47
47
  * // { // SummarizedAttackVector
@@ -75,15 +75,15 @@ export interface DescribeAttackCommandOutput extends DescribeAttackResponse, __M
75
75
  * // AttackCounters: "<SummarizedCounterList>",
76
76
  * // AttackProperties: [ // AttackProperties
77
77
  * // { // AttackProperty
78
- * // AttackLayer: "STRING_VALUE",
79
- * // AttackPropertyIdentifier: "STRING_VALUE",
78
+ * // AttackLayer: "NETWORK" || "APPLICATION",
79
+ * // AttackPropertyIdentifier: "DESTINATION_URL" || "REFERRER" || "SOURCE_ASN" || "SOURCE_COUNTRY" || "SOURCE_IP_ADDRESS" || "SOURCE_USER_AGENT" || "WORDPRESS_PINGBACK_REFLECTOR" || "WORDPRESS_PINGBACK_SOURCE",
80
80
  * // TopContributors: [ // TopContributors
81
81
  * // { // Contributor
82
82
  * // Name: "STRING_VALUE",
83
83
  * // Value: Number("long"),
84
84
  * // },
85
85
  * // ],
86
- * // Unit: "STRING_VALUE",
86
+ * // Unit: "BITS" || "BYTES" || "PACKETS" || "REQUESTS",
87
87
  * // Total: Number("long"),
88
88
  * // },
89
89
  * // ],
@@ -46,7 +46,7 @@ export interface DescribeProtectionCommandOutput extends DescribeProtectionRespo
46
46
  * // ],
47
47
  * // ProtectionArn: "STRING_VALUE",
48
48
  * // ApplicationLayerAutomaticResponseConfiguration: { // ApplicationLayerAutomaticResponseConfiguration
49
- * // Status: "STRING_VALUE", // required
49
+ * // Status: "ENABLED" || "DISABLED", // required
50
50
  * // Action: { // ResponseAction
51
51
  * // Block: {},
52
52
  * // Count: {},
@@ -38,9 +38,9 @@ export interface DescribeProtectionGroupCommandOutput extends DescribeProtection
38
38
  * // { // DescribeProtectionGroupResponse
39
39
  * // ProtectionGroup: { // ProtectionGroup
40
40
  * // ProtectionGroupId: "STRING_VALUE", // required
41
- * // Aggregation: "STRING_VALUE", // required
42
- * // Pattern: "STRING_VALUE", // required
43
- * // ResourceType: "STRING_VALUE",
41
+ * // Aggregation: "SUM" || "MEAN" || "MAX", // required
42
+ * // Pattern: "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE", // required
43
+ * // ResourceType: "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR",
44
44
  * // Members: [ // ProtectionGroupMembers // required
45
45
  * // "STRING_VALUE",
46
46
  * // ],
@@ -38,14 +38,14 @@ export interface DescribeSubscriptionCommandOutput extends DescribeSubscriptionR
38
38
  * // StartTime: new Date("TIMESTAMP"),
39
39
  * // EndTime: new Date("TIMESTAMP"),
40
40
  * // TimeCommitmentInSeconds: Number("long"),
41
- * // AutoRenew: "STRING_VALUE",
41
+ * // AutoRenew: "ENABLED" || "DISABLED",
42
42
  * // Limits: [ // Limits
43
43
  * // { // Limit
44
44
  * // Type: "STRING_VALUE",
45
45
  * // Max: Number("long"),
46
46
  * // },
47
47
  * // ],
48
- * // ProactiveEngagementStatus: "STRING_VALUE",
48
+ * // ProactiveEngagementStatus: "ENABLED" || "DISABLED" || "PENDING",
49
49
  * // SubscriptionLimits: { // SubscriptionLimits
50
50
  * // ProtectionLimits: { // ProtectionLimits
51
51
  * // ProtectedResourceTypeLimits: [ // required
@@ -34,7 +34,7 @@ export interface GetSubscriptionStateCommandOutput extends GetSubscriptionStateR
34
34
  * const command = new GetSubscriptionStateCommand(input);
35
35
  * const response = await client.send(command);
36
36
  * // { // GetSubscriptionStateResponse
37
- * // SubscriptionState: "STRING_VALUE", // required
37
+ * // SubscriptionState: "ACTIVE" || "INACTIVE", // required
38
38
  * // };
39
39
  *
40
40
  * ```
@@ -39,13 +39,13 @@ export interface ListProtectionGroupsCommandOutput extends ListProtectionGroupsR
39
39
  * "STRING_VALUE",
40
40
  * ],
41
41
  * Patterns: [ // ProtectionGroupPatternFilters
42
- * "STRING_VALUE",
42
+ * "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE",
43
43
  * ],
44
44
  * ResourceTypes: [ // ProtectedResourceTypeFilters
45
- * "STRING_VALUE",
45
+ * "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR",
46
46
  * ],
47
47
  * Aggregations: [ // ProtectionGroupAggregationFilters
48
- * "STRING_VALUE",
48
+ * "SUM" || "MEAN" || "MAX",
49
49
  * ],
50
50
  * },
51
51
  * };
@@ -55,9 +55,9 @@ export interface ListProtectionGroupsCommandOutput extends ListProtectionGroupsR
55
55
  * // ProtectionGroups: [ // ProtectionGroups // required
56
56
  * // { // ProtectionGroup
57
57
  * // ProtectionGroupId: "STRING_VALUE", // required
58
- * // Aggregation: "STRING_VALUE", // required
59
- * // Pattern: "STRING_VALUE", // required
60
- * // ResourceType: "STRING_VALUE",
58
+ * // Aggregation: "SUM" || "MEAN" || "MAX", // required
59
+ * // Pattern: "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE", // required
60
+ * // ResourceType: "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR",
61
61
  * // Members: [ // ProtectionGroupMembers // required
62
62
  * // "STRING_VALUE",
63
63
  * // ],
@@ -42,7 +42,7 @@ export interface ListProtectionsCommandOutput extends ListProtectionsResponse, _
42
42
  * "STRING_VALUE",
43
43
  * ],
44
44
  * ResourceTypes: [ // ProtectedResourceTypeFilters
45
- * "STRING_VALUE",
45
+ * "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR",
46
46
  * ],
47
47
  * },
48
48
  * };
@@ -59,7 +59,7 @@ export interface ListProtectionsCommandOutput extends ListProtectionsResponse, _
59
59
  * // ],
60
60
  * // ProtectionArn: "STRING_VALUE",
61
61
  * // ApplicationLayerAutomaticResponseConfiguration: { // ApplicationLayerAutomaticResponseConfiguration
62
- * // Status: "STRING_VALUE", // required
62
+ * // Status: "ENABLED" || "DISABLED", // required
63
63
  * // Action: { // ResponseAction
64
64
  * // Block: {},
65
65
  * // Count: {},
@@ -32,9 +32,9 @@ export interface UpdateProtectionGroupCommandOutput extends UpdateProtectionGrou
32
32
  * const client = new ShieldClient(config);
33
33
  * const input = { // UpdateProtectionGroupRequest
34
34
  * ProtectionGroupId: "STRING_VALUE", // required
35
- * Aggregation: "STRING_VALUE", // required
36
- * Pattern: "STRING_VALUE", // required
37
- * ResourceType: "STRING_VALUE",
35
+ * Aggregation: "SUM" || "MEAN" || "MAX", // required
36
+ * Pattern: "ALL" || "ARBITRARY" || "BY_RESOURCE_TYPE", // required
37
+ * ResourceType: "CLOUDFRONT_DISTRIBUTION" || "ROUTE_53_HOSTED_ZONE" || "ELASTIC_IP_ALLOCATION" || "CLASSIC_LOAD_BALANCER" || "APPLICATION_LOAD_BALANCER" || "GLOBAL_ACCELERATOR",
38
38
  * Members: [ // ProtectionGroupMembers
39
39
  * "STRING_VALUE",
40
40
  * ],
@@ -35,7 +35,7 @@ export interface UpdateSubscriptionCommandOutput extends UpdateSubscriptionRespo
35
35
  * // const { ShieldClient, UpdateSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
36
36
  * const client = new ShieldClient(config);
37
37
  * const input = { // UpdateSubscriptionRequest
38
- * AutoRenew: "STRING_VALUE",
38
+ * AutoRenew: "ENABLED" || "DISABLED",
39
39
  * };
40
40
  * const command = new UpdateSubscriptionCommand(input);
41
41
  * const response = await client.send(command);
@@ -27,7 +27,7 @@ export declare class AccessDeniedForDependencyException extends __BaseException
27
27
  /**
28
28
  * @public
29
29
  * <p>Specifies that Shield Advanced should configure its WAF rules with the WAF <code>Block</code> action. </p>
30
- * <p>This is only used in the context of the <code>ResponseAction</code> setting. </p>
30
+ * <p>This is only used in the context of the <code>ResponseAction</code> setting. </p>
31
31
  * <p>JSON specification: <code>"Block": \{\}</code>
32
32
  * </p>
33
33
  */
@@ -36,7 +36,7 @@ export interface BlockAction {
36
36
  /**
37
37
  * @public
38
38
  * <p>Specifies that Shield Advanced should configure its WAF rules with the WAF <code>Count</code> action. </p>
39
- * <p>This is only used in the context of the <code>ResponseAction</code> setting. </p>
39
+ * <p>This is only used in the context of the <code>ResponseAction</code> setting. </p>
40
40
  * <p>JSON specification: <code>"Count": \{\}</code>
41
41
  * </p>
42
42
  */
@@ -254,7 +254,7 @@ export interface AssociateDRTRoleRequest {
254
254
  /**
255
255
  * @public
256
256
  * <p>The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.</p>
257
- * <p>Prior to making the <code>AssociateDRTRole</code> request, you must attach the <a href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy">AWSShieldDRTAccessPolicy</a> managed policy to this role. For more information see <a href=" https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html">Attaching and Detaching IAM Policies</a>.</p>
257
+ * <p>Prior to making the <code>AssociateDRTRole</code> request, you must attach the <a href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy">AWSShieldDRTAccessPolicy</a> managed policy to this role. For more information see <a href=" https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html">Attaching and Detaching IAM Policies</a>.</p>
258
258
  */
259
259
  RoleArn: string | undefined;
260
260
  }
@@ -641,7 +641,7 @@ export interface AttackVectorDescription {
641
641
  /**
642
642
  * @public
643
643
  * <p>The attack type. Valid values:</p>
644
- * <ul>
644
+ * <ul>
645
645
  * <li>
646
646
  * <p>UDP_TRAFFIC</p>
647
647
  * </li>
@@ -1534,9 +1534,9 @@ export interface ListAttacksRequest {
1534
1534
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1535
1535
  * Shield Advanced includes a <code>NextToken</code> value in the response. You can retrieve the next batch of objects by requesting the list again and
1536
1536
  * providing the token that was returned by the prior call in your request. </p>
1537
- * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1537
+ * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1538
1538
  * setting. Shield Advanced will not return more than <code>MaxResults</code> objects, but may return fewer, even if more objects are still available.</p>
1539
- * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1539
+ * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1540
1540
  * <p>On your first call to a list operation, leave this setting empty.</p>
1541
1541
  */
1542
1542
  NextToken?: string;
@@ -1563,9 +1563,9 @@ export interface ListAttacksResponse {
1563
1563
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1564
1564
  * Shield Advanced includes a <code>NextToken</code> value in the response. You can retrieve the next batch of objects by requesting the list again and
1565
1565
  * providing the token that was returned by the prior call in your request. </p>
1566
- * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1566
+ * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1567
1567
  * setting. Shield Advanced will not return more than <code>MaxResults</code> objects, but may return fewer, even if more objects are still available.</p>
1568
- * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1568
+ * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1569
1569
  */
1570
1570
  NextToken?: string;
1571
1571
  }
@@ -1616,9 +1616,9 @@ export interface ListProtectionGroupsRequest {
1616
1616
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1617
1617
  * Shield Advanced includes a <code>NextToken</code> value in the response. You can retrieve the next batch of objects by requesting the list again and
1618
1618
  * providing the token that was returned by the prior call in your request. </p>
1619
- * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1619
+ * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1620
1620
  * setting. Shield Advanced will not return more than <code>MaxResults</code> objects, but may return fewer, even if more objects are still available.</p>
1621
- * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1621
+ * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1622
1622
  * <p>On your first call to a list operation, leave this setting empty.</p>
1623
1623
  */
1624
1624
  NextToken?: string;
@@ -1650,9 +1650,9 @@ export interface ListProtectionGroupsResponse {
1650
1650
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1651
1651
  * Shield Advanced includes a <code>NextToken</code> value in the response. You can retrieve the next batch of objects by requesting the list again and
1652
1652
  * providing the token that was returned by the prior call in your request. </p>
1653
- * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1653
+ * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1654
1654
  * setting. Shield Advanced will not return more than <code>MaxResults</code> objects, but may return fewer, even if more objects are still available.</p>
1655
- * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1655
+ * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1656
1656
  */
1657
1657
  NextToken?: string;
1658
1658
  }
@@ -1686,9 +1686,9 @@ export interface ListProtectionsRequest {
1686
1686
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1687
1687
  * Shield Advanced includes a <code>NextToken</code> value in the response. You can retrieve the next batch of objects by requesting the list again and
1688
1688
  * providing the token that was returned by the prior call in your request. </p>
1689
- * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1689
+ * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1690
1690
  * setting. Shield Advanced will not return more than <code>MaxResults</code> objects, but may return fewer, even if more objects are still available.</p>
1691
- * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1691
+ * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1692
1692
  * <p>On your first call to a list operation, leave this setting empty.</p>
1693
1693
  */
1694
1694
  NextToken?: string;
@@ -1720,9 +1720,9 @@ export interface ListProtectionsResponse {
1720
1720
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1721
1721
  * Shield Advanced includes a <code>NextToken</code> value in the response. You can retrieve the next batch of objects by requesting the list again and
1722
1722
  * providing the token that was returned by the prior call in your request. </p>
1723
- * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1723
+ * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1724
1724
  * setting. Shield Advanced will not return more than <code>MaxResults</code> objects, but may return fewer, even if more objects are still available.</p>
1725
- * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1725
+ * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1726
1726
  */
1727
1727
  NextToken?: string;
1728
1728
  }
@@ -1740,9 +1740,9 @@ export interface ListResourcesInProtectionGroupRequest {
1740
1740
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1741
1741
  * Shield Advanced includes a <code>NextToken</code> value in the response. You can retrieve the next batch of objects by requesting the list again and
1742
1742
  * providing the token that was returned by the prior call in your request. </p>
1743
- * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1743
+ * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1744
1744
  * setting. Shield Advanced will not return more than <code>MaxResults</code> objects, but may return fewer, even if more objects are still available.</p>
1745
- * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1745
+ * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1746
1746
  * <p>On your first call to a list operation, leave this setting empty.</p>
1747
1747
  */
1748
1748
  NextToken?: string;
@@ -1769,9 +1769,9 @@ export interface ListResourcesInProtectionGroupResponse {
1769
1769
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1770
1770
  * Shield Advanced includes a <code>NextToken</code> value in the response. You can retrieve the next batch of objects by requesting the list again and
1771
1771
  * providing the token that was returned by the prior call in your request. </p>
1772
- * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1772
+ * <p>You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the <code>MaxResults</code>
1773
1773
  * setting. Shield Advanced will not return more than <code>MaxResults</code> objects, but may return fewer, even if more objects are still available.</p>
1774
- * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1774
+ * <p>Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a <code>NextToken</code> value.</p>
1775
1775
  */
1776
1776
  NextToken?: string;
1777
1777
  }
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.408.0",
4
+ "version": "3.409.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.408.0",
25
- "@aws-sdk/credential-provider-node": "3.408.0",
24
+ "@aws-sdk/client-sts": "3.409.0",
25
+ "@aws-sdk/credential-provider-node": "3.409.0",
26
26
  "@aws-sdk/middleware-host-header": "3.408.0",
27
27
  "@aws-sdk/middleware-logger": "3.408.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.408.0",