@aws-sdk/client-cloudfront 3.952.0 → 3.953.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/dist-cjs/index.js +3141 -2287
  2. package/dist-cjs/runtimeConfig.shared.js +7 -5
  3. package/dist-es/commands/AssociateAliasCommand.js +2 -2
  4. package/dist-es/commands/AssociateDistributionTenantWebACLCommand.js +2 -2
  5. package/dist-es/commands/AssociateDistributionWebACLCommand.js +2 -2
  6. package/dist-es/commands/CopyDistributionCommand.js +2 -2
  7. package/dist-es/commands/CreateAnycastIpListCommand.js +2 -2
  8. package/dist-es/commands/CreateCachePolicyCommand.js +2 -2
  9. package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +2 -2
  10. package/dist-es/commands/CreateConnectionFunctionCommand.js +2 -2
  11. package/dist-es/commands/CreateConnectionGroupCommand.js +2 -2
  12. package/dist-es/commands/CreateContinuousDeploymentPolicyCommand.js +2 -2
  13. package/dist-es/commands/CreateDistributionCommand.js +2 -2
  14. package/dist-es/commands/CreateDistributionTenantCommand.js +2 -2
  15. package/dist-es/commands/CreateDistributionWithTagsCommand.js +2 -2
  16. package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +2 -2
  17. package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +2 -2
  18. package/dist-es/commands/CreateFunctionCommand.js +2 -2
  19. package/dist-es/commands/CreateInvalidationCommand.js +2 -2
  20. package/dist-es/commands/CreateInvalidationForDistributionTenantCommand.js +2 -2
  21. package/dist-es/commands/CreateKeyGroupCommand.js +2 -2
  22. package/dist-es/commands/CreateKeyValueStoreCommand.js +2 -2
  23. package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +2 -2
  24. package/dist-es/commands/CreateOriginAccessControlCommand.js +2 -2
  25. package/dist-es/commands/CreateOriginRequestPolicyCommand.js +2 -2
  26. package/dist-es/commands/CreatePublicKeyCommand.js +2 -2
  27. package/dist-es/commands/CreateRealtimeLogConfigCommand.js +2 -2
  28. package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +2 -2
  29. package/dist-es/commands/CreateStreamingDistributionCommand.js +2 -2
  30. package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +2 -2
  31. package/dist-es/commands/CreateTrustStoreCommand.js +2 -2
  32. package/dist-es/commands/CreateVpcOriginCommand.js +2 -2
  33. package/dist-es/commands/DeleteAnycastIpListCommand.js +2 -2
  34. package/dist-es/commands/DeleteCachePolicyCommand.js +2 -2
  35. package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +2 -2
  36. package/dist-es/commands/DeleteConnectionFunctionCommand.js +2 -2
  37. package/dist-es/commands/DeleteConnectionGroupCommand.js +2 -2
  38. package/dist-es/commands/DeleteContinuousDeploymentPolicyCommand.js +2 -2
  39. package/dist-es/commands/DeleteDistributionCommand.js +2 -2
  40. package/dist-es/commands/DeleteDistributionTenantCommand.js +2 -2
  41. package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +2 -2
  42. package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +2 -2
  43. package/dist-es/commands/DeleteFunctionCommand.js +2 -2
  44. package/dist-es/commands/DeleteKeyGroupCommand.js +2 -2
  45. package/dist-es/commands/DeleteKeyValueStoreCommand.js +2 -2
  46. package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +2 -2
  47. package/dist-es/commands/DeleteOriginAccessControlCommand.js +2 -2
  48. package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +2 -2
  49. package/dist-es/commands/DeletePublicKeyCommand.js +2 -2
  50. package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +2 -2
  51. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  52. package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +2 -2
  53. package/dist-es/commands/DeleteStreamingDistributionCommand.js +2 -2
  54. package/dist-es/commands/DeleteTrustStoreCommand.js +2 -2
  55. package/dist-es/commands/DeleteVpcOriginCommand.js +2 -2
  56. package/dist-es/commands/DescribeConnectionFunctionCommand.js +2 -2
  57. package/dist-es/commands/DescribeFunctionCommand.js +2 -2
  58. package/dist-es/commands/DescribeKeyValueStoreCommand.js +2 -2
  59. package/dist-es/commands/DisassociateDistributionTenantWebACLCommand.js +2 -2
  60. package/dist-es/commands/DisassociateDistributionWebACLCommand.js +2 -2
  61. package/dist-es/commands/GetAnycastIpListCommand.js +2 -2
  62. package/dist-es/commands/GetCachePolicyCommand.js +2 -2
  63. package/dist-es/commands/GetCachePolicyConfigCommand.js +2 -2
  64. package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +2 -2
  65. package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +2 -2
  66. package/dist-es/commands/GetConnectionFunctionCommand.js +2 -2
  67. package/dist-es/commands/GetConnectionGroupByRoutingEndpointCommand.js +2 -2
  68. package/dist-es/commands/GetConnectionGroupCommand.js +2 -2
  69. package/dist-es/commands/GetContinuousDeploymentPolicyCommand.js +2 -2
  70. package/dist-es/commands/GetContinuousDeploymentPolicyConfigCommand.js +2 -2
  71. package/dist-es/commands/GetDistributionCommand.js +2 -2
  72. package/dist-es/commands/GetDistributionConfigCommand.js +2 -2
  73. package/dist-es/commands/GetDistributionTenantByDomainCommand.js +2 -2
  74. package/dist-es/commands/GetDistributionTenantCommand.js +2 -2
  75. package/dist-es/commands/GetFieldLevelEncryptionCommand.js +2 -2
  76. package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +2 -2
  77. package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +2 -2
  78. package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +2 -2
  79. package/dist-es/commands/GetFunctionCommand.js +2 -2
  80. package/dist-es/commands/GetInvalidationCommand.js +2 -2
  81. package/dist-es/commands/GetInvalidationForDistributionTenantCommand.js +2 -2
  82. package/dist-es/commands/GetKeyGroupCommand.js +2 -2
  83. package/dist-es/commands/GetKeyGroupConfigCommand.js +2 -2
  84. package/dist-es/commands/GetManagedCertificateDetailsCommand.js +2 -2
  85. package/dist-es/commands/GetMonitoringSubscriptionCommand.js +2 -2
  86. package/dist-es/commands/GetOriginAccessControlCommand.js +2 -2
  87. package/dist-es/commands/GetOriginAccessControlConfigCommand.js +2 -2
  88. package/dist-es/commands/GetOriginRequestPolicyCommand.js +2 -2
  89. package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +2 -2
  90. package/dist-es/commands/GetPublicKeyCommand.js +2 -2
  91. package/dist-es/commands/GetPublicKeyConfigCommand.js +2 -2
  92. package/dist-es/commands/GetRealtimeLogConfigCommand.js +2 -2
  93. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  94. package/dist-es/commands/GetResponseHeadersPolicyCommand.js +2 -2
  95. package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +2 -2
  96. package/dist-es/commands/GetStreamingDistributionCommand.js +2 -2
  97. package/dist-es/commands/GetStreamingDistributionConfigCommand.js +2 -2
  98. package/dist-es/commands/GetTrustStoreCommand.js +2 -2
  99. package/dist-es/commands/GetVpcOriginCommand.js +2 -2
  100. package/dist-es/commands/ListAnycastIpListsCommand.js +2 -2
  101. package/dist-es/commands/ListCachePoliciesCommand.js +2 -2
  102. package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +2 -2
  103. package/dist-es/commands/ListConflictingAliasesCommand.js +2 -2
  104. package/dist-es/commands/ListConnectionFunctionsCommand.js +2 -2
  105. package/dist-es/commands/ListConnectionGroupsCommand.js +2 -2
  106. package/dist-es/commands/ListContinuousDeploymentPoliciesCommand.js +2 -2
  107. package/dist-es/commands/ListDistributionTenantsByCustomizationCommand.js +2 -2
  108. package/dist-es/commands/ListDistributionTenantsCommand.js +2 -2
  109. package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +2 -2
  110. package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +2 -2
  111. package/dist-es/commands/ListDistributionsByConnectionFunctionCommand.js +2 -2
  112. package/dist-es/commands/ListDistributionsByConnectionModeCommand.js +2 -2
  113. package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +2 -2
  114. package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +2 -2
  115. package/dist-es/commands/ListDistributionsByOwnedResourceCommand.js +2 -2
  116. package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +2 -2
  117. package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +2 -2
  118. package/dist-es/commands/ListDistributionsByTrustStoreCommand.js +2 -2
  119. package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +2 -2
  120. package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +2 -2
  121. package/dist-es/commands/ListDistributionsCommand.js +2 -2
  122. package/dist-es/commands/ListDomainConflictsCommand.js +2 -2
  123. package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +2 -2
  124. package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +2 -2
  125. package/dist-es/commands/ListFunctionsCommand.js +2 -2
  126. package/dist-es/commands/ListInvalidationsCommand.js +2 -2
  127. package/dist-es/commands/ListInvalidationsForDistributionTenantCommand.js +2 -2
  128. package/dist-es/commands/ListKeyGroupsCommand.js +2 -2
  129. package/dist-es/commands/ListKeyValueStoresCommand.js +2 -2
  130. package/dist-es/commands/ListOriginAccessControlsCommand.js +2 -2
  131. package/dist-es/commands/ListOriginRequestPoliciesCommand.js +2 -2
  132. package/dist-es/commands/ListPublicKeysCommand.js +2 -2
  133. package/dist-es/commands/ListRealtimeLogConfigsCommand.js +2 -2
  134. package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +2 -2
  135. package/dist-es/commands/ListStreamingDistributionsCommand.js +2 -2
  136. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  137. package/dist-es/commands/ListTrustStoresCommand.js +2 -2
  138. package/dist-es/commands/ListVpcOriginsCommand.js +2 -2
  139. package/dist-es/commands/PublishConnectionFunctionCommand.js +2 -2
  140. package/dist-es/commands/PublishFunctionCommand.js +2 -2
  141. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  142. package/dist-es/commands/TagResourceCommand.js +2 -2
  143. package/dist-es/commands/TestConnectionFunctionCommand.js +2 -2
  144. package/dist-es/commands/TestFunctionCommand.js +2 -2
  145. package/dist-es/commands/UntagResourceCommand.js +2 -2
  146. package/dist-es/commands/UpdateAnycastIpListCommand.js +2 -2
  147. package/dist-es/commands/UpdateCachePolicyCommand.js +2 -2
  148. package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +2 -2
  149. package/dist-es/commands/UpdateConnectionFunctionCommand.js +2 -2
  150. package/dist-es/commands/UpdateConnectionGroupCommand.js +2 -2
  151. package/dist-es/commands/UpdateContinuousDeploymentPolicyCommand.js +2 -2
  152. package/dist-es/commands/UpdateDistributionCommand.js +2 -2
  153. package/dist-es/commands/UpdateDistributionTenantCommand.js +2 -2
  154. package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +2 -2
  155. package/dist-es/commands/UpdateDomainAssociationCommand.js +2 -2
  156. package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +2 -2
  157. package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +2 -2
  158. package/dist-es/commands/UpdateFunctionCommand.js +2 -2
  159. package/dist-es/commands/UpdateKeyGroupCommand.js +2 -2
  160. package/dist-es/commands/UpdateKeyValueStoreCommand.js +2 -2
  161. package/dist-es/commands/UpdateOriginAccessControlCommand.js +2 -2
  162. package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +2 -2
  163. package/dist-es/commands/UpdatePublicKeyCommand.js +2 -2
  164. package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +2 -2
  165. package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +2 -2
  166. package/dist-es/commands/UpdateStreamingDistributionCommand.js +2 -2
  167. package/dist-es/commands/UpdateTrustStoreCommand.js +2 -2
  168. package/dist-es/commands/UpdateVpcOriginCommand.js +2 -2
  169. package/dist-es/commands/VerifyDnsConfigurationCommand.js +2 -2
  170. package/dist-es/index.js +1 -0
  171. package/dist-es/runtimeConfig.shared.js +7 -5
  172. package/dist-es/schemas/schemas_0.js +1727 -1709
  173. package/dist-types/CloudFrontClient.d.ts +1 -10
  174. package/dist-types/index.d.ts +1 -0
  175. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  176. package/dist-types/runtimeConfig.d.ts +6 -2
  177. package/dist-types/runtimeConfig.native.d.ts +6 -2
  178. package/dist-types/runtimeConfig.shared.d.ts +5 -1
  179. package/dist-types/schemas/schemas_0.d.ts +837 -918
  180. package/dist-types/ts3.4/CloudFrontClient.d.ts +0 -4
  181. package/dist-types/ts3.4/index.d.ts +1 -0
  182. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -7
  183. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
  184. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -7
  185. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +7 -5
  186. package/dist-types/ts3.4/schemas/schemas_0.d.ts +836 -919
  187. package/package.json +36 -36
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -1083,7 +1080,6 @@ export interface ClientDefaults
1083
1080
  retryMode?: string | __Provider<string>;
1084
1081
  logger?: __Logger;
1085
1082
  extensions?: RuntimeExtension[];
1086
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
1087
1083
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
1088
1084
  }
1089
1085
  export type CloudFrontClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CloudFrontExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./waiters";
9
10
  export * from "./models/enums";
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
26
26
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
27
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
- apiVersion: string;
30
29
  cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsRestXmlProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
31
39
  urlParser: import("@smithy/types").UrlParser;
32
40
  base64Decoder: import("@smithy/types").Decoder;
33
41
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -38,12 +46,6 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
38
46
  profile?: string;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol:
42
- | import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >
46
- | import("@aws-sdk/core").AwsRestXmlProtocol;
47
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
50
  userAgentAppId?:
49
51
  | string
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
26
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
- apiVersion: string;
30
29
  cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsRestXmlProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
31
39
  urlParser: import("@smithy/types").UrlParser;
32
40
  base64Decoder: import("@smithy/types").Decoder;
33
41
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -38,12 +46,6 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
38
46
  profile?: string;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol:
42
- | import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >
46
- | import("@aws-sdk/core").AwsRestXmlProtocol;
47
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
50
  retryStrategy?:
49
51
  | import("@smithy/types").RetryStrategy
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
8
8
  | Record<string, unknown>
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core").AwsRestXmlProtocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
13
21
  urlParser: import("@smithy/types").UrlParser;
14
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
23
  streamCollector: import("@smithy/types").StreamCollector;
@@ -37,12 +45,6 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
37
45
  retryMode: string | import("@smithy/types").Provider<string>;
38
46
  logger: import("@smithy/types").Logger;
39
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
- protocol:
41
- | import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >
45
- | import("@aws-sdk/core").AwsRestXmlProtocol;
46
48
  defaultsMode:
47
49
  | import("@smithy/smithy-client").DefaultsMode
48
50
  | import("@smithy/types").Provider<
@@ -16,11 +16,13 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
16
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
17
  logger: import("@smithy/types").Logger;
18
18
  protocol:
19
- | import("@smithy/types").ClientProtocol<
20
- import("@smithy/types").HttpRequest,
21
- import("@smithy/types").HttpResponse
22
- >
23
- | AwsRestXmlProtocol;
19
+ | import("@smithy/types").ClientProtocol<any, any>
20
+ | import("@smithy/types").ClientProtocolCtor<any, any>
21
+ | typeof AwsRestXmlProtocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
24
26
  serviceId: string;
25
27
  urlParser: import("@smithy/types").UrlParser;
26
28
  utf8Decoder: import("@smithy/types").Decoder;