@aws-sdk/client-shield 3.952.0 → 3.953.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/index.js +507 -347
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/commands/AssociateDRTLogBucketCommand.js +2 -2
- package/dist-es/commands/AssociateDRTRoleCommand.js +2 -2
- package/dist-es/commands/AssociateHealthCheckCommand.js +2 -2
- package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +2 -2
- package/dist-es/commands/CreateProtectionCommand.js +2 -2
- package/dist-es/commands/CreateProtectionGroupCommand.js +2 -2
- package/dist-es/commands/CreateSubscriptionCommand.js +2 -2
- package/dist-es/commands/DeleteProtectionCommand.js +2 -2
- package/dist-es/commands/DeleteProtectionGroupCommand.js +2 -2
- package/dist-es/commands/DeleteSubscriptionCommand.js +2 -2
- package/dist-es/commands/DescribeAttackCommand.js +2 -2
- package/dist-es/commands/DescribeAttackStatisticsCommand.js +2 -2
- package/dist-es/commands/DescribeDRTAccessCommand.js +2 -2
- package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +2 -2
- package/dist-es/commands/DescribeProtectionCommand.js +2 -2
- package/dist-es/commands/DescribeProtectionGroupCommand.js +2 -2
- package/dist-es/commands/DescribeSubscriptionCommand.js +2 -2
- package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +2 -2
- package/dist-es/commands/DisableProactiveEngagementCommand.js +2 -2
- package/dist-es/commands/DisassociateDRTLogBucketCommand.js +2 -2
- package/dist-es/commands/DisassociateDRTRoleCommand.js +2 -2
- package/dist-es/commands/DisassociateHealthCheckCommand.js +2 -2
- package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +2 -2
- package/dist-es/commands/EnableProactiveEngagementCommand.js +2 -2
- package/dist-es/commands/GetSubscriptionStateCommand.js +2 -2
- package/dist-es/commands/ListAttacksCommand.js +2 -2
- package/dist-es/commands/ListProtectionGroupsCommand.js +2 -2
- package/dist-es/commands/ListProtectionsCommand.js +2 -2
- package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +2 -2
- package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +2 -2
- package/dist-es/commands/UpdateProtectionGroupCommand.js +2 -2
- package/dist-es/commands/UpdateSubscriptionCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +287 -280
- package/dist-types/ShieldClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +154 -181
- package/dist-types/ts3.4/ShieldClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +153 -181
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateSubscription } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateSubscription$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateSubscriptionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateSubscriptionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSShield_20160616", "UpdateSubscription", {})
|
|
13
13
|
.n("ShieldClient", "UpdateSubscriptionCommand")
|
|
14
|
-
.sc(UpdateSubscription)
|
|
14
|
+
.sc(UpdateSubscription$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.shield",
|
|
29
|
+
xmlNamespace: "http://ddp.amazonaws.com/doc/2016-06-02/",
|
|
30
|
+
version: "2016-06-02",
|
|
31
|
+
serviceTarget: "AWSShield_20160616",
|
|
32
|
+
},
|
|
32
33
|
serviceId: config?.serviceId ?? "Shield",
|
|
33
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|