@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
|
@@ -4,22 +4,13 @@ exports.paginateListAttacks = void 0;
|
|
|
4
4
|
const ListAttacksCommand_1 = require("../commands/ListAttacksCommand");
|
|
5
5
|
const Shield_1 = require("../Shield");
|
|
6
6
|
const ShieldClient_1 = require("../ShieldClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListAttacksCommand_1.ListAttacksCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listAttacks(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListAttacks(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListAttacks(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListAttacks = paginateListAttacks;
|
|
46
|
-
//# sourceMappingURL=ListAttacksPaginator.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListProtectionGroups = void 0;
|
|
|
4
4
|
const ListProtectionGroupsCommand_1 = require("../commands/ListProtectionGroupsCommand");
|
|
5
5
|
const Shield_1 = require("../Shield");
|
|
6
6
|
const ShieldClient_1 = require("../ShieldClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListProtectionGroupsCommand_1.ListProtectionGroupsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listProtectionGroups(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListProtectionGroups(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListProtectionGroups(config, input, ...additionalArgumen
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListProtectionGroups = paginateListProtectionGroups;
|
|
46
|
-
//# sourceMappingURL=ListProtectionGroupsPaginator.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListProtections = void 0;
|
|
|
4
4
|
const ListProtectionsCommand_1 = require("../commands/ListProtectionsCommand");
|
|
5
5
|
const Shield_1 = require("../Shield");
|
|
6
6
|
const ShieldClient_1 = require("../ShieldClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListProtectionsCommand_1.ListProtectionsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listProtections(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListProtections(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListProtections(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListProtections = paginateListProtections;
|
|
46
|
-
//# sourceMappingURL=ListProtectionsPaginator.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListResourcesInProtectionGroup = void 0;
|
|
|
4
4
|
const ListResourcesInProtectionGroupCommand_1 = require("../commands/ListResourcesInProtectionGroupCommand");
|
|
5
5
|
const Shield_1 = require("../Shield");
|
|
6
6
|
const ShieldClient_1 = require("../ShieldClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListResourcesInProtectionGroupCommand_1.ListResourcesInProtectionGroupCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listResourcesInProtectionGroup(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListResourcesInProtectionGroup(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListResourcesInProtectionGroup(config, input, ...additio
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListResourcesInProtectionGroup = paginateListResourcesInProtectionGroup;
|
|
46
|
-
//# sourceMappingURL=ListResourcesInProtectionGroupPaginator.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListAttacksPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListProtectionGroupsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListProtectionsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListResourcesInProtectionGroupPaginator"), exports);
|
|
@@ -3685,14 +3685,12 @@ const deserializeMetadata = (output) => {
|
|
|
3685
3685
|
cfId: output.headers["x-amz-cf-id"],
|
|
3686
3686
|
});
|
|
3687
3687
|
};
|
|
3688
|
-
// Collect low-level response body stream to Uint8Array.
|
|
3689
3688
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
3690
3689
|
if (streamBody instanceof Uint8Array) {
|
|
3691
3690
|
return Promise.resolve(streamBody);
|
|
3692
3691
|
}
|
|
3693
3692
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3694
3693
|
};
|
|
3695
|
-
// Encode Uint8Array data into string with utf-8.
|
|
3696
3694
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3697
3695
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3698
3696
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -3718,9 +3716,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
3718
3716
|
}
|
|
3719
3717
|
return {};
|
|
3720
3718
|
});
|
|
3721
|
-
/**
|
|
3722
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
3723
|
-
*/
|
|
3724
3719
|
const loadRestJsonErrorCode = (output, data) => {
|
|
3725
3720
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3726
3721
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -3745,4 +3740,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
3745
3740
|
}
|
|
3746
3741
|
return "";
|
|
3747
3742
|
};
|
|
3748
|
-
//# sourceMappingURL=Aws_json1_1.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
6
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
7
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
|
10
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
12
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
13
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
14
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
39
35
|
};
|
|
40
36
|
};
|
|
41
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
42
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
6
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
10
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
11
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
12
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
13
|
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
14
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
18
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
19
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
20
|
-
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
44
40
|
};
|
|
45
41
|
};
|
|
46
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
47
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
package/dist-es/Shield.js
CHANGED
package/dist-es/ShieldClient.js
CHANGED
|
@@ -37,4 +37,3 @@ var AssociateProactiveEngagementDetailsCommand = (function (_super) {
|
|
|
37
37
|
return AssociateProactiveEngagementDetailsCommand;
|
|
38
38
|
}($Command));
|
|
39
39
|
export { AssociateProactiveEngagementDetailsCommand };
|
|
40
|
-
//# sourceMappingURL=AssociateProactiveEngagementDetailsCommand.js.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export * from "./AssociateDRTLogBucketCommand";
|
|
2
|
+
export * from "./AssociateDRTRoleCommand";
|
|
3
|
+
export * from "./AssociateHealthCheckCommand";
|
|
4
|
+
export * from "./AssociateProactiveEngagementDetailsCommand";
|
|
5
|
+
export * from "./CreateProtectionCommand";
|
|
6
|
+
export * from "./CreateProtectionGroupCommand";
|
|
7
|
+
export * from "./CreateSubscriptionCommand";
|
|
8
|
+
export * from "./DeleteProtectionCommand";
|
|
9
|
+
export * from "./DeleteProtectionGroupCommand";
|
|
10
|
+
export * from "./DeleteSubscriptionCommand";
|
|
11
|
+
export * from "./DescribeAttackCommand";
|
|
12
|
+
export * from "./DescribeAttackStatisticsCommand";
|
|
13
|
+
export * from "./DescribeDRTAccessCommand";
|
|
14
|
+
export * from "./DescribeEmergencyContactSettingsCommand";
|
|
15
|
+
export * from "./DescribeProtectionCommand";
|
|
16
|
+
export * from "./DescribeProtectionGroupCommand";
|
|
17
|
+
export * from "./DescribeSubscriptionCommand";
|
|
18
|
+
export * from "./DisableProactiveEngagementCommand";
|
|
19
|
+
export * from "./DisassociateDRTLogBucketCommand";
|
|
20
|
+
export * from "./DisassociateDRTRoleCommand";
|
|
21
|
+
export * from "./DisassociateHealthCheckCommand";
|
|
22
|
+
export * from "./EnableProactiveEngagementCommand";
|
|
23
|
+
export * from "./GetSubscriptionStateCommand";
|
|
24
|
+
export * from "./ListAttacksCommand";
|
|
25
|
+
export * from "./ListProtectionGroupsCommand";
|
|
26
|
+
export * from "./ListProtectionsCommand";
|
|
27
|
+
export * from "./ListResourcesInProtectionGroupCommand";
|
|
28
|
+
export * from "./ListTagsForResourceCommand";
|
|
29
|
+
export * from "./TagResourceCommand";
|
|
30
|
+
export * from "./UntagResourceCommand";
|
|
31
|
+
export * from "./UpdateEmergencyContactSettingsCommand";
|
|
32
|
+
export * from "./UpdateProtectionGroupCommand";
|
|
33
|
+
export * from "./UpdateSubscriptionCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -44,7 +44,7 @@ var partitionHash = {
|
|
|
44
44
|
hostname: "shield.{region}.amazonaws.com.cn",
|
|
45
45
|
},
|
|
46
46
|
"aws-iso": {
|
|
47
|
-
regions: ["us-iso-east-1"],
|
|
47
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
48
48
|
hostname: "shield.{region}.c2s.ic.gov",
|
|
49
49
|
},
|
|
50
50
|
"aws-iso-b": {
|
|
@@ -61,4 +61,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
|
|
|
61
61
|
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "shield", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
62
62
|
});
|
|
63
63
|
}); };
|
|
64
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-es/index.js
CHANGED
|
@@ -1,42 +1,5 @@
|
|
|
1
|
-
export * from "./ShieldClient";
|
|
2
1
|
export * from "./Shield";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/CreateProtectionCommand";
|
|
8
|
-
export * from "./commands/CreateProtectionGroupCommand";
|
|
9
|
-
export * from "./commands/CreateSubscriptionCommand";
|
|
10
|
-
export * from "./commands/DeleteProtectionCommand";
|
|
11
|
-
export * from "./commands/DeleteProtectionGroupCommand";
|
|
12
|
-
export * from "./commands/DeleteSubscriptionCommand";
|
|
13
|
-
export * from "./commands/DescribeAttackCommand";
|
|
14
|
-
export * from "./commands/DescribeAttackStatisticsCommand";
|
|
15
|
-
export * from "./commands/DescribeDRTAccessCommand";
|
|
16
|
-
export * from "./commands/DescribeEmergencyContactSettingsCommand";
|
|
17
|
-
export * from "./commands/DescribeProtectionCommand";
|
|
18
|
-
export * from "./commands/DescribeProtectionGroupCommand";
|
|
19
|
-
export * from "./commands/DescribeSubscriptionCommand";
|
|
20
|
-
export * from "./commands/DisableProactiveEngagementCommand";
|
|
21
|
-
export * from "./commands/DisassociateDRTLogBucketCommand";
|
|
22
|
-
export * from "./commands/DisassociateDRTRoleCommand";
|
|
23
|
-
export * from "./commands/DisassociateHealthCheckCommand";
|
|
24
|
-
export * from "./commands/EnableProactiveEngagementCommand";
|
|
25
|
-
export * from "./commands/GetSubscriptionStateCommand";
|
|
26
|
-
export * from "./commands/ListAttacksCommand";
|
|
27
|
-
export * from "./pagination/ListAttacksPaginator";
|
|
28
|
-
export * from "./commands/ListProtectionGroupsCommand";
|
|
29
|
-
export * from "./pagination/ListProtectionGroupsPaginator";
|
|
30
|
-
export * from "./commands/ListProtectionsCommand";
|
|
31
|
-
export * from "./pagination/ListProtectionsPaginator";
|
|
32
|
-
export * from "./commands/ListResourcesInProtectionGroupCommand";
|
|
33
|
-
export * from "./pagination/ListResourcesInProtectionGroupPaginator";
|
|
34
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
35
|
-
export * from "./commands/TagResourceCommand";
|
|
36
|
-
export * from "./commands/UntagResourceCommand";
|
|
37
|
-
export * from "./commands/UpdateEmergencyContactSettingsCommand";
|
|
38
|
-
export * from "./commands/UpdateProtectionGroupCommand";
|
|
39
|
-
export * from "./commands/UpdateSubscriptionCommand";
|
|
40
|
-
export * from "./pagination/Interfaces";
|
|
41
|
-
export * from "./models/index";
|
|
42
|
-
//# sourceMappingURL=index.js.map
|
|
2
|
+
export * from "./ShieldClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
package/dist-es/models/index.js
CHANGED
|
@@ -485,4 +485,3 @@ export var UpdateSubscriptionResponse;
|
|
|
485
485
|
(function (UpdateSubscriptionResponse) {
|
|
486
486
|
UpdateSubscriptionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
487
487
|
})(UpdateSubscriptionResponse || (UpdateSubscriptionResponse = {}));
|
|
488
|
-
//# sourceMappingURL=models_0.js.map
|