@aws-sdk/client-cloudfront 3.54.1 → 3.58.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 +24 -0
- package/dist-cjs/CloudFrontClient.js +13 -13
- package/dist-cjs/commands/AssociateAliasCommand.js +3 -3
- package/dist-cjs/commands/CreateCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/CreateDistributionCommand.js +3 -3
- package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +3 -3
- package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateFunctionCommand.js +3 -3
- package/dist-cjs/commands/CreateInvalidationCommand.js +3 -3
- package/dist-cjs/commands/CreateKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +3 -3
- package/dist-cjs/commands/CreatePublicKeyCommand.js +3 -3
- package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +3 -3
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js +3 -3
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/DeleteDistributionCommand.js +3 -3
- package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteFunctionCommand.js +3 -3
- package/dist-cjs/commands/DeleteKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeletePublicKeyCommand.js +3 -3
- package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +3 -3
- package/dist-cjs/commands/DescribeFunctionCommand.js +3 -3
- package/dist-cjs/commands/GetCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/GetCachePolicyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFunctionCommand.js +3 -3
- package/dist-cjs/commands/GetInvalidationCommand.js +3 -3
- package/dist-cjs/commands/GetKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/GetKeyGroupConfigCommand.js +3 -3
- package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +3 -3
- package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetPublicKeyCommand.js +3 -3
- package/dist-cjs/commands/GetPublicKeyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +3 -3
- package/dist-cjs/commands/GetStreamingDistributionCommand.js +3 -3
- package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +3 -3
- package/dist-cjs/commands/ListCachePoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +3 -3
- package/dist-cjs/commands/ListConflictingAliasesCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +3 -3
- package/dist-cjs/commands/ListDistributionsCommand.js +3 -3
- package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListFunctionsCommand.js +3 -3
- package/dist-cjs/commands/ListInvalidationsCommand.js +3 -3
- package/dist-cjs/commands/ListKeyGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListPublicKeysCommand.js +3 -3
- package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListStreamingDistributionsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PublishFunctionCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestFunctionCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateCachePolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +3 -3
- package/dist-cjs/commands/UpdateDistributionCommand.js +3 -3
- package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateFunctionCommand.js +3 -3
- package/dist-cjs/commands/UpdateKeyGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdatePublicKeyCommand.js +3 -3
- package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restXml.js +893 -893
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForDistributionDeployed.js +3 -3
- package/dist-cjs/waiters/waitForInvalidationCompleted.js +3 -3
- package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +3 -3
- package/dist-es/CloudFront.js +92 -92
- package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +4 -4
- package/dist-es/pagination/ListDistributionsPaginator.js +4 -4
- package/dist-es/pagination/ListInvalidationsPaginator.js +4 -4
- package/dist-es/pagination/ListStreamingDistributionsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restXml.js +92 -92
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +36 -36
|
@@ -11,7 +11,7 @@ class TestFunctionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class TestFunctionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlTestFunctionCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlTestFunctionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlTestFunctionCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlTestFunctionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.TestFunctionCommand = TestFunctionCommand;
|
|
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUntagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUntagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUntagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUntagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateCachePolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateCachePolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateCachePolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateCachePolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateCachePolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateCachePolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateCachePolicyCommand = UpdateCachePolicyCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateCloudFrontOriginAccessIdentityCommand extends smithy_client_1.Comman
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateCloudFrontOriginAccessIdentityCommand extends smithy_client_1.Comman
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateCloudFrontOriginAccessIdentityCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateCloudFrontOriginAccessIdentityCommand = UpdateCloudFrontOriginAccessIdentityCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateDistributionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateDistributionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateDistributionCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateDistributionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateDistributionCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateDistributionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateDistributionCommand = UpdateDistributionCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateFieldLevelEncryptionConfigCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateFieldLevelEncryptionConfigCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateFieldLevelEncryptionConfigCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateFieldLevelEncryptionConfigCommand = UpdateFieldLevelEncryptionConfigCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateFieldLevelEncryptionProfileCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateFieldLevelEncryptionProfileCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateFieldLevelEncryptionProfileCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateFieldLevelEncryptionProfileCommand = UpdateFieldLevelEncryptionProfileCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateFunctionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateFunctionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateFunctionCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateFunctionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateFunctionCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateFunctionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateFunctionCommand = UpdateFunctionCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateKeyGroupCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateKeyGroupCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateKeyGroupCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateKeyGroupCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateKeyGroupCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateKeyGroupCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateKeyGroupCommand = UpdateKeyGroupCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateOriginRequestPolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateOriginRequestPolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateOriginRequestPolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateOriginRequestPolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateOriginRequestPolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateOriginRequestPolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateOriginRequestPolicyCommand = UpdateOriginRequestPolicyCommand;
|
|
@@ -11,7 +11,7 @@ class UpdatePublicKeyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdatePublicKeyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdatePublicKeyCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdatePublicKeyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdatePublicKeyCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdatePublicKeyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdatePublicKeyCommand = UpdatePublicKeyCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateRealtimeLogConfigCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateRealtimeLogConfigCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateRealtimeLogConfigCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateRealtimeLogConfigCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateRealtimeLogConfigCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateRealtimeLogConfigCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateRealtimeLogConfigCommand = UpdateRealtimeLogConfigCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateResponseHeadersPolicyCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateResponseHeadersPolicyCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateResponseHeadersPolicyCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateResponseHeadersPolicyCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateResponseHeadersPolicyCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateResponseHeadersPolicyCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateResponseHeadersPolicyCommand = UpdateResponseHeadersPolicyCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateStreamingDistributionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudFrontClient";
|
|
@@ -27,10 +27,10 @@ class UpdateStreamingDistributionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlUpdateStreamingDistributionCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUpdateStreamingDistributionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlUpdateStreamingDistributionCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUpdateStreamingDistributionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateStreamingDistributionCommand = UpdateStreamingDistributionCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -144,7 +144,7 @@ const partitionHash = {
|
|
|
144
144
|
],
|
|
145
145
|
},
|
|
146
146
|
};
|
|
147
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
147
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
148
148
|
...options,
|
|
149
149
|
signingService: "cloudfront",
|
|
150
150
|
regionHash,
|