@aws-sdk/client-shield 3.300.0 → 3.303.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.
Files changed (31) hide show
  1. package/dist-cjs/models/models_0.js +63 -75
  2. package/dist-es/models/models_0.js +63 -75
  3. package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +1 -1
  4. package/dist-types/commands/AssociateDRTRoleCommand.d.ts +1 -1
  5. package/dist-types/commands/AssociateHealthCheckCommand.d.ts +1 -1
  6. package/dist-types/commands/AssociateProactiveEngagementDetailsCommand.d.ts +3 -3
  7. package/dist-types/commands/CreateProtectionCommand.d.ts +3 -3
  8. package/dist-types/commands/CreateProtectionGroupCommand.d.ts +4 -4
  9. package/dist-types/commands/DeleteProtectionCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteProtectionGroupCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeAttackCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeProtectionCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeProtectionGroupCommand.d.ts +1 -1
  14. package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +1 -1
  15. package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +1 -1
  16. package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +1 -1
  17. package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +2 -2
  18. package/dist-types/commands/ListAttacksCommand.d.ts +3 -3
  19. package/dist-types/commands/ListProtectionGroupsCommand.d.ts +6 -6
  20. package/dist-types/commands/ListProtectionsCommand.d.ts +5 -5
  21. package/dist-types/commands/ListResourcesInProtectionGroupCommand.d.ts +1 -1
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  23. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  24. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  25. package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +2 -2
  26. package/dist-types/commands/UpdateEmergencyContactSettingsCommand.d.ts +3 -3
  27. package/dist-types/commands/UpdateProtectionGroupCommand.d.ts +2 -2
  28. package/dist-types/commands/UpdateSubscriptionCommand.d.ts +1 -1
  29. package/dist-types/models/models_0.d.ts +123 -63
  30. package/dist-types/ts3.4/models/models_0.d.ts +84 -63
  31. package/package.json +34 -34
@@ -28,11 +28,10 @@ class AccessDeniedForDependencyException extends ShieldServiceException_1.Shield
28
28
  }
29
29
  }
30
30
  exports.AccessDeniedForDependencyException = AccessDeniedForDependencyException;
31
- var ApplicationLayerAutomaticResponseStatus;
32
- (function (ApplicationLayerAutomaticResponseStatus) {
33
- ApplicationLayerAutomaticResponseStatus["DISABLED"] = "DISABLED";
34
- ApplicationLayerAutomaticResponseStatus["ENABLED"] = "ENABLED";
35
- })(ApplicationLayerAutomaticResponseStatus = exports.ApplicationLayerAutomaticResponseStatus || (exports.ApplicationLayerAutomaticResponseStatus = {}));
31
+ exports.ApplicationLayerAutomaticResponseStatus = {
32
+ DISABLED: "DISABLED",
33
+ ENABLED: "ENABLED",
34
+ };
36
35
  class InternalErrorException extends ShieldServiceException_1.ShieldServiceException {
37
36
  constructor(opts) {
38
37
  super({
@@ -59,11 +58,10 @@ class InvalidOperationException extends ShieldServiceException_1.ShieldServiceEx
59
58
  }
60
59
  }
61
60
  exports.InvalidOperationException = InvalidOperationException;
62
- var ValidationExceptionReason;
63
- (function (ValidationExceptionReason) {
64
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
65
- ValidationExceptionReason["OTHER"] = "OTHER";
66
- })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
61
+ exports.ValidationExceptionReason = {
62
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
63
+ OTHER: "OTHER",
64
+ };
67
65
  class InvalidParameterException extends ShieldServiceException_1.ShieldServiceException {
68
66
  constructor(opts) {
69
67
  super({
@@ -147,39 +145,34 @@ class InvalidResourceException extends ShieldServiceException_1.ShieldServiceExc
147
145
  }
148
146
  }
149
147
  exports.InvalidResourceException = InvalidResourceException;
150
- var AttackLayer;
151
- (function (AttackLayer) {
152
- AttackLayer["APPLICATION"] = "APPLICATION";
153
- AttackLayer["NETWORK"] = "NETWORK";
154
- })(AttackLayer = exports.AttackLayer || (exports.AttackLayer = {}));
155
- var AttackPropertyIdentifier;
156
- (function (AttackPropertyIdentifier) {
157
- AttackPropertyIdentifier["DESTINATION_URL"] = "DESTINATION_URL";
158
- AttackPropertyIdentifier["REFERRER"] = "REFERRER";
159
- AttackPropertyIdentifier["SOURCE_ASN"] = "SOURCE_ASN";
160
- AttackPropertyIdentifier["SOURCE_COUNTRY"] = "SOURCE_COUNTRY";
161
- AttackPropertyIdentifier["SOURCE_IP_ADDRESS"] = "SOURCE_IP_ADDRESS";
162
- AttackPropertyIdentifier["SOURCE_USER_AGENT"] = "SOURCE_USER_AGENT";
163
- AttackPropertyIdentifier["WORDPRESS_PINGBACK_REFLECTOR"] = "WORDPRESS_PINGBACK_REFLECTOR";
164
- AttackPropertyIdentifier["WORDPRESS_PINGBACK_SOURCE"] = "WORDPRESS_PINGBACK_SOURCE";
165
- })(AttackPropertyIdentifier = exports.AttackPropertyIdentifier || (exports.AttackPropertyIdentifier = {}));
166
- var Unit;
167
- (function (Unit) {
168
- Unit["BITS"] = "BITS";
169
- Unit["BYTES"] = "BYTES";
170
- Unit["PACKETS"] = "PACKETS";
171
- Unit["REQUESTS"] = "REQUESTS";
172
- })(Unit = exports.Unit || (exports.Unit = {}));
173
- var SubResourceType;
174
- (function (SubResourceType) {
175
- SubResourceType["IP"] = "IP";
176
- SubResourceType["URL"] = "URL";
177
- })(SubResourceType = exports.SubResourceType || (exports.SubResourceType = {}));
178
- var AutoRenew;
179
- (function (AutoRenew) {
180
- AutoRenew["DISABLED"] = "DISABLED";
181
- AutoRenew["ENABLED"] = "ENABLED";
182
- })(AutoRenew = exports.AutoRenew || (exports.AutoRenew = {}));
148
+ exports.AttackLayer = {
149
+ APPLICATION: "APPLICATION",
150
+ NETWORK: "NETWORK",
151
+ };
152
+ exports.AttackPropertyIdentifier = {
153
+ DESTINATION_URL: "DESTINATION_URL",
154
+ REFERRER: "REFERRER",
155
+ SOURCE_ASN: "SOURCE_ASN",
156
+ SOURCE_COUNTRY: "SOURCE_COUNTRY",
157
+ SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",
158
+ SOURCE_USER_AGENT: "SOURCE_USER_AGENT",
159
+ WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",
160
+ WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",
161
+ };
162
+ exports.Unit = {
163
+ BITS: "BITS",
164
+ BYTES: "BYTES",
165
+ PACKETS: "PACKETS",
166
+ REQUESTS: "REQUESTS",
167
+ };
168
+ exports.SubResourceType = {
169
+ IP: "IP",
170
+ URL: "URL",
171
+ };
172
+ exports.AutoRenew = {
173
+ DISABLED: "DISABLED",
174
+ ENABLED: "ENABLED",
175
+ };
183
176
  class ResourceAlreadyExistsException extends ShieldServiceException_1.ShieldServiceException {
184
177
  constructor(opts) {
185
178
  super({
@@ -194,27 +187,24 @@ class ResourceAlreadyExistsException extends ShieldServiceException_1.ShieldServ
194
187
  }
195
188
  }
196
189
  exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
197
- var ProtectionGroupAggregation;
198
- (function (ProtectionGroupAggregation) {
199
- ProtectionGroupAggregation["MAX"] = "MAX";
200
- ProtectionGroupAggregation["MEAN"] = "MEAN";
201
- ProtectionGroupAggregation["SUM"] = "SUM";
202
- })(ProtectionGroupAggregation = exports.ProtectionGroupAggregation || (exports.ProtectionGroupAggregation = {}));
203
- var ProtectionGroupPattern;
204
- (function (ProtectionGroupPattern) {
205
- ProtectionGroupPattern["ALL"] = "ALL";
206
- ProtectionGroupPattern["ARBITRARY"] = "ARBITRARY";
207
- ProtectionGroupPattern["BY_RESOURCE_TYPE"] = "BY_RESOURCE_TYPE";
208
- })(ProtectionGroupPattern = exports.ProtectionGroupPattern || (exports.ProtectionGroupPattern = {}));
209
- var ProtectedResourceType;
210
- (function (ProtectedResourceType) {
211
- ProtectedResourceType["APPLICATION_LOAD_BALANCER"] = "APPLICATION_LOAD_BALANCER";
212
- ProtectedResourceType["CLASSIC_LOAD_BALANCER"] = "CLASSIC_LOAD_BALANCER";
213
- ProtectedResourceType["CLOUDFRONT_DISTRIBUTION"] = "CLOUDFRONT_DISTRIBUTION";
214
- ProtectedResourceType["ELASTIC_IP_ALLOCATION"] = "ELASTIC_IP_ALLOCATION";
215
- ProtectedResourceType["GLOBAL_ACCELERATOR"] = "GLOBAL_ACCELERATOR";
216
- ProtectedResourceType["ROUTE_53_HOSTED_ZONE"] = "ROUTE_53_HOSTED_ZONE";
217
- })(ProtectedResourceType = exports.ProtectedResourceType || (exports.ProtectedResourceType = {}));
190
+ exports.ProtectionGroupAggregation = {
191
+ MAX: "MAX",
192
+ MEAN: "MEAN",
193
+ SUM: "SUM",
194
+ };
195
+ exports.ProtectionGroupPattern = {
196
+ ALL: "ALL",
197
+ ARBITRARY: "ARBITRARY",
198
+ BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",
199
+ };
200
+ exports.ProtectedResourceType = {
201
+ APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
202
+ CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",
203
+ CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
204
+ ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",
205
+ GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",
206
+ ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",
207
+ };
218
208
  class LockedSubscriptionException extends ShieldServiceException_1.ShieldServiceException {
219
209
  constructor(opts) {
220
210
  super({
@@ -228,17 +218,15 @@ class LockedSubscriptionException extends ShieldServiceException_1.ShieldService
228
218
  }
229
219
  }
230
220
  exports.LockedSubscriptionException = LockedSubscriptionException;
231
- var ProactiveEngagementStatus;
232
- (function (ProactiveEngagementStatus) {
233
- ProactiveEngagementStatus["DISABLED"] = "DISABLED";
234
- ProactiveEngagementStatus["ENABLED"] = "ENABLED";
235
- ProactiveEngagementStatus["PENDING"] = "PENDING";
236
- })(ProactiveEngagementStatus = exports.ProactiveEngagementStatus || (exports.ProactiveEngagementStatus = {}));
237
- var SubscriptionState;
238
- (function (SubscriptionState) {
239
- SubscriptionState["ACTIVE"] = "ACTIVE";
240
- SubscriptionState["INACTIVE"] = "INACTIVE";
241
- })(SubscriptionState = exports.SubscriptionState || (exports.SubscriptionState = {}));
221
+ exports.ProactiveEngagementStatus = {
222
+ DISABLED: "DISABLED",
223
+ ENABLED: "ENABLED",
224
+ PENDING: "PENDING",
225
+ };
226
+ exports.SubscriptionState = {
227
+ ACTIVE: "ACTIVE",
228
+ INACTIVE: "INACTIVE",
229
+ };
242
230
  class InvalidPaginationTokenException extends ShieldServiceException_1.ShieldServiceException {
243
231
  constructor(opts) {
244
232
  super({
@@ -23,11 +23,10 @@ export class AccessDeniedForDependencyException extends __BaseException {
23
23
  Object.setPrototypeOf(this, AccessDeniedForDependencyException.prototype);
24
24
  }
25
25
  }
26
- export var ApplicationLayerAutomaticResponseStatus;
27
- (function (ApplicationLayerAutomaticResponseStatus) {
28
- ApplicationLayerAutomaticResponseStatus["DISABLED"] = "DISABLED";
29
- ApplicationLayerAutomaticResponseStatus["ENABLED"] = "ENABLED";
30
- })(ApplicationLayerAutomaticResponseStatus || (ApplicationLayerAutomaticResponseStatus = {}));
26
+ export const ApplicationLayerAutomaticResponseStatus = {
27
+ DISABLED: "DISABLED",
28
+ ENABLED: "ENABLED",
29
+ };
31
30
  export class InternalErrorException extends __BaseException {
32
31
  constructor(opts) {
33
32
  super({
@@ -52,11 +51,10 @@ export class InvalidOperationException extends __BaseException {
52
51
  Object.setPrototypeOf(this, InvalidOperationException.prototype);
53
52
  }
54
53
  }
55
- export var ValidationExceptionReason;
56
- (function (ValidationExceptionReason) {
57
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
58
- ValidationExceptionReason["OTHER"] = "OTHER";
59
- })(ValidationExceptionReason || (ValidationExceptionReason = {}));
54
+ export const ValidationExceptionReason = {
55
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
56
+ OTHER: "OTHER",
57
+ };
60
58
  export class InvalidParameterException extends __BaseException {
61
59
  constructor(opts) {
62
60
  super({
@@ -134,39 +132,34 @@ export class InvalidResourceException extends __BaseException {
134
132
  Object.setPrototypeOf(this, InvalidResourceException.prototype);
135
133
  }
136
134
  }
137
- export var AttackLayer;
138
- (function (AttackLayer) {
139
- AttackLayer["APPLICATION"] = "APPLICATION";
140
- AttackLayer["NETWORK"] = "NETWORK";
141
- })(AttackLayer || (AttackLayer = {}));
142
- export var AttackPropertyIdentifier;
143
- (function (AttackPropertyIdentifier) {
144
- AttackPropertyIdentifier["DESTINATION_URL"] = "DESTINATION_URL";
145
- AttackPropertyIdentifier["REFERRER"] = "REFERRER";
146
- AttackPropertyIdentifier["SOURCE_ASN"] = "SOURCE_ASN";
147
- AttackPropertyIdentifier["SOURCE_COUNTRY"] = "SOURCE_COUNTRY";
148
- AttackPropertyIdentifier["SOURCE_IP_ADDRESS"] = "SOURCE_IP_ADDRESS";
149
- AttackPropertyIdentifier["SOURCE_USER_AGENT"] = "SOURCE_USER_AGENT";
150
- AttackPropertyIdentifier["WORDPRESS_PINGBACK_REFLECTOR"] = "WORDPRESS_PINGBACK_REFLECTOR";
151
- AttackPropertyIdentifier["WORDPRESS_PINGBACK_SOURCE"] = "WORDPRESS_PINGBACK_SOURCE";
152
- })(AttackPropertyIdentifier || (AttackPropertyIdentifier = {}));
153
- export var Unit;
154
- (function (Unit) {
155
- Unit["BITS"] = "BITS";
156
- Unit["BYTES"] = "BYTES";
157
- Unit["PACKETS"] = "PACKETS";
158
- Unit["REQUESTS"] = "REQUESTS";
159
- })(Unit || (Unit = {}));
160
- export var SubResourceType;
161
- (function (SubResourceType) {
162
- SubResourceType["IP"] = "IP";
163
- SubResourceType["URL"] = "URL";
164
- })(SubResourceType || (SubResourceType = {}));
165
- export var AutoRenew;
166
- (function (AutoRenew) {
167
- AutoRenew["DISABLED"] = "DISABLED";
168
- AutoRenew["ENABLED"] = "ENABLED";
169
- })(AutoRenew || (AutoRenew = {}));
135
+ export const AttackLayer = {
136
+ APPLICATION: "APPLICATION",
137
+ NETWORK: "NETWORK",
138
+ };
139
+ export const AttackPropertyIdentifier = {
140
+ DESTINATION_URL: "DESTINATION_URL",
141
+ REFERRER: "REFERRER",
142
+ SOURCE_ASN: "SOURCE_ASN",
143
+ SOURCE_COUNTRY: "SOURCE_COUNTRY",
144
+ SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS",
145
+ SOURCE_USER_AGENT: "SOURCE_USER_AGENT",
146
+ WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR",
147
+ WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE",
148
+ };
149
+ export const Unit = {
150
+ BITS: "BITS",
151
+ BYTES: "BYTES",
152
+ PACKETS: "PACKETS",
153
+ REQUESTS: "REQUESTS",
154
+ };
155
+ export const SubResourceType = {
156
+ IP: "IP",
157
+ URL: "URL",
158
+ };
159
+ export const AutoRenew = {
160
+ DISABLED: "DISABLED",
161
+ ENABLED: "ENABLED",
162
+ };
170
163
  export class ResourceAlreadyExistsException extends __BaseException {
171
164
  constructor(opts) {
172
165
  super({
@@ -180,27 +173,24 @@ export class ResourceAlreadyExistsException extends __BaseException {
180
173
  this.resourceType = opts.resourceType;
181
174
  }
182
175
  }
183
- export var ProtectionGroupAggregation;
184
- (function (ProtectionGroupAggregation) {
185
- ProtectionGroupAggregation["MAX"] = "MAX";
186
- ProtectionGroupAggregation["MEAN"] = "MEAN";
187
- ProtectionGroupAggregation["SUM"] = "SUM";
188
- })(ProtectionGroupAggregation || (ProtectionGroupAggregation = {}));
189
- export var ProtectionGroupPattern;
190
- (function (ProtectionGroupPattern) {
191
- ProtectionGroupPattern["ALL"] = "ALL";
192
- ProtectionGroupPattern["ARBITRARY"] = "ARBITRARY";
193
- ProtectionGroupPattern["BY_RESOURCE_TYPE"] = "BY_RESOURCE_TYPE";
194
- })(ProtectionGroupPattern || (ProtectionGroupPattern = {}));
195
- export var ProtectedResourceType;
196
- (function (ProtectedResourceType) {
197
- ProtectedResourceType["APPLICATION_LOAD_BALANCER"] = "APPLICATION_LOAD_BALANCER";
198
- ProtectedResourceType["CLASSIC_LOAD_BALANCER"] = "CLASSIC_LOAD_BALANCER";
199
- ProtectedResourceType["CLOUDFRONT_DISTRIBUTION"] = "CLOUDFRONT_DISTRIBUTION";
200
- ProtectedResourceType["ELASTIC_IP_ALLOCATION"] = "ELASTIC_IP_ALLOCATION";
201
- ProtectedResourceType["GLOBAL_ACCELERATOR"] = "GLOBAL_ACCELERATOR";
202
- ProtectedResourceType["ROUTE_53_HOSTED_ZONE"] = "ROUTE_53_HOSTED_ZONE";
203
- })(ProtectedResourceType || (ProtectedResourceType = {}));
176
+ export const ProtectionGroupAggregation = {
177
+ MAX: "MAX",
178
+ MEAN: "MEAN",
179
+ SUM: "SUM",
180
+ };
181
+ export const ProtectionGroupPattern = {
182
+ ALL: "ALL",
183
+ ARBITRARY: "ARBITRARY",
184
+ BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE",
185
+ };
186
+ export const ProtectedResourceType = {
187
+ APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
188
+ CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER",
189
+ CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
190
+ ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION",
191
+ GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR",
192
+ ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE",
193
+ };
204
194
  export class LockedSubscriptionException extends __BaseException {
205
195
  constructor(opts) {
206
196
  super({
@@ -213,17 +203,15 @@ export class LockedSubscriptionException extends __BaseException {
213
203
  Object.setPrototypeOf(this, LockedSubscriptionException.prototype);
214
204
  }
215
205
  }
216
- export var ProactiveEngagementStatus;
217
- (function (ProactiveEngagementStatus) {
218
- ProactiveEngagementStatus["DISABLED"] = "DISABLED";
219
- ProactiveEngagementStatus["ENABLED"] = "ENABLED";
220
- ProactiveEngagementStatus["PENDING"] = "PENDING";
221
- })(ProactiveEngagementStatus || (ProactiveEngagementStatus = {}));
222
- export var SubscriptionState;
223
- (function (SubscriptionState) {
224
- SubscriptionState["ACTIVE"] = "ACTIVE";
225
- SubscriptionState["INACTIVE"] = "INACTIVE";
226
- })(SubscriptionState || (SubscriptionState = {}));
206
+ export const ProactiveEngagementStatus = {
207
+ DISABLED: "DISABLED",
208
+ ENABLED: "ENABLED",
209
+ PENDING: "PENDING",
210
+ };
211
+ export const SubscriptionState = {
212
+ ACTIVE: "ACTIVE",
213
+ INACTIVE: "INACTIVE",
214
+ };
227
215
  export class InvalidPaginationTokenException extends __BaseException {
228
216
  constructor(opts) {
229
217
  super({
@@ -27,7 +27,7 @@ export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucke
27
27
  * import { ShieldClient, AssociateDRTLogBucketCommand } from "@aws-sdk/client-shield"; // ES Modules import
28
28
  * // const { ShieldClient, AssociateDRTLogBucketCommand } = require("@aws-sdk/client-shield"); // CommonJS import
29
29
  * const client = new ShieldClient(config);
30
- * const input = {
30
+ * const input = { // AssociateDRTLogBucketRequest
31
31
  * LogBucket: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new AssociateDRTLogBucketCommand(input);
@@ -33,7 +33,7 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse,
33
33
  * import { ShieldClient, AssociateDRTRoleCommand } from "@aws-sdk/client-shield"; // ES Modules import
34
34
  * // const { ShieldClient, AssociateDRTRoleCommand } = require("@aws-sdk/client-shield"); // CommonJS import
35
35
  * const client = new ShieldClient(config);
36
- * const input = {
36
+ * const input = { // AssociateDRTRoleRequest
37
37
  * RoleArn: "STRING_VALUE", // required
38
38
  * };
39
39
  * const command = new AssociateDRTRoleCommand(input);
@@ -27,7 +27,7 @@ export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckR
27
27
  * import { ShieldClient, AssociateHealthCheckCommand } from "@aws-sdk/client-shield"; // ES Modules import
28
28
  * // const { ShieldClient, AssociateHealthCheckCommand } = require("@aws-sdk/client-shield"); // CommonJS import
29
29
  * const client = new ShieldClient(config);
30
- * const input = {
30
+ * const input = { // AssociateHealthCheckRequest
31
31
  * ProtectionId: "STRING_VALUE", // required
32
32
  * HealthCheckArn: "STRING_VALUE", // required
33
33
  * };
@@ -31,9 +31,9 @@ export interface AssociateProactiveEngagementDetailsCommandOutput extends Associ
31
31
  * import { ShieldClient, AssociateProactiveEngagementDetailsCommand } from "@aws-sdk/client-shield"; // ES Modules import
32
32
  * // const { ShieldClient, AssociateProactiveEngagementDetailsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
33
33
  * const client = new ShieldClient(config);
34
- * const input = {
35
- * EmergencyContactList: [ // required
36
- * {
34
+ * const input = { // AssociateProactiveEngagementDetailsRequest
35
+ * EmergencyContactList: [ // EmergencyContactList // required
36
+ * { // EmergencyContact
37
37
  * EmailAddress: "STRING_VALUE", // required
38
38
  * PhoneNumber: "STRING_VALUE",
39
39
  * ContactNotes: "STRING_VALUE",
@@ -31,11 +31,11 @@ export interface CreateProtectionCommandOutput extends CreateProtectionResponse,
31
31
  * import { ShieldClient, CreateProtectionCommand } from "@aws-sdk/client-shield"; // ES Modules import
32
32
  * // const { ShieldClient, CreateProtectionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
33
33
  * const client = new ShieldClient(config);
34
- * const input = {
34
+ * const input = { // CreateProtectionRequest
35
35
  * Name: "STRING_VALUE", // required
36
36
  * ResourceArn: "STRING_VALUE", // required
37
- * Tags: [
38
- * {
37
+ * Tags: [ // TagList
38
+ * { // Tag
39
39
  * Key: "STRING_VALUE",
40
40
  * Value: "STRING_VALUE",
41
41
  * },
@@ -26,16 +26,16 @@ export interface CreateProtectionGroupCommandOutput extends CreateProtectionGrou
26
26
  * import { ShieldClient, CreateProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, CreateProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // CreateProtectionGroupRequest
30
30
  * ProtectionGroupId: "STRING_VALUE", // required
31
31
  * Aggregation: "STRING_VALUE", // required
32
32
  * Pattern: "STRING_VALUE", // required
33
33
  * ResourceType: "STRING_VALUE",
34
- * Members: [
34
+ * Members: [ // ProtectionGroupMembers
35
35
  * "STRING_VALUE",
36
36
  * ],
37
- * Tags: [
38
- * {
37
+ * Tags: [ // TagList
38
+ * { // Tag
39
39
  * Key: "STRING_VALUE",
40
40
  * Value: "STRING_VALUE",
41
41
  * },
@@ -26,7 +26,7 @@ export interface DeleteProtectionCommandOutput extends DeleteProtectionResponse,
26
26
  * import { ShieldClient, DeleteProtectionCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DeleteProtectionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // DeleteProtectionRequest
30
30
  * ProtectionId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteProtectionCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteProtectionGroupCommandOutput extends DeleteProtectionGrou
26
26
  * import { ShieldClient, DeleteProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DeleteProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // DeleteProtectionGroupRequest
30
30
  * ProtectionGroupId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteProtectionGroupCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeAttackCommandOutput extends DescribeAttackResponse, __M
26
26
  * import { ShieldClient, DescribeAttackCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DescribeAttackCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // DescribeAttackRequest
30
30
  * AttackId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeAttackCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeProtectionCommandOutput extends DescribeProtectionRespo
26
26
  * import { ShieldClient, DescribeProtectionCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DescribeProtectionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // DescribeProtectionRequest
30
30
  * ProtectionId: "STRING_VALUE",
31
31
  * ResourceArn: "STRING_VALUE",
32
32
  * };
@@ -26,7 +26,7 @@ export interface DescribeProtectionGroupCommandOutput extends DescribeProtection
26
26
  * import { ShieldClient, DescribeProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DescribeProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // DescribeProtectionGroupRequest
30
30
  * ProtectionGroupId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DescribeProtectionGroupCommand(input);
@@ -27,7 +27,7 @@ export interface DisableApplicationLayerAutomaticResponseCommandOutput extends D
27
27
  * import { ShieldClient, DisableApplicationLayerAutomaticResponseCommand } from "@aws-sdk/client-shield"; // ES Modules import
28
28
  * // const { ShieldClient, DisableApplicationLayerAutomaticResponseCommand } = require("@aws-sdk/client-shield"); // CommonJS import
29
29
  * const client = new ShieldClient(config);
30
- * const input = {
30
+ * const input = { // DisableApplicationLayerAutomaticResponseRequest
31
31
  * ResourceArn: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DisableApplicationLayerAutomaticResponseCommand(input);
@@ -26,7 +26,7 @@ export interface DisassociateDRTLogBucketCommandOutput extends DisassociateDRTLo
26
26
  * import { ShieldClient, DisassociateDRTLogBucketCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, DisassociateDRTLogBucketCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // DisassociateDRTLogBucketRequest
30
30
  * LogBucket: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DisassociateDRTLogBucketCommand(input);
@@ -27,7 +27,7 @@ export interface DisassociateHealthCheckCommandOutput extends DisassociateHealth
27
27
  * import { ShieldClient, DisassociateHealthCheckCommand } from "@aws-sdk/client-shield"; // ES Modules import
28
28
  * // const { ShieldClient, DisassociateHealthCheckCommand } = require("@aws-sdk/client-shield"); // CommonJS import
29
29
  * const client = new ShieldClient(config);
30
- * const input = {
30
+ * const input = { // DisassociateHealthCheckRequest
31
31
  * ProtectionId: "STRING_VALUE", // required
32
32
  * HealthCheckArn: "STRING_VALUE", // required
33
33
  * };
@@ -40,9 +40,9 @@ export interface EnableApplicationLayerAutomaticResponseCommandOutput extends En
40
40
  * import { ShieldClient, EnableApplicationLayerAutomaticResponseCommand } from "@aws-sdk/client-shield"; // ES Modules import
41
41
  * // const { ShieldClient, EnableApplicationLayerAutomaticResponseCommand } = require("@aws-sdk/client-shield"); // CommonJS import
42
42
  * const client = new ShieldClient(config);
43
- * const input = {
43
+ * const input = { // EnableApplicationLayerAutomaticResponseRequest
44
44
  * ResourceArn: "STRING_VALUE", // required
45
- * Action: {
45
+ * Action: { // ResponseAction
46
46
  * Block: {},
47
47
  * Count: {},
48
48
  * },
@@ -27,11 +27,11 @@ export interface ListAttacksCommandOutput extends ListAttacksResponse, __Metadat
27
27
  * import { ShieldClient, ListAttacksCommand } from "@aws-sdk/client-shield"; // ES Modules import
28
28
  * // const { ShieldClient, ListAttacksCommand } = require("@aws-sdk/client-shield"); // CommonJS import
29
29
  * const client = new ShieldClient(config);
30
- * const input = {
31
- * ResourceArns: [
30
+ * const input = { // ListAttacksRequest
31
+ * ResourceArns: [ // ResourceArnFilterList
32
32
  * "STRING_VALUE",
33
33
  * ],
34
- * StartTime: {
34
+ * StartTime: { // TimeRange
35
35
  * FromInclusive: new Date("TIMESTAMP"),
36
36
  * ToExclusive: new Date("TIMESTAMP"),
37
37
  * },
@@ -27,20 +27,20 @@ export interface ListProtectionGroupsCommandOutput extends ListProtectionGroupsR
27
27
  * import { ShieldClient, ListProtectionGroupsCommand } from "@aws-sdk/client-shield"; // ES Modules import
28
28
  * // const { ShieldClient, ListProtectionGroupsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
29
29
  * const client = new ShieldClient(config);
30
- * const input = {
30
+ * const input = { // ListProtectionGroupsRequest
31
31
  * NextToken: "STRING_VALUE",
32
32
  * MaxResults: Number("int"),
33
- * InclusionFilters: {
34
- * ProtectionGroupIds: [
33
+ * InclusionFilters: { // InclusionProtectionGroupFilters
34
+ * ProtectionGroupIds: [ // ProtectionGroupIdFilters
35
35
  * "STRING_VALUE",
36
36
  * ],
37
- * Patterns: [
37
+ * Patterns: [ // ProtectionGroupPatternFilters
38
38
  * "STRING_VALUE",
39
39
  * ],
40
- * ResourceTypes: [
40
+ * ResourceTypes: [ // ProtectedResourceTypeFilters
41
41
  * "STRING_VALUE",
42
42
  * ],
43
- * Aggregations: [
43
+ * Aggregations: [ // ProtectionGroupAggregationFilters
44
44
  * "STRING_VALUE",
45
45
  * ],
46
46
  * },
@@ -27,17 +27,17 @@ export interface ListProtectionsCommandOutput extends ListProtectionsResponse, _
27
27
  * import { ShieldClient, ListProtectionsCommand } from "@aws-sdk/client-shield"; // ES Modules import
28
28
  * // const { ShieldClient, ListProtectionsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
29
29
  * const client = new ShieldClient(config);
30
- * const input = {
30
+ * const input = { // ListProtectionsRequest
31
31
  * NextToken: "STRING_VALUE",
32
32
  * MaxResults: Number("int"),
33
- * InclusionFilters: {
34
- * ResourceArns: [
33
+ * InclusionFilters: { // InclusionProtectionFilters
34
+ * ResourceArns: [ // ResourceArnFilters
35
35
  * "STRING_VALUE",
36
36
  * ],
37
- * ProtectionNames: [
37
+ * ProtectionNames: [ // ProtectionNameFilters
38
38
  * "STRING_VALUE",
39
39
  * ],
40
- * ResourceTypes: [
40
+ * ResourceTypes: [ // ProtectedResourceTypeFilters
41
41
  * "STRING_VALUE",
42
42
  * ],
43
43
  * },
@@ -26,7 +26,7 @@ export interface ListResourcesInProtectionGroupCommandOutput extends ListResourc
26
26
  * import { ShieldClient, ListResourcesInProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, ListResourcesInProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // ListResourcesInProtectionGroupRequest
30
30
  * ProtectionGroupId: "STRING_VALUE", // required
31
31
  * NextToken: "STRING_VALUE",
32
32
  * MaxResults: Number("int"),
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { ShieldClient, ListTagsForResourceCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, ListTagsForResourceCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);