@aws-sdk/client-cloudfront 3.930.0 → 3.932.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.
Files changed (182) hide show
  1. package/dist-cjs/index.js +10669 -13590
  2. package/dist-cjs/runtimeConfig.shared.js +6 -0
  3. package/dist-es/CloudFrontClient.js +2 -0
  4. package/dist-es/commands/AssociateAliasCommand.js +3 -9
  5. package/dist-es/commands/AssociateDistributionTenantWebACLCommand.js +3 -9
  6. package/dist-es/commands/AssociateDistributionWebACLCommand.js +3 -9
  7. package/dist-es/commands/CopyDistributionCommand.js +3 -10
  8. package/dist-es/commands/CreateAnycastIpListCommand.js +3 -9
  9. package/dist-es/commands/CreateCachePolicyCommand.js +3 -9
  10. package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +3 -9
  11. package/dist-es/commands/CreateConnectionGroupCommand.js +3 -9
  12. package/dist-es/commands/CreateContinuousDeploymentPolicyCommand.js +3 -9
  13. package/dist-es/commands/CreateDistributionCommand.js +3 -10
  14. package/dist-es/commands/CreateDistributionTenantCommand.js +3 -9
  15. package/dist-es/commands/CreateDistributionWithTagsCommand.js +3 -10
  16. package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +3 -9
  17. package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +3 -9
  18. package/dist-es/commands/CreateFunctionCommand.js +3 -10
  19. package/dist-es/commands/CreateInvalidationCommand.js +3 -9
  20. package/dist-es/commands/CreateInvalidationForDistributionTenantCommand.js +3 -9
  21. package/dist-es/commands/CreateKeyGroupCommand.js +3 -9
  22. package/dist-es/commands/CreateKeyValueStoreCommand.js +3 -9
  23. package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +3 -9
  24. package/dist-es/commands/CreateOriginAccessControlCommand.js +3 -9
  25. package/dist-es/commands/CreateOriginRequestPolicyCommand.js +3 -9
  26. package/dist-es/commands/CreatePublicKeyCommand.js +3 -9
  27. package/dist-es/commands/CreateRealtimeLogConfigCommand.js +3 -9
  28. package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +3 -9
  29. package/dist-es/commands/CreateStreamingDistributionCommand.js +3 -9
  30. package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +3 -9
  31. package/dist-es/commands/CreateVpcOriginCommand.js +3 -9
  32. package/dist-es/commands/DeleteAnycastIpListCommand.js +3 -9
  33. package/dist-es/commands/DeleteCachePolicyCommand.js +3 -9
  34. package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +3 -9
  35. package/dist-es/commands/DeleteConnectionGroupCommand.js +3 -9
  36. package/dist-es/commands/DeleteContinuousDeploymentPolicyCommand.js +3 -9
  37. package/dist-es/commands/DeleteDistributionCommand.js +3 -9
  38. package/dist-es/commands/DeleteDistributionTenantCommand.js +3 -9
  39. package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +3 -9
  40. package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +3 -9
  41. package/dist-es/commands/DeleteFunctionCommand.js +3 -9
  42. package/dist-es/commands/DeleteKeyGroupCommand.js +3 -9
  43. package/dist-es/commands/DeleteKeyValueStoreCommand.js +3 -9
  44. package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +3 -9
  45. package/dist-es/commands/DeleteOriginAccessControlCommand.js +3 -9
  46. package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +3 -9
  47. package/dist-es/commands/DeletePublicKeyCommand.js +3 -9
  48. package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +3 -9
  49. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  50. package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +3 -9
  51. package/dist-es/commands/DeleteStreamingDistributionCommand.js +3 -9
  52. package/dist-es/commands/DeleteVpcOriginCommand.js +3 -9
  53. package/dist-es/commands/DescribeFunctionCommand.js +3 -9
  54. package/dist-es/commands/DescribeKeyValueStoreCommand.js +3 -9
  55. package/dist-es/commands/DisassociateDistributionTenantWebACLCommand.js +3 -9
  56. package/dist-es/commands/DisassociateDistributionWebACLCommand.js +3 -9
  57. package/dist-es/commands/GetAnycastIpListCommand.js +3 -9
  58. package/dist-es/commands/GetCachePolicyCommand.js +3 -9
  59. package/dist-es/commands/GetCachePolicyConfigCommand.js +3 -9
  60. package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -9
  61. package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -9
  62. package/dist-es/commands/GetConnectionGroupByRoutingEndpointCommand.js +3 -9
  63. package/dist-es/commands/GetConnectionGroupCommand.js +3 -9
  64. package/dist-es/commands/GetContinuousDeploymentPolicyCommand.js +3 -9
  65. package/dist-es/commands/GetContinuousDeploymentPolicyConfigCommand.js +3 -9
  66. package/dist-es/commands/GetDistributionCommand.js +3 -10
  67. package/dist-es/commands/GetDistributionConfigCommand.js +3 -10
  68. package/dist-es/commands/GetDistributionTenantByDomainCommand.js +3 -9
  69. package/dist-es/commands/GetDistributionTenantCommand.js +3 -9
  70. package/dist-es/commands/GetFieldLevelEncryptionCommand.js +3 -9
  71. package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +3 -9
  72. package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +3 -9
  73. package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +3 -9
  74. package/dist-es/commands/GetFunctionCommand.js +3 -10
  75. package/dist-es/commands/GetInvalidationCommand.js +3 -9
  76. package/dist-es/commands/GetInvalidationForDistributionTenantCommand.js +3 -9
  77. package/dist-es/commands/GetKeyGroupCommand.js +3 -9
  78. package/dist-es/commands/GetKeyGroupConfigCommand.js +3 -9
  79. package/dist-es/commands/GetManagedCertificateDetailsCommand.js +3 -9
  80. package/dist-es/commands/GetMonitoringSubscriptionCommand.js +3 -9
  81. package/dist-es/commands/GetOriginAccessControlCommand.js +3 -9
  82. package/dist-es/commands/GetOriginAccessControlConfigCommand.js +3 -9
  83. package/dist-es/commands/GetOriginRequestPolicyCommand.js +3 -9
  84. package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +3 -9
  85. package/dist-es/commands/GetPublicKeyCommand.js +3 -9
  86. package/dist-es/commands/GetPublicKeyConfigCommand.js +3 -9
  87. package/dist-es/commands/GetRealtimeLogConfigCommand.js +3 -9
  88. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  89. package/dist-es/commands/GetResponseHeadersPolicyCommand.js +3 -9
  90. package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +3 -9
  91. package/dist-es/commands/GetStreamingDistributionCommand.js +3 -9
  92. package/dist-es/commands/GetStreamingDistributionConfigCommand.js +3 -9
  93. package/dist-es/commands/GetVpcOriginCommand.js +3 -9
  94. package/dist-es/commands/ListAnycastIpListsCommand.js +3 -9
  95. package/dist-es/commands/ListCachePoliciesCommand.js +3 -9
  96. package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +3 -9
  97. package/dist-es/commands/ListConflictingAliasesCommand.js +3 -9
  98. package/dist-es/commands/ListConnectionGroupsCommand.js +3 -9
  99. package/dist-es/commands/ListContinuousDeploymentPoliciesCommand.js +3 -9
  100. package/dist-es/commands/ListDistributionTenantsByCustomizationCommand.js +3 -9
  101. package/dist-es/commands/ListDistributionTenantsCommand.js +3 -9
  102. package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +3 -10
  103. package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +3 -9
  104. package/dist-es/commands/ListDistributionsByConnectionModeCommand.js +3 -10
  105. package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +3 -9
  106. package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +3 -9
  107. package/dist-es/commands/ListDistributionsByOwnedResourceCommand.js +3 -9
  108. package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +3 -10
  109. package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +3 -9
  110. package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +3 -9
  111. package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +3 -10
  112. package/dist-es/commands/ListDistributionsCommand.js +3 -10
  113. package/dist-es/commands/ListDomainConflictsCommand.js +3 -9
  114. package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +3 -9
  115. package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +3 -9
  116. package/dist-es/commands/ListFunctionsCommand.js +3 -9
  117. package/dist-es/commands/ListInvalidationsCommand.js +3 -9
  118. package/dist-es/commands/ListInvalidationsForDistributionTenantCommand.js +3 -9
  119. package/dist-es/commands/ListKeyGroupsCommand.js +3 -9
  120. package/dist-es/commands/ListKeyValueStoresCommand.js +3 -9
  121. package/dist-es/commands/ListOriginAccessControlsCommand.js +3 -9
  122. package/dist-es/commands/ListOriginRequestPoliciesCommand.js +3 -9
  123. package/dist-es/commands/ListPublicKeysCommand.js +3 -9
  124. package/dist-es/commands/ListRealtimeLogConfigsCommand.js +3 -9
  125. package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +3 -9
  126. package/dist-es/commands/ListStreamingDistributionsCommand.js +3 -9
  127. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  128. package/dist-es/commands/ListVpcOriginsCommand.js +3 -9
  129. package/dist-es/commands/PublishFunctionCommand.js +3 -9
  130. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  131. package/dist-es/commands/TagResourceCommand.js +3 -9
  132. package/dist-es/commands/TestFunctionCommand.js +3 -10
  133. package/dist-es/commands/UntagResourceCommand.js +3 -9
  134. package/dist-es/commands/UpdateAnycastIpListCommand.js +3 -9
  135. package/dist-es/commands/UpdateCachePolicyCommand.js +3 -9
  136. package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +3 -9
  137. package/dist-es/commands/UpdateConnectionGroupCommand.js +3 -9
  138. package/dist-es/commands/UpdateContinuousDeploymentPolicyCommand.js +3 -9
  139. package/dist-es/commands/UpdateDistributionCommand.js +3 -10
  140. package/dist-es/commands/UpdateDistributionTenantCommand.js +3 -9
  141. package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +3 -10
  142. package/dist-es/commands/UpdateDomainAssociationCommand.js +3 -9
  143. package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +3 -9
  144. package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +3 -9
  145. package/dist-es/commands/UpdateFunctionCommand.js +3 -10
  146. package/dist-es/commands/UpdateKeyGroupCommand.js +3 -9
  147. package/dist-es/commands/UpdateKeyValueStoreCommand.js +3 -9
  148. package/dist-es/commands/UpdateOriginAccessControlCommand.js +3 -9
  149. package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +3 -9
  150. package/dist-es/commands/UpdatePublicKeyCommand.js +3 -9
  151. package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +3 -9
  152. package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +3 -9
  153. package/dist-es/commands/UpdateStreamingDistributionCommand.js +3 -9
  154. package/dist-es/commands/UpdateVpcOriginCommand.js +3 -9
  155. package/dist-es/commands/VerifyDnsConfigurationCommand.js +3 -9
  156. package/dist-es/models/models_0.js +0 -73
  157. package/dist-es/models/models_1.js +0 -42
  158. package/dist-es/models/models_2.js +0 -32
  159. package/dist-es/runtimeConfig.shared.js +6 -0
  160. package/dist-es/schemas/schemas_0.js +10270 -0
  161. package/dist-types/CloudFrontClient.d.ts +10 -1
  162. package/dist-types/models/models_0.d.ts +0 -68
  163. package/dist-types/models/models_1.d.ts +0 -40
  164. package/dist-types/models/models_2.d.ts +0 -28
  165. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  166. package/dist-types/runtimeConfig.d.ts +1 -0
  167. package/dist-types/runtimeConfig.native.d.ts +1 -0
  168. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  169. package/dist-types/schemas/schemas_0.d.ts +861 -0
  170. package/dist-types/ts3.4/CloudFrontClient.d.ts +4 -0
  171. package/dist-types/ts3.4/models/models_0.d.ts +0 -43
  172. package/dist-types/ts3.4/models/models_1.d.ts +0 -30
  173. package/dist-types/ts3.4/models/models_2.d.ts +0 -19
  174. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -0
  175. package/dist-types/ts3.4/runtimeConfig.d.ts +6 -0
  176. package/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -0
  177. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +7 -0
  178. package/dist-types/ts3.4/schemas/schemas_0.d.ts +867 -0
  179. package/package.json +5 -6
  180. package/dist-es/protocols/Aws_restXml.js +0 -12260
  181. package/dist-types/protocols/Aws_restXml.d.ts +0 -1370
  182. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -1829
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,11 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsRestXmlProtocol({
31
+ defaultNamespace: "com.amazonaws.cloudfront",
32
+ xmlNamespace: "http://cloudfront.amazonaws.com/doc/2020-05-31/",
33
+ }),
28
34
  serviceId: config?.serviceId ?? "CloudFront",
29
35
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
36
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class CloudFrontClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AssociateAliasCommand, se_AssociateAliasCommand } from "../protocols/Aws_restXml";
4
+ import { AssociateAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateAliasCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "AssociateAlias", {})
17
13
  .n("CloudFrontClient", "AssociateAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateAliasCommand)
20
- .de(de_AssociateAliasCommand)
14
+ .sc(AssociateAlias)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AssociateDistributionTenantWebACLCommand, se_AssociateDistributionTenantWebACLCommand, } from "../protocols/Aws_restXml";
4
+ import { AssociateDistributionTenantWebACL } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateDistributionTenantWebACLCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "AssociateDistributionTenantWebACL", {})
17
13
  .n("CloudFrontClient", "AssociateDistributionTenantWebACLCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateDistributionTenantWebACLCommand)
20
- .de(de_AssociateDistributionTenantWebACLCommand)
14
+ .sc(AssociateDistributionTenantWebACL)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AssociateDistributionWebACLCommand, se_AssociateDistributionWebACLCommand } from "../protocols/Aws_restXml";
4
+ import { AssociateDistributionWebACL } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateDistributionWebACLCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "AssociateDistributionWebACL", {})
17
13
  .n("CloudFrontClient", "AssociateDistributionWebACLCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateDistributionWebACLCommand)
20
- .de(de_AssociateDistributionWebACLCommand)
14
+ .sc(AssociateDistributionWebACL)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CopyDistributionResultFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CopyDistributionCommand, se_CopyDistributionCommand } from "../protocols/Aws_restXml";
4
+ import { CopyDistribution } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CopyDistributionCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("Cloudfront2020_05_31", "CopyDistribution", {})
18
13
  .n("CloudFrontClient", "CopyDistributionCommand")
19
- .f(void 0, CopyDistributionResultFilterSensitiveLog)
20
- .ser(se_CopyDistributionCommand)
21
- .de(de_CopyDistributionCommand)
14
+ .sc(CopyDistribution)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateAnycastIpListCommand, se_CreateAnycastIpListCommand } from "../protocols/Aws_restXml";
4
+ import { CreateAnycastIpList } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAnycastIpListCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateAnycastIpList", {})
17
13
  .n("CloudFrontClient", "CreateAnycastIpListCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAnycastIpListCommand)
20
- .de(de_CreateAnycastIpListCommand)
14
+ .sc(CreateAnycastIpList)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateCachePolicyCommand, se_CreateCachePolicyCommand } from "../protocols/Aws_restXml";
4
+ import { CreateCachePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCachePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateCachePolicy", {})
17
13
  .n("CloudFrontClient", "CreateCachePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCachePolicyCommand)
20
- .de(de_CreateCachePolicyCommand)
14
+ .sc(CreateCachePolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateCloudFrontOriginAccessIdentityCommand, se_CreateCloudFrontOriginAccessIdentityCommand, } from "../protocols/Aws_restXml";
4
+ import { CreateCloudFrontOriginAccessIdentity } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCloudFrontOriginAccessIdentityCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateCloudFrontOriginAccessIdentity", {})
17
13
  .n("CloudFrontClient", "CreateCloudFrontOriginAccessIdentityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCloudFrontOriginAccessIdentityCommand)
20
- .de(de_CreateCloudFrontOriginAccessIdentityCommand)
14
+ .sc(CreateCloudFrontOriginAccessIdentity)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateConnectionGroupCommand, se_CreateConnectionGroupCommand } from "../protocols/Aws_restXml";
4
+ import { CreateConnectionGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateConnectionGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateConnectionGroup", {})
17
13
  .n("CloudFrontClient", "CreateConnectionGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateConnectionGroupCommand)
20
- .de(de_CreateConnectionGroupCommand)
14
+ .sc(CreateConnectionGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateContinuousDeploymentPolicyCommand, se_CreateContinuousDeploymentPolicyCommand, } from "../protocols/Aws_restXml";
4
+ import { CreateContinuousDeploymentPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateContinuousDeploymentPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateContinuousDeploymentPolicy", {})
17
13
  .n("CloudFrontClient", "CreateContinuousDeploymentPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateContinuousDeploymentPolicyCommand)
20
- .de(de_CreateContinuousDeploymentPolicyCommand)
14
+ .sc(CreateContinuousDeploymentPolicy)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateDistributionRequestFilterSensitiveLog, CreateDistributionResultFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateDistributionCommand, se_CreateDistributionCommand } from "../protocols/Aws_restXml";
4
+ import { CreateDistribution } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateDistributionCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("Cloudfront2020_05_31", "CreateDistribution", {})
18
13
  .n("CloudFrontClient", "CreateDistributionCommand")
19
- .f(CreateDistributionRequestFilterSensitiveLog, CreateDistributionResultFilterSensitiveLog)
20
- .ser(se_CreateDistributionCommand)
21
- .de(de_CreateDistributionCommand)
14
+ .sc(CreateDistribution)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDistributionTenantCommand, se_CreateDistributionTenantCommand } from "../protocols/Aws_restXml";
4
+ import { CreateDistributionTenant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDistributionTenantCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateDistributionTenant", {})
17
13
  .n("CloudFrontClient", "CreateDistributionTenantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDistributionTenantCommand)
20
- .de(de_CreateDistributionTenantCommand)
14
+ .sc(CreateDistributionTenant)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateDistributionWithTagsRequestFilterSensitiveLog, CreateDistributionWithTagsResultFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateDistributionWithTagsCommand, se_CreateDistributionWithTagsCommand } from "../protocols/Aws_restXml";
4
+ import { CreateDistributionWithTags } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateDistributionWithTagsCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("Cloudfront2020_05_31", "CreateDistributionWithTags", {})
18
13
  .n("CloudFrontClient", "CreateDistributionWithTagsCommand")
19
- .f(CreateDistributionWithTagsRequestFilterSensitiveLog, CreateDistributionWithTagsResultFilterSensitiveLog)
20
- .ser(se_CreateDistributionWithTagsCommand)
21
- .de(de_CreateDistributionWithTagsCommand)
14
+ .sc(CreateDistributionWithTags)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateFieldLevelEncryptionConfigCommand, se_CreateFieldLevelEncryptionConfigCommand, } from "../protocols/Aws_restXml";
4
+ import { CreateFieldLevelEncryptionConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateFieldLevelEncryptionConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateFieldLevelEncryptionConfig", {})
17
13
  .n("CloudFrontClient", "CreateFieldLevelEncryptionConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateFieldLevelEncryptionConfigCommand)
20
- .de(de_CreateFieldLevelEncryptionConfigCommand)
14
+ .sc(CreateFieldLevelEncryptionConfig)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateFieldLevelEncryptionProfileCommand, se_CreateFieldLevelEncryptionProfileCommand, } from "../protocols/Aws_restXml";
4
+ import { CreateFieldLevelEncryptionProfile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateFieldLevelEncryptionProfileCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateFieldLevelEncryptionProfile", {})
17
13
  .n("CloudFrontClient", "CreateFieldLevelEncryptionProfileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateFieldLevelEncryptionProfileCommand)
20
- .de(de_CreateFieldLevelEncryptionProfileCommand)
14
+ .sc(CreateFieldLevelEncryptionProfile)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateFunctionRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateFunctionCommand, se_CreateFunctionCommand } from "../protocols/Aws_restXml";
4
+ import { CreateFunction } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateFunctionCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("Cloudfront2020_05_31", "CreateFunction", {})
18
13
  .n("CloudFrontClient", "CreateFunctionCommand")
19
- .f(CreateFunctionRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateFunctionCommand)
21
- .de(de_CreateFunctionCommand)
14
+ .sc(CreateFunction)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateInvalidationCommand, se_CreateInvalidationCommand } from "../protocols/Aws_restXml";
4
+ import { CreateInvalidation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateInvalidationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateInvalidation", {})
17
13
  .n("CloudFrontClient", "CreateInvalidationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateInvalidationCommand)
20
- .de(de_CreateInvalidationCommand)
14
+ .sc(CreateInvalidation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateInvalidationForDistributionTenantCommand, se_CreateInvalidationForDistributionTenantCommand, } from "../protocols/Aws_restXml";
4
+ import { CreateInvalidationForDistributionTenant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateInvalidationForDistributionTenantCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateInvalidationForDistributionTenant", {})
17
13
  .n("CloudFrontClient", "CreateInvalidationForDistributionTenantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateInvalidationForDistributionTenantCommand)
20
- .de(de_CreateInvalidationForDistributionTenantCommand)
14
+ .sc(CreateInvalidationForDistributionTenant)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateKeyGroupCommand, se_CreateKeyGroupCommand } from "../protocols/Aws_restXml";
4
+ import { CreateKeyGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateKeyGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateKeyGroup", {})
17
13
  .n("CloudFrontClient", "CreateKeyGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateKeyGroupCommand)
20
- .de(de_CreateKeyGroupCommand)
14
+ .sc(CreateKeyGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateKeyValueStoreCommand, se_CreateKeyValueStoreCommand } from "../protocols/Aws_restXml";
4
+ import { CreateKeyValueStore } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateKeyValueStoreCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateKeyValueStore", {})
17
13
  .n("CloudFrontClient", "CreateKeyValueStoreCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateKeyValueStoreCommand)
20
- .de(de_CreateKeyValueStoreCommand)
14
+ .sc(CreateKeyValueStore)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateMonitoringSubscriptionCommand, se_CreateMonitoringSubscriptionCommand, } from "../protocols/Aws_restXml";
4
+ import { CreateMonitoringSubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateMonitoringSubscriptionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateMonitoringSubscription", {})
17
13
  .n("CloudFrontClient", "CreateMonitoringSubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateMonitoringSubscriptionCommand)
20
- .de(de_CreateMonitoringSubscriptionCommand)
14
+ .sc(CreateMonitoringSubscription)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateOriginAccessControlCommand, se_CreateOriginAccessControlCommand } from "../protocols/Aws_restXml";
4
+ import { CreateOriginAccessControl } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateOriginAccessControlCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateOriginAccessControl", {})
17
13
  .n("CloudFrontClient", "CreateOriginAccessControlCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateOriginAccessControlCommand)
20
- .de(de_CreateOriginAccessControlCommand)
14
+ .sc(CreateOriginAccessControl)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateOriginRequestPolicyCommand, se_CreateOriginRequestPolicyCommand } from "../protocols/Aws_restXml";
4
+ import { CreateOriginRequestPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateOriginRequestPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Cloudfront2020_05_31", "CreateOriginRequestPolicy", {})
17
13
  .n("CloudFrontClient", "CreateOriginRequestPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateOriginRequestPolicyCommand)
20
- .de(de_CreateOriginRequestPolicyCommand)
14
+ .sc(CreateOriginRequestPolicy)
21
15
  .build() {
22
16
  }