@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
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DescribeProtectionGroupRequest, DescribeProtectionGroupResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DescribeProtectionGroupCommand,
|
|
17
|
-
serializeAws_json1_1DescribeProtectionGroupCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
20
|
-
|
|
21
|
-
export interface DescribeProtectionGroupCommandInput extends DescribeProtectionGroupRequest {}
|
|
22
|
-
export interface DescribeProtectionGroupCommandOutput extends DescribeProtectionGroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns the specification for the specified protection group.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ShieldClient, DescribeProtectionGroupCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
30
|
-
* // const { ShieldClient, DescribeProtectionGroupCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
31
|
-
* const client = new ShieldClient(config);
|
|
32
|
-
* const command = new DescribeProtectionGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeProtectionGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeProtectionGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeProtectionGroupCommand extends $Command<
|
|
42
|
-
DescribeProtectionGroupCommandInput,
|
|
43
|
-
DescribeProtectionGroupCommandOutput,
|
|
44
|
-
ShieldClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeProtectionGroupCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ShieldClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DescribeProtectionGroupCommandInput, DescribeProtectionGroupCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ShieldClient";
|
|
69
|
-
const commandName = "DescribeProtectionGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeProtectionGroupRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeProtectionGroupResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DescribeProtectionGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DescribeProtectionGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeProtectionGroupCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DescribeProtectionGroupCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DescribeSubscriptionRequest, DescribeSubscriptionResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DescribeSubscriptionCommand,
|
|
17
|
-
serializeAws_json1_1DescribeSubscriptionCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
20
|
-
|
|
21
|
-
export interface DescribeSubscriptionCommandInput extends DescribeSubscriptionRequest {}
|
|
22
|
-
export interface DescribeSubscriptionCommandOutput extends DescribeSubscriptionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Provides details about the Shield Advanced subscription for an account.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ShieldClient, DescribeSubscriptionCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
30
|
-
* // const { ShieldClient, DescribeSubscriptionCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
31
|
-
* const client = new ShieldClient(config);
|
|
32
|
-
* const command = new DescribeSubscriptionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeSubscriptionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeSubscriptionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeSubscriptionCommand extends $Command<
|
|
42
|
-
DescribeSubscriptionCommandInput,
|
|
43
|
-
DescribeSubscriptionCommandOutput,
|
|
44
|
-
ShieldClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeSubscriptionCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ShieldClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DescribeSubscriptionCommandInput, DescribeSubscriptionCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ShieldClient";
|
|
69
|
-
const commandName = "DescribeSubscriptionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeSubscriptionRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeSubscriptionResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DescribeSubscriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DescribeSubscriptionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSubscriptionCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DescribeSubscriptionCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DisableProactiveEngagementRequest, DisableProactiveEngagementResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DisableProactiveEngagementCommand,
|
|
17
|
-
serializeAws_json1_1DisableProactiveEngagementCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
20
|
-
|
|
21
|
-
export interface DisableProactiveEngagementCommandInput extends DisableProactiveEngagementRequest {}
|
|
22
|
-
export interface DisableProactiveEngagementCommandOutput extends DisableProactiveEngagementResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Removes authorization from the Shield Response Team (SRT) to notify contacts about escalations to the SRT and to initiate proactive customer support.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ShieldClient, DisableProactiveEngagementCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
30
|
-
* // const { ShieldClient, DisableProactiveEngagementCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
31
|
-
* const client = new ShieldClient(config);
|
|
32
|
-
* const command = new DisableProactiveEngagementCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DisableProactiveEngagementCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DisableProactiveEngagementCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DisableProactiveEngagementCommand extends $Command<
|
|
42
|
-
DisableProactiveEngagementCommandInput,
|
|
43
|
-
DisableProactiveEngagementCommandOutput,
|
|
44
|
-
ShieldClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DisableProactiveEngagementCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ShieldClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DisableProactiveEngagementCommandInput, DisableProactiveEngagementCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ShieldClient";
|
|
69
|
-
const commandName = "DisableProactiveEngagementCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DisableProactiveEngagementRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DisableProactiveEngagementResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DisableProactiveEngagementCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DisableProactiveEngagementCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<DisableProactiveEngagementCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1DisableProactiveEngagementCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DisassociateDRTLogBucketRequest, DisassociateDRTLogBucketResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DisassociateDRTLogBucketCommand,
|
|
17
|
-
serializeAws_json1_1DisassociateDRTLogBucketCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
20
|
-
|
|
21
|
-
export interface DisassociateDRTLogBucketCommandInput extends DisassociateDRTLogBucketRequest {}
|
|
22
|
-
export interface DisassociateDRTLogBucketCommandOutput extends DisassociateDRTLogBucketResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Removes the Shield Response Team's (SRT) access to the specified Amazon S3 bucket containing the logs that you shared previously.</p>
|
|
26
|
-
* <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>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ShieldClient, DisassociateDRTLogBucketCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
31
|
-
* // const { ShieldClient, DisassociateDRTLogBucketCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
32
|
-
* const client = new ShieldClient(config);
|
|
33
|
-
* const command = new DisassociateDRTLogBucketCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DisassociateDRTLogBucketCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DisassociateDRTLogBucketCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DisassociateDRTLogBucketCommand extends $Command<
|
|
43
|
-
DisassociateDRTLogBucketCommandInput,
|
|
44
|
-
DisassociateDRTLogBucketCommandOutput,
|
|
45
|
-
ShieldClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DisassociateDRTLogBucketCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: ShieldClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DisassociateDRTLogBucketCommandInput, DisassociateDRTLogBucketCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "ShieldClient";
|
|
70
|
-
const commandName = "DisassociateDRTLogBucketCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DisassociateDRTLogBucketRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DisassociateDRTLogBucketResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DisassociateDRTLogBucketCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1DisassociateDRTLogBucketCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DisassociateDRTLogBucketCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1DisassociateDRTLogBucketCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DisassociateDRTRoleRequest, DisassociateDRTRoleResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DisassociateDRTRoleCommand,
|
|
17
|
-
serializeAws_json1_1DisassociateDRTRoleCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
20
|
-
|
|
21
|
-
export interface DisassociateDRTRoleCommandInput extends DisassociateDRTRoleRequest {}
|
|
22
|
-
export interface DisassociateDRTRoleCommandOutput extends DisassociateDRTRoleResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Removes the Shield Response Team's (SRT) access to your Amazon Web Services account.</p>
|
|
26
|
-
* <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>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ShieldClient, DisassociateDRTRoleCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
31
|
-
* // const { ShieldClient, DisassociateDRTRoleCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
32
|
-
* const client = new ShieldClient(config);
|
|
33
|
-
* const command = new DisassociateDRTRoleCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DisassociateDRTRoleCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DisassociateDRTRoleCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DisassociateDRTRoleCommand extends $Command<
|
|
43
|
-
DisassociateDRTRoleCommandInput,
|
|
44
|
-
DisassociateDRTRoleCommandOutput,
|
|
45
|
-
ShieldClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DisassociateDRTRoleCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: ShieldClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DisassociateDRTRoleCommandInput, DisassociateDRTRoleCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "ShieldClient";
|
|
70
|
-
const commandName = "DisassociateDRTRoleCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DisassociateDRTRoleRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DisassociateDRTRoleResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DisassociateDRTRoleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1DisassociateDRTRoleCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DisassociateDRTRoleCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1DisassociateDRTRoleCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DisassociateHealthCheckRequest, DisassociateHealthCheckResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1DisassociateHealthCheckCommand,
|
|
17
|
-
serializeAws_json1_1DisassociateHealthCheckCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
20
|
-
|
|
21
|
-
export interface DisassociateHealthCheckCommandInput extends DisassociateHealthCheckRequest {}
|
|
22
|
-
export interface DisassociateHealthCheckCommandOutput extends DisassociateHealthCheckResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <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>
|
|
26
|
-
* <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>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ShieldClient, DisassociateHealthCheckCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
31
|
-
* // const { ShieldClient, DisassociateHealthCheckCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
32
|
-
* const client = new ShieldClient(config);
|
|
33
|
-
* const command = new DisassociateHealthCheckCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DisassociateHealthCheckCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DisassociateHealthCheckCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DisassociateHealthCheckCommand extends $Command<
|
|
43
|
-
DisassociateHealthCheckCommandInput,
|
|
44
|
-
DisassociateHealthCheckCommandOutput,
|
|
45
|
-
ShieldClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DisassociateHealthCheckCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: ShieldClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DisassociateHealthCheckCommandInput, DisassociateHealthCheckCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "ShieldClient";
|
|
70
|
-
const commandName = "DisassociateHealthCheckCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DisassociateHealthCheckRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DisassociateHealthCheckResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DisassociateHealthCheckCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1DisassociateHealthCheckCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DisassociateHealthCheckCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1DisassociateHealthCheckCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { EnableProactiveEngagementRequest, EnableProactiveEngagementResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1EnableProactiveEngagementCommand,
|
|
17
|
-
serializeAws_json1_1EnableProactiveEngagementCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
20
|
-
|
|
21
|
-
export interface EnableProactiveEngagementCommandInput extends EnableProactiveEngagementRequest {}
|
|
22
|
-
export interface EnableProactiveEngagementCommandOutput extends EnableProactiveEngagementResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <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>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ShieldClient, EnableProactiveEngagementCommand } from "@aws-sdk/client-shield"; // ES Modules import
|
|
30
|
-
* // const { ShieldClient, EnableProactiveEngagementCommand } = require("@aws-sdk/client-shield"); // CommonJS import
|
|
31
|
-
* const client = new ShieldClient(config);
|
|
32
|
-
* const command = new EnableProactiveEngagementCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link EnableProactiveEngagementCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link EnableProactiveEngagementCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ShieldClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class EnableProactiveEngagementCommand extends $Command<
|
|
42
|
-
EnableProactiveEngagementCommandInput,
|
|
43
|
-
EnableProactiveEngagementCommandOutput,
|
|
44
|
-
ShieldClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: EnableProactiveEngagementCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ShieldClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<EnableProactiveEngagementCommandInput, EnableProactiveEngagementCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ShieldClient";
|
|
69
|
-
const commandName = "EnableProactiveEngagementCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: EnableProactiveEngagementRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: EnableProactiveEngagementResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: EnableProactiveEngagementCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1EnableProactiveEngagementCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<EnableProactiveEngagementCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1EnableProactiveEngagementCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|