@aws-sdk/client-cloudfront 3.774.0 → 3.777.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 (129) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/CloudFrontClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AssociateAliasCommand.d.ts +1 -0
  8. package/dist-types/commands/CopyDistributionCommand.d.ts +1 -0
  9. package/dist-types/commands/CreateAnycastIpListCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateCachePolicyCommand.d.ts +1 -0
  11. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateDistributionCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +1 -0
  15. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +1 -0
  16. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +1 -0
  17. package/dist-types/commands/CreateFunctionCommand.d.ts +29 -29
  18. package/dist-types/commands/CreateInvalidationCommand.d.ts +1 -0
  19. package/dist-types/commands/CreateKeyGroupCommand.d.ts +1 -0
  20. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +17 -17
  21. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +1 -0
  22. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +1 -0
  23. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +1 -0
  24. package/dist-types/commands/CreatePublicKeyCommand.d.ts +1 -0
  25. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +1 -0
  26. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +1 -0
  27. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +1 -0
  28. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -0
  29. package/dist-types/commands/CreateVpcOriginCommand.d.ts +29 -29
  30. package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -0
  32. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -0
  33. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +1 -0
  34. package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -0
  35. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -0
  36. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -0
  37. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -0
  38. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -0
  39. package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +8 -5
  40. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +1 -0
  41. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +1 -0
  42. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -0
  43. package/dist-types/commands/DeletePublicKeyCommand.d.ts +1 -0
  44. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -0
  45. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -0
  46. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +1 -0
  47. package/dist-types/commands/DeleteVpcOriginCommand.d.ts +21 -21
  48. package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -0
  49. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +12 -12
  50. package/dist-types/commands/GetAnycastIpListCommand.d.ts +1 -0
  51. package/dist-types/commands/GetCachePolicyCommand.d.ts +1 -0
  52. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +1 -0
  53. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -0
  54. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -0
  55. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +1 -0
  56. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +1 -0
  57. package/dist-types/commands/GetDistributionCommand.d.ts +1 -0
  58. package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -0
  59. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +1 -0
  60. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +1 -0
  61. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +1 -0
  62. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +1 -0
  63. package/dist-types/commands/GetFunctionCommand.d.ts +1 -0
  64. package/dist-types/commands/GetInvalidationCommand.d.ts +1 -0
  65. package/dist-types/commands/GetKeyGroupCommand.d.ts +1 -0
  66. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -0
  67. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -0
  68. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -0
  69. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -0
  70. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -0
  71. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -0
  72. package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -0
  73. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -0
  74. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +1 -0
  75. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +1 -0
  76. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +1 -0
  77. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -0
  78. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -0
  79. package/dist-types/commands/GetVpcOriginCommand.d.ts +20 -20
  80. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +1 -0
  81. package/dist-types/commands/ListCachePoliciesCommand.d.ts +1 -0
  82. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +1 -0
  83. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +1 -0
  84. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +1 -0
  85. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -0
  86. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +1 -0
  87. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +1 -0
  88. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +1 -0
  89. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -0
  90. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +1 -0
  91. package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +10 -10
  92. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -0
  93. package/dist-types/commands/ListDistributionsCommand.d.ts +1 -0
  94. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +1 -0
  95. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +1 -0
  96. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -0
  97. package/dist-types/commands/ListInvalidationsCommand.d.ts +1 -0
  98. package/dist-types/commands/ListKeyGroupsCommand.d.ts +1 -0
  99. package/dist-types/commands/ListKeyValueStoresCommand.d.ts +15 -15
  100. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +1 -0
  101. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +1 -0
  102. package/dist-types/commands/ListPublicKeysCommand.d.ts +1 -0
  103. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +1 -0
  104. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -0
  105. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -0
  106. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  107. package/dist-types/commands/ListVpcOriginsCommand.d.ts +17 -17
  108. package/dist-types/commands/PublishFunctionCommand.d.ts +1 -0
  109. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  110. package/dist-types/commands/TestFunctionCommand.d.ts +1 -0
  111. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  112. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +1 -0
  113. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -0
  114. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -0
  115. package/dist-types/commands/UpdateDistributionCommand.d.ts +1 -0
  116. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -0
  117. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -0
  118. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -0
  119. package/dist-types/commands/UpdateFunctionCommand.d.ts +29 -29
  120. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -0
  121. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +14 -14
  122. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +1 -0
  123. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -0
  124. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +1 -0
  125. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -0
  126. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -0
  127. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +1 -0
  128. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +30 -30
  129. package/package.json +36 -36
@@ -40,8 +40,6 @@ const defaultCloudFrontHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultCloudFrontHttpAuthSchemeProvider = defaultCloudFrontHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -391,12 +391,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
391
391
 
392
392
  // src/endpoint/EndpointParameters.ts
393
393
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
394
- return {
395
- ...options,
394
+ return Object.assign(options, {
396
395
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
397
396
  useFipsEndpoint: options.useFipsEndpoint ?? false,
398
397
  defaultSigningName: "cloudfront"
399
- };
398
+ });
400
399
  }, "resolveClientEndpointParameters");
401
400
  var commonParams = {
402
401
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -453,22 +452,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
453
452
  }, "resolveHttpAuthRuntimeConfig");
454
453
 
455
454
  // src/runtimeExtensions.ts
456
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
457
455
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
458
- const extensionConfiguration = {
459
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
460
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
461
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
462
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
463
- };
456
+ const extensionConfiguration = Object.assign(
457
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
458
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
459
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
460
+ getHttpAuthExtensionConfiguration(runtimeConfig)
461
+ );
464
462
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
465
- return {
466
- ...runtimeConfig,
467
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
468
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
469
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
470
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
471
- };
463
+ return Object.assign(
464
+ runtimeConfig,
465
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
466
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
467
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
468
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
469
+ );
472
470
  }, "resolveRuntimeExtensions");
473
471
 
474
472
  // src/CloudFrontClient.ts
@@ -482,6 +480,8 @@ var CloudFrontClient = class extends import_smithy_client.Client {
482
480
  config;
483
481
  constructor(...[configuration]) {
484
482
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
483
+ super(_config_0);
484
+ this.initConfig = _config_0;
485
485
  const _config_1 = resolveClientEndpointParameters(_config_0);
486
486
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
487
487
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -490,7 +490,6 @@ var CloudFrontClient = class extends import_smithy_client.Client {
490
490
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
491
491
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
492
492
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
493
- super(_config_8);
494
493
  this.config = _config_8;
495
494
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
496
495
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class CloudFrontClient extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class CloudFrontClient extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultCloudFrontHttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "cloudfront",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -78,6 +78,7 @@ declare const AssociateAliasCommand_base: {
78
78
  * @throws {@link CloudFrontServiceException}
79
79
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
80
80
  *
81
+ *
81
82
  * @public
82
83
  */
83
84
  export declare class AssociateAliasCommand extends AssociateAliasCommand_base {
@@ -659,6 +659,7 @@ declare const CopyDistributionCommand_base: {
659
659
  * @throws {@link CloudFrontServiceException}
660
660
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
661
661
  *
662
+ *
662
663
  * @public
663
664
  */
664
665
  export declare class CopyDistributionCommand extends CopyDistributionCommand_base {
@@ -93,6 +93,7 @@ declare const CreateAnycastIpListCommand_base: {
93
93
  * @throws {@link CloudFrontServiceException}
94
94
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
95
95
  *
96
+ *
96
97
  * @public
97
98
  */
98
99
  export declare class CreateAnycastIpListCommand extends CreateAnycastIpListCommand_base {
@@ -190,6 +190,7 @@ declare const CreateCachePolicyCommand_base: {
190
190
  * @throws {@link CloudFrontServiceException}
191
191
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
192
192
  *
193
+ *
193
194
  * @public
194
195
  */
195
196
  export declare class CreateCachePolicyCommand extends CreateCachePolicyCommand_base {
@@ -92,6 +92,7 @@ declare const CreateCloudFrontOriginAccessIdentityCommand_base: {
92
92
  * @throws {@link CloudFrontServiceException}
93
93
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
94
94
  *
95
+ *
95
96
  * @public
96
97
  */
97
98
  export declare class CreateCloudFrontOriginAccessIdentityCommand extends CreateCloudFrontOriginAccessIdentityCommand_base {
@@ -132,6 +132,7 @@ declare const CreateContinuousDeploymentPolicyCommand_base: {
132
132
  * @throws {@link CloudFrontServiceException}
133
133
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
134
134
  *
135
+ *
135
136
  * @public
136
137
  */
137
138
  export declare class CreateContinuousDeploymentPolicyCommand extends CreateContinuousDeploymentPolicyCommand_base {
@@ -938,6 +938,7 @@ declare const CreateDistributionCommand_base: {
938
938
  * @throws {@link CloudFrontServiceException}
939
939
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
940
940
  *
941
+ *
941
942
  * @public
942
943
  */
943
944
  export declare class CreateDistributionCommand extends CreateDistributionCommand_base {
@@ -964,6 +964,7 @@ declare const CreateDistributionWithTagsCommand_base: {
964
964
  * @throws {@link CloudFrontServiceException}
965
965
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
966
966
  *
967
+ *
967
968
  * @public
968
969
  */
969
970
  export declare class CreateDistributionWithTagsCommand extends CreateDistributionWithTagsCommand_base {
@@ -144,6 +144,7 @@ declare const CreateFieldLevelEncryptionConfigCommand_base: {
144
144
  * @throws {@link CloudFrontServiceException}
145
145
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
146
146
  *
147
+ *
147
148
  * @public
148
149
  */
149
150
  export declare class CreateFieldLevelEncryptionConfigCommand extends CreateFieldLevelEncryptionConfigCommand_base {
@@ -125,6 +125,7 @@ declare const CreateFieldLevelEncryptionProfileCommand_base: {
125
125
  * @throws {@link CloudFrontServiceException}
126
126
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
127
127
  *
128
+ *
128
129
  * @public
129
130
  */
130
131
  export declare class CreateFieldLevelEncryptionProfileCommand extends CreateFieldLevelEncryptionProfileCommand_base {
@@ -120,59 +120,59 @@ declare const CreateFunctionCommand_base: {
120
120
  * @throws {@link CloudFrontServiceException}
121
121
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
122
122
  *
123
- * @public
123
+ *
124
124
  * @example To create a function
125
125
  * ```javascript
126
126
  * // Use the following command to create a function.
127
127
  * const input = {
128
- * "FunctionCode": "function-code.js",
129
- * "FunctionConfig": {
130
- * "Comment": "my-function-comment",
131
- * "KeyValueStoreAssociations": {
132
- * "Items": [
128
+ * FunctionCode: "function-code.js",
129
+ * FunctionConfig: {
130
+ * Comment: "my-function-comment",
131
+ * KeyValueStoreAssociations: {
132
+ * Items: [
133
133
  * {
134
- * "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
134
+ * KeyValueStoreARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
135
135
  * }
136
136
  * ],
137
- * "Quantity": 1
137
+ * Quantity: 1
138
138
  * },
139
- * "Runtime": "cloudfront-js-2.0"
139
+ * Runtime: "cloudfront-js-2.0"
140
140
  * },
141
- * "Name": "my-function-name"
141
+ * Name: "my-function-name"
142
142
  * };
143
143
  * const command = new CreateFunctionCommand(input);
144
144
  * const response = await client.send(command);
145
- * /* response ==
145
+ * /* response is
146
146
  * {
147
- * "ETag": "ETVPDKIKX0DER",
148
- * "FunctionSummary": {
149
- * "FunctionConfig": {
150
- * "Comment": "my-function-comment",
151
- * "KeyValueStoreAssociations": {
152
- * "Items": [
147
+ * ETag: "ETVPDKIKX0DER",
148
+ * FunctionSummary: {
149
+ * FunctionConfig: {
150
+ * Comment: "my-function-comment",
151
+ * KeyValueStoreAssociations: {
152
+ * Items: [
153
153
  * {
154
- * "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
154
+ * KeyValueStoreARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
155
155
  * }
156
156
  * ],
157
- * "Quantity": 1
157
+ * Quantity: 1
158
158
  * },
159
- * "Runtime": "cloudfront-js-2.0"
159
+ * Runtime: "cloudfront-js-2.0"
160
160
  * },
161
- * "FunctionMetadata": {
162
- * "CreatedTime": "2023-11-07T19:53:50.334Z",
163
- * "FunctionARN": "arn:aws:cloudfront::123456789012:function/my-function-name",
164
- * "LastModifiedTime": "2023-11-07T19:53:50.334Z",
165
- * "Stage": "DEVELOPMENT"
161
+ * FunctionMetadata: {
162
+ * CreatedTime: "2023-11-07T19:53:50.334Z",
163
+ * FunctionARN: "arn:aws:cloudfront::123456789012:function/my-function-name",
164
+ * LastModifiedTime: "2023-11-07T19:53:50.334Z",
165
+ * Stage: "DEVELOPMENT"
166
166
  * },
167
- * "Name": "my-function-name",
168
- * "Status": "UNPUBLISHED"
167
+ * Name: "my-function-name",
168
+ * Status: "UNPUBLISHED"
169
169
  * },
170
- * "Location": "https://cloudfront.amazonaws.com/2020-05-31/function/arn:aws:cloudfront::123456789012:function/my-function-name"
170
+ * Location: "https://cloudfront.amazonaws.com/2020-05-31/function/arn:aws:cloudfront::123456789012:function/my-function-name"
171
171
  * }
172
172
  * *\/
173
- * // example id: example-1
174
173
  * ```
175
174
  *
175
+ * @public
176
176
  */
177
177
  export declare class CreateFunctionCommand extends CreateFunctionCommand_base {
178
178
  /** @internal type navigation helper, not in runtime. */
@@ -101,6 +101,7 @@ declare const CreateInvalidationCommand_base: {
101
101
  * @throws {@link CloudFrontServiceException}
102
102
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
103
103
  *
104
+ *
104
105
  * @public
105
106
  */
106
107
  export declare class CreateInvalidationCommand extends CreateInvalidationCommand_base {
@@ -97,6 +97,7 @@ declare const CreateKeyGroupCommand_base: {
97
97
  * @throws {@link CloudFrontServiceException}
98
98
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
99
99
  *
100
+ *
100
101
  * @public
101
102
  */
102
103
  export declare class CreateKeyGroupCommand extends CreateKeyGroupCommand_base {
@@ -87,37 +87,37 @@ declare const CreateKeyValueStoreCommand_base: {
87
87
  * @throws {@link CloudFrontServiceException}
88
88
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
89
89
  *
90
- * @public
90
+ *
91
91
  * @example To create a KeyValueStore
92
92
  * ```javascript
93
93
  * // Use the following command to create a KeyValueStore.
94
94
  * const input = {
95
- * "Comment": "my-key-valuestore-comment",
96
- * "ImportSource": {
97
- * "SourceARN": "arn:aws:s3:::amzn-s3-demo-bucket/validJSON.json",
98
- * "SourceType": "S3"
95
+ * Comment: "my-key-valuestore-comment",
96
+ * ImportSource: {
97
+ * SourceARN: "arn:aws:s3:::amzn-s3-demo-bucket/validJSON.json",
98
+ * SourceType: "S3"
99
99
  * },
100
- * "Name": "my-keyvaluestore-name"
100
+ * Name: "my-keyvaluestore-name"
101
101
  * };
102
102
  * const command = new CreateKeyValueStoreCommand(input);
103
103
  * const response = await client.send(command);
104
- * /* response ==
104
+ * /* response is
105
105
  * {
106
- * "ETag": "ETVPDKIKX0DER",
107
- * "KeyValueStore": {
108
- * "ARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
109
- * "Comment": "my-key-valuestore-comment",
110
- * "Id": "54947df8-0e9e-4471-a2f9-9af509fb5889",
111
- * "LastModifiedTime": "2023-11-07T18:15:52.042Z",
112
- * "Name": "my-keyvaluestore-name",
113
- * "Status": "PROVISIONING"
106
+ * ETag: "ETVPDKIKX0DER",
107
+ * KeyValueStore: {
108
+ * ARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
109
+ * Comment: "my-key-valuestore-comment",
110
+ * Id: "54947df8-0e9e-4471-a2f9-9af509fb5889",
111
+ * LastModifiedTime: "2023-11-07T18:15:52.042Z",
112
+ * Name: "my-keyvaluestore-name",
113
+ * Status: "PROVISIONING"
114
114
  * },
115
- * "Location": "https://cloudfront.amazonaws.com/2020-05-31/key-value-store/arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
115
+ * Location: "https://cloudfront.amazonaws.com/2020-05-31/key-value-store/arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
116
116
  * }
117
117
  * *\/
118
- * // example id: example-1
119
118
  * ```
120
119
  *
120
+ * @public
121
121
  */
122
122
  export declare class CreateKeyValueStoreCommand extends CreateKeyValueStoreCommand_base {
123
123
  /** @internal type navigation helper, not in runtime. */
@@ -78,6 +78,7 @@ declare const CreateMonitoringSubscriptionCommand_base: {
78
78
  * @throws {@link CloudFrontServiceException}
79
79
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
80
80
  *
81
+ *
81
82
  * @public
82
83
  */
83
84
  export declare class CreateMonitoringSubscriptionCommand extends CreateMonitoringSubscriptionCommand_base {
@@ -89,6 +89,7 @@ declare const CreateOriginAccessControlCommand_base: {
89
89
  * @throws {@link CloudFrontServiceException}
90
90
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
91
91
  *
92
+ *
92
93
  * @public
93
94
  */
94
95
  export declare class CreateOriginAccessControlCommand extends CreateOriginAccessControlCommand_base {
@@ -181,6 +181,7 @@ declare const CreateOriginRequestPolicyCommand_base: {
181
181
  * @throws {@link CloudFrontServiceException}
182
182
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
183
183
  *
184
+ *
184
185
  * @public
185
186
  */
186
187
  export declare class CreateOriginRequestPolicyCommand extends CreateOriginRequestPolicyCommand_base {
@@ -80,6 +80,7 @@ declare const CreatePublicKeyCommand_base: {
80
80
  * @throws {@link CloudFrontServiceException}
81
81
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
82
82
  *
83
+ *
83
84
  * @public
84
85
  */
85
86
  export declare class CreatePublicKeyCommand extends CreatePublicKeyCommand_base {
@@ -103,6 +103,7 @@ declare const CreateRealtimeLogConfigCommand_base: {
103
103
  * @throws {@link CloudFrontServiceException}
104
104
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
105
105
  *
106
+ *
106
107
  * @public
107
108
  */
108
109
  export declare class CreateRealtimeLogConfigCommand extends CreateRealtimeLogConfigCommand_base {
@@ -275,6 +275,7 @@ declare const CreateResponseHeadersPolicyCommand_base: {
275
275
  * @throws {@link CloudFrontServiceException}
276
276
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
277
277
  *
278
+ *
278
279
  * @public
279
280
  */
280
281
  export declare class CreateResponseHeadersPolicyCommand extends CreateResponseHeadersPolicyCommand_base {
@@ -177,6 +177,7 @@ declare const CreateStreamingDistributionCommand_base: {
177
177
  * @throws {@link CloudFrontServiceException}
178
178
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
179
179
  *
180
+ *
180
181
  * @public
181
182
  */
182
183
  export declare class CreateStreamingDistributionCommand extends CreateStreamingDistributionCommand_base {
@@ -190,6 +190,7 @@ declare const CreateStreamingDistributionWithTagsCommand_base: {
190
190
  * @throws {@link CloudFrontServiceException}
191
191
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
192
192
  *
193
+ *
193
194
  * @public
194
195
  */
195
196
  export declare class CreateStreamingDistributionWithTagsCommand extends CreateStreamingDistributionWithTagsCommand_base {
@@ -118,58 +118,58 @@ declare const CreateVpcOriginCommand_base: {
118
118
  * @throws {@link CloudFrontServiceException}
119
119
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
120
120
  *
121
- * @public
121
+ *
122
122
  * @example To create a VPC origin
123
123
  * ```javascript
124
124
  * // The following command creates a VPC origin:
125
125
  * const input = {
126
- * "VpcOriginEndpointConfig": {
127
- * "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
128
- * "HTTPPort": 80,
129
- * "HTTPSPort": 443,
130
- * "Name": "my-vpcorigin-name",
131
- * "OriginProtocolPolicy": "match-viewer",
132
- * "OriginSslProtocols": {
133
- * "Items": [
126
+ * VpcOriginEndpointConfig: {
127
+ * Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
128
+ * HTTPPort: 80,
129
+ * HTTPSPort: 443,
130
+ * Name: "my-vpcorigin-name",
131
+ * OriginProtocolPolicy: "match-viewer",
132
+ * OriginSslProtocols: {
133
+ * Items: [
134
134
  * "TLSv1.1",
135
135
  * "TLSv1.2"
136
136
  * ],
137
- * "Quantity": 2
137
+ * Quantity: 2
138
138
  * }
139
139
  * }
140
140
  * };
141
141
  * const command = new CreateVpcOriginCommand(input);
142
142
  * const response = await client.send(command);
143
- * /* response ==
143
+ * /* response is
144
144
  * {
145
- * "ETag": "E23ZP02F085DFQ",
146
- * "Location": "https://cloudfront.amazonaws.com/2020-05-31/vpc-origin/vo_BQwjxxQxjCaBcQLzJUFkDM",
147
- * "VpcOrigin": {
148
- * "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
149
- * "CreatedTime": "2024-10-15T17:19:42.318Z",
150
- * "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
151
- * "LastModifiedTime": "2024-10-15T17:19:42.318Z",
152
- * "Status": "Deploying",
153
- * "VpcOriginEndpointConfig": {
154
- * "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
155
- * "HTTPPort": 80,
156
- * "HTTPSPort": 443,
157
- * "Name": "my-vpcorigin-name",
158
- * "OriginProtocolPolicy": "match-viewer",
159
- * "OriginSslProtocols": {
160
- * "Items": [
145
+ * ETag: "E23ZP02F085DFQ",
146
+ * Location: "https://cloudfront.amazonaws.com/2020-05-31/vpc-origin/vo_BQwjxxQxjCaBcQLzJUFkDM",
147
+ * VpcOrigin: {
148
+ * Arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
149
+ * CreatedTime: "2024-10-15T17:19:42.318Z",
150
+ * Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
151
+ * LastModifiedTime: "2024-10-15T17:19:42.318Z",
152
+ * Status: "Deploying",
153
+ * VpcOriginEndpointConfig: {
154
+ * Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
155
+ * HTTPPort: 80,
156
+ * HTTPSPort: 443,
157
+ * Name: "my-vpcorigin-name",
158
+ * OriginProtocolPolicy: "match-viewer",
159
+ * OriginSslProtocols: {
160
+ * Items: [
161
161
  * "TLSv1.1",
162
162
  * "TLSv1.2"
163
163
  * ],
164
- * "Quantity": 2
164
+ * Quantity: 2
165
165
  * }
166
166
  * }
167
167
  * }
168
168
  * }
169
169
  * *\/
170
- * // example id: example-1
171
170
  * ```
172
171
  *
172
+ * @public
173
173
  */
174
174
  export declare class CreateVpcOriginCommand extends CreateVpcOriginCommand_base {
175
175
  /** @internal type navigation helper, not in runtime. */
@@ -78,6 +78,7 @@ declare const DeleteAnycastIpListCommand_base: {
78
78
  * @throws {@link CloudFrontServiceException}
79
79
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
80
80
  *
81
+ *
81
82
  * @public
82
83
  */
83
84
  export declare class DeleteAnycastIpListCommand extends DeleteAnycastIpListCommand_base {
@@ -79,6 +79,7 @@ declare const DeleteCachePolicyCommand_base: {
79
79
  * @throws {@link CloudFrontServiceException}
80
80
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class DeleteCachePolicyCommand extends DeleteCachePolicyCommand_base {
@@ -69,6 +69,7 @@ declare const DeleteCloudFrontOriginAccessIdentityCommand_base: {
69
69
  * @throws {@link CloudFrontServiceException}
70
70
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class DeleteCloudFrontOriginAccessIdentityCommand extends DeleteCloudFrontOriginAccessIdentityCommand_base {
@@ -76,6 +76,7 @@ declare const DeleteContinuousDeploymentPolicyCommand_base: {
76
76
  * @throws {@link CloudFrontServiceException}
77
77
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
78
78
  *
79
+ *
79
80
  * @public
80
81
  */
81
82
  export declare class DeleteContinuousDeploymentPolicyCommand extends DeleteContinuousDeploymentPolicyCommand_base {
@@ -70,6 +70,7 @@ declare const DeleteDistributionCommand_base: {
70
70
  * @throws {@link CloudFrontServiceException}
71
71
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class DeleteDistributionCommand extends DeleteDistributionCommand_base {
@@ -69,6 +69,7 @@ declare const DeleteFieldLevelEncryptionConfigCommand_base: {
69
69
  * @throws {@link CloudFrontServiceException}
70
70
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class DeleteFieldLevelEncryptionConfigCommand extends DeleteFieldLevelEncryptionConfigCommand_base {
@@ -69,6 +69,7 @@ declare const DeleteFieldLevelEncryptionProfileCommand_base: {
69
69
  * @throws {@link CloudFrontServiceException}
70
70
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class DeleteFieldLevelEncryptionProfileCommand extends DeleteFieldLevelEncryptionProfileCommand_base {
@@ -76,6 +76,7 @@ declare const DeleteFunctionCommand_base: {
76
76
  * @throws {@link CloudFrontServiceException}
77
77
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
78
78
  *
79
+ *
79
80
  * @public
80
81
  */
81
82
  export declare class DeleteFunctionCommand extends DeleteFunctionCommand_base {