@aws-sdk/client-shield 3.687.0 → 3.691.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.
@@ -54,13 +54,13 @@ export interface ResponseAction {
54
54
  * <p>You must specify exactly one action, either <code>Block</code> or <code>Count</code>.</p>
55
55
  * @public
56
56
  */
57
- Block?: BlockAction;
57
+ Block?: BlockAction | undefined;
58
58
  /**
59
59
  * <p>Specifies that Shield Advanced should configure its WAF rules with the WAF <code>Count</code> action. </p>
60
60
  * <p>You must specify exactly one action, either <code>Block</code> or <code>Count</code>.</p>
61
61
  * @public
62
62
  */
63
- Count?: CountAction;
63
+ Count?: CountAction | undefined;
64
64
  }
65
65
  /**
66
66
  * @public
@@ -172,12 +172,12 @@ export declare class InvalidParameterException extends __BaseException {
172
172
  * <p>Additional information about the exception.</p>
173
173
  * @public
174
174
  */
175
- reason?: ValidationExceptionReason;
175
+ reason?: ValidationExceptionReason | undefined;
176
176
  /**
177
177
  * <p>Fields that caused the exception.</p>
178
178
  * @public
179
179
  */
180
- fields?: ValidationExceptionField[];
180
+ fields?: ValidationExceptionField[] | undefined;
181
181
  /**
182
182
  * @internal
183
183
  */
@@ -194,12 +194,12 @@ export declare class LimitsExceededException extends __BaseException {
194
194
  * <p>The type of limit that would be exceeded.</p>
195
195
  * @public
196
196
  */
197
- Type?: string;
197
+ Type?: string | undefined;
198
198
  /**
199
199
  * <p>The threshold that would be exceeded.</p>
200
200
  * @public
201
201
  */
202
- Limit?: number;
202
+ Limit?: number | undefined;
203
203
  /**
204
204
  * @internal
205
205
  */
@@ -241,7 +241,7 @@ export declare class ResourceNotFoundException extends __BaseException {
241
241
  * <p>Type of resource.</p>
242
242
  * @public
243
243
  */
244
- resourceType?: string;
244
+ resourceType?: string | undefined;
245
245
  /**
246
246
  * @internal
247
247
  */
@@ -309,12 +309,12 @@ export interface EmergencyContact {
309
309
  * <p>The phone number for the contact.</p>
310
310
  * @public
311
311
  */
312
- PhoneNumber?: string;
312
+ PhoneNumber?: string | undefined;
313
313
  /**
314
314
  * <p>Additional notes regarding the contact. </p>
315
315
  * @public
316
316
  */
317
- ContactNotes?: string;
317
+ ContactNotes?: string | undefined;
318
318
  }
319
319
  /**
320
320
  * @public
@@ -344,32 +344,32 @@ export interface SummarizedCounter {
344
344
  * <p>The counter name.</p>
345
345
  * @public
346
346
  */
347
- Name?: string;
347
+ Name?: string | undefined;
348
348
  /**
349
349
  * <p>The maximum value of the counter for a specified time period.</p>
350
350
  * @public
351
351
  */
352
- Max?: number;
352
+ Max?: number | undefined;
353
353
  /**
354
354
  * <p>The average value of the counter for a specified time period.</p>
355
355
  * @public
356
356
  */
357
- Average?: number;
357
+ Average?: number | undefined;
358
358
  /**
359
359
  * <p>The total of counter values for a specified time period.</p>
360
360
  * @public
361
361
  */
362
- Sum?: number;
362
+ Sum?: number | undefined;
363
363
  /**
364
364
  * <p>The number of counters for a specified time period.</p>
365
365
  * @public
366
366
  */
367
- N?: number;
367
+ N?: number | undefined;
368
368
  /**
369
369
  * <p>The unit of the counters.</p>
370
370
  * @public
371
371
  */
372
- Unit?: string;
372
+ Unit?: string | undefined;
373
373
  }
374
374
  /**
375
375
  * @public
@@ -410,12 +410,12 @@ export interface Contributor {
410
410
  * <p>The name of the contributor. The type of name that you'll find here depends on the <code>AttackPropertyIdentifier</code> setting in the <code>AttackProperty</code> where this contributor is defined. For example, if the <code>AttackPropertyIdentifier</code> is <code>SOURCE_COUNTRY</code>, the <code>Name</code> could be <code>United States</code>.</p>
411
411
  * @public
412
412
  */
413
- Name?: string;
413
+ Name?: string | undefined;
414
414
  /**
415
415
  * <p>The contribution of this contributor expressed in <a>Protection</a> units. For example <code>10,000</code>.</p>
416
416
  * @public
417
417
  */
418
- Value?: number;
418
+ Value?: number | undefined;
419
419
  }
420
420
  /**
421
421
  * @public
@@ -445,30 +445,30 @@ export interface AttackProperty {
445
445
  * in the <i>WAF Developer Guide</i>. </p>
446
446
  * @public
447
447
  */
448
- AttackLayer?: AttackLayer;
448
+ AttackLayer?: AttackLayer | undefined;
449
449
  /**
450
450
  * <p>Defines the Shield event property information that is provided. The
451
451
  * <code>WORDPRESS_PINGBACK_REFLECTOR</code> and <code>WORDPRESS_PINGBACK_SOURCE</code>
452
452
  * values are valid only for WordPress reflective pingback events.</p>
453
453
  * @public
454
454
  */
455
- AttackPropertyIdentifier?: AttackPropertyIdentifier;
455
+ AttackPropertyIdentifier?: AttackPropertyIdentifier | undefined;
456
456
  /**
457
457
  * <p>Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.</p>
458
458
  * @public
459
459
  */
460
- TopContributors?: Contributor[];
460
+ TopContributors?: Contributor[] | undefined;
461
461
  /**
462
462
  * <p>The unit used for the <code>Contributor</code>
463
463
  * <code>Value</code> property. </p>
464
464
  * @public
465
465
  */
466
- Unit?: Unit;
466
+ Unit?: Unit | undefined;
467
467
  /**
468
468
  * <p>The total contributions made to this Shield event by all contributors.</p>
469
469
  * @public
470
470
  */
471
- Total?: number;
471
+ Total?: number | undefined;
472
472
  }
473
473
  /**
474
474
  * <p>The mitigation applied to a DDoS attack.</p>
@@ -479,7 +479,7 @@ export interface Mitigation {
479
479
  * <p>The name of the mitigation taken for this attack.</p>
480
480
  * @public
481
481
  */
482
- MitigationName?: string;
482
+ MitigationName?: string | undefined;
483
483
  }
484
484
  /**
485
485
  * <p>A summary of information about the attack.</p>
@@ -495,7 +495,7 @@ export interface SummarizedAttackVector {
495
495
  * <p>The list of counters that describe the details of the attack.</p>
496
496
  * @public
497
497
  */
498
- VectorCounters?: SummarizedCounter[];
498
+ VectorCounters?: SummarizedCounter[] | undefined;
499
499
  }
500
500
  /**
501
501
  * @public
@@ -518,22 +518,22 @@ export interface SubResourceSummary {
518
518
  * <p>The <code>SubResource</code> type.</p>
519
519
  * @public
520
520
  */
521
- Type?: SubResourceType;
521
+ Type?: SubResourceType | undefined;
522
522
  /**
523
523
  * <p>The unique identifier (ID) of the <code>SubResource</code>.</p>
524
524
  * @public
525
525
  */
526
- Id?: string;
526
+ Id?: string | undefined;
527
527
  /**
528
528
  * <p>The list of attack types and associated counters.</p>
529
529
  * @public
530
530
  */
531
- AttackVectors?: SummarizedAttackVector[];
531
+ AttackVectors?: SummarizedAttackVector[] | undefined;
532
532
  /**
533
533
  * <p>The counters that describe the details of the attack.</p>
534
534
  * @public
535
535
  */
536
- Counters?: SummarizedCounter[];
536
+ Counters?: SummarizedCounter[] | undefined;
537
537
  }
538
538
  /**
539
539
  * <p>The details of a DDoS attack.</p>
@@ -544,32 +544,32 @@ export interface AttackDetail {
544
544
  * <p>The unique identifier (ID) of the attack.</p>
545
545
  * @public
546
546
  */
547
- AttackId?: string;
547
+ AttackId?: string | undefined;
548
548
  /**
549
549
  * <p>The ARN (Amazon Resource Name) of the resource that was attacked.</p>
550
550
  * @public
551
551
  */
552
- ResourceArn?: string;
552
+ ResourceArn?: string | undefined;
553
553
  /**
554
554
  * <p>If applicable, additional detail about the resource being attacked, for example, IP address or URL.</p>
555
555
  * @public
556
556
  */
557
- SubResources?: SubResourceSummary[];
557
+ SubResources?: SubResourceSummary[] | undefined;
558
558
  /**
559
559
  * <p>The time the attack started, in Unix time in seconds. </p>
560
560
  * @public
561
561
  */
562
- StartTime?: Date;
562
+ StartTime?: Date | undefined;
563
563
  /**
564
564
  * <p>The time the attack ended, in Unix time in seconds. </p>
565
565
  * @public
566
566
  */
567
- EndTime?: Date;
567
+ EndTime?: Date | undefined;
568
568
  /**
569
569
  * <p>List of counters that describe the attack for the specified time period.</p>
570
570
  * @public
571
571
  */
572
- AttackCounters?: SummarizedCounter[];
572
+ AttackCounters?: SummarizedCounter[] | undefined;
573
573
  /**
574
574
  * <p>The array of objects that provide details of the Shield event. </p>
575
575
  * <p>For infrastructure
@@ -578,12 +578,12 @@ export interface AttackDetail {
578
578
  * in the <i>WAF Developer Guide</i>. </p>
579
579
  * @public
580
580
  */
581
- AttackProperties?: AttackProperty[];
581
+ AttackProperties?: AttackProperty[] | undefined;
582
582
  /**
583
583
  * <p>List of mitigation actions taken for the attack.</p>
584
584
  * @public
585
585
  */
586
- Mitigations?: Mitigation[];
586
+ Mitigations?: Mitigation[] | undefined;
587
587
  }
588
588
  /**
589
589
  * <p>Statistics objects for the various data types in <a>AttackVolume</a>. </p>
@@ -605,17 +605,17 @@ export interface AttackVolume {
605
605
  * <p>A statistics object that uses bits per second as the unit. This is included for network level attacks. </p>
606
606
  * @public
607
607
  */
608
- BitsPerSecond?: AttackVolumeStatistics;
608
+ BitsPerSecond?: AttackVolumeStatistics | undefined;
609
609
  /**
610
610
  * <p>A statistics object that uses packets per second as the unit. This is included for network level attacks. </p>
611
611
  * @public
612
612
  */
613
- PacketsPerSecond?: AttackVolumeStatistics;
613
+ PacketsPerSecond?: AttackVolumeStatistics | undefined;
614
614
  /**
615
615
  * <p>A statistics object that uses requests per second as the unit. This is included for application level attacks, and is only available for accounts that are subscribed to Shield Advanced.</p>
616
616
  * @public
617
617
  */
618
- RequestsPerSecond?: AttackVolumeStatistics;
618
+ RequestsPerSecond?: AttackVolumeStatistics | undefined;
619
619
  }
620
620
  /**
621
621
  * <p>A single attack statistics data record. This is returned by <a>DescribeAttackStatistics</a> along with a time range indicating the time period that the attack statistics apply to. </p>
@@ -626,7 +626,7 @@ export interface AttackStatisticsDataItem {
626
626
  * <p>Information about the volume of attacks during the time period. If the accompanying <code>AttackCount</code> is zero, this setting might be empty.</p>
627
627
  * @public
628
628
  */
629
- AttackVolume?: AttackVolume;
629
+ AttackVolume?: AttackVolume | undefined;
630
630
  /**
631
631
  * <p>The number of attacks detected during the time period. This is always present, but might be zero. </p>
632
632
  * @public
@@ -709,27 +709,27 @@ export interface AttackSummary {
709
709
  * <p>The unique identifier (ID) of the attack.</p>
710
710
  * @public
711
711
  */
712
- AttackId?: string;
712
+ AttackId?: string | undefined;
713
713
  /**
714
714
  * <p>The ARN (Amazon Resource Name) of the resource that was attacked.</p>
715
715
  * @public
716
716
  */
717
- ResourceArn?: string;
717
+ ResourceArn?: string | undefined;
718
718
  /**
719
719
  * <p>The start time of the attack, in Unix time in seconds. </p>
720
720
  * @public
721
721
  */
722
- StartTime?: Date;
722
+ StartTime?: Date | undefined;
723
723
  /**
724
724
  * <p>The end time of the attack, in Unix time in seconds. </p>
725
725
  * @public
726
726
  */
727
- EndTime?: Date;
727
+ EndTime?: Date | undefined;
728
728
  /**
729
729
  * <p>The list of attacks for a specified time period.</p>
730
730
  * @public
731
731
  */
732
- AttackVectors?: AttackVectorDescription[];
732
+ AttackVectors?: AttackVectorDescription[] | undefined;
733
733
  }
734
734
  /**
735
735
  * @public
@@ -752,12 +752,12 @@ export interface Tag {
752
752
  * <p>Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.</p>
753
753
  * @public
754
754
  */
755
- Key?: string;
755
+ Key?: string | undefined;
756
756
  /**
757
757
  * <p>Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.</p>
758
758
  * @public
759
759
  */
760
- Value?: string;
760
+ Value?: string | undefined;
761
761
  }
762
762
  /**
763
763
  * @public
@@ -810,7 +810,7 @@ export interface CreateProtectionRequest {
810
810
  * <p>One or more tag key-value pairs for the <a>Protection</a> object that is created.</p>
811
811
  * @public
812
812
  */
813
- Tags?: Tag[];
813
+ Tags?: Tag[] | undefined;
814
814
  }
815
815
  /**
816
816
  * @public
@@ -820,7 +820,7 @@ export interface CreateProtectionResponse {
820
820
  * <p>The unique identifier (ID) for the <a>Protection</a> object that is created.</p>
821
821
  * @public
822
822
  */
823
- ProtectionId?: string;
823
+ ProtectionId?: string | undefined;
824
824
  }
825
825
  /**
826
826
  * <p>Exception indicating the specified resource already exists. If available, this exception includes details in additional properties. </p>
@@ -833,7 +833,7 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
833
833
  * <p>The type of resource that already exists.</p>
834
834
  * @public
835
835
  */
836
- resourceType?: string;
836
+ resourceType?: string | undefined;
837
837
  /**
838
838
  * @internal
839
839
  */
@@ -916,17 +916,17 @@ export interface CreateProtectionGroupRequest {
916
916
  * You must set this when you set <code>Pattern</code> to <code>BY_RESOURCE_TYPE</code> and you must not set it for any other <code>Pattern</code> setting. </p>
917
917
  * @public
918
918
  */
919
- ResourceType?: ProtectedResourceType;
919
+ ResourceType?: ProtectedResourceType | undefined;
920
920
  /**
921
921
  * <p>The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set <code>Pattern</code> to <code>ARBITRARY</code> and you must not set it for any other <code>Pattern</code> setting. </p>
922
922
  * @public
923
923
  */
924
- Members?: string[];
924
+ Members?: string[] | undefined;
925
925
  /**
926
926
  * <p>One or more tag key-value pairs for the protection group.</p>
927
927
  * @public
928
928
  */
929
- Tags?: Tag[];
929
+ Tags?: Tag[] | undefined;
930
930
  }
931
931
  /**
932
932
  * @public
@@ -1014,7 +1014,7 @@ export interface DescribeAttackResponse {
1014
1014
  * <p>The attack that you requested. </p>
1015
1015
  * @public
1016
1016
  */
1017
- Attack?: AttackDetail;
1017
+ Attack?: AttackDetail | undefined;
1018
1018
  }
1019
1019
  /**
1020
1020
  * @public
@@ -1030,12 +1030,12 @@ export interface TimeRange {
1030
1030
  * <p>The start time, in Unix time in seconds. </p>
1031
1031
  * @public
1032
1032
  */
1033
- FromInclusive?: Date;
1033
+ FromInclusive?: Date | undefined;
1034
1034
  /**
1035
1035
  * <p>The end time, in Unix time in seconds. </p>
1036
1036
  * @public
1037
1037
  */
1038
- ToExclusive?: Date;
1038
+ ToExclusive?: Date | undefined;
1039
1039
  }
1040
1040
  /**
1041
1041
  * @public
@@ -1065,12 +1065,12 @@ export interface DescribeDRTAccessResponse {
1065
1065
  * <p>The Amazon Resource Name (ARN) of the role the SRT used to access your Amazon Web Services account.</p>
1066
1066
  * @public
1067
1067
  */
1068
- RoleArn?: string;
1068
+ RoleArn?: string | undefined;
1069
1069
  /**
1070
1070
  * <p>The list of Amazon S3 buckets accessed by the SRT.</p>
1071
1071
  * @public
1072
1072
  */
1073
- LogBucketList?: string[];
1073
+ LogBucketList?: string[] | undefined;
1074
1074
  }
1075
1075
  /**
1076
1076
  * @public
@@ -1085,7 +1085,7 @@ export interface DescribeEmergencyContactSettingsResponse {
1085
1085
  * <p>A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.</p>
1086
1086
  * @public
1087
1087
  */
1088
- EmergencyContactList?: EmergencyContact[];
1088
+ EmergencyContactList?: EmergencyContact[] | undefined;
1089
1089
  }
1090
1090
  /**
1091
1091
  * @public
@@ -1096,13 +1096,13 @@ export interface DescribeProtectionRequest {
1096
1096
  * You must provide either the <code>ResourceArn</code> of the protected resource or the <code>ProtectionID</code> of the protection, but not both.</p>
1097
1097
  * @public
1098
1098
  */
1099
- ProtectionId?: string;
1099
+ ProtectionId?: string | undefined;
1100
1100
  /**
1101
1101
  * <p>The ARN (Amazon Resource Name) of the protected Amazon Web Services resource.
1102
1102
  * You must provide either the <code>ResourceArn</code> of the protected resource or the <code>ProtectionID</code> of the protection, but not both.</p>
1103
1103
  * @public
1104
1104
  */
1105
- ResourceArn?: string;
1105
+ ResourceArn?: string | undefined;
1106
1106
  }
1107
1107
  /**
1108
1108
  * <p>An object that represents a resource that is under DDoS protection.</p>
@@ -1113,34 +1113,34 @@ export interface Protection {
1113
1113
  * <p>The unique identifier (ID) of the protection.</p>
1114
1114
  * @public
1115
1115
  */
1116
- Id?: string;
1116
+ Id?: string | undefined;
1117
1117
  /**
1118
1118
  * <p>The name of the protection. For example, <code>My CloudFront distributions</code>.</p>
1119
1119
  * @public
1120
1120
  */
1121
- Name?: string;
1121
+ Name?: string | undefined;
1122
1122
  /**
1123
1123
  * <p>The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.</p>
1124
1124
  * @public
1125
1125
  */
1126
- ResourceArn?: string;
1126
+ ResourceArn?: string | undefined;
1127
1127
  /**
1128
1128
  * <p>The unique identifier (ID) for the Route 53 health check that's associated with the protection. </p>
1129
1129
  * @public
1130
1130
  */
1131
- HealthCheckIds?: string[];
1131
+ HealthCheckIds?: string[] | undefined;
1132
1132
  /**
1133
1133
  * <p>The ARN (Amazon Resource Name) of the protection.</p>
1134
1134
  * @public
1135
1135
  */
1136
- ProtectionArn?: string;
1136
+ ProtectionArn?: string | undefined;
1137
1137
  /**
1138
1138
  * <p>The automatic application layer DDoS mitigation settings for the protection.
1139
1139
  * This configuration determines whether Shield Advanced automatically
1140
1140
  * manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks. </p>
1141
1141
  * @public
1142
1142
  */
1143
- ApplicationLayerAutomaticResponseConfiguration?: ApplicationLayerAutomaticResponseConfiguration;
1143
+ ApplicationLayerAutomaticResponseConfiguration?: ApplicationLayerAutomaticResponseConfiguration | undefined;
1144
1144
  }
1145
1145
  /**
1146
1146
  * @public
@@ -1150,7 +1150,7 @@ export interface DescribeProtectionResponse {
1150
1150
  * <p>The <a>Protection</a> that you requested. </p>
1151
1151
  * @public
1152
1152
  */
1153
- Protection?: Protection;
1153
+ Protection?: Protection | undefined;
1154
1154
  }
1155
1155
  /**
1156
1156
  * @public
@@ -1198,7 +1198,7 @@ export interface ProtectionGroup {
1198
1198
  * You must set this when you set <code>Pattern</code> to <code>BY_RESOURCE_TYPE</code> and you must not set it for any other <code>Pattern</code> setting. </p>
1199
1199
  * @public
1200
1200
  */
1201
- ResourceType?: ProtectedResourceType;
1201
+ ResourceType?: ProtectedResourceType | undefined;
1202
1202
  /**
1203
1203
  * <p>The ARNs (Amazon Resource Names) of the resources to include in the protection group. You must set this when you set <code>Pattern</code> to <code>ARBITRARY</code> and you must not set it for any other <code>Pattern</code> setting. </p>
1204
1204
  * @public
@@ -1208,7 +1208,7 @@ export interface ProtectionGroup {
1208
1208
  * <p>The ARN (Amazon Resource Name) of the protection group.</p>
1209
1209
  * @public
1210
1210
  */
1211
- ProtectionGroupArn?: string;
1211
+ ProtectionGroupArn?: string | undefined;
1212
1212
  }
1213
1213
  /**
1214
1214
  * @public
@@ -1234,12 +1234,12 @@ export interface Limit {
1234
1234
  * <p>The type of protection.</p>
1235
1235
  * @public
1236
1236
  */
1237
- Type?: string;
1237
+ Type?: string | undefined;
1238
1238
  /**
1239
1239
  * <p>The maximum number of protections that can be created for the specified <code>Type</code>.</p>
1240
1240
  * @public
1241
1241
  */
1242
- Max?: number;
1242
+ Max?: number | undefined;
1243
1243
  }
1244
1244
  /**
1245
1245
  * @public
@@ -1328,35 +1328,35 @@ export interface Subscription {
1328
1328
  * <p>The start time of the subscription, in Unix time in seconds. </p>
1329
1329
  * @public
1330
1330
  */
1331
- StartTime?: Date;
1331
+ StartTime?: Date | undefined;
1332
1332
  /**
1333
1333
  * <p>The date and time your subscription will end.</p>
1334
1334
  * @public
1335
1335
  */
1336
- EndTime?: Date;
1336
+ EndTime?: Date | undefined;
1337
1337
  /**
1338
1338
  * <p>The length, in seconds, of the Shield Advanced subscription for the account.</p>
1339
1339
  * @public
1340
1340
  */
1341
- TimeCommitmentInSeconds?: number;
1341
+ TimeCommitmentInSeconds?: number | undefined;
1342
1342
  /**
1343
1343
  * <p>If <code>ENABLED</code>, the subscription will be automatically renewed at the end of the existing subscription period.</p>
1344
1344
  * <p>When you initally create a subscription, <code>AutoRenew</code> is set to <code>ENABLED</code>. You can change this by submitting an <code>UpdateSubscription</code> request. If the <code>UpdateSubscription</code> request does not included a value for <code>AutoRenew</code>, the existing value for <code>AutoRenew</code> remains unchanged.</p>
1345
1345
  * @public
1346
1346
  */
1347
- AutoRenew?: AutoRenew;
1347
+ AutoRenew?: AutoRenew | undefined;
1348
1348
  /**
1349
1349
  * <p>Specifies how many protections of a given type you can create.</p>
1350
1350
  * @public
1351
1351
  */
1352
- Limits?: Limit[];
1352
+ Limits?: Limit[] | undefined;
1353
1353
  /**
1354
1354
  * <p>If <code>ENABLED</code>, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.</p>
1355
1355
  * <p>If <code>PENDING</code>, you have requested proactive engagement and the request is pending. The status changes to <code>ENABLED</code> when your request is fully processed.</p>
1356
1356
  * <p>If <code>DISABLED</code>, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support. </p>
1357
1357
  * @public
1358
1358
  */
1359
- ProactiveEngagementStatus?: ProactiveEngagementStatus;
1359
+ ProactiveEngagementStatus?: ProactiveEngagementStatus | undefined;
1360
1360
  /**
1361
1361
  * <p>Limits settings for your subscription. </p>
1362
1362
  * @public
@@ -1366,7 +1366,7 @@ export interface Subscription {
1366
1366
  * <p>The ARN (Amazon Resource Name) of the subscription.</p>
1367
1367
  * @public
1368
1368
  */
1369
- SubscriptionArn?: string;
1369
+ SubscriptionArn?: string | undefined;
1370
1370
  }
1371
1371
  /**
1372
1372
  * @public
@@ -1376,7 +1376,7 @@ export interface DescribeSubscriptionResponse {
1376
1376
  * <p>The Shield Advanced subscription details for an account.</p>
1377
1377
  * @public
1378
1378
  */
1379
- Subscription?: Subscription;
1379
+ Subscription?: Subscription | undefined;
1380
1380
  }
1381
1381
  /**
1382
1382
  * @public
@@ -1516,19 +1516,19 @@ export interface ListAttacksRequest {
1516
1516
  * blank, all applicable resources for this account will be included.</p>
1517
1517
  * @public
1518
1518
  */
1519
- ResourceArns?: string[];
1519
+ ResourceArns?: string[] | undefined;
1520
1520
  /**
1521
1521
  * <p>The start of the time period for the attacks. This is a <code>timestamp</code> type. The request syntax listing for this call indicates a <code>number</code> type,
1522
1522
  * but you can provide the time in any valid <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-types.html#parameter-type-timestamp">timestamp format</a> setting. </p>
1523
1523
  * @public
1524
1524
  */
1525
- StartTime?: TimeRange;
1525
+ StartTime?: TimeRange | undefined;
1526
1526
  /**
1527
1527
  * <p>The end of the time period for the attacks. This is a <code>timestamp</code> type. The request syntax listing for this call indicates a <code>number</code> type,
1528
1528
  * but you can provide the time in any valid <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-types.html#parameter-type-timestamp">timestamp format</a> setting. </p>
1529
1529
  * @public
1530
1530
  */
1531
- EndTime?: TimeRange;
1531
+ EndTime?: TimeRange | undefined;
1532
1532
  /**
1533
1533
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1534
1534
  * 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
@@ -1539,7 +1539,7 @@ export interface ListAttacksRequest {
1539
1539
  * <p>On your first call to a list operation, leave this setting empty.</p>
1540
1540
  * @public
1541
1541
  */
1542
- NextToken?: string;
1542
+ NextToken?: string | undefined;
1543
1543
  /**
1544
1544
  * <p>The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects
1545
1545
  * than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a <code>NextToken</code> value
@@ -1547,7 +1547,7 @@ export interface ListAttacksRequest {
1547
1547
  * <p>The default setting is 20.</p>
1548
1548
  * @public
1549
1549
  */
1550
- MaxResults?: number;
1550
+ MaxResults?: number | undefined;
1551
1551
  }
1552
1552
  /**
1553
1553
  * @public
@@ -1557,7 +1557,7 @@ export interface ListAttacksResponse {
1557
1557
  * <p>The attack information for the specified time range.</p>
1558
1558
  * @public
1559
1559
  */
1560
- AttackSummaries?: AttackSummary[];
1560
+ AttackSummaries?: AttackSummary[] | undefined;
1561
1561
  /**
1562
1562
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1563
1563
  * 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
@@ -1567,7 +1567,7 @@ export interface ListAttacksResponse {
1567
1567
  * <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
1568
  * @public
1569
1569
  */
1570
- NextToken?: string;
1570
+ NextToken?: string | undefined;
1571
1571
  }
1572
1572
  /**
1573
1573
  * <p>Exception that indicates that the <code>NextToken</code> specified in the request is invalid. Submit the request using the <code>NextToken</code> value that was returned in the prior response.</p>
@@ -1590,22 +1590,22 @@ export interface InclusionProtectionGroupFilters {
1590
1590
  * <p>The ID of the protection group that you want to retrieve. </p>
1591
1591
  * @public
1592
1592
  */
1593
- ProtectionGroupIds?: string[];
1593
+ ProtectionGroupIds?: string[] | undefined;
1594
1594
  /**
1595
1595
  * <p>The pattern specification of the protection groups that you want to retrieve. </p>
1596
1596
  * @public
1597
1597
  */
1598
- Patterns?: ProtectionGroupPattern[];
1598
+ Patterns?: ProtectionGroupPattern[] | undefined;
1599
1599
  /**
1600
1600
  * <p>The resource type configuration of the protection groups that you want to retrieve. In the protection group configuration, you specify the resource type when you set the group's <code>Pattern</code> to <code>BY_RESOURCE_TYPE</code>. </p>
1601
1601
  * @public
1602
1602
  */
1603
- ResourceTypes?: ProtectedResourceType[];
1603
+ ResourceTypes?: ProtectedResourceType[] | undefined;
1604
1604
  /**
1605
1605
  * <p>The aggregation setting of the protection groups that you want to retrieve. </p>
1606
1606
  * @public
1607
1607
  */
1608
- Aggregations?: ProtectionGroupAggregation[];
1608
+ Aggregations?: ProtectionGroupAggregation[] | undefined;
1609
1609
  }
1610
1610
  /**
1611
1611
  * @public
@@ -1621,7 +1621,7 @@ export interface ListProtectionGroupsRequest {
1621
1621
  * <p>On your first call to a list operation, leave this setting empty.</p>
1622
1622
  * @public
1623
1623
  */
1624
- NextToken?: string;
1624
+ NextToken?: string | undefined;
1625
1625
  /**
1626
1626
  * <p>The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects
1627
1627
  * than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a <code>NextToken</code> value
@@ -1629,12 +1629,12 @@ export interface ListProtectionGroupsRequest {
1629
1629
  * <p>The default setting is 20.</p>
1630
1630
  * @public
1631
1631
  */
1632
- MaxResults?: number;
1632
+ MaxResults?: number | undefined;
1633
1633
  /**
1634
1634
  * <p>Narrows the set of protection groups that the call retrieves. You can retrieve a single protection group by its name and you can retrieve all protection groups that are configured with specific pattern or aggregation settings. You can provide up to one criteria per filter type. Shield Advanced returns the protection groups that exactly match all of the search criteria that you provide.</p>
1635
1635
  * @public
1636
1636
  */
1637
- InclusionFilters?: InclusionProtectionGroupFilters;
1637
+ InclusionFilters?: InclusionProtectionGroupFilters | undefined;
1638
1638
  }
1639
1639
  /**
1640
1640
  * @public
@@ -1654,7 +1654,7 @@ export interface ListProtectionGroupsResponse {
1654
1654
  * <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
1655
  * @public
1656
1656
  */
1657
- NextToken?: string;
1657
+ NextToken?: string | undefined;
1658
1658
  }
1659
1659
  /**
1660
1660
  * <p>Narrows the set of protections that the call retrieves. You can retrieve a single protection by providing its name or the ARN (Amazon Resource Name) of its protected resource. You can also retrieve all protections for a specific resource type. You can provide up to one criteria per filter type. Shield Advanced returns protections that exactly match all of the filter criteria that you provide.</p>
@@ -1665,17 +1665,17 @@ export interface InclusionProtectionFilters {
1665
1665
  * <p>The ARN (Amazon Resource Name) of the resource whose protection you want to retrieve. </p>
1666
1666
  * @public
1667
1667
  */
1668
- ResourceArns?: string[];
1668
+ ResourceArns?: string[] | undefined;
1669
1669
  /**
1670
1670
  * <p>The name of the protection that you want to retrieve. </p>
1671
1671
  * @public
1672
1672
  */
1673
- ProtectionNames?: string[];
1673
+ ProtectionNames?: string[] | undefined;
1674
1674
  /**
1675
1675
  * <p>The type of protected resource whose protections you want to retrieve. </p>
1676
1676
  * @public
1677
1677
  */
1678
- ResourceTypes?: ProtectedResourceType[];
1678
+ ResourceTypes?: ProtectedResourceType[] | undefined;
1679
1679
  }
1680
1680
  /**
1681
1681
  * @public
@@ -1691,7 +1691,7 @@ export interface ListProtectionsRequest {
1691
1691
  * <p>On your first call to a list operation, leave this setting empty.</p>
1692
1692
  * @public
1693
1693
  */
1694
- NextToken?: string;
1694
+ NextToken?: string | undefined;
1695
1695
  /**
1696
1696
  * <p>The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects
1697
1697
  * than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a <code>NextToken</code> value
@@ -1699,12 +1699,12 @@ export interface ListProtectionsRequest {
1699
1699
  * <p>The default setting is 20.</p>
1700
1700
  * @public
1701
1701
  */
1702
- MaxResults?: number;
1702
+ MaxResults?: number | undefined;
1703
1703
  /**
1704
1704
  * <p>Narrows the set of protections that the call retrieves. You can retrieve a single protection by providing its name or the ARN (Amazon Resource Name) of its protected resource. You can also retrieve all protections for a specific resource type. You can provide up to one criteria per filter type. Shield Advanced returns protections that exactly match all of the filter criteria that you provide.</p>
1705
1705
  * @public
1706
1706
  */
1707
- InclusionFilters?: InclusionProtectionFilters;
1707
+ InclusionFilters?: InclusionProtectionFilters | undefined;
1708
1708
  }
1709
1709
  /**
1710
1710
  * @public
@@ -1714,7 +1714,7 @@ export interface ListProtectionsResponse {
1714
1714
  * <p>The array of enabled <a>Protection</a> objects.</p>
1715
1715
  * @public
1716
1716
  */
1717
- Protections?: Protection[];
1717
+ Protections?: Protection[] | undefined;
1718
1718
  /**
1719
1719
  * <p>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects,
1720
1720
  * 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
@@ -1724,7 +1724,7 @@ export interface ListProtectionsResponse {
1724
1724
  * <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
1725
  * @public
1726
1726
  */
1727
- NextToken?: string;
1727
+ NextToken?: string | undefined;
1728
1728
  }
1729
1729
  /**
1730
1730
  * @public
@@ -1745,7 +1745,7 @@ export interface ListResourcesInProtectionGroupRequest {
1745
1745
  * <p>On your first call to a list operation, leave this setting empty.</p>
1746
1746
  * @public
1747
1747
  */
1748
- NextToken?: string;
1748
+ NextToken?: string | undefined;
1749
1749
  /**
1750
1750
  * <p>The greatest number of objects that you want Shield Advanced to return to the list request. Shield Advanced might return fewer objects
1751
1751
  * than you indicate in this setting, even if more objects are available. If there are more objects remaining, Shield Advanced will always also return a <code>NextToken</code> value
@@ -1753,7 +1753,7 @@ export interface ListResourcesInProtectionGroupRequest {
1753
1753
  * <p>The default setting is 20.</p>
1754
1754
  * @public
1755
1755
  */
1756
- MaxResults?: number;
1756
+ MaxResults?: number | undefined;
1757
1757
  }
1758
1758
  /**
1759
1759
  * @public
@@ -1773,7 +1773,7 @@ export interface ListResourcesInProtectionGroupResponse {
1773
1773
  * <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
1774
  * @public
1775
1775
  */
1776
- NextToken?: string;
1776
+ NextToken?: string | undefined;
1777
1777
  }
1778
1778
  /**
1779
1779
  * @public
@@ -1793,7 +1793,7 @@ export interface ListTagsForResourceResponse {
1793
1793
  * <p>A list of tag key and value pairs associated with the specified resource.</p>
1794
1794
  * @public
1795
1795
  */
1796
- Tags?: Tag[];
1796
+ Tags?: Tag[] | undefined;
1797
1797
  }
1798
1798
  /**
1799
1799
  * @public
@@ -1866,7 +1866,7 @@ export interface UpdateEmergencyContactSettingsRequest {
1866
1866
  * <p>If you have proactive engagement enabled, the contact list must include at least one phone number.</p>
1867
1867
  * @public
1868
1868
  */
1869
- EmergencyContactList?: EmergencyContact[];
1869
+ EmergencyContactList?: EmergencyContact[] | undefined;
1870
1870
  }
1871
1871
  /**
1872
1872
  * @public
@@ -1908,12 +1908,12 @@ export interface UpdateProtectionGroupRequest {
1908
1908
  * You must set this when you set <code>Pattern</code> to <code>BY_RESOURCE_TYPE</code> and you must not set it for any other <code>Pattern</code> setting. </p>
1909
1909
  * @public
1910
1910
  */
1911
- ResourceType?: ProtectedResourceType;
1911
+ ResourceType?: ProtectedResourceType | undefined;
1912
1912
  /**
1913
1913
  * <p>The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set <code>Pattern</code> to <code>ARBITRARY</code> and you must not set it for any other <code>Pattern</code> setting. </p>
1914
1914
  * @public
1915
1915
  */
1916
- Members?: string[];
1916
+ Members?: string[] | undefined;
1917
1917
  }
1918
1918
  /**
1919
1919
  * @public
@@ -1928,7 +1928,7 @@ export interface UpdateSubscriptionRequest {
1928
1928
  * <p>When you initally create a subscription, <code>AutoRenew</code> is set to <code>ENABLED</code>. If <code>ENABLED</code>, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an <code>UpdateSubscription</code> request. If the <code>UpdateSubscription</code> request does not included a value for <code>AutoRenew</code>, the existing value for <code>AutoRenew</code> remains unchanged.</p>
1929
1929
  * @public
1930
1930
  */
1931
- AutoRenew?: AutoRenew;
1931
+ AutoRenew?: AutoRenew | undefined;
1932
1932
  }
1933
1933
  /**
1934
1934
  * @public
@@ -20,8 +20,8 @@ export declare class AccessDeniedForDependencyException extends __BaseException
20
20
  export interface BlockAction {}
21
21
  export interface CountAction {}
22
22
  export interface ResponseAction {
23
- Block?: BlockAction;
24
- Count?: CountAction;
23
+ Block?: BlockAction | undefined;
24
+ Count?: CountAction | undefined;
25
25
  }
26
26
  export declare const ApplicationLayerAutomaticResponseStatus: {
27
27
  readonly DISABLED: "DISABLED";
@@ -64,8 +64,8 @@ export type ValidationExceptionReason =
64
64
  export declare class InvalidParameterException extends __BaseException {
65
65
  readonly name: "InvalidParameterException";
66
66
  readonly $fault: "client";
67
- reason?: ValidationExceptionReason;
68
- fields?: ValidationExceptionField[];
67
+ reason?: ValidationExceptionReason | undefined;
68
+ fields?: ValidationExceptionField[] | undefined;
69
69
  constructor(
70
70
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
71
71
  );
@@ -73,8 +73,8 @@ export declare class InvalidParameterException extends __BaseException {
73
73
  export declare class LimitsExceededException extends __BaseException {
74
74
  readonly name: "LimitsExceededException";
75
75
  readonly $fault: "client";
76
- Type?: string;
77
- Limit?: number;
76
+ Type?: string | undefined;
77
+ Limit?: number | undefined;
78
78
  constructor(
79
79
  opts: __ExceptionOptionType<LimitsExceededException, __BaseException>
80
80
  );
@@ -96,7 +96,7 @@ export declare class OptimisticLockException extends __BaseException {
96
96
  export declare class ResourceNotFoundException extends __BaseException {
97
97
  readonly name: "ResourceNotFoundException";
98
98
  readonly $fault: "client";
99
- resourceType?: string;
99
+ resourceType?: string | undefined;
100
100
  constructor(
101
101
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
102
102
  );
@@ -119,20 +119,20 @@ export declare class InvalidResourceException extends __BaseException {
119
119
  }
120
120
  export interface EmergencyContact {
121
121
  EmailAddress: string | undefined;
122
- PhoneNumber?: string;
123
- ContactNotes?: string;
122
+ PhoneNumber?: string | undefined;
123
+ ContactNotes?: string | undefined;
124
124
  }
125
125
  export interface AssociateProactiveEngagementDetailsRequest {
126
126
  EmergencyContactList: EmergencyContact[] | undefined;
127
127
  }
128
128
  export interface AssociateProactiveEngagementDetailsResponse {}
129
129
  export interface SummarizedCounter {
130
- Name?: string;
131
- Max?: number;
132
- Average?: number;
133
- Sum?: number;
134
- N?: number;
135
- Unit?: string;
130
+ Name?: string | undefined;
131
+ Max?: number | undefined;
132
+ Average?: number | undefined;
133
+ Sum?: number | undefined;
134
+ N?: number | undefined;
135
+ Unit?: string | undefined;
136
136
  }
137
137
  export declare const AttackLayer: {
138
138
  readonly APPLICATION: "APPLICATION";
@@ -152,8 +152,8 @@ export declare const AttackPropertyIdentifier: {
152
152
  export type AttackPropertyIdentifier =
153
153
  (typeof AttackPropertyIdentifier)[keyof typeof AttackPropertyIdentifier];
154
154
  export interface Contributor {
155
- Name?: string;
156
- Value?: number;
155
+ Name?: string | undefined;
156
+ Value?: number | undefined;
157
157
  }
158
158
  export declare const Unit: {
159
159
  readonly BITS: "BITS";
@@ -163,18 +163,18 @@ export declare const Unit: {
163
163
  };
164
164
  export type Unit = (typeof Unit)[keyof typeof Unit];
165
165
  export interface AttackProperty {
166
- AttackLayer?: AttackLayer;
167
- AttackPropertyIdentifier?: AttackPropertyIdentifier;
168
- TopContributors?: Contributor[];
169
- Unit?: Unit;
170
- Total?: number;
166
+ AttackLayer?: AttackLayer | undefined;
167
+ AttackPropertyIdentifier?: AttackPropertyIdentifier | undefined;
168
+ TopContributors?: Contributor[] | undefined;
169
+ Unit?: Unit | undefined;
170
+ Total?: number | undefined;
171
171
  }
172
172
  export interface Mitigation {
173
- MitigationName?: string;
173
+ MitigationName?: string | undefined;
174
174
  }
175
175
  export interface SummarizedAttackVector {
176
176
  VectorType: string | undefined;
177
- VectorCounters?: SummarizedCounter[];
177
+ VectorCounters?: SummarizedCounter[] | undefined;
178
178
  }
179
179
  export declare const SubResourceType: {
180
180
  readonly IP: "IP";
@@ -183,42 +183,42 @@ export declare const SubResourceType: {
183
183
  export type SubResourceType =
184
184
  (typeof SubResourceType)[keyof typeof SubResourceType];
185
185
  export interface SubResourceSummary {
186
- Type?: SubResourceType;
187
- Id?: string;
188
- AttackVectors?: SummarizedAttackVector[];
189
- Counters?: SummarizedCounter[];
186
+ Type?: SubResourceType | undefined;
187
+ Id?: string | undefined;
188
+ AttackVectors?: SummarizedAttackVector[] | undefined;
189
+ Counters?: SummarizedCounter[] | undefined;
190
190
  }
191
191
  export interface AttackDetail {
192
- AttackId?: string;
193
- ResourceArn?: string;
194
- SubResources?: SubResourceSummary[];
195
- StartTime?: Date;
196
- EndTime?: Date;
197
- AttackCounters?: SummarizedCounter[];
198
- AttackProperties?: AttackProperty[];
199
- Mitigations?: Mitigation[];
192
+ AttackId?: string | undefined;
193
+ ResourceArn?: string | undefined;
194
+ SubResources?: SubResourceSummary[] | undefined;
195
+ StartTime?: Date | undefined;
196
+ EndTime?: Date | undefined;
197
+ AttackCounters?: SummarizedCounter[] | undefined;
198
+ AttackProperties?: AttackProperty[] | undefined;
199
+ Mitigations?: Mitigation[] | undefined;
200
200
  }
201
201
  export interface AttackVolumeStatistics {
202
202
  Max: number | undefined;
203
203
  }
204
204
  export interface AttackVolume {
205
- BitsPerSecond?: AttackVolumeStatistics;
206
- PacketsPerSecond?: AttackVolumeStatistics;
207
- RequestsPerSecond?: AttackVolumeStatistics;
205
+ BitsPerSecond?: AttackVolumeStatistics | undefined;
206
+ PacketsPerSecond?: AttackVolumeStatistics | undefined;
207
+ RequestsPerSecond?: AttackVolumeStatistics | undefined;
208
208
  }
209
209
  export interface AttackStatisticsDataItem {
210
- AttackVolume?: AttackVolume;
210
+ AttackVolume?: AttackVolume | undefined;
211
211
  AttackCount: number | undefined;
212
212
  }
213
213
  export interface AttackVectorDescription {
214
214
  VectorType: string | undefined;
215
215
  }
216
216
  export interface AttackSummary {
217
- AttackId?: string;
218
- ResourceArn?: string;
219
- StartTime?: Date;
220
- EndTime?: Date;
221
- AttackVectors?: AttackVectorDescription[];
217
+ AttackId?: string | undefined;
218
+ ResourceArn?: string | undefined;
219
+ StartTime?: Date | undefined;
220
+ EndTime?: Date | undefined;
221
+ AttackVectors?: AttackVectorDescription[] | undefined;
222
222
  }
223
223
  export declare const AutoRenew: {
224
224
  readonly DISABLED: "DISABLED";
@@ -226,21 +226,21 @@ export declare const AutoRenew: {
226
226
  };
227
227
  export type AutoRenew = (typeof AutoRenew)[keyof typeof AutoRenew];
228
228
  export interface Tag {
229
- Key?: string;
230
- Value?: string;
229
+ Key?: string | undefined;
230
+ Value?: string | undefined;
231
231
  }
232
232
  export interface CreateProtectionRequest {
233
233
  Name: string | undefined;
234
234
  ResourceArn: string | undefined;
235
- Tags?: Tag[];
235
+ Tags?: Tag[] | undefined;
236
236
  }
237
237
  export interface CreateProtectionResponse {
238
- ProtectionId?: string;
238
+ ProtectionId?: string | undefined;
239
239
  }
240
240
  export declare class ResourceAlreadyExistsException extends __BaseException {
241
241
  readonly name: "ResourceAlreadyExistsException";
242
242
  readonly $fault: "client";
243
- resourceType?: string;
243
+ resourceType?: string | undefined;
244
244
  constructor(
245
245
  opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
246
246
  );
@@ -273,9 +273,9 @@ export interface CreateProtectionGroupRequest {
273
273
  ProtectionGroupId: string | undefined;
274
274
  Aggregation: ProtectionGroupAggregation | undefined;
275
275
  Pattern: ProtectionGroupPattern | undefined;
276
- ResourceType?: ProtectedResourceType;
277
- Members?: string[];
278
- Tags?: Tag[];
276
+ ResourceType?: ProtectedResourceType | undefined;
277
+ Members?: string[] | undefined;
278
+ Tags?: Tag[] | undefined;
279
279
  }
280
280
  export interface CreateProtectionGroupResponse {}
281
281
  export interface CreateSubscriptionRequest {}
@@ -301,12 +301,12 @@ export interface DescribeAttackRequest {
301
301
  AttackId: string | undefined;
302
302
  }
303
303
  export interface DescribeAttackResponse {
304
- Attack?: AttackDetail;
304
+ Attack?: AttackDetail | undefined;
305
305
  }
306
306
  export interface DescribeAttackStatisticsRequest {}
307
307
  export interface TimeRange {
308
- FromInclusive?: Date;
309
- ToExclusive?: Date;
308
+ FromInclusive?: Date | undefined;
309
+ ToExclusive?: Date | undefined;
310
310
  }
311
311
  export interface DescribeAttackStatisticsResponse {
312
312
  TimeRange: TimeRange | undefined;
@@ -314,27 +314,29 @@ export interface DescribeAttackStatisticsResponse {
314
314
  }
315
315
  export interface DescribeDRTAccessRequest {}
316
316
  export interface DescribeDRTAccessResponse {
317
- RoleArn?: string;
318
- LogBucketList?: string[];
317
+ RoleArn?: string | undefined;
318
+ LogBucketList?: string[] | undefined;
319
319
  }
320
320
  export interface DescribeEmergencyContactSettingsRequest {}
321
321
  export interface DescribeEmergencyContactSettingsResponse {
322
- EmergencyContactList?: EmergencyContact[];
322
+ EmergencyContactList?: EmergencyContact[] | undefined;
323
323
  }
324
324
  export interface DescribeProtectionRequest {
325
- ProtectionId?: string;
326
- ResourceArn?: string;
325
+ ProtectionId?: string | undefined;
326
+ ResourceArn?: string | undefined;
327
327
  }
328
328
  export interface Protection {
329
- Id?: string;
330
- Name?: string;
331
- ResourceArn?: string;
332
- HealthCheckIds?: string[];
333
- ProtectionArn?: string;
334
- ApplicationLayerAutomaticResponseConfiguration?: ApplicationLayerAutomaticResponseConfiguration;
329
+ Id?: string | undefined;
330
+ Name?: string | undefined;
331
+ ResourceArn?: string | undefined;
332
+ HealthCheckIds?: string[] | undefined;
333
+ ProtectionArn?: string | undefined;
334
+ ApplicationLayerAutomaticResponseConfiguration?:
335
+ | ApplicationLayerAutomaticResponseConfiguration
336
+ | undefined;
335
337
  }
336
338
  export interface DescribeProtectionResponse {
337
- Protection?: Protection;
339
+ Protection?: Protection | undefined;
338
340
  }
339
341
  export interface DescribeProtectionGroupRequest {
340
342
  ProtectionGroupId: string | undefined;
@@ -343,17 +345,17 @@ export interface ProtectionGroup {
343
345
  ProtectionGroupId: string | undefined;
344
346
  Aggregation: ProtectionGroupAggregation | undefined;
345
347
  Pattern: ProtectionGroupPattern | undefined;
346
- ResourceType?: ProtectedResourceType;
348
+ ResourceType?: ProtectedResourceType | undefined;
347
349
  Members: string[] | undefined;
348
- ProtectionGroupArn?: string;
350
+ ProtectionGroupArn?: string | undefined;
349
351
  }
350
352
  export interface DescribeProtectionGroupResponse {
351
353
  ProtectionGroup: ProtectionGroup | undefined;
352
354
  }
353
355
  export interface DescribeSubscriptionRequest {}
354
356
  export interface Limit {
355
- Type?: string;
356
- Max?: number;
357
+ Type?: string | undefined;
358
+ Max?: number | undefined;
357
359
  }
358
360
  export declare const ProactiveEngagementStatus: {
359
361
  readonly DISABLED: "DISABLED";
@@ -380,17 +382,17 @@ export interface SubscriptionLimits {
380
382
  ProtectionGroupLimits: ProtectionGroupLimits | undefined;
381
383
  }
382
384
  export interface Subscription {
383
- StartTime?: Date;
384
- EndTime?: Date;
385
- TimeCommitmentInSeconds?: number;
386
- AutoRenew?: AutoRenew;
387
- Limits?: Limit[];
388
- ProactiveEngagementStatus?: ProactiveEngagementStatus;
385
+ StartTime?: Date | undefined;
386
+ EndTime?: Date | undefined;
387
+ TimeCommitmentInSeconds?: number | undefined;
388
+ AutoRenew?: AutoRenew | undefined;
389
+ Limits?: Limit[] | undefined;
390
+ ProactiveEngagementStatus?: ProactiveEngagementStatus | undefined;
389
391
  SubscriptionLimits: SubscriptionLimits | undefined;
390
- SubscriptionArn?: string;
392
+ SubscriptionArn?: string | undefined;
391
393
  }
392
394
  export interface DescribeSubscriptionResponse {
393
- Subscription?: Subscription;
395
+ Subscription?: Subscription | undefined;
394
396
  }
395
397
  export interface DisableApplicationLayerAutomaticResponseRequest {
396
398
  ResourceArn: string | undefined;
@@ -427,15 +429,15 @@ export interface GetSubscriptionStateResponse {
427
429
  SubscriptionState: SubscriptionState | undefined;
428
430
  }
429
431
  export interface ListAttacksRequest {
430
- ResourceArns?: string[];
431
- StartTime?: TimeRange;
432
- EndTime?: TimeRange;
433
- NextToken?: string;
434
- MaxResults?: number;
432
+ ResourceArns?: string[] | undefined;
433
+ StartTime?: TimeRange | undefined;
434
+ EndTime?: TimeRange | undefined;
435
+ NextToken?: string | undefined;
436
+ MaxResults?: number | undefined;
435
437
  }
436
438
  export interface ListAttacksResponse {
437
- AttackSummaries?: AttackSummary[];
438
- NextToken?: string;
439
+ AttackSummaries?: AttackSummary[] | undefined;
440
+ NextToken?: string | undefined;
439
441
  }
440
442
  export declare class InvalidPaginationTokenException extends __BaseException {
441
443
  readonly name: "InvalidPaginationTokenException";
@@ -448,48 +450,48 @@ export declare class InvalidPaginationTokenException extends __BaseException {
448
450
  );
449
451
  }
450
452
  export interface InclusionProtectionGroupFilters {
451
- ProtectionGroupIds?: string[];
452
- Patterns?: ProtectionGroupPattern[];
453
- ResourceTypes?: ProtectedResourceType[];
454
- Aggregations?: ProtectionGroupAggregation[];
453
+ ProtectionGroupIds?: string[] | undefined;
454
+ Patterns?: ProtectionGroupPattern[] | undefined;
455
+ ResourceTypes?: ProtectedResourceType[] | undefined;
456
+ Aggregations?: ProtectionGroupAggregation[] | undefined;
455
457
  }
456
458
  export interface ListProtectionGroupsRequest {
457
- NextToken?: string;
458
- MaxResults?: number;
459
- InclusionFilters?: InclusionProtectionGroupFilters;
459
+ NextToken?: string | undefined;
460
+ MaxResults?: number | undefined;
461
+ InclusionFilters?: InclusionProtectionGroupFilters | undefined;
460
462
  }
461
463
  export interface ListProtectionGroupsResponse {
462
464
  ProtectionGroups: ProtectionGroup[] | undefined;
463
- NextToken?: string;
465
+ NextToken?: string | undefined;
464
466
  }
465
467
  export interface InclusionProtectionFilters {
466
- ResourceArns?: string[];
467
- ProtectionNames?: string[];
468
- ResourceTypes?: ProtectedResourceType[];
468
+ ResourceArns?: string[] | undefined;
469
+ ProtectionNames?: string[] | undefined;
470
+ ResourceTypes?: ProtectedResourceType[] | undefined;
469
471
  }
470
472
  export interface ListProtectionsRequest {
471
- NextToken?: string;
472
- MaxResults?: number;
473
- InclusionFilters?: InclusionProtectionFilters;
473
+ NextToken?: string | undefined;
474
+ MaxResults?: number | undefined;
475
+ InclusionFilters?: InclusionProtectionFilters | undefined;
474
476
  }
475
477
  export interface ListProtectionsResponse {
476
- Protections?: Protection[];
477
- NextToken?: string;
478
+ Protections?: Protection[] | undefined;
479
+ NextToken?: string | undefined;
478
480
  }
479
481
  export interface ListResourcesInProtectionGroupRequest {
480
482
  ProtectionGroupId: string | undefined;
481
- NextToken?: string;
482
- MaxResults?: number;
483
+ NextToken?: string | undefined;
484
+ MaxResults?: number | undefined;
483
485
  }
484
486
  export interface ListResourcesInProtectionGroupResponse {
485
487
  ResourceArns: string[] | undefined;
486
- NextToken?: string;
488
+ NextToken?: string | undefined;
487
489
  }
488
490
  export interface ListTagsForResourceRequest {
489
491
  ResourceARN: string | undefined;
490
492
  }
491
493
  export interface ListTagsForResourceResponse {
492
- Tags?: Tag[];
494
+ Tags?: Tag[] | undefined;
493
495
  }
494
496
  export interface TagResourceRequest {
495
497
  ResourceARN: string | undefined;
@@ -507,18 +509,18 @@ export interface UpdateApplicationLayerAutomaticResponseRequest {
507
509
  }
508
510
  export interface UpdateApplicationLayerAutomaticResponseResponse {}
509
511
  export interface UpdateEmergencyContactSettingsRequest {
510
- EmergencyContactList?: EmergencyContact[];
512
+ EmergencyContactList?: EmergencyContact[] | undefined;
511
513
  }
512
514
  export interface UpdateEmergencyContactSettingsResponse {}
513
515
  export interface UpdateProtectionGroupRequest {
514
516
  ProtectionGroupId: string | undefined;
515
517
  Aggregation: ProtectionGroupAggregation | undefined;
516
518
  Pattern: ProtectionGroupPattern | undefined;
517
- ResourceType?: ProtectedResourceType;
518
- Members?: string[];
519
+ ResourceType?: ProtectedResourceType | undefined;
520
+ Members?: string[] | undefined;
519
521
  }
520
522
  export interface UpdateProtectionGroupResponse {}
521
523
  export interface UpdateSubscriptionRequest {
522
- AutoRenew?: AutoRenew;
524
+ AutoRenew?: AutoRenew | undefined;
523
525
  }
524
526
  export interface UpdateSubscriptionResponse {}
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.687.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-shield",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",