@aws-sdk/client-shield 3.35.0 → 3.38.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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/Shield.js +0 -7
- package/dist-cjs/ShieldClient.js +0 -12
- package/dist-cjs/commands/AssociateDRTLogBucketCommand.js +0 -26
- package/dist-cjs/commands/AssociateDRTRoleCommand.js +0 -31
- package/dist-cjs/commands/AssociateHealthCheckCommand.js +0 -26
- package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js +0 -30
- package/dist-cjs/commands/CreateProtectionCommand.js +0 -26
- package/dist-cjs/commands/CreateProtectionGroupCommand.js +0 -25
- package/dist-cjs/commands/CreateSubscriptionCommand.js +0 -27
- package/dist-cjs/commands/DeleteProtectionCommand.js +0 -25
- package/dist-cjs/commands/DeleteProtectionGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteSubscriptionCommand.js +0 -27
- package/dist-cjs/commands/DescribeAttackCommand.js +0 -25
- package/dist-cjs/commands/DescribeAttackStatisticsCommand.js +0 -27
- package/dist-cjs/commands/DescribeDRTAccessCommand.js +0 -25
- package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js +0 -25
- package/dist-cjs/commands/DescribeProtectionCommand.js +0 -25
- package/dist-cjs/commands/DescribeProtectionGroupCommand.js +0 -25
- package/dist-cjs/commands/DescribeSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/DisableProactiveEngagementCommand.js +0 -25
- package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js +0 -26
- package/dist-cjs/commands/DisassociateDRTRoleCommand.js +0 -26
- package/dist-cjs/commands/DisassociateHealthCheckCommand.js +0 -26
- package/dist-cjs/commands/EnableProactiveEngagementCommand.js +0 -25
- package/dist-cjs/commands/GetSubscriptionStateCommand.js +0 -25
- package/dist-cjs/commands/ListAttacksCommand.js +0 -26
- package/dist-cjs/commands/ListProtectionGroupsCommand.js +0 -25
- package/dist-cjs/commands/ListProtectionsCommand.js +0 -25
- package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js +0 -25
- package/dist-cjs/commands/UpdateProtectionGroupCommand.js +0 -25
- package/dist-cjs/commands/UpdateSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/index.js +36 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -41
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -313
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAttacksPaginator.js +0 -11
- package/dist-cjs/pagination/ListProtectionGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/ListProtectionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListResourcesInProtectionGroupPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Shield.js +0 -1
- package/dist-es/ShieldClient.js +0 -1
- package/dist-es/commands/AssociateDRTLogBucketCommand.js +0 -1
- package/dist-es/commands/AssociateDRTRoleCommand.js +0 -1
- package/dist-es/commands/AssociateHealthCheckCommand.js +0 -1
- package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +0 -1
- package/dist-es/commands/CreateProtectionCommand.js +0 -1
- package/dist-es/commands/CreateProtectionGroupCommand.js +0 -1
- package/dist-es/commands/CreateSubscriptionCommand.js +0 -1
- package/dist-es/commands/DeleteProtectionCommand.js +0 -1
- package/dist-es/commands/DeleteProtectionGroupCommand.js +0 -1
- package/dist-es/commands/DeleteSubscriptionCommand.js +0 -1
- package/dist-es/commands/DescribeAttackCommand.js +0 -1
- package/dist-es/commands/DescribeAttackStatisticsCommand.js +0 -1
- package/dist-es/commands/DescribeDRTAccessCommand.js +0 -1
- package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +0 -1
- package/dist-es/commands/DescribeProtectionCommand.js +0 -1
- package/dist-es/commands/DescribeProtectionGroupCommand.js +0 -1
- package/dist-es/commands/DescribeSubscriptionCommand.js +0 -1
- package/dist-es/commands/DisableProactiveEngagementCommand.js +0 -1
- package/dist-es/commands/DisassociateDRTLogBucketCommand.js +0 -1
- package/dist-es/commands/DisassociateDRTRoleCommand.js +0 -1
- package/dist-es/commands/DisassociateHealthCheckCommand.js +0 -1
- package/dist-es/commands/EnableProactiveEngagementCommand.js +0 -1
- package/dist-es/commands/GetSubscriptionStateCommand.js +0 -1
- package/dist-es/commands/ListAttacksCommand.js +0 -1
- package/dist-es/commands/ListProtectionGroupsCommand.js +0 -1
- package/dist-es/commands/ListProtectionsCommand.js +0 -1
- package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +0 -1
- package/dist-es/commands/UpdateProtectionGroupCommand.js +0 -1
- package/dist-es/commands/UpdateSubscriptionCommand.js +0 -1
- package/dist-es/commands/index.js +33 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -41
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAttacksPaginator.js +0 -1
- package/dist-es/pagination/ListProtectionGroupsPaginator.js +0 -1
- package/dist-es/pagination/ListProtectionsPaginator.js +0 -1
- package/dist-es/pagination/ListResourcesInProtectionGroupPaginator.js +0 -1
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +33 -0
- package/dist-types/index.d.ts +4 -40
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/Shield.d.ts +34 -129
- package/dist-types/ts3.4/ShieldClient.d.ts +24 -92
- package/dist-types/ts3.4/commands/AssociateDRTLogBucketCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AssociateDRTRoleCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/AssociateHealthCheckCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AssociateProactiveEngagementDetailsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateProtectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateProtectionGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteProtectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteProtectionGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSubscriptionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeAttackCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAttackStatisticsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeDRTAccessCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEmergencyContactSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeProtectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeProtectionGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisableProactiveEngagementCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateDRTLogBucketCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DisassociateDRTRoleCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DisassociateHealthCheckCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/EnableProactiveEngagementCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSubscriptionStateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAttacksCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListProtectionGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListProtectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResourcesInProtectionGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEmergencyContactSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateProtectionGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +33 -0
- package/dist-types/ts3.4/index.d.ts +4 -40
- package/dist-types/ts3.4/models/models_0.d.ts +292 -1041
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Shield.js.map +0 -1
- package/dist-cjs/ShieldClient.js.map +0 -1
- package/dist-cjs/commands/AssociateDRTLogBucketCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateDRTRoleCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateHealthCheckCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateProtectionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateProtectionGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProtectionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProtectionGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAttackCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAttackStatisticsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDRTAccessCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeProtectionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeProtectionGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/DisableProactiveEngagementCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateDRTRoleCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateHealthCheckCommand.js.map +0 -1
- package/dist-cjs/commands/EnableProactiveEngagementCommand.js.map +0 -1
- package/dist-cjs/commands/GetSubscriptionStateCommand.js.map +0 -1
- package/dist-cjs/commands/ListAttacksCommand.js.map +0 -1
- package/dist-cjs/commands/ListProtectionGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListProtectionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateProtectionGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSubscriptionCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAttacksPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProtectionGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProtectionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListResourcesInProtectionGroupPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Shield.js.map +0 -1
- package/dist-es/ShieldClient.js.map +0 -1
- package/dist-es/commands/AssociateDRTLogBucketCommand.js.map +0 -1
- package/dist-es/commands/AssociateDRTRoleCommand.js.map +0 -1
- package/dist-es/commands/AssociateHealthCheckCommand.js.map +0 -1
- package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js.map +0 -1
- package/dist-es/commands/CreateProtectionCommand.js.map +0 -1
- package/dist-es/commands/CreateProtectionGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/DeleteProtectionCommand.js.map +0 -1
- package/dist-es/commands/DeleteProtectionGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/DescribeAttackCommand.js.map +0 -1
- package/dist-es/commands/DescribeAttackStatisticsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDRTAccessCommand.js.map +0 -1
- package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js.map +0 -1
- package/dist-es/commands/DescribeProtectionCommand.js.map +0 -1
- package/dist-es/commands/DescribeProtectionGroupCommand.js.map +0 -1
- package/dist-es/commands/DescribeSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/DisableProactiveEngagementCommand.js.map +0 -1
- package/dist-es/commands/DisassociateDRTLogBucketCommand.js.map +0 -1
- package/dist-es/commands/DisassociateDRTRoleCommand.js.map +0 -1
- package/dist-es/commands/DisassociateHealthCheckCommand.js.map +0 -1
- package/dist-es/commands/EnableProactiveEngagementCommand.js.map +0 -1
- package/dist-es/commands/GetSubscriptionStateCommand.js.map +0 -1
- package/dist-es/commands/ListAttacksCommand.js.map +0 -1
- package/dist-es/commands/ListProtectionGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListProtectionsCommand.js.map +0 -1
- package/dist-es/commands/ListResourcesInProtectionGroupCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js.map +0 -1
- package/dist-es/commands/UpdateProtectionGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateSubscriptionCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAttacksPaginator.js.map +0 -1
- package/dist-es/pagination/ListProtectionGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/ListProtectionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListResourcesInProtectionGroupPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Shield.ts +0 -1236
- package/src/ShieldClient.ts +0 -398
- package/src/commands/AssociateDRTLogBucketCommand.ts +0 -96
- package/src/commands/AssociateDRTRoleCommand.ts +0 -101
- package/src/commands/AssociateHealthCheckCommand.ts +0 -96
- package/src/commands/AssociateProactiveEngagementDetailsCommand.ts +0 -111
- package/src/commands/CreateProtectionCommand.ts +0 -96
- package/src/commands/CreateProtectionGroupCommand.ts +0 -95
- package/src/commands/CreateSubscriptionCommand.ts +0 -97
- package/src/commands/DeleteProtectionCommand.ts +0 -95
- package/src/commands/DeleteProtectionGroupCommand.ts +0 -95
- package/src/commands/DeleteSubscriptionCommand.ts +0 -97
- package/src/commands/DescribeAttackCommand.ts +0 -95
- package/src/commands/DescribeAttackStatisticsCommand.ts +0 -97
- package/src/commands/DescribeDRTAccessCommand.ts +0 -95
- package/src/commands/DescribeEmergencyContactSettingsCommand.ts +0 -103
- package/src/commands/DescribeProtectionCommand.ts +0 -95
- package/src/commands/DescribeProtectionGroupCommand.ts +0 -95
- package/src/commands/DescribeSubscriptionCommand.ts +0 -95
- package/src/commands/DisableProactiveEngagementCommand.ts +0 -98
- package/src/commands/DisassociateDRTLogBucketCommand.ts +0 -96
- package/src/commands/DisassociateDRTRoleCommand.ts +0 -96
- package/src/commands/DisassociateHealthCheckCommand.ts +0 -96
- package/src/commands/EnableProactiveEngagementCommand.ts +0 -98
- package/src/commands/GetSubscriptionStateCommand.ts +0 -95
- package/src/commands/ListAttacksCommand.ts +0 -96
- package/src/commands/ListProtectionGroupsCommand.ts +0 -95
- package/src/commands/ListProtectionsCommand.ts +0 -95
- package/src/commands/ListResourcesInProtectionGroupCommand.ts +0 -103
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateEmergencyContactSettingsCommand.ts +0 -103
- package/src/commands/UpdateProtectionGroupCommand.ts +0 -95
- package/src/commands/UpdateSubscriptionCommand.ts +0 -95
- package/src/endpoints.ts +0 -68
- package/src/index.ts +0 -41
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2292
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAttacksPaginator.ts +0 -55
- package/src/pagination/ListProtectionGroupsPaginator.ts +0 -59
- package/src/pagination/ListProtectionsPaginator.ts +0 -59
- package/src/pagination/ListResourcesInProtectionGroupPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -4754
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/models/models_0.ts
DELETED
|
@@ -1,2292 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* <p>Exception that indicates the specified <code>AttackId</code> does not exist, or the requester does not have the appropriate permissions to access the <code>AttackId</code>.</p>
|
|
5
|
-
*/
|
|
6
|
-
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
7
|
-
name: "AccessDeniedException";
|
|
8
|
-
$fault: "client";
|
|
9
|
-
message?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export namespace AccessDeniedException {
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
|
|
17
|
-
...obj,
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>In order to grant the necessary access to the Shield Response Team (SRT) the user submitting the request must have the <code>iam:PassRole</code> permission. This error indicates the user did not have the appropriate permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a User Permissions to Pass a Role to an Amazon Web Services Service</a>. </p>
|
|
23
|
-
*/
|
|
24
|
-
export interface AccessDeniedForDependencyException extends __SmithyException, $MetadataBearer {
|
|
25
|
-
name: "AccessDeniedForDependencyException";
|
|
26
|
-
$fault: "client";
|
|
27
|
-
message?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export namespace AccessDeniedForDependencyException {
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
export const filterSensitiveLog = (obj: AccessDeniedForDependencyException): any => ({
|
|
35
|
-
...obj,
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface AssociateDRTLogBucketRequest {
|
|
40
|
-
/**
|
|
41
|
-
* <p>The Amazon S3 bucket that contains the logs that you want to share.</p>
|
|
42
|
-
*/
|
|
43
|
-
LogBucket: string | undefined;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export namespace AssociateDRTLogBucketRequest {
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
|
-
export const filterSensitiveLog = (obj: AssociateDRTLogBucketRequest): any => ({
|
|
51
|
-
...obj,
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface AssociateDRTLogBucketResponse {}
|
|
56
|
-
|
|
57
|
-
export namespace AssociateDRTLogBucketResponse {
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
export const filterSensitiveLog = (obj: AssociateDRTLogBucketResponse): any => ({
|
|
62
|
-
...obj,
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* <p>Exception that indicates that a problem occurred with the service infrastructure. You
|
|
68
|
-
* can retry the request.</p>
|
|
69
|
-
*/
|
|
70
|
-
export interface InternalErrorException extends __SmithyException, $MetadataBearer {
|
|
71
|
-
name: "InternalErrorException";
|
|
72
|
-
$fault: "server";
|
|
73
|
-
message?: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export namespace InternalErrorException {
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
export const filterSensitiveLog = (obj: InternalErrorException): any => ({
|
|
81
|
-
...obj,
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* <p>Exception that indicates that the operation would not cause any change to occur.</p>
|
|
87
|
-
*/
|
|
88
|
-
export interface InvalidOperationException extends __SmithyException, $MetadataBearer {
|
|
89
|
-
name: "InvalidOperationException";
|
|
90
|
-
$fault: "client";
|
|
91
|
-
message?: string;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export namespace InvalidOperationException {
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
export const filterSensitiveLog = (obj: InvalidOperationException): any => ({
|
|
99
|
-
...obj,
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* <p>Provides information about a particular parameter passed inside a request that resulted in an exception.</p>
|
|
105
|
-
*/
|
|
106
|
-
export interface ValidationExceptionField {
|
|
107
|
-
/**
|
|
108
|
-
* <p>The name of the parameter that failed validation.</p>
|
|
109
|
-
*/
|
|
110
|
-
name: string | undefined;
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* <p>The message describing why the parameter failed validation.</p>
|
|
114
|
-
*/
|
|
115
|
-
message: string | undefined;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export namespace ValidationExceptionField {
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
export const filterSensitiveLog = (obj: ValidationExceptionField): any => ({
|
|
123
|
-
...obj,
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export enum ValidationExceptionReason {
|
|
128
|
-
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
129
|
-
OTHER = "OTHER",
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* <p>Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties. </p>
|
|
134
|
-
*/
|
|
135
|
-
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
136
|
-
name: "InvalidParameterException";
|
|
137
|
-
$fault: "client";
|
|
138
|
-
message?: string;
|
|
139
|
-
/**
|
|
140
|
-
* <p>Additional information about the exception.</p>
|
|
141
|
-
*/
|
|
142
|
-
reason?: ValidationExceptionReason | string;
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* <p>Fields that caused the exception.</p>
|
|
146
|
-
*/
|
|
147
|
-
fields?: ValidationExceptionField[];
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
export namespace InvalidParameterException {
|
|
151
|
-
/**
|
|
152
|
-
* @internal
|
|
153
|
-
*/
|
|
154
|
-
export const filterSensitiveLog = (obj: InvalidParameterException): any => ({
|
|
155
|
-
...obj,
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* <p>Exception that indicates that the operation would exceed a limit.</p>
|
|
161
|
-
*/
|
|
162
|
-
export interface LimitsExceededException extends __SmithyException, $MetadataBearer {
|
|
163
|
-
name: "LimitsExceededException";
|
|
164
|
-
$fault: "client";
|
|
165
|
-
message?: string;
|
|
166
|
-
/**
|
|
167
|
-
* <p>The type of limit that would be exceeded.</p>
|
|
168
|
-
*/
|
|
169
|
-
Type?: string;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* <p>The threshold that would be exceeded.</p>
|
|
173
|
-
*/
|
|
174
|
-
Limit?: number;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
export namespace LimitsExceededException {
|
|
178
|
-
/**
|
|
179
|
-
* @internal
|
|
180
|
-
*/
|
|
181
|
-
export const filterSensitiveLog = (obj: LimitsExceededException): any => ({
|
|
182
|
-
...obj,
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* <p>The ARN of the role that you specifed does not exist.</p>
|
|
188
|
-
*/
|
|
189
|
-
export interface NoAssociatedRoleException extends __SmithyException, $MetadataBearer {
|
|
190
|
-
name: "NoAssociatedRoleException";
|
|
191
|
-
$fault: "client";
|
|
192
|
-
message?: string;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
export namespace NoAssociatedRoleException {
|
|
196
|
-
/**
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
199
|
-
export const filterSensitiveLog = (obj: NoAssociatedRoleException): any => ({
|
|
200
|
-
...obj,
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* <p>Exception that indicates that the resource state has been modified by another
|
|
206
|
-
* client. Retrieve the resource and then retry your request.</p>
|
|
207
|
-
*/
|
|
208
|
-
export interface OptimisticLockException extends __SmithyException, $MetadataBearer {
|
|
209
|
-
name: "OptimisticLockException";
|
|
210
|
-
$fault: "client";
|
|
211
|
-
message?: string;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export namespace OptimisticLockException {
|
|
215
|
-
/**
|
|
216
|
-
* @internal
|
|
217
|
-
*/
|
|
218
|
-
export const filterSensitiveLog = (obj: OptimisticLockException): any => ({
|
|
219
|
-
...obj,
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
|
|
225
|
-
*/
|
|
226
|
-
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
227
|
-
name: "ResourceNotFoundException";
|
|
228
|
-
$fault: "client";
|
|
229
|
-
message?: string;
|
|
230
|
-
/**
|
|
231
|
-
* <p>Type of resource.</p>
|
|
232
|
-
*/
|
|
233
|
-
resourceType?: string;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
export namespace ResourceNotFoundException {
|
|
237
|
-
/**
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
|
-
export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
|
|
241
|
-
...obj,
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
export interface AssociateDRTRoleRequest {
|
|
246
|
-
/**
|
|
247
|
-
* <p>The Amazon Resource Name (ARN) of the role the SRT will use to access your Amazon Web Services account.</p>
|
|
248
|
-
* <p>Prior to making the <code>AssociateDRTRole</code> request, you must attach the <a href="https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSShieldDRTAccessPolicy">AWSShieldDRTAccessPolicy</a> managed policy to this role. For more information see <a href=" https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage-attach-detach.html">Attaching and Detaching IAM Policies</a>.</p>
|
|
249
|
-
*/
|
|
250
|
-
RoleArn: string | undefined;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
export namespace AssociateDRTRoleRequest {
|
|
254
|
-
/**
|
|
255
|
-
* @internal
|
|
256
|
-
*/
|
|
257
|
-
export const filterSensitiveLog = (obj: AssociateDRTRoleRequest): any => ({
|
|
258
|
-
...obj,
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
export interface AssociateDRTRoleResponse {}
|
|
263
|
-
|
|
264
|
-
export namespace AssociateDRTRoleResponse {
|
|
265
|
-
/**
|
|
266
|
-
* @internal
|
|
267
|
-
*/
|
|
268
|
-
export const filterSensitiveLog = (obj: AssociateDRTRoleResponse): any => ({
|
|
269
|
-
...obj,
|
|
270
|
-
});
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
export interface AssociateHealthCheckRequest {
|
|
274
|
-
/**
|
|
275
|
-
* <p>The unique identifier (ID) for the <a>Protection</a> object to add the health check association to. </p>
|
|
276
|
-
*/
|
|
277
|
-
ProtectionId: string | undefined;
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* <p>The Amazon Resource Name (ARN) of the health check to associate with the protection.</p>
|
|
281
|
-
*/
|
|
282
|
-
HealthCheckArn: string | undefined;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
export namespace AssociateHealthCheckRequest {
|
|
286
|
-
/**
|
|
287
|
-
* @internal
|
|
288
|
-
*/
|
|
289
|
-
export const filterSensitiveLog = (obj: AssociateHealthCheckRequest): any => ({
|
|
290
|
-
...obj,
|
|
291
|
-
});
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export interface AssociateHealthCheckResponse {}
|
|
295
|
-
|
|
296
|
-
export namespace AssociateHealthCheckResponse {
|
|
297
|
-
/**
|
|
298
|
-
* @internal
|
|
299
|
-
*/
|
|
300
|
-
export const filterSensitiveLog = (obj: AssociateHealthCheckResponse): any => ({
|
|
301
|
-
...obj,
|
|
302
|
-
});
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* <p>Contact information that the SRT can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.</p>
|
|
307
|
-
*/
|
|
308
|
-
export interface EmergencyContact {
|
|
309
|
-
/**
|
|
310
|
-
* <p>The email address for the contact.</p>
|
|
311
|
-
*/
|
|
312
|
-
EmailAddress: string | undefined;
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* <p>The phone number for the contact.</p>
|
|
316
|
-
*/
|
|
317
|
-
PhoneNumber?: string;
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* <p>Additional notes regarding the contact. </p>
|
|
321
|
-
*/
|
|
322
|
-
ContactNotes?: string;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
export namespace EmergencyContact {
|
|
326
|
-
/**
|
|
327
|
-
* @internal
|
|
328
|
-
*/
|
|
329
|
-
export const filterSensitiveLog = (obj: EmergencyContact): any => ({
|
|
330
|
-
...obj,
|
|
331
|
-
});
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
export interface AssociateProactiveEngagementDetailsRequest {
|
|
335
|
-
/**
|
|
336
|
-
* <p>A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you for escalations to the SRT and to initiate proactive customer support. </p>
|
|
337
|
-
* <p>To enable proactive engagement, the contact list must include at least one phone number.</p>
|
|
338
|
-
* <note>
|
|
339
|
-
* <p>The contacts that you provide here replace any contacts that were already defined. If you already have contacts defined and want to use them, retrieve the list using <code>DescribeEmergencyContactSettings</code> and then provide it here. </p>
|
|
340
|
-
* </note>
|
|
341
|
-
*/
|
|
342
|
-
EmergencyContactList: EmergencyContact[] | undefined;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
export namespace AssociateProactiveEngagementDetailsRequest {
|
|
346
|
-
/**
|
|
347
|
-
* @internal
|
|
348
|
-
*/
|
|
349
|
-
export const filterSensitiveLog = (obj: AssociateProactiveEngagementDetailsRequest): any => ({
|
|
350
|
-
...obj,
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
export interface AssociateProactiveEngagementDetailsResponse {}
|
|
355
|
-
|
|
356
|
-
export namespace AssociateProactiveEngagementDetailsResponse {
|
|
357
|
-
/**
|
|
358
|
-
* @internal
|
|
359
|
-
*/
|
|
360
|
-
export const filterSensitiveLog = (obj: AssociateProactiveEngagementDetailsResponse): any => ({
|
|
361
|
-
...obj,
|
|
362
|
-
});
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* <p>The counter that describes a DDoS attack.</p>
|
|
367
|
-
*/
|
|
368
|
-
export interface SummarizedCounter {
|
|
369
|
-
/**
|
|
370
|
-
* <p>The counter name.</p>
|
|
371
|
-
*/
|
|
372
|
-
Name?: string;
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* <p>The maximum value of the counter for a specified time period.</p>
|
|
376
|
-
*/
|
|
377
|
-
Max?: number;
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* <p>The average value of the counter for a specified time period.</p>
|
|
381
|
-
*/
|
|
382
|
-
Average?: number;
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* <p>The total of counter values for a specified time period.</p>
|
|
386
|
-
*/
|
|
387
|
-
Sum?: number;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* <p>The number of counters for a specified time period.</p>
|
|
391
|
-
*/
|
|
392
|
-
N?: number;
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* <p>The unit of the counters.</p>
|
|
396
|
-
*/
|
|
397
|
-
Unit?: string;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
export namespace SummarizedCounter {
|
|
401
|
-
/**
|
|
402
|
-
* @internal
|
|
403
|
-
*/
|
|
404
|
-
export const filterSensitiveLog = (obj: SummarizedCounter): any => ({
|
|
405
|
-
...obj,
|
|
406
|
-
});
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
export enum AttackLayer {
|
|
410
|
-
APPLICATION = "APPLICATION",
|
|
411
|
-
NETWORK = "NETWORK",
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
export enum AttackPropertyIdentifier {
|
|
415
|
-
DESTINATION_URL = "DESTINATION_URL",
|
|
416
|
-
REFERRER = "REFERRER",
|
|
417
|
-
SOURCE_ASN = "SOURCE_ASN",
|
|
418
|
-
SOURCE_COUNTRY = "SOURCE_COUNTRY",
|
|
419
|
-
SOURCE_IP_ADDRESS = "SOURCE_IP_ADDRESS",
|
|
420
|
-
SOURCE_USER_AGENT = "SOURCE_USER_AGENT",
|
|
421
|
-
WORDPRESS_PINGBACK_REFLECTOR = "WORDPRESS_PINGBACK_REFLECTOR",
|
|
422
|
-
WORDPRESS_PINGBACK_SOURCE = "WORDPRESS_PINGBACK_SOURCE",
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* <p>A contributor to the attack and their contribution.</p>
|
|
427
|
-
*/
|
|
428
|
-
export interface Contributor {
|
|
429
|
-
/**
|
|
430
|
-
* <p>The name of the contributor. This is dependent on the <code>AttackPropertyIdentifier</code>. For example, if the <code>AttackPropertyIdentifier</code> is <code>SOURCE_COUNTRY</code>, the <code>Name</code> could be <code>United States</code>.</p>
|
|
431
|
-
*/
|
|
432
|
-
Name?: string;
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* <p>The contribution of this contributor expressed in <a>Protection</a> units. For example <code>10,000</code>.</p>
|
|
436
|
-
*/
|
|
437
|
-
Value?: number;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
export namespace Contributor {
|
|
441
|
-
/**
|
|
442
|
-
* @internal
|
|
443
|
-
*/
|
|
444
|
-
export const filterSensitiveLog = (obj: Contributor): any => ({
|
|
445
|
-
...obj,
|
|
446
|
-
});
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
export enum Unit {
|
|
450
|
-
BITS = "BITS",
|
|
451
|
-
BYTES = "BYTES",
|
|
452
|
-
PACKETS = "PACKETS",
|
|
453
|
-
REQUESTS = "REQUESTS",
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* <p>Details of a Shield event. This is provided as part of an <a>AttackDetail</a>.</p>
|
|
458
|
-
*/
|
|
459
|
-
export interface AttackProperty {
|
|
460
|
-
/**
|
|
461
|
-
* <p>The type of Shield event that was observed. <code>NETWORK</code> indicates layer 3 and layer 4 events and <code>APPLICATION</code>
|
|
462
|
-
* indicates layer 7 events.</p>
|
|
463
|
-
* <p>For infrastructure
|
|
464
|
-
* layer events (L3 and L4 events) after January 25, 2021, you can view metrics for top contributors in Amazon CloudWatch metrics.
|
|
465
|
-
* For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#set-ddos-alarms">Shield metrics and alarms</a>
|
|
466
|
-
* in the <i>WAF Developer Guide</i>. </p>
|
|
467
|
-
*/
|
|
468
|
-
AttackLayer?: AttackLayer | string;
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* <p>Defines the Shield event property information that is provided. The
|
|
472
|
-
* <code>WORDPRESS_PINGBACK_REFLECTOR</code> and <code>WORDPRESS_PINGBACK_SOURCE</code>
|
|
473
|
-
* values are valid only for WordPress reflective pingback events.</p>
|
|
474
|
-
*/
|
|
475
|
-
AttackPropertyIdentifier?: AttackPropertyIdentifier | string;
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* <p>Contributor objects for the top five contributors to a Shield event. </p>
|
|
479
|
-
*/
|
|
480
|
-
TopContributors?: Contributor[];
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* <p>The unit used for the <code>Contributor</code>
|
|
484
|
-
* <code>Value</code> property. </p>
|
|
485
|
-
*/
|
|
486
|
-
Unit?: Unit | string;
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* <p>The total contributions made to this Shield event by all contributors.</p>
|
|
490
|
-
*/
|
|
491
|
-
Total?: number;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
export namespace AttackProperty {
|
|
495
|
-
/**
|
|
496
|
-
* @internal
|
|
497
|
-
*/
|
|
498
|
-
export const filterSensitiveLog = (obj: AttackProperty): any => ({
|
|
499
|
-
...obj,
|
|
500
|
-
});
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* <p>The mitigation applied to a DDoS attack.</p>
|
|
505
|
-
*/
|
|
506
|
-
export interface Mitigation {
|
|
507
|
-
/**
|
|
508
|
-
* <p>The name of the mitigation taken for this attack.</p>
|
|
509
|
-
*/
|
|
510
|
-
MitigationName?: string;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
export namespace Mitigation {
|
|
514
|
-
/**
|
|
515
|
-
* @internal
|
|
516
|
-
*/
|
|
517
|
-
export const filterSensitiveLog = (obj: Mitigation): any => ({
|
|
518
|
-
...obj,
|
|
519
|
-
});
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
/**
|
|
523
|
-
* <p>A summary of information about the attack.</p>
|
|
524
|
-
*/
|
|
525
|
-
export interface SummarizedAttackVector {
|
|
526
|
-
/**
|
|
527
|
-
* <p>The attack type, for example, SNMP reflection or SYN flood.</p>
|
|
528
|
-
*/
|
|
529
|
-
VectorType: string | undefined;
|
|
530
|
-
|
|
531
|
-
/**
|
|
532
|
-
* <p>The list of counters that describe the details of the attack.</p>
|
|
533
|
-
*/
|
|
534
|
-
VectorCounters?: SummarizedCounter[];
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
export namespace SummarizedAttackVector {
|
|
538
|
-
/**
|
|
539
|
-
* @internal
|
|
540
|
-
*/
|
|
541
|
-
export const filterSensitiveLog = (obj: SummarizedAttackVector): any => ({
|
|
542
|
-
...obj,
|
|
543
|
-
});
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
export enum SubResourceType {
|
|
547
|
-
IP = "IP",
|
|
548
|
-
URL = "URL",
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* <p>The attack information for the specified SubResource.</p>
|
|
553
|
-
*/
|
|
554
|
-
export interface SubResourceSummary {
|
|
555
|
-
/**
|
|
556
|
-
* <p>The <code>SubResource</code> type.</p>
|
|
557
|
-
*/
|
|
558
|
-
Type?: SubResourceType | string;
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* <p>The unique identifier (ID) of the <code>SubResource</code>.</p>
|
|
562
|
-
*/
|
|
563
|
-
Id?: string;
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* <p>The list of attack types and associated counters.</p>
|
|
567
|
-
*/
|
|
568
|
-
AttackVectors?: SummarizedAttackVector[];
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* <p>The counters that describe the details of the attack.</p>
|
|
572
|
-
*/
|
|
573
|
-
Counters?: SummarizedCounter[];
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
export namespace SubResourceSummary {
|
|
577
|
-
/**
|
|
578
|
-
* @internal
|
|
579
|
-
*/
|
|
580
|
-
export const filterSensitiveLog = (obj: SubResourceSummary): any => ({
|
|
581
|
-
...obj,
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* <p>The details of a DDoS attack.</p>
|
|
587
|
-
*/
|
|
588
|
-
export interface AttackDetail {
|
|
589
|
-
/**
|
|
590
|
-
* <p>The unique identifier (ID) of the attack.</p>
|
|
591
|
-
*/
|
|
592
|
-
AttackId?: string;
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* <p>The ARN (Amazon Resource Name) of the resource that was attacked.</p>
|
|
596
|
-
*/
|
|
597
|
-
ResourceArn?: string;
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* <p>If applicable, additional detail about the resource being attacked, for example, IP address or URL.</p>
|
|
601
|
-
*/
|
|
602
|
-
SubResources?: SubResourceSummary[];
|
|
603
|
-
|
|
604
|
-
/**
|
|
605
|
-
* <p>The time the attack started, in Unix time in seconds. For more information see <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types">timestamp</a>.</p>
|
|
606
|
-
*/
|
|
607
|
-
StartTime?: Date;
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* <p>The time the attack ended, in Unix time in seconds. For more information see <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types">timestamp</a>.</p>
|
|
611
|
-
*/
|
|
612
|
-
EndTime?: Date;
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* <p>List of counters that describe the attack for the specified time period.</p>
|
|
616
|
-
*/
|
|
617
|
-
AttackCounters?: SummarizedCounter[];
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* <p>The array of objects that provide details of the Shield event. </p>
|
|
621
|
-
* <p>For infrastructure
|
|
622
|
-
* layer events (L3 and L4 events) after January 25, 2021, you can view metrics for top contributors in Amazon CloudWatch metrics.
|
|
623
|
-
* For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#set-ddos-alarms">Shield metrics and alarms</a>
|
|
624
|
-
* in the <i>WAF Developer Guide</i>. </p>
|
|
625
|
-
*/
|
|
626
|
-
AttackProperties?: AttackProperty[];
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* <p>List of mitigation actions taken for the attack.</p>
|
|
630
|
-
*/
|
|
631
|
-
Mitigations?: Mitigation[];
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
export namespace AttackDetail {
|
|
635
|
-
/**
|
|
636
|
-
* @internal
|
|
637
|
-
*/
|
|
638
|
-
export const filterSensitiveLog = (obj: AttackDetail): any => ({
|
|
639
|
-
...obj,
|
|
640
|
-
});
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* <p>Statistics objects for the various data types in <a>AttackVolume</a>. </p>
|
|
645
|
-
*/
|
|
646
|
-
export interface AttackVolumeStatistics {
|
|
647
|
-
/**
|
|
648
|
-
* <p>The maximum attack volume observed for the given unit.</p>
|
|
649
|
-
*/
|
|
650
|
-
Max: number | undefined;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
export namespace AttackVolumeStatistics {
|
|
654
|
-
/**
|
|
655
|
-
* @internal
|
|
656
|
-
*/
|
|
657
|
-
export const filterSensitiveLog = (obj: AttackVolumeStatistics): any => ({
|
|
658
|
-
...obj,
|
|
659
|
-
});
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* <p>Information about the volume of attacks during the time period, included in an <a>AttackStatisticsDataItem</a>. If the accompanying <code>AttackCount</code> in the statistics object is zero, this setting might be empty.</p>
|
|
664
|
-
*/
|
|
665
|
-
export interface AttackVolume {
|
|
666
|
-
/**
|
|
667
|
-
* <p>A statistics object that uses bits per second as the unit. This is included for network level attacks. </p>
|
|
668
|
-
*/
|
|
669
|
-
BitsPerSecond?: AttackVolumeStatistics;
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
* <p>A statistics object that uses packets per second as the unit. This is included for network level attacks. </p>
|
|
673
|
-
*/
|
|
674
|
-
PacketsPerSecond?: AttackVolumeStatistics;
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* <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>
|
|
678
|
-
*/
|
|
679
|
-
RequestsPerSecond?: AttackVolumeStatistics;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
export namespace AttackVolume {
|
|
683
|
-
/**
|
|
684
|
-
* @internal
|
|
685
|
-
*/
|
|
686
|
-
export const filterSensitiveLog = (obj: AttackVolume): any => ({
|
|
687
|
-
...obj,
|
|
688
|
-
});
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* <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>
|
|
693
|
-
*/
|
|
694
|
-
export interface AttackStatisticsDataItem {
|
|
695
|
-
/**
|
|
696
|
-
* <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>
|
|
697
|
-
*/
|
|
698
|
-
AttackVolume?: AttackVolume;
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* <p>The number of attacks detected during the time period. This is always present, but might be zero. </p>
|
|
702
|
-
*/
|
|
703
|
-
AttackCount: number | undefined;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
export namespace AttackStatisticsDataItem {
|
|
707
|
-
/**
|
|
708
|
-
* @internal
|
|
709
|
-
*/
|
|
710
|
-
export const filterSensitiveLog = (obj: AttackStatisticsDataItem): any => ({
|
|
711
|
-
...obj,
|
|
712
|
-
});
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* <p>Describes the attack.</p>
|
|
717
|
-
*/
|
|
718
|
-
export interface AttackVectorDescription {
|
|
719
|
-
/**
|
|
720
|
-
* <p>The attack type. Valid values:</p>
|
|
721
|
-
* <ul>
|
|
722
|
-
* <li>
|
|
723
|
-
* <p>UDP_TRAFFIC</p>
|
|
724
|
-
* </li>
|
|
725
|
-
* <li>
|
|
726
|
-
* <p>UDP_FRAGMENT</p>
|
|
727
|
-
* </li>
|
|
728
|
-
* <li>
|
|
729
|
-
* <p>GENERIC_UDP_REFLECTION</p>
|
|
730
|
-
* </li>
|
|
731
|
-
* <li>
|
|
732
|
-
* <p>DNS_REFLECTION</p>
|
|
733
|
-
* </li>
|
|
734
|
-
* <li>
|
|
735
|
-
* <p>NTP_REFLECTION</p>
|
|
736
|
-
* </li>
|
|
737
|
-
* <li>
|
|
738
|
-
* <p>CHARGEN_REFLECTION</p>
|
|
739
|
-
* </li>
|
|
740
|
-
* <li>
|
|
741
|
-
* <p>SSDP_REFLECTION</p>
|
|
742
|
-
* </li>
|
|
743
|
-
* <li>
|
|
744
|
-
* <p>PORT_MAPPER</p>
|
|
745
|
-
* </li>
|
|
746
|
-
* <li>
|
|
747
|
-
* <p>RIP_REFLECTION</p>
|
|
748
|
-
* </li>
|
|
749
|
-
* <li>
|
|
750
|
-
* <p>SNMP_REFLECTION</p>
|
|
751
|
-
* </li>
|
|
752
|
-
* <li>
|
|
753
|
-
* <p>MSSQL_REFLECTION</p>
|
|
754
|
-
* </li>
|
|
755
|
-
* <li>
|
|
756
|
-
* <p>NET_BIOS_REFLECTION</p>
|
|
757
|
-
* </li>
|
|
758
|
-
* <li>
|
|
759
|
-
* <p>SYN_FLOOD</p>
|
|
760
|
-
* </li>
|
|
761
|
-
* <li>
|
|
762
|
-
* <p>ACK_FLOOD</p>
|
|
763
|
-
* </li>
|
|
764
|
-
* <li>
|
|
765
|
-
* <p>REQUEST_FLOOD</p>
|
|
766
|
-
* </li>
|
|
767
|
-
* <li>
|
|
768
|
-
* <p>HTTP_REFLECTION</p>
|
|
769
|
-
* </li>
|
|
770
|
-
* <li>
|
|
771
|
-
* <p>UDS_REFLECTION</p>
|
|
772
|
-
* </li>
|
|
773
|
-
* <li>
|
|
774
|
-
* <p>MEMCACHED_REFLECTION</p>
|
|
775
|
-
* </li>
|
|
776
|
-
* </ul>
|
|
777
|
-
*/
|
|
778
|
-
VectorType: string | undefined;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
export namespace AttackVectorDescription {
|
|
782
|
-
/**
|
|
783
|
-
* @internal
|
|
784
|
-
*/
|
|
785
|
-
export const filterSensitiveLog = (obj: AttackVectorDescription): any => ({
|
|
786
|
-
...obj,
|
|
787
|
-
});
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
/**
|
|
791
|
-
* <p>Summarizes all DDoS attacks for a specified time period.</p>
|
|
792
|
-
*/
|
|
793
|
-
export interface AttackSummary {
|
|
794
|
-
/**
|
|
795
|
-
* <p>The unique identifier (ID) of the attack.</p>
|
|
796
|
-
*/
|
|
797
|
-
AttackId?: string;
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* <p>The ARN (Amazon Resource Name) of the resource that was attacked.</p>
|
|
801
|
-
*/
|
|
802
|
-
ResourceArn?: string;
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* <p>The start time of the attack, in Unix time in seconds. For more information see <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types">timestamp</a>.</p>
|
|
806
|
-
*/
|
|
807
|
-
StartTime?: Date;
|
|
808
|
-
|
|
809
|
-
/**
|
|
810
|
-
* <p>The end time of the attack, in Unix time in seconds. For more information see <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types">timestamp</a>.</p>
|
|
811
|
-
*/
|
|
812
|
-
EndTime?: Date;
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
* <p>The list of attacks for a specified time period.</p>
|
|
816
|
-
*/
|
|
817
|
-
AttackVectors?: AttackVectorDescription[];
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
export namespace AttackSummary {
|
|
821
|
-
/**
|
|
822
|
-
* @internal
|
|
823
|
-
*/
|
|
824
|
-
export const filterSensitiveLog = (obj: AttackSummary): any => ({
|
|
825
|
-
...obj,
|
|
826
|
-
});
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
export enum AutoRenew {
|
|
830
|
-
DISABLED = "DISABLED",
|
|
831
|
-
ENABLED = "ENABLED",
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
* <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>
|
|
836
|
-
*/
|
|
837
|
-
export interface Tag {
|
|
838
|
-
/**
|
|
839
|
-
* <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>
|
|
840
|
-
*/
|
|
841
|
-
Key?: string;
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* <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>
|
|
845
|
-
*/
|
|
846
|
-
Value?: string;
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
export namespace Tag {
|
|
850
|
-
/**
|
|
851
|
-
* @internal
|
|
852
|
-
*/
|
|
853
|
-
export const filterSensitiveLog = (obj: Tag): any => ({
|
|
854
|
-
...obj,
|
|
855
|
-
});
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
export interface CreateProtectionRequest {
|
|
859
|
-
/**
|
|
860
|
-
* <p>Friendly name for the <code>Protection</code> you are creating.</p>
|
|
861
|
-
*/
|
|
862
|
-
Name: string | undefined;
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* <p>The ARN (Amazon Resource Name) of the resource to be protected.</p>
|
|
866
|
-
* <p>The ARN should be in one of the following formats:</p>
|
|
867
|
-
* <ul>
|
|
868
|
-
* <li>
|
|
869
|
-
* <p>For an Application Load Balancer: <code>arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>
|
|
870
|
-
* </code>
|
|
871
|
-
* </p>
|
|
872
|
-
* </li>
|
|
873
|
-
* <li>
|
|
874
|
-
* <p>For an Elastic Load Balancer (Classic Load Balancer): <code>arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/<i>load-balancer-name</i>
|
|
875
|
-
* </code>
|
|
876
|
-
* </p>
|
|
877
|
-
* </li>
|
|
878
|
-
* <li>
|
|
879
|
-
* <p>For an Amazon CloudFront distribution: <code>arn:aws:cloudfront::<i>account-id</i>:distribution/<i>distribution-id</i>
|
|
880
|
-
* </code>
|
|
881
|
-
* </p>
|
|
882
|
-
* </li>
|
|
883
|
-
* <li>
|
|
884
|
-
* <p>For an Global Accelerator accelerator: <code>arn:aws:globalaccelerator::<i>account-id</i>:accelerator/<i>accelerator-id</i>
|
|
885
|
-
* </code>
|
|
886
|
-
* </p>
|
|
887
|
-
* </li>
|
|
888
|
-
* <li>
|
|
889
|
-
* <p>For Amazon Route 53: <code>arn:aws:route53:::hostedzone/<i>hosted-zone-id</i>
|
|
890
|
-
* </code>
|
|
891
|
-
* </p>
|
|
892
|
-
* </li>
|
|
893
|
-
* <li>
|
|
894
|
-
* <p>For an Elastic IP address: <code>arn:aws:ec2:<i>region</i>:<i>account-id</i>:eip-allocation/<i>allocation-id</i>
|
|
895
|
-
* </code>
|
|
896
|
-
* </p>
|
|
897
|
-
* </li>
|
|
898
|
-
* </ul>
|
|
899
|
-
*/
|
|
900
|
-
ResourceArn: string | undefined;
|
|
901
|
-
|
|
902
|
-
/**
|
|
903
|
-
* <p>One or more tag key-value pairs for the <a>Protection</a> object that is created.</p>
|
|
904
|
-
*/
|
|
905
|
-
Tags?: Tag[];
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
export namespace CreateProtectionRequest {
|
|
909
|
-
/**
|
|
910
|
-
* @internal
|
|
911
|
-
*/
|
|
912
|
-
export const filterSensitiveLog = (obj: CreateProtectionRequest): any => ({
|
|
913
|
-
...obj,
|
|
914
|
-
});
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
export interface CreateProtectionResponse {
|
|
918
|
-
/**
|
|
919
|
-
* <p>The unique identifier (ID) for the <a>Protection</a> object that is created.</p>
|
|
920
|
-
*/
|
|
921
|
-
ProtectionId?: string;
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
export namespace CreateProtectionResponse {
|
|
925
|
-
/**
|
|
926
|
-
* @internal
|
|
927
|
-
*/
|
|
928
|
-
export const filterSensitiveLog = (obj: CreateProtectionResponse): any => ({
|
|
929
|
-
...obj,
|
|
930
|
-
});
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* <p>Exception that indicates that the resource is invalid. You might not have access to the resource, or the resource might not exist.</p>
|
|
935
|
-
*/
|
|
936
|
-
export interface InvalidResourceException extends __SmithyException, $MetadataBearer {
|
|
937
|
-
name: "InvalidResourceException";
|
|
938
|
-
$fault: "client";
|
|
939
|
-
message?: string;
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
export namespace InvalidResourceException {
|
|
943
|
-
/**
|
|
944
|
-
* @internal
|
|
945
|
-
*/
|
|
946
|
-
export const filterSensitiveLog = (obj: InvalidResourceException): any => ({
|
|
947
|
-
...obj,
|
|
948
|
-
});
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
/**
|
|
952
|
-
* <p>Exception indicating the specified resource already exists. If available, this exception includes details in additional properties. </p>
|
|
953
|
-
*/
|
|
954
|
-
export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
955
|
-
name: "ResourceAlreadyExistsException";
|
|
956
|
-
$fault: "client";
|
|
957
|
-
message?: string;
|
|
958
|
-
/**
|
|
959
|
-
* <p>The type of resource that already exists.</p>
|
|
960
|
-
*/
|
|
961
|
-
resourceType?: string;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
export namespace ResourceAlreadyExistsException {
|
|
965
|
-
/**
|
|
966
|
-
* @internal
|
|
967
|
-
*/
|
|
968
|
-
export const filterSensitiveLog = (obj: ResourceAlreadyExistsException): any => ({
|
|
969
|
-
...obj,
|
|
970
|
-
});
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
export enum ProtectionGroupAggregation {
|
|
974
|
-
MAX = "MAX",
|
|
975
|
-
MEAN = "MEAN",
|
|
976
|
-
SUM = "SUM",
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
export enum ProtectionGroupPattern {
|
|
980
|
-
ALL = "ALL",
|
|
981
|
-
ARBITRARY = "ARBITRARY",
|
|
982
|
-
BY_RESOURCE_TYPE = "BY_RESOURCE_TYPE",
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
export enum ProtectedResourceType {
|
|
986
|
-
APPLICATION_LOAD_BALANCER = "APPLICATION_LOAD_BALANCER",
|
|
987
|
-
CLASSIC_LOAD_BALANCER = "CLASSIC_LOAD_BALANCER",
|
|
988
|
-
CLOUDFRONT_DISTRIBUTION = "CLOUDFRONT_DISTRIBUTION",
|
|
989
|
-
ELASTIC_IP_ALLOCATION = "ELASTIC_IP_ALLOCATION",
|
|
990
|
-
GLOBAL_ACCELERATOR = "GLOBAL_ACCELERATOR",
|
|
991
|
-
ROUTE_53_HOSTED_ZONE = "ROUTE_53_HOSTED_ZONE",
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
export interface CreateProtectionGroupRequest {
|
|
995
|
-
/**
|
|
996
|
-
* <p>The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it. </p>
|
|
997
|
-
*/
|
|
998
|
-
ProtectionGroupId: string | undefined;
|
|
999
|
-
|
|
1000
|
-
/**
|
|
1001
|
-
* <p>Defines how Shield combines resource data for the group in order to detect, mitigate, and report events.</p>
|
|
1002
|
-
* <ul>
|
|
1003
|
-
* <li>
|
|
1004
|
-
* <p>Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.</p>
|
|
1005
|
-
* </li>
|
|
1006
|
-
* <li>
|
|
1007
|
-
* <p>Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.</p>
|
|
1008
|
-
* </li>
|
|
1009
|
-
* <li>
|
|
1010
|
-
* <p>Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions.</p>
|
|
1011
|
-
* </li>
|
|
1012
|
-
* </ul>
|
|
1013
|
-
*/
|
|
1014
|
-
Aggregation: ProtectionGroupAggregation | string | undefined;
|
|
1015
|
-
|
|
1016
|
-
/**
|
|
1017
|
-
* <p>The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type. </p>
|
|
1018
|
-
*/
|
|
1019
|
-
Pattern: ProtectionGroupPattern | string | undefined;
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* <p>The resource type to include in the protection group. All protected resources of this type are included in the protection group. Newly protected resources of this type are automatically added to the group.
|
|
1023
|
-
* 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>
|
|
1024
|
-
*/
|
|
1025
|
-
ResourceType?: ProtectedResourceType | string;
|
|
1026
|
-
|
|
1027
|
-
/**
|
|
1028
|
-
* <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>
|
|
1029
|
-
*/
|
|
1030
|
-
Members?: string[];
|
|
1031
|
-
|
|
1032
|
-
/**
|
|
1033
|
-
* <p>One or more tag key-value pairs for the protection group.</p>
|
|
1034
|
-
*/
|
|
1035
|
-
Tags?: Tag[];
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export namespace CreateProtectionGroupRequest {
|
|
1039
|
-
/**
|
|
1040
|
-
* @internal
|
|
1041
|
-
*/
|
|
1042
|
-
export const filterSensitiveLog = (obj: CreateProtectionGroupRequest): any => ({
|
|
1043
|
-
...obj,
|
|
1044
|
-
});
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
export interface CreateProtectionGroupResponse {}
|
|
1048
|
-
|
|
1049
|
-
export namespace CreateProtectionGroupResponse {
|
|
1050
|
-
/**
|
|
1051
|
-
* @internal
|
|
1052
|
-
*/
|
|
1053
|
-
export const filterSensitiveLog = (obj: CreateProtectionGroupResponse): any => ({
|
|
1054
|
-
...obj,
|
|
1055
|
-
});
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export interface CreateSubscriptionRequest {}
|
|
1059
|
-
|
|
1060
|
-
export namespace CreateSubscriptionRequest {
|
|
1061
|
-
/**
|
|
1062
|
-
* @internal
|
|
1063
|
-
*/
|
|
1064
|
-
export const filterSensitiveLog = (obj: CreateSubscriptionRequest): any => ({
|
|
1065
|
-
...obj,
|
|
1066
|
-
});
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
export interface CreateSubscriptionResponse {}
|
|
1070
|
-
|
|
1071
|
-
export namespace CreateSubscriptionResponse {
|
|
1072
|
-
/**
|
|
1073
|
-
* @internal
|
|
1074
|
-
*/
|
|
1075
|
-
export const filterSensitiveLog = (obj: CreateSubscriptionResponse): any => ({
|
|
1076
|
-
...obj,
|
|
1077
|
-
});
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
export interface DeleteProtectionRequest {
|
|
1081
|
-
/**
|
|
1082
|
-
* <p>The unique identifier (ID) for the <a>Protection</a> object to be
|
|
1083
|
-
* deleted.</p>
|
|
1084
|
-
*/
|
|
1085
|
-
ProtectionId: string | undefined;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
export namespace DeleteProtectionRequest {
|
|
1089
|
-
/**
|
|
1090
|
-
* @internal
|
|
1091
|
-
*/
|
|
1092
|
-
export const filterSensitiveLog = (obj: DeleteProtectionRequest): any => ({
|
|
1093
|
-
...obj,
|
|
1094
|
-
});
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
export interface DeleteProtectionResponse {}
|
|
1098
|
-
|
|
1099
|
-
export namespace DeleteProtectionResponse {
|
|
1100
|
-
/**
|
|
1101
|
-
* @internal
|
|
1102
|
-
*/
|
|
1103
|
-
export const filterSensitiveLog = (obj: DeleteProtectionResponse): any => ({
|
|
1104
|
-
...obj,
|
|
1105
|
-
});
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
export interface DeleteProtectionGroupRequest {
|
|
1109
|
-
/**
|
|
1110
|
-
* <p>The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it. </p>
|
|
1111
|
-
*/
|
|
1112
|
-
ProtectionGroupId: string | undefined;
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
export namespace DeleteProtectionGroupRequest {
|
|
1116
|
-
/**
|
|
1117
|
-
* @internal
|
|
1118
|
-
*/
|
|
1119
|
-
export const filterSensitiveLog = (obj: DeleteProtectionGroupRequest): any => ({
|
|
1120
|
-
...obj,
|
|
1121
|
-
});
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
export interface DeleteProtectionGroupResponse {}
|
|
1125
|
-
|
|
1126
|
-
export namespace DeleteProtectionGroupResponse {
|
|
1127
|
-
/**
|
|
1128
|
-
* @internal
|
|
1129
|
-
*/
|
|
1130
|
-
export const filterSensitiveLog = (obj: DeleteProtectionGroupResponse): any => ({
|
|
1131
|
-
...obj,
|
|
1132
|
-
});
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
export interface DeleteSubscriptionRequest {}
|
|
1136
|
-
|
|
1137
|
-
export namespace DeleteSubscriptionRequest {
|
|
1138
|
-
/**
|
|
1139
|
-
* @internal
|
|
1140
|
-
*/
|
|
1141
|
-
export const filterSensitiveLog = (obj: DeleteSubscriptionRequest): any => ({
|
|
1142
|
-
...obj,
|
|
1143
|
-
});
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
export interface DeleteSubscriptionResponse {}
|
|
1147
|
-
|
|
1148
|
-
export namespace DeleteSubscriptionResponse {
|
|
1149
|
-
/**
|
|
1150
|
-
* @internal
|
|
1151
|
-
*/
|
|
1152
|
-
export const filterSensitiveLog = (obj: DeleteSubscriptionResponse): any => ({
|
|
1153
|
-
...obj,
|
|
1154
|
-
});
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
/**
|
|
1158
|
-
* <p>You are trying to update a subscription that has not yet completed the 1-year commitment. You can change the <code>AutoRenew</code> parameter during the last 30 days of your subscription. This exception indicates that you are attempting to change <code>AutoRenew</code> prior to that period.</p>
|
|
1159
|
-
*/
|
|
1160
|
-
export interface LockedSubscriptionException extends __SmithyException, $MetadataBearer {
|
|
1161
|
-
name: "LockedSubscriptionException";
|
|
1162
|
-
$fault: "client";
|
|
1163
|
-
message?: string;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
export namespace LockedSubscriptionException {
|
|
1167
|
-
/**
|
|
1168
|
-
* @internal
|
|
1169
|
-
*/
|
|
1170
|
-
export const filterSensitiveLog = (obj: LockedSubscriptionException): any => ({
|
|
1171
|
-
...obj,
|
|
1172
|
-
});
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
export interface DescribeAttackRequest {
|
|
1176
|
-
/**
|
|
1177
|
-
* <p>The unique identifier (ID) for the attack that to be described.</p>
|
|
1178
|
-
*/
|
|
1179
|
-
AttackId: string | undefined;
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
export namespace DescribeAttackRequest {
|
|
1183
|
-
/**
|
|
1184
|
-
* @internal
|
|
1185
|
-
*/
|
|
1186
|
-
export const filterSensitiveLog = (obj: DescribeAttackRequest): any => ({
|
|
1187
|
-
...obj,
|
|
1188
|
-
});
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
export interface DescribeAttackResponse {
|
|
1192
|
-
/**
|
|
1193
|
-
* <p>The attack that is described.</p>
|
|
1194
|
-
*/
|
|
1195
|
-
Attack?: AttackDetail;
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
export namespace DescribeAttackResponse {
|
|
1199
|
-
/**
|
|
1200
|
-
* @internal
|
|
1201
|
-
*/
|
|
1202
|
-
export const filterSensitiveLog = (obj: DescribeAttackResponse): any => ({
|
|
1203
|
-
...obj,
|
|
1204
|
-
});
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
export interface DescribeAttackStatisticsRequest {}
|
|
1208
|
-
|
|
1209
|
-
export namespace DescribeAttackStatisticsRequest {
|
|
1210
|
-
/**
|
|
1211
|
-
* @internal
|
|
1212
|
-
*/
|
|
1213
|
-
export const filterSensitiveLog = (obj: DescribeAttackStatisticsRequest): any => ({
|
|
1214
|
-
...obj,
|
|
1215
|
-
});
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
/**
|
|
1219
|
-
* <p>The time range. </p>
|
|
1220
|
-
*/
|
|
1221
|
-
export interface TimeRange {
|
|
1222
|
-
/**
|
|
1223
|
-
* <p>The start time, in Unix time in seconds. For more information see <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types">timestamp</a>.</p>
|
|
1224
|
-
*/
|
|
1225
|
-
FromInclusive?: Date;
|
|
1226
|
-
|
|
1227
|
-
/**
|
|
1228
|
-
* <p>The end time, in Unix time in seconds. For more information see <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types">timestamp</a>.</p>
|
|
1229
|
-
*/
|
|
1230
|
-
ToExclusive?: Date;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
export namespace TimeRange {
|
|
1234
|
-
/**
|
|
1235
|
-
* @internal
|
|
1236
|
-
*/
|
|
1237
|
-
export const filterSensitiveLog = (obj: TimeRange): any => ({
|
|
1238
|
-
...obj,
|
|
1239
|
-
});
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
export interface DescribeAttackStatisticsResponse {
|
|
1243
|
-
/**
|
|
1244
|
-
* <p>The time range. </p>
|
|
1245
|
-
*/
|
|
1246
|
-
TimeRange: TimeRange | undefined;
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* <p>The data that describes the attacks detected during the time period.</p>
|
|
1250
|
-
*/
|
|
1251
|
-
DataItems: AttackStatisticsDataItem[] | undefined;
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
export namespace DescribeAttackStatisticsResponse {
|
|
1255
|
-
/**
|
|
1256
|
-
* @internal
|
|
1257
|
-
*/
|
|
1258
|
-
export const filterSensitiveLog = (obj: DescribeAttackStatisticsResponse): any => ({
|
|
1259
|
-
...obj,
|
|
1260
|
-
});
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
export interface DescribeDRTAccessRequest {}
|
|
1264
|
-
|
|
1265
|
-
export namespace DescribeDRTAccessRequest {
|
|
1266
|
-
/**
|
|
1267
|
-
* @internal
|
|
1268
|
-
*/
|
|
1269
|
-
export const filterSensitiveLog = (obj: DescribeDRTAccessRequest): any => ({
|
|
1270
|
-
...obj,
|
|
1271
|
-
});
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
export interface DescribeDRTAccessResponse {
|
|
1275
|
-
/**
|
|
1276
|
-
* <p>The Amazon Resource Name (ARN) of the role the SRT used to access your Amazon Web Services account.</p>
|
|
1277
|
-
*/
|
|
1278
|
-
RoleArn?: string;
|
|
1279
|
-
|
|
1280
|
-
/**
|
|
1281
|
-
* <p>The list of Amazon S3 buckets accessed by the SRT.</p>
|
|
1282
|
-
*/
|
|
1283
|
-
LogBucketList?: string[];
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
export namespace DescribeDRTAccessResponse {
|
|
1287
|
-
/**
|
|
1288
|
-
* @internal
|
|
1289
|
-
*/
|
|
1290
|
-
export const filterSensitiveLog = (obj: DescribeDRTAccessResponse): any => ({
|
|
1291
|
-
...obj,
|
|
1292
|
-
});
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
export interface DescribeEmergencyContactSettingsRequest {}
|
|
1296
|
-
|
|
1297
|
-
export namespace DescribeEmergencyContactSettingsRequest {
|
|
1298
|
-
/**
|
|
1299
|
-
* @internal
|
|
1300
|
-
*/
|
|
1301
|
-
export const filterSensitiveLog = (obj: DescribeEmergencyContactSettingsRequest): any => ({
|
|
1302
|
-
...obj,
|
|
1303
|
-
});
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
export interface DescribeEmergencyContactSettingsResponse {
|
|
1307
|
-
/**
|
|
1308
|
-
* <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>
|
|
1309
|
-
*/
|
|
1310
|
-
EmergencyContactList?: EmergencyContact[];
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
export namespace DescribeEmergencyContactSettingsResponse {
|
|
1314
|
-
/**
|
|
1315
|
-
* @internal
|
|
1316
|
-
*/
|
|
1317
|
-
export const filterSensitiveLog = (obj: DescribeEmergencyContactSettingsResponse): any => ({
|
|
1318
|
-
...obj,
|
|
1319
|
-
});
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
export interface DescribeProtectionRequest {
|
|
1323
|
-
/**
|
|
1324
|
-
* <p>The unique identifier (ID) for the <a>Protection</a> object that is
|
|
1325
|
-
* described. When submitting the <code>DescribeProtection</code> request you must provide either the <code>ResourceArn</code> or the <code>ProtectionID</code>, but not both.</p>
|
|
1326
|
-
*/
|
|
1327
|
-
ProtectionId?: string;
|
|
1328
|
-
|
|
1329
|
-
/**
|
|
1330
|
-
* <p>The ARN (Amazon Resource Name) of the Amazon Web Services resource for the <a>Protection</a> object that is
|
|
1331
|
-
* described. When submitting the <code>DescribeProtection</code> request you must provide either the <code>ResourceArn</code> or the <code>ProtectionID</code>, but not both.</p>
|
|
1332
|
-
*/
|
|
1333
|
-
ResourceArn?: string;
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
export namespace DescribeProtectionRequest {
|
|
1337
|
-
/**
|
|
1338
|
-
* @internal
|
|
1339
|
-
*/
|
|
1340
|
-
export const filterSensitiveLog = (obj: DescribeProtectionRequest): any => ({
|
|
1341
|
-
...obj,
|
|
1342
|
-
});
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
/**
|
|
1346
|
-
* <p>An object that represents a resource that is under DDoS protection.</p>
|
|
1347
|
-
*/
|
|
1348
|
-
export interface Protection {
|
|
1349
|
-
/**
|
|
1350
|
-
* <p>The unique identifier (ID) of the protection.</p>
|
|
1351
|
-
*/
|
|
1352
|
-
Id?: string;
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
* <p>The name of the protection. For example, <code>My CloudFront distributions</code>.</p>
|
|
1356
|
-
*/
|
|
1357
|
-
Name?: string;
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* <p>The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.</p>
|
|
1361
|
-
*/
|
|
1362
|
-
ResourceArn?: string;
|
|
1363
|
-
|
|
1364
|
-
/**
|
|
1365
|
-
* <p>The unique identifier (ID) for the Route 53 health check that's associated with the protection. </p>
|
|
1366
|
-
*/
|
|
1367
|
-
HealthCheckIds?: string[];
|
|
1368
|
-
|
|
1369
|
-
/**
|
|
1370
|
-
* <p>The ARN (Amazon Resource Name) of the protection.</p>
|
|
1371
|
-
*/
|
|
1372
|
-
ProtectionArn?: string;
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
export namespace Protection {
|
|
1376
|
-
/**
|
|
1377
|
-
* @internal
|
|
1378
|
-
*/
|
|
1379
|
-
export const filterSensitiveLog = (obj: Protection): any => ({
|
|
1380
|
-
...obj,
|
|
1381
|
-
});
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
export interface DescribeProtectionResponse {
|
|
1385
|
-
/**
|
|
1386
|
-
* <p>The <a>Protection</a> object that is described.</p>
|
|
1387
|
-
*/
|
|
1388
|
-
Protection?: Protection;
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
|
-
export namespace DescribeProtectionResponse {
|
|
1392
|
-
/**
|
|
1393
|
-
* @internal
|
|
1394
|
-
*/
|
|
1395
|
-
export const filterSensitiveLog = (obj: DescribeProtectionResponse): any => ({
|
|
1396
|
-
...obj,
|
|
1397
|
-
});
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
export interface DescribeProtectionGroupRequest {
|
|
1401
|
-
/**
|
|
1402
|
-
* <p>The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it. </p>
|
|
1403
|
-
*/
|
|
1404
|
-
ProtectionGroupId: string | undefined;
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
export namespace DescribeProtectionGroupRequest {
|
|
1408
|
-
/**
|
|
1409
|
-
* @internal
|
|
1410
|
-
*/
|
|
1411
|
-
export const filterSensitiveLog = (obj: DescribeProtectionGroupRequest): any => ({
|
|
1412
|
-
...obj,
|
|
1413
|
-
});
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* <p>A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives. </p>
|
|
1418
|
-
*/
|
|
1419
|
-
export interface ProtectionGroup {
|
|
1420
|
-
/**
|
|
1421
|
-
* <p>The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it. </p>
|
|
1422
|
-
*/
|
|
1423
|
-
ProtectionGroupId: string | undefined;
|
|
1424
|
-
|
|
1425
|
-
/**
|
|
1426
|
-
* <p>Defines how Shield combines resource data for the group in order to detect, mitigate, and report events.</p>
|
|
1427
|
-
* <ul>
|
|
1428
|
-
* <li>
|
|
1429
|
-
* <p>Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.</p>
|
|
1430
|
-
* </li>
|
|
1431
|
-
* <li>
|
|
1432
|
-
* <p>Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.</p>
|
|
1433
|
-
* </li>
|
|
1434
|
-
* <li>
|
|
1435
|
-
* <p>Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.</p>
|
|
1436
|
-
* </li>
|
|
1437
|
-
* </ul>
|
|
1438
|
-
*/
|
|
1439
|
-
Aggregation: ProtectionGroupAggregation | string | undefined;
|
|
1440
|
-
|
|
1441
|
-
/**
|
|
1442
|
-
* <p>The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.</p>
|
|
1443
|
-
*/
|
|
1444
|
-
Pattern: ProtectionGroupPattern | string | undefined;
|
|
1445
|
-
|
|
1446
|
-
/**
|
|
1447
|
-
* <p>The resource type to include in the protection group. All protected resources of this type are included in the protection group.
|
|
1448
|
-
* 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>
|
|
1449
|
-
*/
|
|
1450
|
-
ResourceType?: ProtectedResourceType | string;
|
|
1451
|
-
|
|
1452
|
-
/**
|
|
1453
|
-
* <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>
|
|
1454
|
-
*/
|
|
1455
|
-
Members: string[] | undefined;
|
|
1456
|
-
|
|
1457
|
-
/**
|
|
1458
|
-
* <p>The ARN (Amazon Resource Name) of the protection group.</p>
|
|
1459
|
-
*/
|
|
1460
|
-
ProtectionGroupArn?: string;
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
export namespace ProtectionGroup {
|
|
1464
|
-
/**
|
|
1465
|
-
* @internal
|
|
1466
|
-
*/
|
|
1467
|
-
export const filterSensitiveLog = (obj: ProtectionGroup): any => ({
|
|
1468
|
-
...obj,
|
|
1469
|
-
});
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
export interface DescribeProtectionGroupResponse {
|
|
1473
|
-
/**
|
|
1474
|
-
* <p>A grouping of protected resources that you and Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives. </p>
|
|
1475
|
-
*/
|
|
1476
|
-
ProtectionGroup: ProtectionGroup | undefined;
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
|
-
export namespace DescribeProtectionGroupResponse {
|
|
1480
|
-
/**
|
|
1481
|
-
* @internal
|
|
1482
|
-
*/
|
|
1483
|
-
export const filterSensitiveLog = (obj: DescribeProtectionGroupResponse): any => ({
|
|
1484
|
-
...obj,
|
|
1485
|
-
});
|
|
1486
|
-
}
|
|
1487
|
-
|
|
1488
|
-
export interface DescribeSubscriptionRequest {}
|
|
1489
|
-
|
|
1490
|
-
export namespace DescribeSubscriptionRequest {
|
|
1491
|
-
/**
|
|
1492
|
-
* @internal
|
|
1493
|
-
*/
|
|
1494
|
-
export const filterSensitiveLog = (obj: DescribeSubscriptionRequest): any => ({
|
|
1495
|
-
...obj,
|
|
1496
|
-
});
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
/**
|
|
1500
|
-
* <p>Specifies how many protections of a given type you can create.</p>
|
|
1501
|
-
*/
|
|
1502
|
-
export interface Limit {
|
|
1503
|
-
/**
|
|
1504
|
-
* <p>The type of protection.</p>
|
|
1505
|
-
*/
|
|
1506
|
-
Type?: string;
|
|
1507
|
-
|
|
1508
|
-
/**
|
|
1509
|
-
* <p>The maximum number of protections that can be created for the specified <code>Type</code>.</p>
|
|
1510
|
-
*/
|
|
1511
|
-
Max?: number;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
export namespace Limit {
|
|
1515
|
-
/**
|
|
1516
|
-
* @internal
|
|
1517
|
-
*/
|
|
1518
|
-
export const filterSensitiveLog = (obj: Limit): any => ({
|
|
1519
|
-
...obj,
|
|
1520
|
-
});
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
|
-
export enum ProactiveEngagementStatus {
|
|
1524
|
-
DISABLED = "DISABLED",
|
|
1525
|
-
ENABLED = "ENABLED",
|
|
1526
|
-
PENDING = "PENDING",
|
|
1527
|
-
}
|
|
1528
|
-
|
|
1529
|
-
/**
|
|
1530
|
-
* <p>Limits settings on protection groups with arbitrary pattern type. </p>
|
|
1531
|
-
*/
|
|
1532
|
-
export interface ProtectionGroupArbitraryPatternLimits {
|
|
1533
|
-
/**
|
|
1534
|
-
* <p>The maximum number of resources you can specify for a single arbitrary pattern in a protection group.</p>
|
|
1535
|
-
*/
|
|
1536
|
-
MaxMembers: number | undefined;
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
export namespace ProtectionGroupArbitraryPatternLimits {
|
|
1540
|
-
/**
|
|
1541
|
-
* @internal
|
|
1542
|
-
*/
|
|
1543
|
-
export const filterSensitiveLog = (obj: ProtectionGroupArbitraryPatternLimits): any => ({
|
|
1544
|
-
...obj,
|
|
1545
|
-
});
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
/**
|
|
1549
|
-
* <p>Limits settings by pattern type in the protection groups for your subscription. </p>
|
|
1550
|
-
*/
|
|
1551
|
-
export interface ProtectionGroupPatternTypeLimits {
|
|
1552
|
-
/**
|
|
1553
|
-
* <p>Limits settings on protection groups with arbitrary pattern type. </p>
|
|
1554
|
-
*/
|
|
1555
|
-
ArbitraryPatternLimits: ProtectionGroupArbitraryPatternLimits | undefined;
|
|
1556
|
-
}
|
|
1557
|
-
|
|
1558
|
-
export namespace ProtectionGroupPatternTypeLimits {
|
|
1559
|
-
/**
|
|
1560
|
-
* @internal
|
|
1561
|
-
*/
|
|
1562
|
-
export const filterSensitiveLog = (obj: ProtectionGroupPatternTypeLimits): any => ({
|
|
1563
|
-
...obj,
|
|
1564
|
-
});
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
|
-
/**
|
|
1568
|
-
* <p>Limits settings on protection groups for your subscription. </p>
|
|
1569
|
-
*/
|
|
1570
|
-
export interface ProtectionGroupLimits {
|
|
1571
|
-
/**
|
|
1572
|
-
* <p>The maximum number of protection groups that you can have at one time. </p>
|
|
1573
|
-
*/
|
|
1574
|
-
MaxProtectionGroups: number | undefined;
|
|
1575
|
-
|
|
1576
|
-
/**
|
|
1577
|
-
* <p>Limits settings by pattern type in the protection groups for your subscription. </p>
|
|
1578
|
-
*/
|
|
1579
|
-
PatternTypeLimits: ProtectionGroupPatternTypeLimits | undefined;
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
export namespace ProtectionGroupLimits {
|
|
1583
|
-
/**
|
|
1584
|
-
* @internal
|
|
1585
|
-
*/
|
|
1586
|
-
export const filterSensitiveLog = (obj: ProtectionGroupLimits): any => ({
|
|
1587
|
-
...obj,
|
|
1588
|
-
});
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
/**
|
|
1592
|
-
* <p>Limits settings on protections for your subscription. </p>
|
|
1593
|
-
*/
|
|
1594
|
-
export interface ProtectionLimits {
|
|
1595
|
-
/**
|
|
1596
|
-
* <p>The maximum number of resource types that you can specify in a protection.</p>
|
|
1597
|
-
*/
|
|
1598
|
-
ProtectedResourceTypeLimits: Limit[] | undefined;
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
|
-
export namespace ProtectionLimits {
|
|
1602
|
-
/**
|
|
1603
|
-
* @internal
|
|
1604
|
-
*/
|
|
1605
|
-
export const filterSensitiveLog = (obj: ProtectionLimits): any => ({
|
|
1606
|
-
...obj,
|
|
1607
|
-
});
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
/**
|
|
1611
|
-
* <p>Limits settings for your subscription. </p>
|
|
1612
|
-
*/
|
|
1613
|
-
export interface SubscriptionLimits {
|
|
1614
|
-
/**
|
|
1615
|
-
* <p>Limits settings on protections for your subscription. </p>
|
|
1616
|
-
*/
|
|
1617
|
-
ProtectionLimits: ProtectionLimits | undefined;
|
|
1618
|
-
|
|
1619
|
-
/**
|
|
1620
|
-
* <p>Limits settings on protection groups for your subscription. </p>
|
|
1621
|
-
*/
|
|
1622
|
-
ProtectionGroupLimits: ProtectionGroupLimits | undefined;
|
|
1623
|
-
}
|
|
1624
|
-
|
|
1625
|
-
export namespace SubscriptionLimits {
|
|
1626
|
-
/**
|
|
1627
|
-
* @internal
|
|
1628
|
-
*/
|
|
1629
|
-
export const filterSensitiveLog = (obj: SubscriptionLimits): any => ({
|
|
1630
|
-
...obj,
|
|
1631
|
-
});
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
/**
|
|
1635
|
-
* <p>Information about the Shield Advanced subscription for an account.</p>
|
|
1636
|
-
*/
|
|
1637
|
-
export interface Subscription {
|
|
1638
|
-
/**
|
|
1639
|
-
* <p>The start time of the subscription, in Unix time in seconds. For more information see <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types">timestamp</a>.</p>
|
|
1640
|
-
*/
|
|
1641
|
-
StartTime?: Date;
|
|
1642
|
-
|
|
1643
|
-
/**
|
|
1644
|
-
* <p>The date and time your subscription will end.</p>
|
|
1645
|
-
*/
|
|
1646
|
-
EndTime?: Date;
|
|
1647
|
-
|
|
1648
|
-
/**
|
|
1649
|
-
* <p>The length, in seconds, of the Shield Advanced subscription for the account.</p>
|
|
1650
|
-
*/
|
|
1651
|
-
TimeCommitmentInSeconds?: number;
|
|
1652
|
-
|
|
1653
|
-
/**
|
|
1654
|
-
* <p>If <code>ENABLED</code>, the subscription will be automatically renewed at the end of the existing subscription period.</p>
|
|
1655
|
-
* <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>
|
|
1656
|
-
*/
|
|
1657
|
-
AutoRenew?: AutoRenew | string;
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* <p>Specifies how many protections of a given type you can create.</p>
|
|
1661
|
-
*/
|
|
1662
|
-
Limits?: Limit[];
|
|
1663
|
-
|
|
1664
|
-
/**
|
|
1665
|
-
* <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>
|
|
1666
|
-
* <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>
|
|
1667
|
-
* <p>If <code>DISABLED</code>, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support. </p>
|
|
1668
|
-
*/
|
|
1669
|
-
ProactiveEngagementStatus?: ProactiveEngagementStatus | string;
|
|
1670
|
-
|
|
1671
|
-
/**
|
|
1672
|
-
* <p>Limits settings for your subscription. </p>
|
|
1673
|
-
*/
|
|
1674
|
-
SubscriptionLimits: SubscriptionLimits | undefined;
|
|
1675
|
-
|
|
1676
|
-
/**
|
|
1677
|
-
* <p>The ARN (Amazon Resource Name) of the subscription.</p>
|
|
1678
|
-
*/
|
|
1679
|
-
SubscriptionArn?: string;
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
export namespace Subscription {
|
|
1683
|
-
/**
|
|
1684
|
-
* @internal
|
|
1685
|
-
*/
|
|
1686
|
-
export const filterSensitiveLog = (obj: Subscription): any => ({
|
|
1687
|
-
...obj,
|
|
1688
|
-
});
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
export interface DescribeSubscriptionResponse {
|
|
1692
|
-
/**
|
|
1693
|
-
* <p>The Shield Advanced subscription details for an account.</p>
|
|
1694
|
-
*/
|
|
1695
|
-
Subscription?: Subscription;
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
export namespace DescribeSubscriptionResponse {
|
|
1699
|
-
/**
|
|
1700
|
-
* @internal
|
|
1701
|
-
*/
|
|
1702
|
-
export const filterSensitiveLog = (obj: DescribeSubscriptionResponse): any => ({
|
|
1703
|
-
...obj,
|
|
1704
|
-
});
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
export interface DisableProactiveEngagementRequest {}
|
|
1708
|
-
|
|
1709
|
-
export namespace DisableProactiveEngagementRequest {
|
|
1710
|
-
/**
|
|
1711
|
-
* @internal
|
|
1712
|
-
*/
|
|
1713
|
-
export const filterSensitiveLog = (obj: DisableProactiveEngagementRequest): any => ({
|
|
1714
|
-
...obj,
|
|
1715
|
-
});
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
export interface DisableProactiveEngagementResponse {}
|
|
1719
|
-
|
|
1720
|
-
export namespace DisableProactiveEngagementResponse {
|
|
1721
|
-
/**
|
|
1722
|
-
* @internal
|
|
1723
|
-
*/
|
|
1724
|
-
export const filterSensitiveLog = (obj: DisableProactiveEngagementResponse): any => ({
|
|
1725
|
-
...obj,
|
|
1726
|
-
});
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
export interface DisassociateDRTLogBucketRequest {
|
|
1730
|
-
/**
|
|
1731
|
-
* <p>The Amazon S3 bucket that contains the logs that you want to share.</p>
|
|
1732
|
-
*/
|
|
1733
|
-
LogBucket: string | undefined;
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
export namespace DisassociateDRTLogBucketRequest {
|
|
1737
|
-
/**
|
|
1738
|
-
* @internal
|
|
1739
|
-
*/
|
|
1740
|
-
export const filterSensitiveLog = (obj: DisassociateDRTLogBucketRequest): any => ({
|
|
1741
|
-
...obj,
|
|
1742
|
-
});
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
export interface DisassociateDRTLogBucketResponse {}
|
|
1746
|
-
|
|
1747
|
-
export namespace DisassociateDRTLogBucketResponse {
|
|
1748
|
-
/**
|
|
1749
|
-
* @internal
|
|
1750
|
-
*/
|
|
1751
|
-
export const filterSensitiveLog = (obj: DisassociateDRTLogBucketResponse): any => ({
|
|
1752
|
-
...obj,
|
|
1753
|
-
});
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
export interface DisassociateDRTRoleRequest {}
|
|
1757
|
-
|
|
1758
|
-
export namespace DisassociateDRTRoleRequest {
|
|
1759
|
-
/**
|
|
1760
|
-
* @internal
|
|
1761
|
-
*/
|
|
1762
|
-
export const filterSensitiveLog = (obj: DisassociateDRTRoleRequest): any => ({
|
|
1763
|
-
...obj,
|
|
1764
|
-
});
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
export interface DisassociateDRTRoleResponse {}
|
|
1768
|
-
|
|
1769
|
-
export namespace DisassociateDRTRoleResponse {
|
|
1770
|
-
/**
|
|
1771
|
-
* @internal
|
|
1772
|
-
*/
|
|
1773
|
-
export const filterSensitiveLog = (obj: DisassociateDRTRoleResponse): any => ({
|
|
1774
|
-
...obj,
|
|
1775
|
-
});
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
|
-
export interface DisassociateHealthCheckRequest {
|
|
1779
|
-
/**
|
|
1780
|
-
* <p>The unique identifier (ID) for the <a>Protection</a> object to remove the health check association from. </p>
|
|
1781
|
-
*/
|
|
1782
|
-
ProtectionId: string | undefined;
|
|
1783
|
-
|
|
1784
|
-
/**
|
|
1785
|
-
* <p>The Amazon Resource Name (ARN) of the health check that is associated with the protection.</p>
|
|
1786
|
-
*/
|
|
1787
|
-
HealthCheckArn: string | undefined;
|
|
1788
|
-
}
|
|
1789
|
-
|
|
1790
|
-
export namespace DisassociateHealthCheckRequest {
|
|
1791
|
-
/**
|
|
1792
|
-
* @internal
|
|
1793
|
-
*/
|
|
1794
|
-
export const filterSensitiveLog = (obj: DisassociateHealthCheckRequest): any => ({
|
|
1795
|
-
...obj,
|
|
1796
|
-
});
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
export interface DisassociateHealthCheckResponse {}
|
|
1800
|
-
|
|
1801
|
-
export namespace DisassociateHealthCheckResponse {
|
|
1802
|
-
/**
|
|
1803
|
-
* @internal
|
|
1804
|
-
*/
|
|
1805
|
-
export const filterSensitiveLog = (obj: DisassociateHealthCheckResponse): any => ({
|
|
1806
|
-
...obj,
|
|
1807
|
-
});
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
export interface EnableProactiveEngagementRequest {}
|
|
1811
|
-
|
|
1812
|
-
export namespace EnableProactiveEngagementRequest {
|
|
1813
|
-
/**
|
|
1814
|
-
* @internal
|
|
1815
|
-
*/
|
|
1816
|
-
export const filterSensitiveLog = (obj: EnableProactiveEngagementRequest): any => ({
|
|
1817
|
-
...obj,
|
|
1818
|
-
});
|
|
1819
|
-
}
|
|
1820
|
-
|
|
1821
|
-
export interface EnableProactiveEngagementResponse {}
|
|
1822
|
-
|
|
1823
|
-
export namespace EnableProactiveEngagementResponse {
|
|
1824
|
-
/**
|
|
1825
|
-
* @internal
|
|
1826
|
-
*/
|
|
1827
|
-
export const filterSensitiveLog = (obj: EnableProactiveEngagementResponse): any => ({
|
|
1828
|
-
...obj,
|
|
1829
|
-
});
|
|
1830
|
-
}
|
|
1831
|
-
|
|
1832
|
-
export interface GetSubscriptionStateRequest {}
|
|
1833
|
-
|
|
1834
|
-
export namespace GetSubscriptionStateRequest {
|
|
1835
|
-
/**
|
|
1836
|
-
* @internal
|
|
1837
|
-
*/
|
|
1838
|
-
export const filterSensitiveLog = (obj: GetSubscriptionStateRequest): any => ({
|
|
1839
|
-
...obj,
|
|
1840
|
-
});
|
|
1841
|
-
}
|
|
1842
|
-
|
|
1843
|
-
export enum SubscriptionState {
|
|
1844
|
-
ACTIVE = "ACTIVE",
|
|
1845
|
-
INACTIVE = "INACTIVE",
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
export interface GetSubscriptionStateResponse {
|
|
1849
|
-
/**
|
|
1850
|
-
* <p>The status of the subscription.</p>
|
|
1851
|
-
*/
|
|
1852
|
-
SubscriptionState: SubscriptionState | string | undefined;
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
export namespace GetSubscriptionStateResponse {
|
|
1856
|
-
/**
|
|
1857
|
-
* @internal
|
|
1858
|
-
*/
|
|
1859
|
-
export const filterSensitiveLog = (obj: GetSubscriptionStateResponse): any => ({
|
|
1860
|
-
...obj,
|
|
1861
|
-
});
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
export interface ListAttacksRequest {
|
|
1865
|
-
/**
|
|
1866
|
-
* <p>The ARN (Amazon Resource Name) of the resource that was attacked. If this is left
|
|
1867
|
-
* blank, all applicable resources for this account will be included.</p>
|
|
1868
|
-
*/
|
|
1869
|
-
ResourceArns?: string[];
|
|
1870
|
-
|
|
1871
|
-
/**
|
|
1872
|
-
* <p>The start of the time period for the attacks. This is a <code>timestamp</code> type. The sample request above indicates a <code>number</code> type because the default used by WAF is Unix time in seconds. However any valid <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types">timestamp format</a> is allowed. </p>
|
|
1873
|
-
*/
|
|
1874
|
-
StartTime?: TimeRange;
|
|
1875
|
-
|
|
1876
|
-
/**
|
|
1877
|
-
* <p>The end of the time period for the attacks. This is a <code>timestamp</code> type. The sample request above indicates a <code>number</code> type because the default used by WAF is Unix time in seconds. However any valid <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#parameter-types">timestamp format</a> is allowed. </p>
|
|
1878
|
-
*/
|
|
1879
|
-
EndTime?: TimeRange;
|
|
1880
|
-
|
|
1881
|
-
/**
|
|
1882
|
-
* <p>The <code>ListAttacksRequest.NextMarker</code> value from a previous call to <code>ListAttacksRequest</code>. Pass null if this is the first call.</p>
|
|
1883
|
-
*/
|
|
1884
|
-
NextToken?: string;
|
|
1885
|
-
|
|
1886
|
-
/**
|
|
1887
|
-
* <p>The maximum number of <a>AttackSummary</a> objects to return. If you leave this blank,
|
|
1888
|
-
* Shield Advanced returns the first 20 results.</p>
|
|
1889
|
-
* <p>This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than <code>MaxResults</code>, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in <code>NextToken</code> that you can use in your next request, to get the next batch of objects.</p>
|
|
1890
|
-
*/
|
|
1891
|
-
MaxResults?: number;
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
|
-
export namespace ListAttacksRequest {
|
|
1895
|
-
/**
|
|
1896
|
-
* @internal
|
|
1897
|
-
*/
|
|
1898
|
-
export const filterSensitiveLog = (obj: ListAttacksRequest): any => ({
|
|
1899
|
-
...obj,
|
|
1900
|
-
});
|
|
1901
|
-
}
|
|
1902
|
-
|
|
1903
|
-
export interface ListAttacksResponse {
|
|
1904
|
-
/**
|
|
1905
|
-
* <p>The attack information for the specified time range.</p>
|
|
1906
|
-
*/
|
|
1907
|
-
AttackSummaries?: AttackSummary[];
|
|
1908
|
-
|
|
1909
|
-
/**
|
|
1910
|
-
* <p>The token returned by a previous call to indicate that there is more data available.
|
|
1911
|
-
* If not null, more results are available. Pass this value for the <code>NextMarker</code>
|
|
1912
|
-
* parameter in a subsequent call to <code>ListAttacks</code> to retrieve the next set of
|
|
1913
|
-
* items.</p>
|
|
1914
|
-
* <p>Shield Advanced might return the list of <a>AttackSummary</a> objects in batches smaller than the number specified by MaxResults. If there are more attack summary objects to return, Shield Advanced will always also return a <code>NextToken</code>.</p>
|
|
1915
|
-
*/
|
|
1916
|
-
NextToken?: string;
|
|
1917
|
-
}
|
|
1918
|
-
|
|
1919
|
-
export namespace ListAttacksResponse {
|
|
1920
|
-
/**
|
|
1921
|
-
* @internal
|
|
1922
|
-
*/
|
|
1923
|
-
export const filterSensitiveLog = (obj: ListAttacksResponse): any => ({
|
|
1924
|
-
...obj,
|
|
1925
|
-
});
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
/**
|
|
1929
|
-
* <p>Exception that indicates that the NextToken specified in the request is invalid. Submit the request using the NextToken value that was returned in the response.</p>
|
|
1930
|
-
*/
|
|
1931
|
-
export interface InvalidPaginationTokenException extends __SmithyException, $MetadataBearer {
|
|
1932
|
-
name: "InvalidPaginationTokenException";
|
|
1933
|
-
$fault: "client";
|
|
1934
|
-
message?: string;
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
export namespace InvalidPaginationTokenException {
|
|
1938
|
-
/**
|
|
1939
|
-
* @internal
|
|
1940
|
-
*/
|
|
1941
|
-
export const filterSensitiveLog = (obj: InvalidPaginationTokenException): any => ({
|
|
1942
|
-
...obj,
|
|
1943
|
-
});
|
|
1944
|
-
}
|
|
1945
|
-
|
|
1946
|
-
export interface ListProtectionGroupsRequest {
|
|
1947
|
-
/**
|
|
1948
|
-
* <p>The next token value from a previous call to <code>ListProtectionGroups</code>. Pass null if this is the first call.</p>
|
|
1949
|
-
*/
|
|
1950
|
-
NextToken?: string;
|
|
1951
|
-
|
|
1952
|
-
/**
|
|
1953
|
-
* <p>The maximum number of <a>ProtectionGroup</a> objects to return. If you leave this blank,
|
|
1954
|
-
* Shield Advanced returns the first 20 results.</p>
|
|
1955
|
-
* <p>This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than <code>MaxResults</code>, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in <code>NextToken</code> that you can use in your next request, to get the next batch of objects.</p>
|
|
1956
|
-
*/
|
|
1957
|
-
MaxResults?: number;
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
export namespace ListProtectionGroupsRequest {
|
|
1961
|
-
/**
|
|
1962
|
-
* @internal
|
|
1963
|
-
*/
|
|
1964
|
-
export const filterSensitiveLog = (obj: ListProtectionGroupsRequest): any => ({
|
|
1965
|
-
...obj,
|
|
1966
|
-
});
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
export interface ListProtectionGroupsResponse {
|
|
1970
|
-
/**
|
|
1971
|
-
* <p></p>
|
|
1972
|
-
*/
|
|
1973
|
-
ProtectionGroups: ProtectionGroup[] | undefined;
|
|
1974
|
-
|
|
1975
|
-
/**
|
|
1976
|
-
* <p>If you specify a value for <code>MaxResults</code> and you have more protection groups than the value of MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next batch of objects. </p>
|
|
1977
|
-
*/
|
|
1978
|
-
NextToken?: string;
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
|
-
export namespace ListProtectionGroupsResponse {
|
|
1982
|
-
/**
|
|
1983
|
-
* @internal
|
|
1984
|
-
*/
|
|
1985
|
-
export const filterSensitiveLog = (obj: ListProtectionGroupsResponse): any => ({
|
|
1986
|
-
...obj,
|
|
1987
|
-
});
|
|
1988
|
-
}
|
|
1989
|
-
|
|
1990
|
-
export interface ListProtectionsRequest {
|
|
1991
|
-
/**
|
|
1992
|
-
* <p>The <code>ListProtectionsRequest.NextToken</code> value from a previous call to <code>ListProtections</code>. Pass null if this is the first call.</p>
|
|
1993
|
-
*/
|
|
1994
|
-
NextToken?: string;
|
|
1995
|
-
|
|
1996
|
-
/**
|
|
1997
|
-
* <p>The maximum number of <a>Protection</a> objects to return. If you leave this blank,
|
|
1998
|
-
* Shield Advanced returns the first 20 results.</p>
|
|
1999
|
-
* <p>This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than <code>MaxResults</code>, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in <code>NextToken</code> that you can use in your next request, to get the next batch of objects.</p>
|
|
2000
|
-
*/
|
|
2001
|
-
MaxResults?: number;
|
|
2002
|
-
}
|
|
2003
|
-
|
|
2004
|
-
export namespace ListProtectionsRequest {
|
|
2005
|
-
/**
|
|
2006
|
-
* @internal
|
|
2007
|
-
*/
|
|
2008
|
-
export const filterSensitiveLog = (obj: ListProtectionsRequest): any => ({
|
|
2009
|
-
...obj,
|
|
2010
|
-
});
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
export interface ListProtectionsResponse {
|
|
2014
|
-
/**
|
|
2015
|
-
* <p>The array of enabled <a>Protection</a> objects.</p>
|
|
2016
|
-
*/
|
|
2017
|
-
Protections?: Protection[];
|
|
2018
|
-
|
|
2019
|
-
/**
|
|
2020
|
-
* <p>If you specify a value for <code>MaxResults</code> and you have more Protections than the value of MaxResults, Shield Advanced returns a NextToken value in the response that allows you to list another group of Protections. For the second and subsequent ListProtections requests, specify the value of NextToken from the previous response to get information about another batch of Protections.</p>
|
|
2021
|
-
* <p>Shield Advanced might return the list of <a>Protection</a> objects in batches smaller than the number specified by MaxResults. If there are more <a>Protection</a> objects to return, Shield Advanced will always also return a <code>NextToken</code>.</p>
|
|
2022
|
-
*/
|
|
2023
|
-
NextToken?: string;
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
export namespace ListProtectionsResponse {
|
|
2027
|
-
/**
|
|
2028
|
-
* @internal
|
|
2029
|
-
*/
|
|
2030
|
-
export const filterSensitiveLog = (obj: ListProtectionsResponse): any => ({
|
|
2031
|
-
...obj,
|
|
2032
|
-
});
|
|
2033
|
-
}
|
|
2034
|
-
|
|
2035
|
-
export interface ListResourcesInProtectionGroupRequest {
|
|
2036
|
-
/**
|
|
2037
|
-
* <p>The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it. </p>
|
|
2038
|
-
*/
|
|
2039
|
-
ProtectionGroupId: string | undefined;
|
|
2040
|
-
|
|
2041
|
-
/**
|
|
2042
|
-
* <p>The next token value from a previous call to <code>ListResourcesInProtectionGroup</code>. Pass null if this is the first call.</p>
|
|
2043
|
-
*/
|
|
2044
|
-
NextToken?: string;
|
|
2045
|
-
|
|
2046
|
-
/**
|
|
2047
|
-
* <p>The maximum number of resource ARN objects to return. If you leave this blank,
|
|
2048
|
-
* Shield Advanced returns the first 20 results.</p>
|
|
2049
|
-
* <p>This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than <code>MaxResults</code>, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in <code>NextToken</code> that you can use in your next request, to get the next batch of objects.</p>
|
|
2050
|
-
*/
|
|
2051
|
-
MaxResults?: number;
|
|
2052
|
-
}
|
|
2053
|
-
|
|
2054
|
-
export namespace ListResourcesInProtectionGroupRequest {
|
|
2055
|
-
/**
|
|
2056
|
-
* @internal
|
|
2057
|
-
*/
|
|
2058
|
-
export const filterSensitiveLog = (obj: ListResourcesInProtectionGroupRequest): any => ({
|
|
2059
|
-
...obj,
|
|
2060
|
-
});
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
|
-
export interface ListResourcesInProtectionGroupResponse {
|
|
2064
|
-
/**
|
|
2065
|
-
* <p>The Amazon Resource Names (ARNs) of the resources that are included in the protection group.</p>
|
|
2066
|
-
*/
|
|
2067
|
-
ResourceArns: string[] | undefined;
|
|
2068
|
-
|
|
2069
|
-
/**
|
|
2070
|
-
* <p>If you specify a value for <code>MaxResults</code> and you have more resources in the protection group than the value of MaxResults, Shield Advanced returns this token that you can use in your next request, to get the next batch of objects. </p>
|
|
2071
|
-
*/
|
|
2072
|
-
NextToken?: string;
|
|
2073
|
-
}
|
|
2074
|
-
|
|
2075
|
-
export namespace ListResourcesInProtectionGroupResponse {
|
|
2076
|
-
/**
|
|
2077
|
-
* @internal
|
|
2078
|
-
*/
|
|
2079
|
-
export const filterSensitiveLog = (obj: ListResourcesInProtectionGroupResponse): any => ({
|
|
2080
|
-
...obj,
|
|
2081
|
-
});
|
|
2082
|
-
}
|
|
2083
|
-
|
|
2084
|
-
export interface ListTagsForResourceRequest {
|
|
2085
|
-
/**
|
|
2086
|
-
* <p>The Amazon Resource Name (ARN) of the resource to get tags for.</p>
|
|
2087
|
-
*/
|
|
2088
|
-
ResourceARN: string | undefined;
|
|
2089
|
-
}
|
|
2090
|
-
|
|
2091
|
-
export namespace ListTagsForResourceRequest {
|
|
2092
|
-
/**
|
|
2093
|
-
* @internal
|
|
2094
|
-
*/
|
|
2095
|
-
export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
|
|
2096
|
-
...obj,
|
|
2097
|
-
});
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
export interface ListTagsForResourceResponse {
|
|
2101
|
-
/**
|
|
2102
|
-
* <p>A list of tag key and value pairs associated with the specified resource.</p>
|
|
2103
|
-
*/
|
|
2104
|
-
Tags?: Tag[];
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
export namespace ListTagsForResourceResponse {
|
|
2108
|
-
/**
|
|
2109
|
-
* @internal
|
|
2110
|
-
*/
|
|
2111
|
-
export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
|
|
2112
|
-
...obj,
|
|
2113
|
-
});
|
|
2114
|
-
}
|
|
2115
|
-
|
|
2116
|
-
export interface TagResourceRequest {
|
|
2117
|
-
/**
|
|
2118
|
-
* <p>The Amazon Resource Name (ARN) of the resource that you want to add or update tags for.</p>
|
|
2119
|
-
*/
|
|
2120
|
-
ResourceARN: string | undefined;
|
|
2121
|
-
|
|
2122
|
-
/**
|
|
2123
|
-
* <p>The tags that you want to modify or add to the resource.</p>
|
|
2124
|
-
*/
|
|
2125
|
-
Tags: Tag[] | undefined;
|
|
2126
|
-
}
|
|
2127
|
-
|
|
2128
|
-
export namespace TagResourceRequest {
|
|
2129
|
-
/**
|
|
2130
|
-
* @internal
|
|
2131
|
-
*/
|
|
2132
|
-
export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
|
|
2133
|
-
...obj,
|
|
2134
|
-
});
|
|
2135
|
-
}
|
|
2136
|
-
|
|
2137
|
-
export interface TagResourceResponse {}
|
|
2138
|
-
|
|
2139
|
-
export namespace TagResourceResponse {
|
|
2140
|
-
/**
|
|
2141
|
-
* @internal
|
|
2142
|
-
*/
|
|
2143
|
-
export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
|
|
2144
|
-
...obj,
|
|
2145
|
-
});
|
|
2146
|
-
}
|
|
2147
|
-
|
|
2148
|
-
export interface UntagResourceRequest {
|
|
2149
|
-
/**
|
|
2150
|
-
* <p>The Amazon Resource Name (ARN) of the resource that you want to remove tags from.</p>
|
|
2151
|
-
*/
|
|
2152
|
-
ResourceARN: string | undefined;
|
|
2153
|
-
|
|
2154
|
-
/**
|
|
2155
|
-
* <p>The tag key for each tag that you want to remove from the resource.</p>
|
|
2156
|
-
*/
|
|
2157
|
-
TagKeys: string[] | undefined;
|
|
2158
|
-
}
|
|
2159
|
-
|
|
2160
|
-
export namespace UntagResourceRequest {
|
|
2161
|
-
/**
|
|
2162
|
-
* @internal
|
|
2163
|
-
*/
|
|
2164
|
-
export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
|
|
2165
|
-
...obj,
|
|
2166
|
-
});
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
export interface UntagResourceResponse {}
|
|
2170
|
-
|
|
2171
|
-
export namespace UntagResourceResponse {
|
|
2172
|
-
/**
|
|
2173
|
-
* @internal
|
|
2174
|
-
*/
|
|
2175
|
-
export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
|
|
2176
|
-
...obj,
|
|
2177
|
-
});
|
|
2178
|
-
}
|
|
2179
|
-
|
|
2180
|
-
export interface UpdateEmergencyContactSettingsRequest {
|
|
2181
|
-
/**
|
|
2182
|
-
* <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>
|
|
2183
|
-
* <p>If you have proactive engagement enabled, the contact list must include at least one phone number.</p>
|
|
2184
|
-
*/
|
|
2185
|
-
EmergencyContactList?: EmergencyContact[];
|
|
2186
|
-
}
|
|
2187
|
-
|
|
2188
|
-
export namespace UpdateEmergencyContactSettingsRequest {
|
|
2189
|
-
/**
|
|
2190
|
-
* @internal
|
|
2191
|
-
*/
|
|
2192
|
-
export const filterSensitiveLog = (obj: UpdateEmergencyContactSettingsRequest): any => ({
|
|
2193
|
-
...obj,
|
|
2194
|
-
});
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
export interface UpdateEmergencyContactSettingsResponse {}
|
|
2198
|
-
|
|
2199
|
-
export namespace UpdateEmergencyContactSettingsResponse {
|
|
2200
|
-
/**
|
|
2201
|
-
* @internal
|
|
2202
|
-
*/
|
|
2203
|
-
export const filterSensitiveLog = (obj: UpdateEmergencyContactSettingsResponse): any => ({
|
|
2204
|
-
...obj,
|
|
2205
|
-
});
|
|
2206
|
-
}
|
|
2207
|
-
|
|
2208
|
-
export interface UpdateProtectionGroupRequest {
|
|
2209
|
-
/**
|
|
2210
|
-
* <p>The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it. </p>
|
|
2211
|
-
*/
|
|
2212
|
-
ProtectionGroupId: string | undefined;
|
|
2213
|
-
|
|
2214
|
-
/**
|
|
2215
|
-
* <p>Defines how Shield combines resource data for the group in order to detect, mitigate, and report events.</p>
|
|
2216
|
-
* <ul>
|
|
2217
|
-
* <li>
|
|
2218
|
-
* <p>Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.</p>
|
|
2219
|
-
* </li>
|
|
2220
|
-
* <li>
|
|
2221
|
-
* <p>Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.</p>
|
|
2222
|
-
* </li>
|
|
2223
|
-
* <li>
|
|
2224
|
-
* <p>Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront distributions and origin resources for CloudFront distributions.</p>
|
|
2225
|
-
* </li>
|
|
2226
|
-
* </ul>
|
|
2227
|
-
*/
|
|
2228
|
-
Aggregation: ProtectionGroupAggregation | string | undefined;
|
|
2229
|
-
|
|
2230
|
-
/**
|
|
2231
|
-
* <p>The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.</p>
|
|
2232
|
-
*/
|
|
2233
|
-
Pattern: ProtectionGroupPattern | string | undefined;
|
|
2234
|
-
|
|
2235
|
-
/**
|
|
2236
|
-
* <p>The resource type to include in the protection group. All protected resources of this type are included in the protection group.
|
|
2237
|
-
* 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>
|
|
2238
|
-
*/
|
|
2239
|
-
ResourceType?: ProtectedResourceType | string;
|
|
2240
|
-
|
|
2241
|
-
/**
|
|
2242
|
-
* <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>
|
|
2243
|
-
*/
|
|
2244
|
-
Members?: string[];
|
|
2245
|
-
}
|
|
2246
|
-
|
|
2247
|
-
export namespace UpdateProtectionGroupRequest {
|
|
2248
|
-
/**
|
|
2249
|
-
* @internal
|
|
2250
|
-
*/
|
|
2251
|
-
export const filterSensitiveLog = (obj: UpdateProtectionGroupRequest): any => ({
|
|
2252
|
-
...obj,
|
|
2253
|
-
});
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
|
-
export interface UpdateProtectionGroupResponse {}
|
|
2257
|
-
|
|
2258
|
-
export namespace UpdateProtectionGroupResponse {
|
|
2259
|
-
/**
|
|
2260
|
-
* @internal
|
|
2261
|
-
*/
|
|
2262
|
-
export const filterSensitiveLog = (obj: UpdateProtectionGroupResponse): any => ({
|
|
2263
|
-
...obj,
|
|
2264
|
-
});
|
|
2265
|
-
}
|
|
2266
|
-
|
|
2267
|
-
export interface UpdateSubscriptionRequest {
|
|
2268
|
-
/**
|
|
2269
|
-
* <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>
|
|
2270
|
-
*/
|
|
2271
|
-
AutoRenew?: AutoRenew | string;
|
|
2272
|
-
}
|
|
2273
|
-
|
|
2274
|
-
export namespace UpdateSubscriptionRequest {
|
|
2275
|
-
/**
|
|
2276
|
-
* @internal
|
|
2277
|
-
*/
|
|
2278
|
-
export const filterSensitiveLog = (obj: UpdateSubscriptionRequest): any => ({
|
|
2279
|
-
...obj,
|
|
2280
|
-
});
|
|
2281
|
-
}
|
|
2282
|
-
|
|
2283
|
-
export interface UpdateSubscriptionResponse {}
|
|
2284
|
-
|
|
2285
|
-
export namespace UpdateSubscriptionResponse {
|
|
2286
|
-
/**
|
|
2287
|
-
* @internal
|
|
2288
|
-
*/
|
|
2289
|
-
export const filterSensitiveLog = (obj: UpdateSubscriptionResponse): any => ({
|
|
2290
|
-
...obj,
|
|
2291
|
-
});
|
|
2292
|
-
}
|