@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
@@ -124,59 +124,59 @@ declare const UpdateVpcOriginCommand_base: {
124
124
  * @throws {@link CloudFrontServiceException}
125
125
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
126
126
  *
127
- * @public
127
+ *
128
128
  * @example To update a VPC origin
129
129
  * ```javascript
130
130
  * // The following command updates a VPC origin:
131
131
  * const input = {
132
- * "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
133
- * "IfMatch": "ETVPDKIKX0DER",
134
- * "VpcOriginEndpointConfig": {
135
- * "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
136
- * "HTTPPort": 80,
137
- * "HTTPSPort": 443,
138
- * "Name": "my-vpcorigin-name",
139
- * "OriginProtocolPolicy": "match-viewer",
140
- * "OriginSslProtocols": {
141
- * "Items": [
132
+ * Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
133
+ * IfMatch: "ETVPDKIKX0DER",
134
+ * VpcOriginEndpointConfig: {
135
+ * Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
136
+ * HTTPPort: 80,
137
+ * HTTPSPort: 443,
138
+ * Name: "my-vpcorigin-name",
139
+ * OriginProtocolPolicy: "match-viewer",
140
+ * OriginSslProtocols: {
141
+ * Items: [
142
142
  * "TLSv1.1",
143
143
  * "TLSv1.2"
144
144
  * ],
145
- * "Quantity": 2
145
+ * Quantity: 2
146
146
  * }
147
147
  * }
148
148
  * };
149
149
  * const command = new UpdateVpcOriginCommand(input);
150
150
  * const response = await client.send(command);
151
- * /* response ==
151
+ * /* response is
152
152
  * {
153
- * "ETag": "E3UN6WX5RRO2AG",
154
- * "VpcOrigin": {
155
- * "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
156
- * "CreatedTime": "2024-10-15T17:19:42.318Z",
157
- * "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
158
- * "LastModifiedTime": "2024-10-15T17:47:08.133Z",
159
- * "Status": "Deploying",
160
- * "VpcOriginEndpointConfig": {
161
- * "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
162
- * "HTTPPort": 80,
163
- * "HTTPSPort": 443,
164
- * "Name": "my-vpcorigin-name",
165
- * "OriginProtocolPolicy": "match-viewer",
166
- * "OriginSslProtocols": {
167
- * "Items": [
153
+ * ETag: "E3UN6WX5RRO2AG",
154
+ * VpcOrigin: {
155
+ * Arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
156
+ * CreatedTime: "2024-10-15T17:19:42.318Z",
157
+ * Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
158
+ * LastModifiedTime: "2024-10-15T17:47:08.133Z",
159
+ * Status: "Deploying",
160
+ * VpcOriginEndpointConfig: {
161
+ * Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
162
+ * HTTPPort: 80,
163
+ * HTTPSPort: 443,
164
+ * Name: "my-vpcorigin-name",
165
+ * OriginProtocolPolicy: "match-viewer",
166
+ * OriginSslProtocols: {
167
+ * Items: [
168
168
  * "TLSv1.1",
169
169
  * "TLSv1.2"
170
170
  * ],
171
- * "Quantity": 2
171
+ * Quantity: 2
172
172
  * }
173
173
  * }
174
174
  * }
175
175
  * }
176
176
  * *\/
177
- * // example id: example-1
178
177
  * ```
179
178
  *
179
+ * @public
180
180
  */
181
181
  export declare class UpdateVpcOriginCommand extends UpdateVpcOriginCommand_base {
182
182
  /** @internal type navigation helper, not in runtime. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
4
- "version": "3.774.0",
4
+ "version": "3.777.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
@@ -20,45 +20,45 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.774.0",
24
- "@aws-sdk/credential-provider-node": "3.774.0",
25
- "@aws-sdk/middleware-host-header": "3.774.0",
26
- "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
- "@aws-sdk/middleware-user-agent": "3.774.0",
29
- "@aws-sdk/region-config-resolver": "3.734.0",
30
- "@aws-sdk/types": "3.734.0",
31
- "@aws-sdk/util-endpoints": "3.743.0",
32
- "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.774.0",
34
- "@aws-sdk/xml-builder": "3.734.0",
35
- "@smithy/config-resolver": "^4.0.1",
36
- "@smithy/core": "^3.1.5",
37
- "@smithy/fetch-http-handler": "^5.0.1",
38
- "@smithy/hash-node": "^4.0.1",
39
- "@smithy/invalid-dependency": "^4.0.1",
40
- "@smithy/middleware-content-length": "^4.0.1",
41
- "@smithy/middleware-endpoint": "^4.0.6",
42
- "@smithy/middleware-retry": "^4.0.7",
43
- "@smithy/middleware-serde": "^4.0.2",
44
- "@smithy/middleware-stack": "^4.0.1",
45
- "@smithy/node-config-provider": "^4.0.1",
46
- "@smithy/node-http-handler": "^4.0.3",
47
- "@smithy/protocol-http": "^5.0.1",
48
- "@smithy/smithy-client": "^4.1.6",
49
- "@smithy/types": "^4.1.0",
50
- "@smithy/url-parser": "^4.0.1",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.0",
25
+ "@aws-sdk/middleware-host-header": "3.775.0",
26
+ "@aws-sdk/middleware-logger": "3.775.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.775.0",
29
+ "@aws-sdk/region-config-resolver": "3.775.0",
30
+ "@aws-sdk/types": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.775.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.775.0",
34
+ "@aws-sdk/xml-builder": "3.775.0",
35
+ "@smithy/config-resolver": "^4.1.0",
36
+ "@smithy/core": "^3.2.0",
37
+ "@smithy/fetch-http-handler": "^5.0.2",
38
+ "@smithy/hash-node": "^4.0.2",
39
+ "@smithy/invalid-dependency": "^4.0.2",
40
+ "@smithy/middleware-content-length": "^4.0.2",
41
+ "@smithy/middleware-endpoint": "^4.1.0",
42
+ "@smithy/middleware-retry": "^4.1.0",
43
+ "@smithy/middleware-serde": "^4.0.3",
44
+ "@smithy/middleware-stack": "^4.0.2",
45
+ "@smithy/node-config-provider": "^4.0.2",
46
+ "@smithy/node-http-handler": "^4.0.4",
47
+ "@smithy/protocol-http": "^5.1.0",
48
+ "@smithy/smithy-client": "^4.2.0",
49
+ "@smithy/types": "^4.2.0",
50
+ "@smithy/url-parser": "^4.0.2",
51
51
  "@smithy/util-base64": "^4.0.0",
52
52
  "@smithy/util-body-length-browser": "^4.0.0",
53
53
  "@smithy/util-body-length-node": "^4.0.0",
54
- "@smithy/util-defaults-mode-browser": "^4.0.7",
55
- "@smithy/util-defaults-mode-node": "^4.0.7",
56
- "@smithy/util-endpoints": "^3.0.1",
57
- "@smithy/util-middleware": "^4.0.1",
58
- "@smithy/util-retry": "^4.0.1",
59
- "@smithy/util-stream": "^4.1.2",
54
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
55
+ "@smithy/util-defaults-mode-node": "^4.0.8",
56
+ "@smithy/util-endpoints": "^3.0.2",
57
+ "@smithy/util-middleware": "^4.0.2",
58
+ "@smithy/util-retry": "^4.0.2",
59
+ "@smithy/util-stream": "^4.2.0",
60
60
  "@smithy/util-utf8": "^4.0.0",
61
- "@smithy/util-waiter": "^4.0.2",
61
+ "@smithy/util-waiter": "^4.0.3",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {