@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
@@ -26,10 +26,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { ShieldClient, TagResourceCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, TagResourceCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
- * Tags: [ // required
32
- * {
31
+ * Tags: [ // TagList // required
32
+ * { // Tag
33
33
  * Key: "STRING_VALUE",
34
34
  * Value: "STRING_VALUE",
35
35
  * },
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { ShieldClient, UntagResourceCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, UntagResourceCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceARN: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,9 +26,9 @@ export interface UpdateApplicationLayerAutomaticResponseCommandOutput extends Up
26
26
  * import { ShieldClient, UpdateApplicationLayerAutomaticResponseCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, UpdateApplicationLayerAutomaticResponseCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // UpdateApplicationLayerAutomaticResponseRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * Action: {
31
+ * Action: { // ResponseAction
32
32
  * Block: {},
33
33
  * Count: {},
34
34
  * },
@@ -26,9 +26,9 @@ export interface UpdateEmergencyContactSettingsCommandOutput extends UpdateEmerg
26
26
  * import { ShieldClient, UpdateEmergencyContactSettingsCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, UpdateEmergencyContactSettingsCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
30
- * EmergencyContactList: [
31
- * {
29
+ * const input = { // UpdateEmergencyContactSettingsRequest
30
+ * EmergencyContactList: [ // EmergencyContactList
31
+ * { // EmergencyContact
32
32
  * EmailAddress: "STRING_VALUE", // required
33
33
  * PhoneNumber: "STRING_VALUE",
34
34
  * ContactNotes: "STRING_VALUE",
@@ -26,12 +26,12 @@ export interface UpdateProtectionGroupCommandOutput extends UpdateProtectionGrou
26
26
  * import { ShieldClient, UpdateProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
27
27
  * // const { ShieldClient, UpdateProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
28
28
  * const client = new ShieldClient(config);
29
- * const input = {
29
+ * const input = { // UpdateProtectionGroupRequest
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
37
  * };
@@ -30,7 +30,7 @@ export interface UpdateSubscriptionCommandOutput extends UpdateSubscriptionRespo
30
30
  * import { ShieldClient, UpdateSubscriptionCommand } from "@aws-sdk/client-shield"; // ES Modules import
31
31
  * // const { ShieldClient, UpdateSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
32
32
  * const client = new ShieldClient(config);
33
- * const input = {
33
+ * const input = { // UpdateSubscriptionRequest
34
34
  * AutoRenew: "STRING_VALUE",
35
35
  * };
36
36
  * const command = new UpdateSubscriptionCommand(input);
@@ -62,11 +62,16 @@ export interface ResponseAction {
62
62
  }
63
63
  /**
64
64
  * @public
65
+ * @enum
65
66
  */
66
- export declare enum ApplicationLayerAutomaticResponseStatus {
67
- DISABLED = "DISABLED",
68
- ENABLED = "ENABLED"
69
- }
67
+ export declare const ApplicationLayerAutomaticResponseStatus: {
68
+ readonly DISABLED: "DISABLED";
69
+ readonly ENABLED: "ENABLED";
70
+ };
71
+ /**
72
+ * @public
73
+ */
74
+ export type ApplicationLayerAutomaticResponseStatus = (typeof ApplicationLayerAutomaticResponseStatus)[keyof typeof ApplicationLayerAutomaticResponseStatus];
70
75
  /**
71
76
  * @public
72
77
  * <p>The automatic application layer DDoS mitigation settings for a <a>Protection</a>.
@@ -139,11 +144,16 @@ export interface ValidationExceptionField {
139
144
  }
140
145
  /**
141
146
  * @public
147
+ * @enum
142
148
  */
143
- export declare enum ValidationExceptionReason {
144
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
145
- OTHER = "OTHER"
146
- }
149
+ export declare const ValidationExceptionReason: {
150
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
151
+ readonly OTHER: "OTHER";
152
+ };
153
+ /**
154
+ * @public
155
+ */
156
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
147
157
  /**
148
158
  * @public
149
159
  * <p>Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties. </p>
@@ -338,24 +348,34 @@ export interface SummarizedCounter {
338
348
  }
339
349
  /**
340
350
  * @public
351
+ * @enum
341
352
  */
342
- export declare enum AttackLayer {
343
- APPLICATION = "APPLICATION",
344
- NETWORK = "NETWORK"
345
- }
353
+ export declare const AttackLayer: {
354
+ readonly APPLICATION: "APPLICATION";
355
+ readonly NETWORK: "NETWORK";
356
+ };
346
357
  /**
347
358
  * @public
348
359
  */
349
- export declare enum AttackPropertyIdentifier {
350
- DESTINATION_URL = "DESTINATION_URL",
351
- REFERRER = "REFERRER",
352
- SOURCE_ASN = "SOURCE_ASN",
353
- SOURCE_COUNTRY = "SOURCE_COUNTRY",
354
- SOURCE_IP_ADDRESS = "SOURCE_IP_ADDRESS",
355
- SOURCE_USER_AGENT = "SOURCE_USER_AGENT",
356
- WORDPRESS_PINGBACK_REFLECTOR = "WORDPRESS_PINGBACK_REFLECTOR",
357
- WORDPRESS_PINGBACK_SOURCE = "WORDPRESS_PINGBACK_SOURCE"
358
- }
360
+ export type AttackLayer = (typeof AttackLayer)[keyof typeof AttackLayer];
361
+ /**
362
+ * @public
363
+ * @enum
364
+ */
365
+ export declare const AttackPropertyIdentifier: {
366
+ readonly DESTINATION_URL: "DESTINATION_URL";
367
+ readonly REFERRER: "REFERRER";
368
+ readonly SOURCE_ASN: "SOURCE_ASN";
369
+ readonly SOURCE_COUNTRY: "SOURCE_COUNTRY";
370
+ readonly SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS";
371
+ readonly SOURCE_USER_AGENT: "SOURCE_USER_AGENT";
372
+ readonly WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR";
373
+ readonly WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE";
374
+ };
375
+ /**
376
+ * @public
377
+ */
378
+ export type AttackPropertyIdentifier = (typeof AttackPropertyIdentifier)[keyof typeof AttackPropertyIdentifier];
359
379
  /**
360
380
  * @public
361
381
  * <p>A contributor to the attack and their contribution. </p>
@@ -372,13 +392,18 @@ export interface Contributor {
372
392
  }
373
393
  /**
374
394
  * @public
395
+ * @enum
375
396
  */
376
- export declare enum Unit {
377
- BITS = "BITS",
378
- BYTES = "BYTES",
379
- PACKETS = "PACKETS",
380
- REQUESTS = "REQUESTS"
381
- }
397
+ export declare const Unit: {
398
+ readonly BITS: "BITS";
399
+ readonly BYTES: "BYTES";
400
+ readonly PACKETS: "PACKETS";
401
+ readonly REQUESTS: "REQUESTS";
402
+ };
403
+ /**
404
+ * @public
405
+ */
406
+ export type Unit = (typeof Unit)[keyof typeof Unit];
382
407
  /**
383
408
  * @public
384
409
  * <p>Details of a Shield event. This is provided as part of an <a>AttackDetail</a>.</p>
@@ -439,11 +464,16 @@ export interface SummarizedAttackVector {
439
464
  }
440
465
  /**
441
466
  * @public
467
+ * @enum
442
468
  */
443
- export declare enum SubResourceType {
444
- IP = "IP",
445
- URL = "URL"
446
- }
469
+ export declare const SubResourceType: {
470
+ readonly IP: "IP";
471
+ readonly URL: "URL";
472
+ };
473
+ /**
474
+ * @public
475
+ */
476
+ export type SubResourceType = (typeof SubResourceType)[keyof typeof SubResourceType];
447
477
  /**
448
478
  * @public
449
479
  * <p>The attack information for the specified SubResource.</p>
@@ -644,11 +674,16 @@ export interface AttackSummary {
644
674
  }
645
675
  /**
646
676
  * @public
677
+ * @enum
647
678
  */
648
- export declare enum AutoRenew {
649
- DISABLED = "DISABLED",
650
- ENABLED = "ENABLED"
651
- }
679
+ export declare const AutoRenew: {
680
+ readonly DISABLED: "DISABLED";
681
+ readonly ENABLED: "ENABLED";
682
+ };
683
+ /**
684
+ * @public
685
+ */
686
+ export type AutoRenew = (typeof AutoRenew)[keyof typeof AutoRenew];
652
687
  /**
653
688
  * @public
654
689
  * <p>A tag associated with an Amazon Web Services resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing or other management. Typically, the tag key represents a category, such as "environment", and the tag value represents a specific value within that category, such as "test," "development," or "production". Or you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.</p>
@@ -740,31 +775,46 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
740
775
  }
741
776
  /**
742
777
  * @public
778
+ * @enum
743
779
  */
744
- export declare enum ProtectionGroupAggregation {
745
- MAX = "MAX",
746
- MEAN = "MEAN",
747
- SUM = "SUM"
748
- }
780
+ export declare const ProtectionGroupAggregation: {
781
+ readonly MAX: "MAX";
782
+ readonly MEAN: "MEAN";
783
+ readonly SUM: "SUM";
784
+ };
749
785
  /**
750
786
  * @public
751
787
  */
752
- export declare enum ProtectionGroupPattern {
753
- ALL = "ALL",
754
- ARBITRARY = "ARBITRARY",
755
- BY_RESOURCE_TYPE = "BY_RESOURCE_TYPE"
756
- }
788
+ export type ProtectionGroupAggregation = (typeof ProtectionGroupAggregation)[keyof typeof ProtectionGroupAggregation];
757
789
  /**
758
790
  * @public
791
+ * @enum
759
792
  */
760
- export declare enum ProtectedResourceType {
761
- APPLICATION_LOAD_BALANCER = "APPLICATION_LOAD_BALANCER",
762
- CLASSIC_LOAD_BALANCER = "CLASSIC_LOAD_BALANCER",
763
- CLOUDFRONT_DISTRIBUTION = "CLOUDFRONT_DISTRIBUTION",
764
- ELASTIC_IP_ALLOCATION = "ELASTIC_IP_ALLOCATION",
765
- GLOBAL_ACCELERATOR = "GLOBAL_ACCELERATOR",
766
- ROUTE_53_HOSTED_ZONE = "ROUTE_53_HOSTED_ZONE"
767
- }
793
+ export declare const ProtectionGroupPattern: {
794
+ readonly ALL: "ALL";
795
+ readonly ARBITRARY: "ARBITRARY";
796
+ readonly BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE";
797
+ };
798
+ /**
799
+ * @public
800
+ */
801
+ export type ProtectionGroupPattern = (typeof ProtectionGroupPattern)[keyof typeof ProtectionGroupPattern];
802
+ /**
803
+ * @public
804
+ * @enum
805
+ */
806
+ export declare const ProtectedResourceType: {
807
+ readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
808
+ readonly CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER";
809
+ readonly CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION";
810
+ readonly ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION";
811
+ readonly GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR";
812
+ readonly ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE";
813
+ };
814
+ /**
815
+ * @public
816
+ */
817
+ export type ProtectedResourceType = (typeof ProtectedResourceType)[keyof typeof ProtectedResourceType];
768
818
  /**
769
819
  * @public
770
820
  */
@@ -1091,12 +1141,17 @@ export interface Limit {
1091
1141
  }
1092
1142
  /**
1093
1143
  * @public
1144
+ * @enum
1094
1145
  */
1095
- export declare enum ProactiveEngagementStatus {
1096
- DISABLED = "DISABLED",
1097
- ENABLED = "ENABLED",
1098
- PENDING = "PENDING"
1099
- }
1146
+ export declare const ProactiveEngagementStatus: {
1147
+ readonly DISABLED: "DISABLED";
1148
+ readonly ENABLED: "ENABLED";
1149
+ readonly PENDING: "PENDING";
1150
+ };
1151
+ /**
1152
+ * @public
1153
+ */
1154
+ export type ProactiveEngagementStatus = (typeof ProactiveEngagementStatus)[keyof typeof ProactiveEngagementStatus];
1100
1155
  /**
1101
1156
  * @public
1102
1157
  * <p>Limits settings on protection groups with arbitrary pattern type. </p>
@@ -1308,11 +1363,16 @@ export interface GetSubscriptionStateRequest {
1308
1363
  }
1309
1364
  /**
1310
1365
  * @public
1366
+ * @enum
1311
1367
  */
1312
- export declare enum SubscriptionState {
1313
- ACTIVE = "ACTIVE",
1314
- INACTIVE = "INACTIVE"
1315
- }
1368
+ export declare const SubscriptionState: {
1369
+ readonly ACTIVE: "ACTIVE";
1370
+ readonly INACTIVE: "INACTIVE";
1371
+ };
1372
+ /**
1373
+ * @public
1374
+ */
1375
+ export type SubscriptionState = (typeof SubscriptionState)[keyof typeof SubscriptionState];
1316
1376
  /**
1317
1377
  * @public
1318
1378
  */
@@ -23,10 +23,12 @@ export interface ResponseAction {
23
23
  Block?: BlockAction;
24
24
  Count?: CountAction;
25
25
  }
26
- export declare enum ApplicationLayerAutomaticResponseStatus {
27
- DISABLED = "DISABLED",
28
- ENABLED = "ENABLED",
29
- }
26
+ export declare const ApplicationLayerAutomaticResponseStatus: {
27
+ readonly DISABLED: "DISABLED";
28
+ readonly ENABLED: "ENABLED";
29
+ };
30
+ export type ApplicationLayerAutomaticResponseStatus =
31
+ (typeof ApplicationLayerAutomaticResponseStatus)[keyof typeof ApplicationLayerAutomaticResponseStatus];
30
32
  export interface ApplicationLayerAutomaticResponseConfiguration {
31
33
  Status: ApplicationLayerAutomaticResponseStatus | string | undefined;
32
34
  Action: ResponseAction | undefined;
@@ -53,10 +55,12 @@ export interface ValidationExceptionField {
53
55
  name: string | undefined;
54
56
  message: string | undefined;
55
57
  }
56
- export declare enum ValidationExceptionReason {
57
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
58
- OTHER = "OTHER",
59
- }
58
+ export declare const ValidationExceptionReason: {
59
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
60
+ readonly OTHER: "OTHER";
61
+ };
62
+ export type ValidationExceptionReason =
63
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
60
64
  export declare class InvalidParameterException extends __BaseException {
61
65
  readonly name: "InvalidParameterException";
62
66
  readonly $fault: "client";
@@ -130,30 +134,34 @@ export interface SummarizedCounter {
130
134
  N?: number;
131
135
  Unit?: string;
132
136
  }
133
- export declare enum AttackLayer {
134
- APPLICATION = "APPLICATION",
135
- NETWORK = "NETWORK",
136
- }
137
- export declare enum AttackPropertyIdentifier {
138
- DESTINATION_URL = "DESTINATION_URL",
139
- REFERRER = "REFERRER",
140
- SOURCE_ASN = "SOURCE_ASN",
141
- SOURCE_COUNTRY = "SOURCE_COUNTRY",
142
- SOURCE_IP_ADDRESS = "SOURCE_IP_ADDRESS",
143
- SOURCE_USER_AGENT = "SOURCE_USER_AGENT",
144
- WORDPRESS_PINGBACK_REFLECTOR = "WORDPRESS_PINGBACK_REFLECTOR",
145
- WORDPRESS_PINGBACK_SOURCE = "WORDPRESS_PINGBACK_SOURCE",
146
- }
137
+ export declare const AttackLayer: {
138
+ readonly APPLICATION: "APPLICATION";
139
+ readonly NETWORK: "NETWORK";
140
+ };
141
+ export type AttackLayer = (typeof AttackLayer)[keyof typeof AttackLayer];
142
+ export declare const AttackPropertyIdentifier: {
143
+ readonly DESTINATION_URL: "DESTINATION_URL";
144
+ readonly REFERRER: "REFERRER";
145
+ readonly SOURCE_ASN: "SOURCE_ASN";
146
+ readonly SOURCE_COUNTRY: "SOURCE_COUNTRY";
147
+ readonly SOURCE_IP_ADDRESS: "SOURCE_IP_ADDRESS";
148
+ readonly SOURCE_USER_AGENT: "SOURCE_USER_AGENT";
149
+ readonly WORDPRESS_PINGBACK_REFLECTOR: "WORDPRESS_PINGBACK_REFLECTOR";
150
+ readonly WORDPRESS_PINGBACK_SOURCE: "WORDPRESS_PINGBACK_SOURCE";
151
+ };
152
+ export type AttackPropertyIdentifier =
153
+ (typeof AttackPropertyIdentifier)[keyof typeof AttackPropertyIdentifier];
147
154
  export interface Contributor {
148
155
  Name?: string;
149
156
  Value?: number;
150
157
  }
151
- export declare enum Unit {
152
- BITS = "BITS",
153
- BYTES = "BYTES",
154
- PACKETS = "PACKETS",
155
- REQUESTS = "REQUESTS",
156
- }
158
+ export declare const Unit: {
159
+ readonly BITS: "BITS";
160
+ readonly BYTES: "BYTES";
161
+ readonly PACKETS: "PACKETS";
162
+ readonly REQUESTS: "REQUESTS";
163
+ };
164
+ export type Unit = (typeof Unit)[keyof typeof Unit];
157
165
  export interface AttackProperty {
158
166
  AttackLayer?: AttackLayer | string;
159
167
  AttackPropertyIdentifier?: AttackPropertyIdentifier | string;
@@ -168,10 +176,12 @@ export interface SummarizedAttackVector {
168
176
  VectorType: string | undefined;
169
177
  VectorCounters?: SummarizedCounter[];
170
178
  }
171
- export declare enum SubResourceType {
172
- IP = "IP",
173
- URL = "URL",
174
- }
179
+ export declare const SubResourceType: {
180
+ readonly IP: "IP";
181
+ readonly URL: "URL";
182
+ };
183
+ export type SubResourceType =
184
+ (typeof SubResourceType)[keyof typeof SubResourceType];
175
185
  export interface SubResourceSummary {
176
186
  Type?: SubResourceType | string;
177
187
  Id?: string;
@@ -210,10 +220,11 @@ export interface AttackSummary {
210
220
  EndTime?: Date;
211
221
  AttackVectors?: AttackVectorDescription[];
212
222
  }
213
- export declare enum AutoRenew {
214
- DISABLED = "DISABLED",
215
- ENABLED = "ENABLED",
216
- }
223
+ export declare const AutoRenew: {
224
+ readonly DISABLED: "DISABLED";
225
+ readonly ENABLED: "ENABLED";
226
+ };
227
+ export type AutoRenew = (typeof AutoRenew)[keyof typeof AutoRenew];
217
228
  export interface Tag {
218
229
  Key?: string;
219
230
  Value?: string;
@@ -234,24 +245,30 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
234
245
  opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
235
246
  );
236
247
  }
237
- export declare enum ProtectionGroupAggregation {
238
- MAX = "MAX",
239
- MEAN = "MEAN",
240
- SUM = "SUM",
241
- }
242
- export declare enum ProtectionGroupPattern {
243
- ALL = "ALL",
244
- ARBITRARY = "ARBITRARY",
245
- BY_RESOURCE_TYPE = "BY_RESOURCE_TYPE",
246
- }
247
- export declare enum ProtectedResourceType {
248
- APPLICATION_LOAD_BALANCER = "APPLICATION_LOAD_BALANCER",
249
- CLASSIC_LOAD_BALANCER = "CLASSIC_LOAD_BALANCER",
250
- CLOUDFRONT_DISTRIBUTION = "CLOUDFRONT_DISTRIBUTION",
251
- ELASTIC_IP_ALLOCATION = "ELASTIC_IP_ALLOCATION",
252
- GLOBAL_ACCELERATOR = "GLOBAL_ACCELERATOR",
253
- ROUTE_53_HOSTED_ZONE = "ROUTE_53_HOSTED_ZONE",
254
- }
248
+ export declare const ProtectionGroupAggregation: {
249
+ readonly MAX: "MAX";
250
+ readonly MEAN: "MEAN";
251
+ readonly SUM: "SUM";
252
+ };
253
+ export type ProtectionGroupAggregation =
254
+ (typeof ProtectionGroupAggregation)[keyof typeof ProtectionGroupAggregation];
255
+ export declare const ProtectionGroupPattern: {
256
+ readonly ALL: "ALL";
257
+ readonly ARBITRARY: "ARBITRARY";
258
+ readonly BY_RESOURCE_TYPE: "BY_RESOURCE_TYPE";
259
+ };
260
+ export type ProtectionGroupPattern =
261
+ (typeof ProtectionGroupPattern)[keyof typeof ProtectionGroupPattern];
262
+ export declare const ProtectedResourceType: {
263
+ readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
264
+ readonly CLASSIC_LOAD_BALANCER: "CLASSIC_LOAD_BALANCER";
265
+ readonly CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION";
266
+ readonly ELASTIC_IP_ALLOCATION: "ELASTIC_IP_ALLOCATION";
267
+ readonly GLOBAL_ACCELERATOR: "GLOBAL_ACCELERATOR";
268
+ readonly ROUTE_53_HOSTED_ZONE: "ROUTE_53_HOSTED_ZONE";
269
+ };
270
+ export type ProtectedResourceType =
271
+ (typeof ProtectedResourceType)[keyof typeof ProtectedResourceType];
255
272
  export interface CreateProtectionGroupRequest {
256
273
  ProtectionGroupId: string | undefined;
257
274
  Aggregation: ProtectionGroupAggregation | string | undefined;
@@ -338,11 +355,13 @@ export interface Limit {
338
355
  Type?: string;
339
356
  Max?: number;
340
357
  }
341
- export declare enum ProactiveEngagementStatus {
342
- DISABLED = "DISABLED",
343
- ENABLED = "ENABLED",
344
- PENDING = "PENDING",
345
- }
358
+ export declare const ProactiveEngagementStatus: {
359
+ readonly DISABLED: "DISABLED";
360
+ readonly ENABLED: "ENABLED";
361
+ readonly PENDING: "PENDING";
362
+ };
363
+ export type ProactiveEngagementStatus =
364
+ (typeof ProactiveEngagementStatus)[keyof typeof ProactiveEngagementStatus];
346
365
  export interface ProtectionGroupArbitraryPatternLimits {
347
366
  MaxMembers: number | undefined;
348
367
  }
@@ -398,10 +417,12 @@ export interface EnableApplicationLayerAutomaticResponseResponse {}
398
417
  export interface EnableProactiveEngagementRequest {}
399
418
  export interface EnableProactiveEngagementResponse {}
400
419
  export interface GetSubscriptionStateRequest {}
401
- export declare enum SubscriptionState {
402
- ACTIVE = "ACTIVE",
403
- INACTIVE = "INACTIVE",
404
- }
420
+ export declare const SubscriptionState: {
421
+ readonly ACTIVE: "ACTIVE";
422
+ readonly INACTIVE: "INACTIVE";
423
+ };
424
+ export type SubscriptionState =
425
+ (typeof SubscriptionState)[keyof typeof SubscriptionState];
405
426
  export interface GetSubscriptionStateResponse {
406
427
  SubscriptionState: SubscriptionState | string | undefined;
407
428
  }
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.300.0",
4
+ "version": "3.303.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,42 +21,42 @@
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",