@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/Shield.ts
DELETED
|
@@ -1,1236 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
AssociateDRTLogBucketCommand,
|
|
5
|
-
AssociateDRTLogBucketCommandInput,
|
|
6
|
-
AssociateDRTLogBucketCommandOutput,
|
|
7
|
-
} from "./commands/AssociateDRTLogBucketCommand";
|
|
8
|
-
import {
|
|
9
|
-
AssociateDRTRoleCommand,
|
|
10
|
-
AssociateDRTRoleCommandInput,
|
|
11
|
-
AssociateDRTRoleCommandOutput,
|
|
12
|
-
} from "./commands/AssociateDRTRoleCommand";
|
|
13
|
-
import {
|
|
14
|
-
AssociateHealthCheckCommand,
|
|
15
|
-
AssociateHealthCheckCommandInput,
|
|
16
|
-
AssociateHealthCheckCommandOutput,
|
|
17
|
-
} from "./commands/AssociateHealthCheckCommand";
|
|
18
|
-
import {
|
|
19
|
-
AssociateProactiveEngagementDetailsCommand,
|
|
20
|
-
AssociateProactiveEngagementDetailsCommandInput,
|
|
21
|
-
AssociateProactiveEngagementDetailsCommandOutput,
|
|
22
|
-
} from "./commands/AssociateProactiveEngagementDetailsCommand";
|
|
23
|
-
import {
|
|
24
|
-
CreateProtectionCommand,
|
|
25
|
-
CreateProtectionCommandInput,
|
|
26
|
-
CreateProtectionCommandOutput,
|
|
27
|
-
} from "./commands/CreateProtectionCommand";
|
|
28
|
-
import {
|
|
29
|
-
CreateProtectionGroupCommand,
|
|
30
|
-
CreateProtectionGroupCommandInput,
|
|
31
|
-
CreateProtectionGroupCommandOutput,
|
|
32
|
-
} from "./commands/CreateProtectionGroupCommand";
|
|
33
|
-
import {
|
|
34
|
-
CreateSubscriptionCommand,
|
|
35
|
-
CreateSubscriptionCommandInput,
|
|
36
|
-
CreateSubscriptionCommandOutput,
|
|
37
|
-
} from "./commands/CreateSubscriptionCommand";
|
|
38
|
-
import {
|
|
39
|
-
DeleteProtectionCommand,
|
|
40
|
-
DeleteProtectionCommandInput,
|
|
41
|
-
DeleteProtectionCommandOutput,
|
|
42
|
-
} from "./commands/DeleteProtectionCommand";
|
|
43
|
-
import {
|
|
44
|
-
DeleteProtectionGroupCommand,
|
|
45
|
-
DeleteProtectionGroupCommandInput,
|
|
46
|
-
DeleteProtectionGroupCommandOutput,
|
|
47
|
-
} from "./commands/DeleteProtectionGroupCommand";
|
|
48
|
-
import {
|
|
49
|
-
DeleteSubscriptionCommand,
|
|
50
|
-
DeleteSubscriptionCommandInput,
|
|
51
|
-
DeleteSubscriptionCommandOutput,
|
|
52
|
-
} from "./commands/DeleteSubscriptionCommand";
|
|
53
|
-
import {
|
|
54
|
-
DescribeAttackCommand,
|
|
55
|
-
DescribeAttackCommandInput,
|
|
56
|
-
DescribeAttackCommandOutput,
|
|
57
|
-
} from "./commands/DescribeAttackCommand";
|
|
58
|
-
import {
|
|
59
|
-
DescribeAttackStatisticsCommand,
|
|
60
|
-
DescribeAttackStatisticsCommandInput,
|
|
61
|
-
DescribeAttackStatisticsCommandOutput,
|
|
62
|
-
} from "./commands/DescribeAttackStatisticsCommand";
|
|
63
|
-
import {
|
|
64
|
-
DescribeDRTAccessCommand,
|
|
65
|
-
DescribeDRTAccessCommandInput,
|
|
66
|
-
DescribeDRTAccessCommandOutput,
|
|
67
|
-
} from "./commands/DescribeDRTAccessCommand";
|
|
68
|
-
import {
|
|
69
|
-
DescribeEmergencyContactSettingsCommand,
|
|
70
|
-
DescribeEmergencyContactSettingsCommandInput,
|
|
71
|
-
DescribeEmergencyContactSettingsCommandOutput,
|
|
72
|
-
} from "./commands/DescribeEmergencyContactSettingsCommand";
|
|
73
|
-
import {
|
|
74
|
-
DescribeProtectionCommand,
|
|
75
|
-
DescribeProtectionCommandInput,
|
|
76
|
-
DescribeProtectionCommandOutput,
|
|
77
|
-
} from "./commands/DescribeProtectionCommand";
|
|
78
|
-
import {
|
|
79
|
-
DescribeProtectionGroupCommand,
|
|
80
|
-
DescribeProtectionGroupCommandInput,
|
|
81
|
-
DescribeProtectionGroupCommandOutput,
|
|
82
|
-
} from "./commands/DescribeProtectionGroupCommand";
|
|
83
|
-
import {
|
|
84
|
-
DescribeSubscriptionCommand,
|
|
85
|
-
DescribeSubscriptionCommandInput,
|
|
86
|
-
DescribeSubscriptionCommandOutput,
|
|
87
|
-
} from "./commands/DescribeSubscriptionCommand";
|
|
88
|
-
import {
|
|
89
|
-
DisableProactiveEngagementCommand,
|
|
90
|
-
DisableProactiveEngagementCommandInput,
|
|
91
|
-
DisableProactiveEngagementCommandOutput,
|
|
92
|
-
} from "./commands/DisableProactiveEngagementCommand";
|
|
93
|
-
import {
|
|
94
|
-
DisassociateDRTLogBucketCommand,
|
|
95
|
-
DisassociateDRTLogBucketCommandInput,
|
|
96
|
-
DisassociateDRTLogBucketCommandOutput,
|
|
97
|
-
} from "./commands/DisassociateDRTLogBucketCommand";
|
|
98
|
-
import {
|
|
99
|
-
DisassociateDRTRoleCommand,
|
|
100
|
-
DisassociateDRTRoleCommandInput,
|
|
101
|
-
DisassociateDRTRoleCommandOutput,
|
|
102
|
-
} from "./commands/DisassociateDRTRoleCommand";
|
|
103
|
-
import {
|
|
104
|
-
DisassociateHealthCheckCommand,
|
|
105
|
-
DisassociateHealthCheckCommandInput,
|
|
106
|
-
DisassociateHealthCheckCommandOutput,
|
|
107
|
-
} from "./commands/DisassociateHealthCheckCommand";
|
|
108
|
-
import {
|
|
109
|
-
EnableProactiveEngagementCommand,
|
|
110
|
-
EnableProactiveEngagementCommandInput,
|
|
111
|
-
EnableProactiveEngagementCommandOutput,
|
|
112
|
-
} from "./commands/EnableProactiveEngagementCommand";
|
|
113
|
-
import {
|
|
114
|
-
GetSubscriptionStateCommand,
|
|
115
|
-
GetSubscriptionStateCommandInput,
|
|
116
|
-
GetSubscriptionStateCommandOutput,
|
|
117
|
-
} from "./commands/GetSubscriptionStateCommand";
|
|
118
|
-
import { ListAttacksCommand, ListAttacksCommandInput, ListAttacksCommandOutput } from "./commands/ListAttacksCommand";
|
|
119
|
-
import {
|
|
120
|
-
ListProtectionGroupsCommand,
|
|
121
|
-
ListProtectionGroupsCommandInput,
|
|
122
|
-
ListProtectionGroupsCommandOutput,
|
|
123
|
-
} from "./commands/ListProtectionGroupsCommand";
|
|
124
|
-
import {
|
|
125
|
-
ListProtectionsCommand,
|
|
126
|
-
ListProtectionsCommandInput,
|
|
127
|
-
ListProtectionsCommandOutput,
|
|
128
|
-
} from "./commands/ListProtectionsCommand";
|
|
129
|
-
import {
|
|
130
|
-
ListResourcesInProtectionGroupCommand,
|
|
131
|
-
ListResourcesInProtectionGroupCommandInput,
|
|
132
|
-
ListResourcesInProtectionGroupCommandOutput,
|
|
133
|
-
} from "./commands/ListResourcesInProtectionGroupCommand";
|
|
134
|
-
import {
|
|
135
|
-
ListTagsForResourceCommand,
|
|
136
|
-
ListTagsForResourceCommandInput,
|
|
137
|
-
ListTagsForResourceCommandOutput,
|
|
138
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
139
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
140
|
-
import {
|
|
141
|
-
UntagResourceCommand,
|
|
142
|
-
UntagResourceCommandInput,
|
|
143
|
-
UntagResourceCommandOutput,
|
|
144
|
-
} from "./commands/UntagResourceCommand";
|
|
145
|
-
import {
|
|
146
|
-
UpdateEmergencyContactSettingsCommand,
|
|
147
|
-
UpdateEmergencyContactSettingsCommandInput,
|
|
148
|
-
UpdateEmergencyContactSettingsCommandOutput,
|
|
149
|
-
} from "./commands/UpdateEmergencyContactSettingsCommand";
|
|
150
|
-
import {
|
|
151
|
-
UpdateProtectionGroupCommand,
|
|
152
|
-
UpdateProtectionGroupCommandInput,
|
|
153
|
-
UpdateProtectionGroupCommandOutput,
|
|
154
|
-
} from "./commands/UpdateProtectionGroupCommand";
|
|
155
|
-
import {
|
|
156
|
-
UpdateSubscriptionCommand,
|
|
157
|
-
UpdateSubscriptionCommandInput,
|
|
158
|
-
UpdateSubscriptionCommandOutput,
|
|
159
|
-
} from "./commands/UpdateSubscriptionCommand";
|
|
160
|
-
import { ShieldClient } from "./ShieldClient";
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* <fullname>Shield Advanced</fullname>
|
|
164
|
-
* <p>This is the <i>Shield Advanced API Reference</i>. This guide is for developers who need detailed information about the Shield Advanced API actions,
|
|
165
|
-
* data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the
|
|
166
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">WAF and Shield Developer Guide</a>.</p>
|
|
167
|
-
*/
|
|
168
|
-
export class Shield extends ShieldClient {
|
|
169
|
-
/**
|
|
170
|
-
* <p>Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.</p>
|
|
171
|
-
* <p>To use the services of the SRT and make an <code>AssociateDRTLogBucket</code> request, you must be subscribed to the <a href="https://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
|
|
172
|
-
*/
|
|
173
|
-
public associateDRTLogBucket(
|
|
174
|
-
args: AssociateDRTLogBucketCommandInput,
|
|
175
|
-
options?: __HttpHandlerOptions
|
|
176
|
-
): Promise<AssociateDRTLogBucketCommandOutput>;
|
|
177
|
-
public associateDRTLogBucket(
|
|
178
|
-
args: AssociateDRTLogBucketCommandInput,
|
|
179
|
-
cb: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void
|
|
180
|
-
): void;
|
|
181
|
-
public associateDRTLogBucket(
|
|
182
|
-
args: AssociateDRTLogBucketCommandInput,
|
|
183
|
-
options: __HttpHandlerOptions,
|
|
184
|
-
cb: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void
|
|
185
|
-
): void;
|
|
186
|
-
public associateDRTLogBucket(
|
|
187
|
-
args: AssociateDRTLogBucketCommandInput,
|
|
188
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateDRTLogBucketCommandOutput) => void),
|
|
189
|
-
cb?: (err: any, data?: AssociateDRTLogBucketCommandOutput) => void
|
|
190
|
-
): Promise<AssociateDRTLogBucketCommandOutput> | void {
|
|
191
|
-
const command = new AssociateDRTLogBucketCommand(args);
|
|
192
|
-
if (typeof optionsOrCb === "function") {
|
|
193
|
-
this.send(command, optionsOrCb);
|
|
194
|
-
} else if (typeof cb === "function") {
|
|
195
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
196
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
197
|
-
} else {
|
|
198
|
-
return this.send(command, optionsOrCb);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* <p>Authorizes the Shield Response Team (SRT) using the specified role, to access your Amazon Web Services account to assist with DDoS attack mitigation during potential attacks. This enables the SRT to inspect your WAF configuration and create or update WAF rules and web ACLs.</p>
|
|
204
|
-
* <p>You can associate only one <code>RoleArn</code> with your subscription. If you submit an <code>AssociateDRTRole</code> request for an account that already has an associated role, the new <code>RoleArn</code> will replace the existing <code>RoleArn</code>. </p>
|
|
205
|
-
* <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 the role you will specify in the request. 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>. The role must also trust the service principal <code> drt.shield.amazonaws.com</code>. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html">IAM JSON Policy Elements: Principal</a>.</p>
|
|
206
|
-
*
|
|
207
|
-
* <p>The SRT will have access only to your WAF and Shield resources. By submitting this request, you authorize the SRT to inspect your WAF and Shield configuration and create and update WAF rules and web ACLs on your behalf. The SRT takes these actions only if explicitly authorized by you.</p>
|
|
208
|
-
* <p>You must have the <code>iam:PassRole</code> permission to make an <code>AssociateDRTRole</code> request. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html">Granting a User Permissions to Pass a Role to an Amazon Web Services Service</a>. </p>
|
|
209
|
-
* <p>To use the services of the SRT and make an <code>AssociateDRTRole</code> request, you must be subscribed to the <a href="https://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>.</p>
|
|
210
|
-
*/
|
|
211
|
-
public associateDRTRole(
|
|
212
|
-
args: AssociateDRTRoleCommandInput,
|
|
213
|
-
options?: __HttpHandlerOptions
|
|
214
|
-
): Promise<AssociateDRTRoleCommandOutput>;
|
|
215
|
-
public associateDRTRole(
|
|
216
|
-
args: AssociateDRTRoleCommandInput,
|
|
217
|
-
cb: (err: any, data?: AssociateDRTRoleCommandOutput) => void
|
|
218
|
-
): void;
|
|
219
|
-
public associateDRTRole(
|
|
220
|
-
args: AssociateDRTRoleCommandInput,
|
|
221
|
-
options: __HttpHandlerOptions,
|
|
222
|
-
cb: (err: any, data?: AssociateDRTRoleCommandOutput) => void
|
|
223
|
-
): void;
|
|
224
|
-
public associateDRTRole(
|
|
225
|
-
args: AssociateDRTRoleCommandInput,
|
|
226
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateDRTRoleCommandOutput) => void),
|
|
227
|
-
cb?: (err: any, data?: AssociateDRTRoleCommandOutput) => void
|
|
228
|
-
): Promise<AssociateDRTRoleCommandOutput> | void {
|
|
229
|
-
const command = new AssociateDRTRoleCommand(args);
|
|
230
|
-
if (typeof optionsOrCb === "function") {
|
|
231
|
-
this.send(command, optionsOrCb);
|
|
232
|
-
} else if (typeof cb === "function") {
|
|
233
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
234
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
235
|
-
} else {
|
|
236
|
-
return this.send(command, optionsOrCb);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* <p>Adds health-based detection to the Shield Advanced protection for a resource. Shield Advanced health-based detection uses the health of your Amazon Web Services resource to improve responsiveness and accuracy in attack detection and mitigation. </p>
|
|
242
|
-
* <p>You define the health check in Route 53 and then associate it with your Shield Advanced protection. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html#ddos-advanced-health-check-option">Shield Advanced Health-Based Detection</a> in the <i>WAF Developer Guide</i>. </p>
|
|
243
|
-
*/
|
|
244
|
-
public associateHealthCheck(
|
|
245
|
-
args: AssociateHealthCheckCommandInput,
|
|
246
|
-
options?: __HttpHandlerOptions
|
|
247
|
-
): Promise<AssociateHealthCheckCommandOutput>;
|
|
248
|
-
public associateHealthCheck(
|
|
249
|
-
args: AssociateHealthCheckCommandInput,
|
|
250
|
-
cb: (err: any, data?: AssociateHealthCheckCommandOutput) => void
|
|
251
|
-
): void;
|
|
252
|
-
public associateHealthCheck(
|
|
253
|
-
args: AssociateHealthCheckCommandInput,
|
|
254
|
-
options: __HttpHandlerOptions,
|
|
255
|
-
cb: (err: any, data?: AssociateHealthCheckCommandOutput) => void
|
|
256
|
-
): void;
|
|
257
|
-
public associateHealthCheck(
|
|
258
|
-
args: AssociateHealthCheckCommandInput,
|
|
259
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateHealthCheckCommandOutput) => void),
|
|
260
|
-
cb?: (err: any, data?: AssociateHealthCheckCommandOutput) => void
|
|
261
|
-
): Promise<AssociateHealthCheckCommandOutput> | void {
|
|
262
|
-
const command = new AssociateHealthCheckCommand(args);
|
|
263
|
-
if (typeof optionsOrCb === "function") {
|
|
264
|
-
this.send(command, optionsOrCb);
|
|
265
|
-
} else if (typeof cb === "function") {
|
|
266
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
267
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
268
|
-
} else {
|
|
269
|
-
return this.send(command, optionsOrCb);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* <p>Initializes proactive engagement and sets the list of contacts for the Shield Response Team (SRT) to use. You must provide at least one phone number in the emergency contact list. </p>
|
|
275
|
-
* <p>After you have initialized proactive engagement using this call, to disable or enable proactive engagement, use the calls <code>DisableProactiveEngagement</code> and <code>EnableProactiveEngagement</code>. </p>
|
|
276
|
-
* <note>
|
|
277
|
-
* <p>This call defines the list of email addresses and phone numbers that the SRT can use to contact you for escalations to the SRT and to initiate proactive customer support.</p>
|
|
278
|
-
* <p>The contacts that you provide in the request 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 to this call. </p>
|
|
279
|
-
* </note>
|
|
280
|
-
*/
|
|
281
|
-
public associateProactiveEngagementDetails(
|
|
282
|
-
args: AssociateProactiveEngagementDetailsCommandInput,
|
|
283
|
-
options?: __HttpHandlerOptions
|
|
284
|
-
): Promise<AssociateProactiveEngagementDetailsCommandOutput>;
|
|
285
|
-
public associateProactiveEngagementDetails(
|
|
286
|
-
args: AssociateProactiveEngagementDetailsCommandInput,
|
|
287
|
-
cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void
|
|
288
|
-
): void;
|
|
289
|
-
public associateProactiveEngagementDetails(
|
|
290
|
-
args: AssociateProactiveEngagementDetailsCommandInput,
|
|
291
|
-
options: __HttpHandlerOptions,
|
|
292
|
-
cb: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void
|
|
293
|
-
): void;
|
|
294
|
-
public associateProactiveEngagementDetails(
|
|
295
|
-
args: AssociateProactiveEngagementDetailsCommandInput,
|
|
296
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void),
|
|
297
|
-
cb?: (err: any, data?: AssociateProactiveEngagementDetailsCommandOutput) => void
|
|
298
|
-
): Promise<AssociateProactiveEngagementDetailsCommandOutput> | void {
|
|
299
|
-
const command = new AssociateProactiveEngagementDetailsCommand(args);
|
|
300
|
-
if (typeof optionsOrCb === "function") {
|
|
301
|
-
this.send(command, optionsOrCb);
|
|
302
|
-
} else if (typeof cb === "function") {
|
|
303
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
304
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
305
|
-
} else {
|
|
306
|
-
return this.send(command, optionsOrCb);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* <p>Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, Global Accelerator accelerator, Elastic IP Address, or an Amazon Route 53 hosted zone.</p>
|
|
312
|
-
* <p>You can add protection to only a single resource with each CreateProtection request. If you want to add protection to multiple resources at once, use the <a href="https://console.aws.amazon.com/waf/">WAF console</a>. For more information see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/getting-started-ddos.html">Getting Started with Shield Advanced</a> and <a href="https://docs.aws.amazon.com/waf/latest/developerguide/configure-new-protection.html">Add Shield Advanced Protection to more Amazon Web Services Resources</a>.</p>
|
|
313
|
-
*/
|
|
314
|
-
public createProtection(
|
|
315
|
-
args: CreateProtectionCommandInput,
|
|
316
|
-
options?: __HttpHandlerOptions
|
|
317
|
-
): Promise<CreateProtectionCommandOutput>;
|
|
318
|
-
public createProtection(
|
|
319
|
-
args: CreateProtectionCommandInput,
|
|
320
|
-
cb: (err: any, data?: CreateProtectionCommandOutput) => void
|
|
321
|
-
): void;
|
|
322
|
-
public createProtection(
|
|
323
|
-
args: CreateProtectionCommandInput,
|
|
324
|
-
options: __HttpHandlerOptions,
|
|
325
|
-
cb: (err: any, data?: CreateProtectionCommandOutput) => void
|
|
326
|
-
): void;
|
|
327
|
-
public createProtection(
|
|
328
|
-
args: CreateProtectionCommandInput,
|
|
329
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProtectionCommandOutput) => void),
|
|
330
|
-
cb?: (err: any, data?: CreateProtectionCommandOutput) => void
|
|
331
|
-
): Promise<CreateProtectionCommandOutput> | void {
|
|
332
|
-
const command = new CreateProtectionCommand(args);
|
|
333
|
-
if (typeof optionsOrCb === "function") {
|
|
334
|
-
this.send(command, optionsOrCb);
|
|
335
|
-
} else if (typeof cb === "function") {
|
|
336
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
337
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
338
|
-
} else {
|
|
339
|
-
return this.send(command, optionsOrCb);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* <p>Creates a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. </p>
|
|
345
|
-
*/
|
|
346
|
-
public createProtectionGroup(
|
|
347
|
-
args: CreateProtectionGroupCommandInput,
|
|
348
|
-
options?: __HttpHandlerOptions
|
|
349
|
-
): Promise<CreateProtectionGroupCommandOutput>;
|
|
350
|
-
public createProtectionGroup(
|
|
351
|
-
args: CreateProtectionGroupCommandInput,
|
|
352
|
-
cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void
|
|
353
|
-
): void;
|
|
354
|
-
public createProtectionGroup(
|
|
355
|
-
args: CreateProtectionGroupCommandInput,
|
|
356
|
-
options: __HttpHandlerOptions,
|
|
357
|
-
cb: (err: any, data?: CreateProtectionGroupCommandOutput) => void
|
|
358
|
-
): void;
|
|
359
|
-
public createProtectionGroup(
|
|
360
|
-
args: CreateProtectionGroupCommandInput,
|
|
361
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProtectionGroupCommandOutput) => void),
|
|
362
|
-
cb?: (err: any, data?: CreateProtectionGroupCommandOutput) => void
|
|
363
|
-
): Promise<CreateProtectionGroupCommandOutput> | void {
|
|
364
|
-
const command = new CreateProtectionGroupCommand(args);
|
|
365
|
-
if (typeof optionsOrCb === "function") {
|
|
366
|
-
this.send(command, optionsOrCb);
|
|
367
|
-
} else if (typeof cb === "function") {
|
|
368
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
369
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
370
|
-
} else {
|
|
371
|
-
return this.send(command, optionsOrCb);
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* <p>Activates Shield Advanced for an account.</p>
|
|
377
|
-
*
|
|
378
|
-
* <p>When you initally create a subscription, your subscription is set to be automatically renewed at the end of the existing subscription period. You can change this by submitting an <code>UpdateSubscription</code> request. </p>
|
|
379
|
-
*/
|
|
380
|
-
public createSubscription(
|
|
381
|
-
args: CreateSubscriptionCommandInput,
|
|
382
|
-
options?: __HttpHandlerOptions
|
|
383
|
-
): Promise<CreateSubscriptionCommandOutput>;
|
|
384
|
-
public createSubscription(
|
|
385
|
-
args: CreateSubscriptionCommandInput,
|
|
386
|
-
cb: (err: any, data?: CreateSubscriptionCommandOutput) => void
|
|
387
|
-
): void;
|
|
388
|
-
public createSubscription(
|
|
389
|
-
args: CreateSubscriptionCommandInput,
|
|
390
|
-
options: __HttpHandlerOptions,
|
|
391
|
-
cb: (err: any, data?: CreateSubscriptionCommandOutput) => void
|
|
392
|
-
): void;
|
|
393
|
-
public createSubscription(
|
|
394
|
-
args: CreateSubscriptionCommandInput,
|
|
395
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSubscriptionCommandOutput) => void),
|
|
396
|
-
cb?: (err: any, data?: CreateSubscriptionCommandOutput) => void
|
|
397
|
-
): Promise<CreateSubscriptionCommandOutput> | void {
|
|
398
|
-
const command = new CreateSubscriptionCommand(args);
|
|
399
|
-
if (typeof optionsOrCb === "function") {
|
|
400
|
-
this.send(command, optionsOrCb);
|
|
401
|
-
} else if (typeof cb === "function") {
|
|
402
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
403
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
404
|
-
} else {
|
|
405
|
-
return this.send(command, optionsOrCb);
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* <p>Deletes an Shield Advanced <a>Protection</a>.</p>
|
|
411
|
-
*/
|
|
412
|
-
public deleteProtection(
|
|
413
|
-
args: DeleteProtectionCommandInput,
|
|
414
|
-
options?: __HttpHandlerOptions
|
|
415
|
-
): Promise<DeleteProtectionCommandOutput>;
|
|
416
|
-
public deleteProtection(
|
|
417
|
-
args: DeleteProtectionCommandInput,
|
|
418
|
-
cb: (err: any, data?: DeleteProtectionCommandOutput) => void
|
|
419
|
-
): void;
|
|
420
|
-
public deleteProtection(
|
|
421
|
-
args: DeleteProtectionCommandInput,
|
|
422
|
-
options: __HttpHandlerOptions,
|
|
423
|
-
cb: (err: any, data?: DeleteProtectionCommandOutput) => void
|
|
424
|
-
): void;
|
|
425
|
-
public deleteProtection(
|
|
426
|
-
args: DeleteProtectionCommandInput,
|
|
427
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProtectionCommandOutput) => void),
|
|
428
|
-
cb?: (err: any, data?: DeleteProtectionCommandOutput) => void
|
|
429
|
-
): Promise<DeleteProtectionCommandOutput> | void {
|
|
430
|
-
const command = new DeleteProtectionCommand(args);
|
|
431
|
-
if (typeof optionsOrCb === "function") {
|
|
432
|
-
this.send(command, optionsOrCb);
|
|
433
|
-
} else if (typeof cb === "function") {
|
|
434
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
435
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
436
|
-
} else {
|
|
437
|
-
return this.send(command, optionsOrCb);
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* <p>Removes the specified protection group.</p>
|
|
443
|
-
*/
|
|
444
|
-
public deleteProtectionGroup(
|
|
445
|
-
args: DeleteProtectionGroupCommandInput,
|
|
446
|
-
options?: __HttpHandlerOptions
|
|
447
|
-
): Promise<DeleteProtectionGroupCommandOutput>;
|
|
448
|
-
public deleteProtectionGroup(
|
|
449
|
-
args: DeleteProtectionGroupCommandInput,
|
|
450
|
-
cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void
|
|
451
|
-
): void;
|
|
452
|
-
public deleteProtectionGroup(
|
|
453
|
-
args: DeleteProtectionGroupCommandInput,
|
|
454
|
-
options: __HttpHandlerOptions,
|
|
455
|
-
cb: (err: any, data?: DeleteProtectionGroupCommandOutput) => void
|
|
456
|
-
): void;
|
|
457
|
-
public deleteProtectionGroup(
|
|
458
|
-
args: DeleteProtectionGroupCommandInput,
|
|
459
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProtectionGroupCommandOutput) => void),
|
|
460
|
-
cb?: (err: any, data?: DeleteProtectionGroupCommandOutput) => void
|
|
461
|
-
): Promise<DeleteProtectionGroupCommandOutput> | void {
|
|
462
|
-
const command = new DeleteProtectionGroupCommand(args);
|
|
463
|
-
if (typeof optionsOrCb === "function") {
|
|
464
|
-
this.send(command, optionsOrCb);
|
|
465
|
-
} else if (typeof cb === "function") {
|
|
466
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
467
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
468
|
-
} else {
|
|
469
|
-
return this.send(command, optionsOrCb);
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* @deprecated
|
|
475
|
-
*
|
|
476
|
-
* <p>Removes Shield Advanced from an account. Shield Advanced requires a 1-year subscription commitment. You cannot delete a subscription prior to the completion of that commitment. </p>
|
|
477
|
-
*/
|
|
478
|
-
public deleteSubscription(
|
|
479
|
-
args: DeleteSubscriptionCommandInput,
|
|
480
|
-
options?: __HttpHandlerOptions
|
|
481
|
-
): Promise<DeleteSubscriptionCommandOutput>;
|
|
482
|
-
public deleteSubscription(
|
|
483
|
-
args: DeleteSubscriptionCommandInput,
|
|
484
|
-
cb: (err: any, data?: DeleteSubscriptionCommandOutput) => void
|
|
485
|
-
): void;
|
|
486
|
-
public deleteSubscription(
|
|
487
|
-
args: DeleteSubscriptionCommandInput,
|
|
488
|
-
options: __HttpHandlerOptions,
|
|
489
|
-
cb: (err: any, data?: DeleteSubscriptionCommandOutput) => void
|
|
490
|
-
): void;
|
|
491
|
-
public deleteSubscription(
|
|
492
|
-
args: DeleteSubscriptionCommandInput,
|
|
493
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSubscriptionCommandOutput) => void),
|
|
494
|
-
cb?: (err: any, data?: DeleteSubscriptionCommandOutput) => void
|
|
495
|
-
): Promise<DeleteSubscriptionCommandOutput> | void {
|
|
496
|
-
const command = new DeleteSubscriptionCommand(args);
|
|
497
|
-
if (typeof optionsOrCb === "function") {
|
|
498
|
-
this.send(command, optionsOrCb);
|
|
499
|
-
} else if (typeof cb === "function") {
|
|
500
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
501
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
502
|
-
} else {
|
|
503
|
-
return this.send(command, optionsOrCb);
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* <p>Describes the details of a DDoS attack. </p>
|
|
509
|
-
*/
|
|
510
|
-
public describeAttack(
|
|
511
|
-
args: DescribeAttackCommandInput,
|
|
512
|
-
options?: __HttpHandlerOptions
|
|
513
|
-
): Promise<DescribeAttackCommandOutput>;
|
|
514
|
-
public describeAttack(
|
|
515
|
-
args: DescribeAttackCommandInput,
|
|
516
|
-
cb: (err: any, data?: DescribeAttackCommandOutput) => void
|
|
517
|
-
): void;
|
|
518
|
-
public describeAttack(
|
|
519
|
-
args: DescribeAttackCommandInput,
|
|
520
|
-
options: __HttpHandlerOptions,
|
|
521
|
-
cb: (err: any, data?: DescribeAttackCommandOutput) => void
|
|
522
|
-
): void;
|
|
523
|
-
public describeAttack(
|
|
524
|
-
args: DescribeAttackCommandInput,
|
|
525
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAttackCommandOutput) => void),
|
|
526
|
-
cb?: (err: any, data?: DescribeAttackCommandOutput) => void
|
|
527
|
-
): Promise<DescribeAttackCommandOutput> | void {
|
|
528
|
-
const command = new DescribeAttackCommand(args);
|
|
529
|
-
if (typeof optionsOrCb === "function") {
|
|
530
|
-
this.send(command, optionsOrCb);
|
|
531
|
-
} else if (typeof cb === "function") {
|
|
532
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
533
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
534
|
-
} else {
|
|
535
|
-
return this.send(command, optionsOrCb);
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* <p>Provides information about the number and type of attacks Shield has detected in the last year for all resources that belong to your account, regardless of whether you've defined Shield protections for them. This operation is available to Shield customers as well as to Shield Advanced customers.</p>
|
|
541
|
-
* <p>The operation returns data for the time range of midnight UTC, one year ago, to midnight UTC, today. For example, if the current time is <code>2020-10-26 15:39:32 PDT</code>, equal to <code>2020-10-26 22:39:32 UTC</code>, then the time range for the attack data returned is from <code>2019-10-26 00:00:00 UTC</code> to <code>2020-10-26 00:00:00 UTC</code>. </p>
|
|
542
|
-
* <p>The time range indicates the period covered by the attack statistics data items.</p>
|
|
543
|
-
*/
|
|
544
|
-
public describeAttackStatistics(
|
|
545
|
-
args: DescribeAttackStatisticsCommandInput,
|
|
546
|
-
options?: __HttpHandlerOptions
|
|
547
|
-
): Promise<DescribeAttackStatisticsCommandOutput>;
|
|
548
|
-
public describeAttackStatistics(
|
|
549
|
-
args: DescribeAttackStatisticsCommandInput,
|
|
550
|
-
cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void
|
|
551
|
-
): void;
|
|
552
|
-
public describeAttackStatistics(
|
|
553
|
-
args: DescribeAttackStatisticsCommandInput,
|
|
554
|
-
options: __HttpHandlerOptions,
|
|
555
|
-
cb: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void
|
|
556
|
-
): void;
|
|
557
|
-
public describeAttackStatistics(
|
|
558
|
-
args: DescribeAttackStatisticsCommandInput,
|
|
559
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAttackStatisticsCommandOutput) => void),
|
|
560
|
-
cb?: (err: any, data?: DescribeAttackStatisticsCommandOutput) => void
|
|
561
|
-
): Promise<DescribeAttackStatisticsCommandOutput> | void {
|
|
562
|
-
const command = new DescribeAttackStatisticsCommand(args);
|
|
563
|
-
if (typeof optionsOrCb === "function") {
|
|
564
|
-
this.send(command, optionsOrCb);
|
|
565
|
-
} else if (typeof cb === "function") {
|
|
566
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
567
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
568
|
-
} else {
|
|
569
|
-
return this.send(command, optionsOrCb);
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
/**
|
|
574
|
-
* <p>Returns the current role and list of Amazon S3 log buckets used by the Shield Response Team (SRT) to access your Amazon Web Services account while assisting with attack mitigation.</p>
|
|
575
|
-
*/
|
|
576
|
-
public describeDRTAccess(
|
|
577
|
-
args: DescribeDRTAccessCommandInput,
|
|
578
|
-
options?: __HttpHandlerOptions
|
|
579
|
-
): Promise<DescribeDRTAccessCommandOutput>;
|
|
580
|
-
public describeDRTAccess(
|
|
581
|
-
args: DescribeDRTAccessCommandInput,
|
|
582
|
-
cb: (err: any, data?: DescribeDRTAccessCommandOutput) => void
|
|
583
|
-
): void;
|
|
584
|
-
public describeDRTAccess(
|
|
585
|
-
args: DescribeDRTAccessCommandInput,
|
|
586
|
-
options: __HttpHandlerOptions,
|
|
587
|
-
cb: (err: any, data?: DescribeDRTAccessCommandOutput) => void
|
|
588
|
-
): void;
|
|
589
|
-
public describeDRTAccess(
|
|
590
|
-
args: DescribeDRTAccessCommandInput,
|
|
591
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDRTAccessCommandOutput) => void),
|
|
592
|
-
cb?: (err: any, data?: DescribeDRTAccessCommandOutput) => void
|
|
593
|
-
): Promise<DescribeDRTAccessCommandOutput> | void {
|
|
594
|
-
const command = new DescribeDRTAccessCommand(args);
|
|
595
|
-
if (typeof optionsOrCb === "function") {
|
|
596
|
-
this.send(command, optionsOrCb);
|
|
597
|
-
} else if (typeof cb === "function") {
|
|
598
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
599
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
600
|
-
} else {
|
|
601
|
-
return this.send(command, optionsOrCb);
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
/**
|
|
606
|
-
* <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>
|
|
607
|
-
*/
|
|
608
|
-
public describeEmergencyContactSettings(
|
|
609
|
-
args: DescribeEmergencyContactSettingsCommandInput,
|
|
610
|
-
options?: __HttpHandlerOptions
|
|
611
|
-
): Promise<DescribeEmergencyContactSettingsCommandOutput>;
|
|
612
|
-
public describeEmergencyContactSettings(
|
|
613
|
-
args: DescribeEmergencyContactSettingsCommandInput,
|
|
614
|
-
cb: (err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void
|
|
615
|
-
): void;
|
|
616
|
-
public describeEmergencyContactSettings(
|
|
617
|
-
args: DescribeEmergencyContactSettingsCommandInput,
|
|
618
|
-
options: __HttpHandlerOptions,
|
|
619
|
-
cb: (err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void
|
|
620
|
-
): void;
|
|
621
|
-
public describeEmergencyContactSettings(
|
|
622
|
-
args: DescribeEmergencyContactSettingsCommandInput,
|
|
623
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void),
|
|
624
|
-
cb?: (err: any, data?: DescribeEmergencyContactSettingsCommandOutput) => void
|
|
625
|
-
): Promise<DescribeEmergencyContactSettingsCommandOutput> | void {
|
|
626
|
-
const command = new DescribeEmergencyContactSettingsCommand(args);
|
|
627
|
-
if (typeof optionsOrCb === "function") {
|
|
628
|
-
this.send(command, optionsOrCb);
|
|
629
|
-
} else if (typeof cb === "function") {
|
|
630
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
631
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
632
|
-
} else {
|
|
633
|
-
return this.send(command, optionsOrCb);
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* <p>Lists the details of a <a>Protection</a> object.</p>
|
|
639
|
-
*/
|
|
640
|
-
public describeProtection(
|
|
641
|
-
args: DescribeProtectionCommandInput,
|
|
642
|
-
options?: __HttpHandlerOptions
|
|
643
|
-
): Promise<DescribeProtectionCommandOutput>;
|
|
644
|
-
public describeProtection(
|
|
645
|
-
args: DescribeProtectionCommandInput,
|
|
646
|
-
cb: (err: any, data?: DescribeProtectionCommandOutput) => void
|
|
647
|
-
): void;
|
|
648
|
-
public describeProtection(
|
|
649
|
-
args: DescribeProtectionCommandInput,
|
|
650
|
-
options: __HttpHandlerOptions,
|
|
651
|
-
cb: (err: any, data?: DescribeProtectionCommandOutput) => void
|
|
652
|
-
): void;
|
|
653
|
-
public describeProtection(
|
|
654
|
-
args: DescribeProtectionCommandInput,
|
|
655
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProtectionCommandOutput) => void),
|
|
656
|
-
cb?: (err: any, data?: DescribeProtectionCommandOutput) => void
|
|
657
|
-
): Promise<DescribeProtectionCommandOutput> | void {
|
|
658
|
-
const command = new DescribeProtectionCommand(args);
|
|
659
|
-
if (typeof optionsOrCb === "function") {
|
|
660
|
-
this.send(command, optionsOrCb);
|
|
661
|
-
} else if (typeof cb === "function") {
|
|
662
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
663
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
664
|
-
} else {
|
|
665
|
-
return this.send(command, optionsOrCb);
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* <p>Returns the specification for the specified protection group.</p>
|
|
671
|
-
*/
|
|
672
|
-
public describeProtectionGroup(
|
|
673
|
-
args: DescribeProtectionGroupCommandInput,
|
|
674
|
-
options?: __HttpHandlerOptions
|
|
675
|
-
): Promise<DescribeProtectionGroupCommandOutput>;
|
|
676
|
-
public describeProtectionGroup(
|
|
677
|
-
args: DescribeProtectionGroupCommandInput,
|
|
678
|
-
cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void
|
|
679
|
-
): void;
|
|
680
|
-
public describeProtectionGroup(
|
|
681
|
-
args: DescribeProtectionGroupCommandInput,
|
|
682
|
-
options: __HttpHandlerOptions,
|
|
683
|
-
cb: (err: any, data?: DescribeProtectionGroupCommandOutput) => void
|
|
684
|
-
): void;
|
|
685
|
-
public describeProtectionGroup(
|
|
686
|
-
args: DescribeProtectionGroupCommandInput,
|
|
687
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProtectionGroupCommandOutput) => void),
|
|
688
|
-
cb?: (err: any, data?: DescribeProtectionGroupCommandOutput) => void
|
|
689
|
-
): Promise<DescribeProtectionGroupCommandOutput> | void {
|
|
690
|
-
const command = new DescribeProtectionGroupCommand(args);
|
|
691
|
-
if (typeof optionsOrCb === "function") {
|
|
692
|
-
this.send(command, optionsOrCb);
|
|
693
|
-
} else if (typeof cb === "function") {
|
|
694
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
695
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
696
|
-
} else {
|
|
697
|
-
return this.send(command, optionsOrCb);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* <p>Provides details about the Shield Advanced subscription for an account.</p>
|
|
703
|
-
*/
|
|
704
|
-
public describeSubscription(
|
|
705
|
-
args: DescribeSubscriptionCommandInput,
|
|
706
|
-
options?: __HttpHandlerOptions
|
|
707
|
-
): Promise<DescribeSubscriptionCommandOutput>;
|
|
708
|
-
public describeSubscription(
|
|
709
|
-
args: DescribeSubscriptionCommandInput,
|
|
710
|
-
cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void
|
|
711
|
-
): void;
|
|
712
|
-
public describeSubscription(
|
|
713
|
-
args: DescribeSubscriptionCommandInput,
|
|
714
|
-
options: __HttpHandlerOptions,
|
|
715
|
-
cb: (err: any, data?: DescribeSubscriptionCommandOutput) => void
|
|
716
|
-
): void;
|
|
717
|
-
public describeSubscription(
|
|
718
|
-
args: DescribeSubscriptionCommandInput,
|
|
719
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSubscriptionCommandOutput) => void),
|
|
720
|
-
cb?: (err: any, data?: DescribeSubscriptionCommandOutput) => void
|
|
721
|
-
): Promise<DescribeSubscriptionCommandOutput> | void {
|
|
722
|
-
const command = new DescribeSubscriptionCommand(args);
|
|
723
|
-
if (typeof optionsOrCb === "function") {
|
|
724
|
-
this.send(command, optionsOrCb);
|
|
725
|
-
} else if (typeof cb === "function") {
|
|
726
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
727
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
728
|
-
} else {
|
|
729
|
-
return this.send(command, optionsOrCb);
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* <p>Removes authorization from the Shield Response Team (SRT) to notify contacts about escalations to the SRT and to initiate proactive customer support.</p>
|
|
735
|
-
*/
|
|
736
|
-
public disableProactiveEngagement(
|
|
737
|
-
args: DisableProactiveEngagementCommandInput,
|
|
738
|
-
options?: __HttpHandlerOptions
|
|
739
|
-
): Promise<DisableProactiveEngagementCommandOutput>;
|
|
740
|
-
public disableProactiveEngagement(
|
|
741
|
-
args: DisableProactiveEngagementCommandInput,
|
|
742
|
-
cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void
|
|
743
|
-
): void;
|
|
744
|
-
public disableProactiveEngagement(
|
|
745
|
-
args: DisableProactiveEngagementCommandInput,
|
|
746
|
-
options: __HttpHandlerOptions,
|
|
747
|
-
cb: (err: any, data?: DisableProactiveEngagementCommandOutput) => void
|
|
748
|
-
): void;
|
|
749
|
-
public disableProactiveEngagement(
|
|
750
|
-
args: DisableProactiveEngagementCommandInput,
|
|
751
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableProactiveEngagementCommandOutput) => void),
|
|
752
|
-
cb?: (err: any, data?: DisableProactiveEngagementCommandOutput) => void
|
|
753
|
-
): Promise<DisableProactiveEngagementCommandOutput> | void {
|
|
754
|
-
const command = new DisableProactiveEngagementCommand(args);
|
|
755
|
-
if (typeof optionsOrCb === "function") {
|
|
756
|
-
this.send(command, optionsOrCb);
|
|
757
|
-
} else if (typeof cb === "function") {
|
|
758
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
759
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
760
|
-
} else {
|
|
761
|
-
return this.send(command, optionsOrCb);
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* <p>Removes the Shield Response Team's (SRT) access to the specified Amazon S3 bucket containing the logs that you shared previously.</p>
|
|
767
|
-
* <p>To make a <code>DisassociateDRTLogBucket</code> request, you must be subscribed to the <a href="https://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>. However, if you are not subscribed to one of these support plans, but had been previously and had granted the SRT access to your account, you can submit a <code>DisassociateDRTLogBucket</code> request to remove this access.</p>
|
|
768
|
-
*/
|
|
769
|
-
public disassociateDRTLogBucket(
|
|
770
|
-
args: DisassociateDRTLogBucketCommandInput,
|
|
771
|
-
options?: __HttpHandlerOptions
|
|
772
|
-
): Promise<DisassociateDRTLogBucketCommandOutput>;
|
|
773
|
-
public disassociateDRTLogBucket(
|
|
774
|
-
args: DisassociateDRTLogBucketCommandInput,
|
|
775
|
-
cb: (err: any, data?: DisassociateDRTLogBucketCommandOutput) => void
|
|
776
|
-
): void;
|
|
777
|
-
public disassociateDRTLogBucket(
|
|
778
|
-
args: DisassociateDRTLogBucketCommandInput,
|
|
779
|
-
options: __HttpHandlerOptions,
|
|
780
|
-
cb: (err: any, data?: DisassociateDRTLogBucketCommandOutput) => void
|
|
781
|
-
): void;
|
|
782
|
-
public disassociateDRTLogBucket(
|
|
783
|
-
args: DisassociateDRTLogBucketCommandInput,
|
|
784
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateDRTLogBucketCommandOutput) => void),
|
|
785
|
-
cb?: (err: any, data?: DisassociateDRTLogBucketCommandOutput) => void
|
|
786
|
-
): Promise<DisassociateDRTLogBucketCommandOutput> | void {
|
|
787
|
-
const command = new DisassociateDRTLogBucketCommand(args);
|
|
788
|
-
if (typeof optionsOrCb === "function") {
|
|
789
|
-
this.send(command, optionsOrCb);
|
|
790
|
-
} else if (typeof cb === "function") {
|
|
791
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
792
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
793
|
-
} else {
|
|
794
|
-
return this.send(command, optionsOrCb);
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* <p>Removes the Shield Response Team's (SRT) access to your Amazon Web Services account.</p>
|
|
800
|
-
* <p>To make a <code>DisassociateDRTRole</code> request, you must be subscribed to the <a href="https://aws.amazon.com/premiumsupport/business-support/">Business Support plan</a> or the <a href="https://aws.amazon.com/premiumsupport/enterprise-support/">Enterprise Support plan</a>. However, if you are not subscribed to one of these support plans, but had been previously and had granted the SRT access to your account, you can submit a <code>DisassociateDRTRole</code> request to remove this access.</p>
|
|
801
|
-
*/
|
|
802
|
-
public disassociateDRTRole(
|
|
803
|
-
args: DisassociateDRTRoleCommandInput,
|
|
804
|
-
options?: __HttpHandlerOptions
|
|
805
|
-
): Promise<DisassociateDRTRoleCommandOutput>;
|
|
806
|
-
public disassociateDRTRole(
|
|
807
|
-
args: DisassociateDRTRoleCommandInput,
|
|
808
|
-
cb: (err: any, data?: DisassociateDRTRoleCommandOutput) => void
|
|
809
|
-
): void;
|
|
810
|
-
public disassociateDRTRole(
|
|
811
|
-
args: DisassociateDRTRoleCommandInput,
|
|
812
|
-
options: __HttpHandlerOptions,
|
|
813
|
-
cb: (err: any, data?: DisassociateDRTRoleCommandOutput) => void
|
|
814
|
-
): void;
|
|
815
|
-
public disassociateDRTRole(
|
|
816
|
-
args: DisassociateDRTRoleCommandInput,
|
|
817
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateDRTRoleCommandOutput) => void),
|
|
818
|
-
cb?: (err: any, data?: DisassociateDRTRoleCommandOutput) => void
|
|
819
|
-
): Promise<DisassociateDRTRoleCommandOutput> | void {
|
|
820
|
-
const command = new DisassociateDRTRoleCommand(args);
|
|
821
|
-
if (typeof optionsOrCb === "function") {
|
|
822
|
-
this.send(command, optionsOrCb);
|
|
823
|
-
} else if (typeof cb === "function") {
|
|
824
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
825
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
826
|
-
} else {
|
|
827
|
-
return this.send(command, optionsOrCb);
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* <p>Removes health-based detection from the Shield Advanced protection for a resource. Shield Advanced health-based detection uses the health of your Amazon Web Services resource to improve responsiveness and accuracy in attack detection and mitigation. </p>
|
|
833
|
-
* <p>You define the health check in Route 53 and then associate or disassociate it with your Shield Advanced protection. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/ddos-overview.html#ddos-advanced-health-check-option">Shield Advanced Health-Based Detection</a> in the <i>WAF Developer Guide</i>. </p>
|
|
834
|
-
*/
|
|
835
|
-
public disassociateHealthCheck(
|
|
836
|
-
args: DisassociateHealthCheckCommandInput,
|
|
837
|
-
options?: __HttpHandlerOptions
|
|
838
|
-
): Promise<DisassociateHealthCheckCommandOutput>;
|
|
839
|
-
public disassociateHealthCheck(
|
|
840
|
-
args: DisassociateHealthCheckCommandInput,
|
|
841
|
-
cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void
|
|
842
|
-
): void;
|
|
843
|
-
public disassociateHealthCheck(
|
|
844
|
-
args: DisassociateHealthCheckCommandInput,
|
|
845
|
-
options: __HttpHandlerOptions,
|
|
846
|
-
cb: (err: any, data?: DisassociateHealthCheckCommandOutput) => void
|
|
847
|
-
): void;
|
|
848
|
-
public disassociateHealthCheck(
|
|
849
|
-
args: DisassociateHealthCheckCommandInput,
|
|
850
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateHealthCheckCommandOutput) => void),
|
|
851
|
-
cb?: (err: any, data?: DisassociateHealthCheckCommandOutput) => void
|
|
852
|
-
): Promise<DisassociateHealthCheckCommandOutput> | void {
|
|
853
|
-
const command = new DisassociateHealthCheckCommand(args);
|
|
854
|
-
if (typeof optionsOrCb === "function") {
|
|
855
|
-
this.send(command, optionsOrCb);
|
|
856
|
-
} else if (typeof cb === "function") {
|
|
857
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
858
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
859
|
-
} else {
|
|
860
|
-
return this.send(command, optionsOrCb);
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* <p>Authorizes the Shield Response Team (SRT) to use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.</p>
|
|
866
|
-
*/
|
|
867
|
-
public enableProactiveEngagement(
|
|
868
|
-
args: EnableProactiveEngagementCommandInput,
|
|
869
|
-
options?: __HttpHandlerOptions
|
|
870
|
-
): Promise<EnableProactiveEngagementCommandOutput>;
|
|
871
|
-
public enableProactiveEngagement(
|
|
872
|
-
args: EnableProactiveEngagementCommandInput,
|
|
873
|
-
cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void
|
|
874
|
-
): void;
|
|
875
|
-
public enableProactiveEngagement(
|
|
876
|
-
args: EnableProactiveEngagementCommandInput,
|
|
877
|
-
options: __HttpHandlerOptions,
|
|
878
|
-
cb: (err: any, data?: EnableProactiveEngagementCommandOutput) => void
|
|
879
|
-
): void;
|
|
880
|
-
public enableProactiveEngagement(
|
|
881
|
-
args: EnableProactiveEngagementCommandInput,
|
|
882
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableProactiveEngagementCommandOutput) => void),
|
|
883
|
-
cb?: (err: any, data?: EnableProactiveEngagementCommandOutput) => void
|
|
884
|
-
): Promise<EnableProactiveEngagementCommandOutput> | void {
|
|
885
|
-
const command = new EnableProactiveEngagementCommand(args);
|
|
886
|
-
if (typeof optionsOrCb === "function") {
|
|
887
|
-
this.send(command, optionsOrCb);
|
|
888
|
-
} else if (typeof cb === "function") {
|
|
889
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
890
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
891
|
-
} else {
|
|
892
|
-
return this.send(command, optionsOrCb);
|
|
893
|
-
}
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
/**
|
|
897
|
-
* <p>Returns the <code>SubscriptionState</code>, either <code>Active</code> or <code>Inactive</code>.</p>
|
|
898
|
-
*/
|
|
899
|
-
public getSubscriptionState(
|
|
900
|
-
args: GetSubscriptionStateCommandInput,
|
|
901
|
-
options?: __HttpHandlerOptions
|
|
902
|
-
): Promise<GetSubscriptionStateCommandOutput>;
|
|
903
|
-
public getSubscriptionState(
|
|
904
|
-
args: GetSubscriptionStateCommandInput,
|
|
905
|
-
cb: (err: any, data?: GetSubscriptionStateCommandOutput) => void
|
|
906
|
-
): void;
|
|
907
|
-
public getSubscriptionState(
|
|
908
|
-
args: GetSubscriptionStateCommandInput,
|
|
909
|
-
options: __HttpHandlerOptions,
|
|
910
|
-
cb: (err: any, data?: GetSubscriptionStateCommandOutput) => void
|
|
911
|
-
): void;
|
|
912
|
-
public getSubscriptionState(
|
|
913
|
-
args: GetSubscriptionStateCommandInput,
|
|
914
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSubscriptionStateCommandOutput) => void),
|
|
915
|
-
cb?: (err: any, data?: GetSubscriptionStateCommandOutput) => void
|
|
916
|
-
): Promise<GetSubscriptionStateCommandOutput> | void {
|
|
917
|
-
const command = new GetSubscriptionStateCommand(args);
|
|
918
|
-
if (typeof optionsOrCb === "function") {
|
|
919
|
-
this.send(command, optionsOrCb);
|
|
920
|
-
} else if (typeof cb === "function") {
|
|
921
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
922
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
923
|
-
} else {
|
|
924
|
-
return this.send(command, optionsOrCb);
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
/**
|
|
929
|
-
* <p>Returns all ongoing DDoS attacks or all DDoS attacks during a specified time
|
|
930
|
-
* period.</p>
|
|
931
|
-
*/
|
|
932
|
-
public listAttacks(args: ListAttacksCommandInput, options?: __HttpHandlerOptions): Promise<ListAttacksCommandOutput>;
|
|
933
|
-
public listAttacks(args: ListAttacksCommandInput, cb: (err: any, data?: ListAttacksCommandOutput) => void): void;
|
|
934
|
-
public listAttacks(
|
|
935
|
-
args: ListAttacksCommandInput,
|
|
936
|
-
options: __HttpHandlerOptions,
|
|
937
|
-
cb: (err: any, data?: ListAttacksCommandOutput) => void
|
|
938
|
-
): void;
|
|
939
|
-
public listAttacks(
|
|
940
|
-
args: ListAttacksCommandInput,
|
|
941
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAttacksCommandOutput) => void),
|
|
942
|
-
cb?: (err: any, data?: ListAttacksCommandOutput) => void
|
|
943
|
-
): Promise<ListAttacksCommandOutput> | void {
|
|
944
|
-
const command = new ListAttacksCommand(args);
|
|
945
|
-
if (typeof optionsOrCb === "function") {
|
|
946
|
-
this.send(command, optionsOrCb);
|
|
947
|
-
} else if (typeof cb === "function") {
|
|
948
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
949
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
950
|
-
} else {
|
|
951
|
-
return this.send(command, optionsOrCb);
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
/**
|
|
956
|
-
* <p>Retrieves the <a>ProtectionGroup</a> objects for the account.</p>
|
|
957
|
-
*/
|
|
958
|
-
public listProtectionGroups(
|
|
959
|
-
args: ListProtectionGroupsCommandInput,
|
|
960
|
-
options?: __HttpHandlerOptions
|
|
961
|
-
): Promise<ListProtectionGroupsCommandOutput>;
|
|
962
|
-
public listProtectionGroups(
|
|
963
|
-
args: ListProtectionGroupsCommandInput,
|
|
964
|
-
cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void
|
|
965
|
-
): void;
|
|
966
|
-
public listProtectionGroups(
|
|
967
|
-
args: ListProtectionGroupsCommandInput,
|
|
968
|
-
options: __HttpHandlerOptions,
|
|
969
|
-
cb: (err: any, data?: ListProtectionGroupsCommandOutput) => void
|
|
970
|
-
): void;
|
|
971
|
-
public listProtectionGroups(
|
|
972
|
-
args: ListProtectionGroupsCommandInput,
|
|
973
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProtectionGroupsCommandOutput) => void),
|
|
974
|
-
cb?: (err: any, data?: ListProtectionGroupsCommandOutput) => void
|
|
975
|
-
): Promise<ListProtectionGroupsCommandOutput> | void {
|
|
976
|
-
const command = new ListProtectionGroupsCommand(args);
|
|
977
|
-
if (typeof optionsOrCb === "function") {
|
|
978
|
-
this.send(command, optionsOrCb);
|
|
979
|
-
} else if (typeof cb === "function") {
|
|
980
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
981
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
982
|
-
} else {
|
|
983
|
-
return this.send(command, optionsOrCb);
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* <p>Lists all <a>Protection</a> objects for the account.</p>
|
|
989
|
-
*/
|
|
990
|
-
public listProtections(
|
|
991
|
-
args: ListProtectionsCommandInput,
|
|
992
|
-
options?: __HttpHandlerOptions
|
|
993
|
-
): Promise<ListProtectionsCommandOutput>;
|
|
994
|
-
public listProtections(
|
|
995
|
-
args: ListProtectionsCommandInput,
|
|
996
|
-
cb: (err: any, data?: ListProtectionsCommandOutput) => void
|
|
997
|
-
): void;
|
|
998
|
-
public listProtections(
|
|
999
|
-
args: ListProtectionsCommandInput,
|
|
1000
|
-
options: __HttpHandlerOptions,
|
|
1001
|
-
cb: (err: any, data?: ListProtectionsCommandOutput) => void
|
|
1002
|
-
): void;
|
|
1003
|
-
public listProtections(
|
|
1004
|
-
args: ListProtectionsCommandInput,
|
|
1005
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProtectionsCommandOutput) => void),
|
|
1006
|
-
cb?: (err: any, data?: ListProtectionsCommandOutput) => void
|
|
1007
|
-
): Promise<ListProtectionsCommandOutput> | void {
|
|
1008
|
-
const command = new ListProtectionsCommand(args);
|
|
1009
|
-
if (typeof optionsOrCb === "function") {
|
|
1010
|
-
this.send(command, optionsOrCb);
|
|
1011
|
-
} else if (typeof cb === "function") {
|
|
1012
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1013
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1014
|
-
} else {
|
|
1015
|
-
return this.send(command, optionsOrCb);
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* <p>Retrieves the resources that are included in the protection group. </p>
|
|
1021
|
-
*/
|
|
1022
|
-
public listResourcesInProtectionGroup(
|
|
1023
|
-
args: ListResourcesInProtectionGroupCommandInput,
|
|
1024
|
-
options?: __HttpHandlerOptions
|
|
1025
|
-
): Promise<ListResourcesInProtectionGroupCommandOutput>;
|
|
1026
|
-
public listResourcesInProtectionGroup(
|
|
1027
|
-
args: ListResourcesInProtectionGroupCommandInput,
|
|
1028
|
-
cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void
|
|
1029
|
-
): void;
|
|
1030
|
-
public listResourcesInProtectionGroup(
|
|
1031
|
-
args: ListResourcesInProtectionGroupCommandInput,
|
|
1032
|
-
options: __HttpHandlerOptions,
|
|
1033
|
-
cb: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void
|
|
1034
|
-
): void;
|
|
1035
|
-
public listResourcesInProtectionGroup(
|
|
1036
|
-
args: ListResourcesInProtectionGroupCommandInput,
|
|
1037
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void),
|
|
1038
|
-
cb?: (err: any, data?: ListResourcesInProtectionGroupCommandOutput) => void
|
|
1039
|
-
): Promise<ListResourcesInProtectionGroupCommandOutput> | void {
|
|
1040
|
-
const command = new ListResourcesInProtectionGroupCommand(args);
|
|
1041
|
-
if (typeof optionsOrCb === "function") {
|
|
1042
|
-
this.send(command, optionsOrCb);
|
|
1043
|
-
} else if (typeof cb === "function") {
|
|
1044
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1045
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1046
|
-
} else {
|
|
1047
|
-
return this.send(command, optionsOrCb);
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
/**
|
|
1052
|
-
* <p>Gets information about Amazon Web Services tags for a specified Amazon Resource Name (ARN) in Shield.</p>
|
|
1053
|
-
*/
|
|
1054
|
-
public listTagsForResource(
|
|
1055
|
-
args: ListTagsForResourceCommandInput,
|
|
1056
|
-
options?: __HttpHandlerOptions
|
|
1057
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
1058
|
-
public listTagsForResource(
|
|
1059
|
-
args: ListTagsForResourceCommandInput,
|
|
1060
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1061
|
-
): void;
|
|
1062
|
-
public listTagsForResource(
|
|
1063
|
-
args: ListTagsForResourceCommandInput,
|
|
1064
|
-
options: __HttpHandlerOptions,
|
|
1065
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1066
|
-
): void;
|
|
1067
|
-
public listTagsForResource(
|
|
1068
|
-
args: ListTagsForResourceCommandInput,
|
|
1069
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
1070
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1071
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
1072
|
-
const command = new ListTagsForResourceCommand(args);
|
|
1073
|
-
if (typeof optionsOrCb === "function") {
|
|
1074
|
-
this.send(command, optionsOrCb);
|
|
1075
|
-
} else if (typeof cb === "function") {
|
|
1076
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1077
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1078
|
-
} else {
|
|
1079
|
-
return this.send(command, optionsOrCb);
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
/**
|
|
1084
|
-
* <p>Adds or updates tags for a resource in Shield.</p>
|
|
1085
|
-
*/
|
|
1086
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1087
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1088
|
-
public tagResource(
|
|
1089
|
-
args: TagResourceCommandInput,
|
|
1090
|
-
options: __HttpHandlerOptions,
|
|
1091
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1092
|
-
): void;
|
|
1093
|
-
public tagResource(
|
|
1094
|
-
args: TagResourceCommandInput,
|
|
1095
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1096
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1097
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1098
|
-
const command = new TagResourceCommand(args);
|
|
1099
|
-
if (typeof optionsOrCb === "function") {
|
|
1100
|
-
this.send(command, optionsOrCb);
|
|
1101
|
-
} else if (typeof cb === "function") {
|
|
1102
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1104
|
-
} else {
|
|
1105
|
-
return this.send(command, optionsOrCb);
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
/**
|
|
1110
|
-
* <p>Removes tags from a resource in Shield.</p>
|
|
1111
|
-
*/
|
|
1112
|
-
public untagResource(
|
|
1113
|
-
args: UntagResourceCommandInput,
|
|
1114
|
-
options?: __HttpHandlerOptions
|
|
1115
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1116
|
-
public untagResource(
|
|
1117
|
-
args: UntagResourceCommandInput,
|
|
1118
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1119
|
-
): void;
|
|
1120
|
-
public untagResource(
|
|
1121
|
-
args: UntagResourceCommandInput,
|
|
1122
|
-
options: __HttpHandlerOptions,
|
|
1123
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1124
|
-
): void;
|
|
1125
|
-
public untagResource(
|
|
1126
|
-
args: UntagResourceCommandInput,
|
|
1127
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1128
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1129
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1130
|
-
const command = new UntagResourceCommand(args);
|
|
1131
|
-
if (typeof optionsOrCb === "function") {
|
|
1132
|
-
this.send(command, optionsOrCb);
|
|
1133
|
-
} else if (typeof cb === "function") {
|
|
1134
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1135
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1136
|
-
} else {
|
|
1137
|
-
return this.send(command, optionsOrCb);
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
/**
|
|
1142
|
-
* <p>Updates the details of the 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>
|
|
1143
|
-
*/
|
|
1144
|
-
public updateEmergencyContactSettings(
|
|
1145
|
-
args: UpdateEmergencyContactSettingsCommandInput,
|
|
1146
|
-
options?: __HttpHandlerOptions
|
|
1147
|
-
): Promise<UpdateEmergencyContactSettingsCommandOutput>;
|
|
1148
|
-
public updateEmergencyContactSettings(
|
|
1149
|
-
args: UpdateEmergencyContactSettingsCommandInput,
|
|
1150
|
-
cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void
|
|
1151
|
-
): void;
|
|
1152
|
-
public updateEmergencyContactSettings(
|
|
1153
|
-
args: UpdateEmergencyContactSettingsCommandInput,
|
|
1154
|
-
options: __HttpHandlerOptions,
|
|
1155
|
-
cb: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void
|
|
1156
|
-
): void;
|
|
1157
|
-
public updateEmergencyContactSettings(
|
|
1158
|
-
args: UpdateEmergencyContactSettingsCommandInput,
|
|
1159
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void),
|
|
1160
|
-
cb?: (err: any, data?: UpdateEmergencyContactSettingsCommandOutput) => void
|
|
1161
|
-
): Promise<UpdateEmergencyContactSettingsCommandOutput> | void {
|
|
1162
|
-
const command = new UpdateEmergencyContactSettingsCommand(args);
|
|
1163
|
-
if (typeof optionsOrCb === "function") {
|
|
1164
|
-
this.send(command, optionsOrCb);
|
|
1165
|
-
} else if (typeof cb === "function") {
|
|
1166
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1167
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1168
|
-
} else {
|
|
1169
|
-
return this.send(command, optionsOrCb);
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* <p>Updates an existing protection group. A protection group is a grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. </p>
|
|
1175
|
-
*/
|
|
1176
|
-
public updateProtectionGroup(
|
|
1177
|
-
args: UpdateProtectionGroupCommandInput,
|
|
1178
|
-
options?: __HttpHandlerOptions
|
|
1179
|
-
): Promise<UpdateProtectionGroupCommandOutput>;
|
|
1180
|
-
public updateProtectionGroup(
|
|
1181
|
-
args: UpdateProtectionGroupCommandInput,
|
|
1182
|
-
cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void
|
|
1183
|
-
): void;
|
|
1184
|
-
public updateProtectionGroup(
|
|
1185
|
-
args: UpdateProtectionGroupCommandInput,
|
|
1186
|
-
options: __HttpHandlerOptions,
|
|
1187
|
-
cb: (err: any, data?: UpdateProtectionGroupCommandOutput) => void
|
|
1188
|
-
): void;
|
|
1189
|
-
public updateProtectionGroup(
|
|
1190
|
-
args: UpdateProtectionGroupCommandInput,
|
|
1191
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateProtectionGroupCommandOutput) => void),
|
|
1192
|
-
cb?: (err: any, data?: UpdateProtectionGroupCommandOutput) => void
|
|
1193
|
-
): Promise<UpdateProtectionGroupCommandOutput> | void {
|
|
1194
|
-
const command = new UpdateProtectionGroupCommand(args);
|
|
1195
|
-
if (typeof optionsOrCb === "function") {
|
|
1196
|
-
this.send(command, optionsOrCb);
|
|
1197
|
-
} else if (typeof cb === "function") {
|
|
1198
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1199
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1200
|
-
} else {
|
|
1201
|
-
return this.send(command, optionsOrCb);
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* <p>Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.</p>
|
|
1207
|
-
*/
|
|
1208
|
-
public updateSubscription(
|
|
1209
|
-
args: UpdateSubscriptionCommandInput,
|
|
1210
|
-
options?: __HttpHandlerOptions
|
|
1211
|
-
): Promise<UpdateSubscriptionCommandOutput>;
|
|
1212
|
-
public updateSubscription(
|
|
1213
|
-
args: UpdateSubscriptionCommandInput,
|
|
1214
|
-
cb: (err: any, data?: UpdateSubscriptionCommandOutput) => void
|
|
1215
|
-
): void;
|
|
1216
|
-
public updateSubscription(
|
|
1217
|
-
args: UpdateSubscriptionCommandInput,
|
|
1218
|
-
options: __HttpHandlerOptions,
|
|
1219
|
-
cb: (err: any, data?: UpdateSubscriptionCommandOutput) => void
|
|
1220
|
-
): void;
|
|
1221
|
-
public updateSubscription(
|
|
1222
|
-
args: UpdateSubscriptionCommandInput,
|
|
1223
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSubscriptionCommandOutput) => void),
|
|
1224
|
-
cb?: (err: any, data?: UpdateSubscriptionCommandOutput) => void
|
|
1225
|
-
): Promise<UpdateSubscriptionCommandOutput> | void {
|
|
1226
|
-
const command = new UpdateSubscriptionCommand(args);
|
|
1227
|
-
if (typeof optionsOrCb === "function") {
|
|
1228
|
-
this.send(command, optionsOrCb);
|
|
1229
|
-
} else if (typeof cb === "function") {
|
|
1230
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1231
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1232
|
-
} else {
|
|
1233
|
-
return this.send(command, optionsOrCb);
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
}
|