@aws-sdk/client-shield 3.477.0 → 3.481.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/dist-cjs/commands/AssociateDRTLogBucketCommand.js +18 -41
- package/dist-cjs/commands/AssociateDRTRoleCommand.js +18 -41
- package/dist-cjs/commands/AssociateHealthCheckCommand.js +18 -41
- package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js +18 -41
- package/dist-cjs/commands/CreateProtectionCommand.js +18 -41
- package/dist-cjs/commands/CreateProtectionGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DeleteProtectionCommand.js +18 -41
- package/dist-cjs/commands/DeleteProtectionGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DescribeAttackCommand.js +18 -41
- package/dist-cjs/commands/DescribeAttackStatisticsCommand.js +18 -41
- package/dist-cjs/commands/DescribeDRTAccessCommand.js +18 -41
- package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js +18 -41
- package/dist-cjs/commands/DescribeProtectionCommand.js +18 -41
- package/dist-cjs/commands/DescribeProtectionGroupCommand.js +18 -41
- package/dist-cjs/commands/DescribeSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DisableApplicationLayerAutomaticResponseCommand.js +18 -41
- package/dist-cjs/commands/DisableProactiveEngagementCommand.js +18 -41
- package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js +18 -41
- package/dist-cjs/commands/DisassociateDRTRoleCommand.js +18 -41
- package/dist-cjs/commands/DisassociateHealthCheckCommand.js +18 -41
- package/dist-cjs/commands/EnableApplicationLayerAutomaticResponseCommand.js +18 -41
- package/dist-cjs/commands/EnableProactiveEngagementCommand.js +18 -41
- package/dist-cjs/commands/GetSubscriptionStateCommand.js +18 -41
- package/dist-cjs/commands/ListAttacksCommand.js +18 -41
- package/dist-cjs/commands/ListProtectionGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListProtectionsCommand.js +18 -41
- package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateApplicationLayerAutomaticResponseCommand.js +18 -41
- package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js +18 -41
- package/dist-cjs/commands/UpdateProtectionGroupCommand.js +18 -41
- package/dist-cjs/commands/UpdateSubscriptionCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListAttacksPaginator.js +2 -24
- package/dist-cjs/pagination/ListProtectionGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProtectionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResourcesInProtectionGroupPaginator.js +2 -24
- package/dist-es/commands/AssociateDRTLogBucketCommand.js +18 -41
- package/dist-es/commands/AssociateDRTRoleCommand.js +18 -41
- package/dist-es/commands/AssociateHealthCheckCommand.js +18 -41
- package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +18 -41
- package/dist-es/commands/CreateProtectionCommand.js +18 -41
- package/dist-es/commands/CreateProtectionGroupCommand.js +18 -41
- package/dist-es/commands/CreateSubscriptionCommand.js +18 -41
- package/dist-es/commands/DeleteProtectionCommand.js +18 -41
- package/dist-es/commands/DeleteProtectionGroupCommand.js +18 -41
- package/dist-es/commands/DeleteSubscriptionCommand.js +18 -41
- package/dist-es/commands/DescribeAttackCommand.js +18 -41
- package/dist-es/commands/DescribeAttackStatisticsCommand.js +18 -41
- package/dist-es/commands/DescribeDRTAccessCommand.js +18 -41
- package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +18 -41
- package/dist-es/commands/DescribeProtectionCommand.js +18 -41
- package/dist-es/commands/DescribeProtectionGroupCommand.js +18 -41
- package/dist-es/commands/DescribeSubscriptionCommand.js +18 -41
- package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +18 -41
- package/dist-es/commands/DisableProactiveEngagementCommand.js +18 -41
- package/dist-es/commands/DisassociateDRTLogBucketCommand.js +18 -41
- package/dist-es/commands/DisassociateDRTRoleCommand.js +18 -41
- package/dist-es/commands/DisassociateHealthCheckCommand.js +18 -41
- package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +18 -41
- package/dist-es/commands/EnableProactiveEngagementCommand.js +18 -41
- package/dist-es/commands/GetSubscriptionStateCommand.js +18 -41
- package/dist-es/commands/ListAttacksCommand.js +18 -41
- package/dist-es/commands/ListProtectionGroupsCommand.js +18 -41
- package/dist-es/commands/ListProtectionsCommand.js +18 -41
- package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +18 -41
- package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +18 -41
- package/dist-es/commands/UpdateProtectionGroupCommand.js +18 -41
- package/dist-es/commands/UpdateSubscriptionCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListAttacksPaginator.js +2 -23
- package/dist-es/pagination/ListProtectionGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListProtectionsPaginator.js +2 -23
- package/dist-es/pagination/ListResourcesInProtectionGroupPaginator.js +2 -23
- package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +6 -21
- package/dist-types/commands/AssociateDRTRoleCommand.d.ts +6 -21
- package/dist-types/commands/AssociateHealthCheckCommand.d.ts +6 -21
- package/dist-types/commands/AssociateProactiveEngagementDetailsCommand.d.ts +6 -21
- package/dist-types/commands/CreateProtectionCommand.d.ts +6 -21
- package/dist-types/commands/CreateProtectionGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProtectionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProtectionGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAttackCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAttackStatisticsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDRTAccessCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEmergencyContactSettingsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProtectionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProtectionGroupCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +6 -21
- package/dist-types/commands/DisableProactiveEngagementCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateDRTRoleCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +6 -21
- package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +6 -21
- package/dist-types/commands/EnableProactiveEngagementCommand.d.ts +6 -21
- package/dist-types/commands/GetSubscriptionStateCommand.d.ts +6 -21
- package/dist-types/commands/ListAttacksCommand.d.ts +6 -21
- package/dist-types/commands/ListProtectionGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListProtectionsCommand.d.ts +6 -21
- package/dist-types/commands/ListResourcesInProtectionGroupCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEmergencyContactSettingsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateProtectionGroupCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListAttacksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProtectionGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProtectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourcesInProtectionGroupPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateDRTLogBucketCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateDRTRoleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AssociateHealthCheckCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateProactiveEngagementDetailsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateProtectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateProtectionGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteProtectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteProtectionGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSubscriptionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAttackCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAttackStatisticsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDRTAccessCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeEmergencyContactSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeProtectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeProtectionGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableProactiveEngagementCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateDRTLogBucketCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateDRTRoleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateHealthCheckCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableProactiveEngagementCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetSubscriptionStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAttacksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListProtectionGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListProtectionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListResourcesInProtectionGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateEmergencyContactSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateProtectionGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListAttacksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProtectionGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProtectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResourcesInProtectionGroupPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateProtectionGroupCommand, se_UpdateProtectionGroupCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateProtectionGroupCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ShieldClient";
|
|
26
|
-
const commandName = "UpdateProtectionGroupCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSShield_20160616",
|
|
35
|
-
operation: "UpdateProtectionGroup",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateProtectionGroupCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateProtectionGroupCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateProtectionGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSShield_20160616", "UpdateProtectionGroup", {})
|
|
19
|
+
.n("ShieldClient", "UpdateProtectionGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateProtectionGroupCommand)
|
|
22
|
+
.de(de_UpdateProtectionGroupCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateSubscriptionCommand, se_UpdateSubscriptionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateSubscriptionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ShieldClient";
|
|
26
|
-
const commandName = "UpdateSubscriptionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSShield_20160616",
|
|
35
|
-
operation: "UpdateSubscription",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateSubscriptionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateSubscriptionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateSubscriptionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSShield_20160616", "UpdateSubscription", {})
|
|
19
|
+
.n("ShieldClient", "UpdateSubscriptionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateSubscriptionCommand)
|
|
22
|
+
.de(de_UpdateSubscriptionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "shield",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAttacksCommand } from "../commands/ListAttacksCommand";
|
|
2
3
|
import { ShieldClient } from "../ShieldClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAttacksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAttacks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ShieldClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Shield | ShieldClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAttacks = createPaginator(ShieldClient, ListAttacksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListProtectionGroupsCommand, } from "../commands/ListProtectionGroupsCommand";
|
|
2
3
|
import { ShieldClient } from "../ShieldClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProtectionGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProtectionGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ShieldClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Shield | ShieldClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListProtectionGroups = createPaginator(ShieldClient, ListProtectionGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListProtectionsCommand, } from "../commands/ListProtectionsCommand";
|
|
2
3
|
import { ShieldClient } from "../ShieldClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProtectionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProtections(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ShieldClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Shield | ShieldClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListProtections = createPaginator(ShieldClient, ListProtectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResourcesInProtectionGroupCommand, } from "../commands/ListResourcesInProtectionGroupCommand";
|
|
2
3
|
import { ShieldClient } from "../ShieldClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResourcesInProtectionGroupCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResourcesInProtectionGroup(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ShieldClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Shield | ShieldClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResourcesInProtectionGroup = createPaginator(ShieldClient, ListResourcesInProtectionGroupCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AssociateDRTLogBucketRequest, AssociateDRTLogBucketResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateDRTLogBucketCommandInput extends AssociateDRTLogBucket
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucketResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateDRTLogBucketCommand_base: {
|
|
24
|
+
new (input: AssociateDRTLogBucketCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <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>
|
|
@@ -75,23 +78,5 @@ export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucke
|
|
|
75
78
|
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
76
79
|
*
|
|
77
80
|
*/
|
|
78
|
-
export declare class AssociateDRTLogBucketCommand extends
|
|
79
|
-
readonly input: AssociateDRTLogBucketCommandInput;
|
|
80
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
-
/**
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
constructor(input: AssociateDRTLogBucketCommandInput);
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput>;
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
private serialize;
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
private deserialize;
|
|
81
|
+
export declare class AssociateDRTLogBucketCommand extends AssociateDRTLogBucketCommand_base {
|
|
97
82
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AssociateDRTRoleRequest, AssociateDRTRoleResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateDRTRoleCommandInput extends AssociateDRTRoleRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateDRTRoleCommand_base: {
|
|
24
|
+
new (input: AssociateDRTRoleCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <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>
|
|
@@ -74,23 +77,5 @@ export interface AssociateDRTRoleCommandOutput extends AssociateDRTRoleResponse,
|
|
|
74
77
|
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
75
78
|
*
|
|
76
79
|
*/
|
|
77
|
-
export declare class AssociateDRTRoleCommand extends
|
|
78
|
-
readonly input: AssociateDRTRoleCommandInput;
|
|
79
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
-
/**
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
constructor(input: AssociateDRTRoleCommandInput);
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput>;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private serialize;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private deserialize;
|
|
80
|
+
export declare class AssociateDRTRoleCommand extends AssociateDRTRoleCommand_base {
|
|
96
81
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AssociateHealthCheckRequest, AssociateHealthCheckResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateHealthCheckCommandInput extends AssociateHealthCheckRe
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateHealthCheckCommand_base: {
|
|
24
|
+
new (input: AssociateHealthCheckCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <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 response. </p>
|
|
@@ -70,23 +73,5 @@ export interface AssociateHealthCheckCommandOutput extends AssociateHealthCheckR
|
|
|
70
73
|
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
71
74
|
*
|
|
72
75
|
*/
|
|
73
|
-
export declare class AssociateHealthCheckCommand extends
|
|
74
|
-
readonly input: AssociateHealthCheckCommandInput;
|
|
75
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
constructor(input: AssociateHealthCheckCommandInput);
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput>;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
private serialize;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private deserialize;
|
|
76
|
+
export declare class AssociateHealthCheckCommand extends AssociateHealthCheckCommand_base {
|
|
92
77
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AssociateProactiveEngagementDetailsRequest, AssociateProactiveEngagementDetailsResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AssociateProactiveEngagementDetailsCommandInput extends Associa
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssociateProactiveEngagementDetailsCommandOutput extends AssociateProactiveEngagementDetailsResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssociateProactiveEngagementDetailsCommand_base: {
|
|
24
|
+
new (input: AssociateProactiveEngagementDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateProactiveEngagementDetailsCommandInput, AssociateProactiveEngagementDetailsCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <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>
|
|
@@ -76,23 +79,5 @@ export interface AssociateProactiveEngagementDetailsCommandOutput extends Associ
|
|
|
76
79
|
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
77
80
|
*
|
|
78
81
|
*/
|
|
79
|
-
export declare class AssociateProactiveEngagementDetailsCommand extends
|
|
80
|
-
readonly input: AssociateProactiveEngagementDetailsCommandInput;
|
|
81
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
-
/**
|
|
83
|
-
* @public
|
|
84
|
-
*/
|
|
85
|
-
constructor(input: AssociateProactiveEngagementDetailsCommandInput);
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateProactiveEngagementDetailsCommandInput, AssociateProactiveEngagementDetailsCommandOutput>;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
private serialize;
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
private deserialize;
|
|
82
|
+
export declare class AssociateProactiveEngagementDetailsCommand extends AssociateProactiveEngagementDetailsCommand_base {
|
|
98
83
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateProtectionRequest, CreateProtectionResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateProtectionCommandInput extends CreateProtectionRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateProtectionCommandOutput extends CreateProtectionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateProtectionCommand_base: {
|
|
24
|
+
new (input: CreateProtectionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProtectionCommandInput, CreateProtectionCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Amazon Route 53 hosted zone, Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses.</p>
|
|
@@ -88,23 +91,5 @@ export interface CreateProtectionCommandOutput extends CreateProtectionResponse,
|
|
|
88
91
|
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
89
92
|
*
|
|
90
93
|
*/
|
|
91
|
-
export declare class CreateProtectionCommand extends
|
|
92
|
-
readonly input: CreateProtectionCommandInput;
|
|
93
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
94
|
-
/**
|
|
95
|
-
* @public
|
|
96
|
-
*/
|
|
97
|
-
constructor(input: CreateProtectionCommandInput);
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProtectionCommandInput, CreateProtectionCommandOutput>;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
private serialize;
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
private deserialize;
|
|
94
|
+
export declare class CreateProtectionCommand extends CreateProtectionCommand_base {
|
|
110
95
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateProtectionGroupRequest, CreateProtectionGroupResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateProtectionGroupCommandInput extends CreateProtectionGroup
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateProtectionGroupCommandOutput extends CreateProtectionGroupResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateProtectionGroupCommand_base: {
|
|
24
|
+
new (input: CreateProtectionGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProtectionGroupCommandInput, CreateProtectionGroupCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <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>
|
|
@@ -80,23 +83,5 @@ export interface CreateProtectionGroupCommandOutput extends CreateProtectionGrou
|
|
|
80
83
|
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
81
84
|
*
|
|
82
85
|
*/
|
|
83
|
-
export declare class CreateProtectionGroupCommand extends
|
|
84
|
-
readonly input: CreateProtectionGroupCommandInput;
|
|
85
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
-
/**
|
|
87
|
-
* @public
|
|
88
|
-
*/
|
|
89
|
-
constructor(input: CreateProtectionGroupCommandInput);
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProtectionGroupCommandInput, CreateProtectionGroupCommandOutput>;
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
private serialize;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
private deserialize;
|
|
86
|
+
export declare class CreateProtectionGroupCommand extends CreateProtectionGroupCommand_base {
|
|
102
87
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateSubscriptionRequest, CreateSubscriptionResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateSubscriptionCommandInput extends CreateSubscriptionReques
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateSubscriptionCommandOutput extends CreateSubscriptionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateSubscriptionCommand_base: {
|
|
24
|
+
new (input: CreateSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Activates Shield Advanced for an account.</p>
|
|
@@ -58,23 +61,5 @@ export interface CreateSubscriptionCommandOutput extends CreateSubscriptionRespo
|
|
|
58
61
|
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
59
62
|
*
|
|
60
63
|
*/
|
|
61
|
-
export declare class CreateSubscriptionCommand extends
|
|
62
|
-
readonly input: CreateSubscriptionCommandInput;
|
|
63
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
-
/**
|
|
65
|
-
* @public
|
|
66
|
-
*/
|
|
67
|
-
constructor(input: CreateSubscriptionCommandInput);
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSubscriptionCommandInput, CreateSubscriptionCommandOutput>;
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
private serialize;
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
private deserialize;
|
|
64
|
+
export declare class CreateSubscriptionCommand extends CreateSubscriptionCommand_base {
|
|
80
65
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DeleteProtectionRequest, DeleteProtectionResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteProtectionCommandInput extends DeleteProtectionRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteProtectionCommandOutput extends DeleteProtectionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteProtectionCommand_base: {
|
|
24
|
+
new (input: DeleteProtectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProtectionCommandInput, DeleteProtectionCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes an Shield Advanced <a>Protection</a>.</p>
|
|
@@ -59,23 +62,5 @@ export interface DeleteProtectionCommandOutput extends DeleteProtectionResponse,
|
|
|
59
62
|
* <p>Base exception class for all service exceptions from Shield service.</p>
|
|
60
63
|
*
|
|
61
64
|
*/
|
|
62
|
-
export declare class DeleteProtectionCommand extends
|
|
63
|
-
readonly input: DeleteProtectionCommandInput;
|
|
64
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
-
/**
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
constructor(input: DeleteProtectionCommandInput);
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProtectionCommandInput, DeleteProtectionCommandOutput>;
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
private serialize;
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
private deserialize;
|
|
65
|
+
export declare class DeleteProtectionCommand extends DeleteProtectionCommand_base {
|
|
81
66
|
}
|