@aws-sdk/client-cloudfront 3.690.0 → 3.692.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.
@@ -170,58 +170,6 @@ declare const CreateFunctionCommand_base: {
170
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: to-create-a-function-1699737558249
174
- * ```
175
- *
176
- * @example To create a function
177
- * ```javascript
178
- * // Use the following command to create a function.
179
- * const input = {
180
- * "FunctionCode": "function-code.js",
181
- * "FunctionConfig": {
182
- * "Comment": "my-function-comment",
183
- * "KeyValueStoreAssociations": {
184
- * "Items": [
185
- * {
186
- * "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
187
- * }
188
- * ],
189
- * "Quantity": 1
190
- * },
191
- * "Runtime": "cloudfront-js-2.0"
192
- * },
193
- * "Name": "my-function-name"
194
- * };
195
- * const command = new CreateFunctionCommand(input);
196
- * const response = await client.send(command);
197
- * /* response ==
198
- * {
199
- * "ETag": "ETVPDKIKX0DER",
200
- * "FunctionSummary": {
201
- * "FunctionConfig": {
202
- * "Comment": "my-function-comment",
203
- * "KeyValueStoreAssociations": {
204
- * "Items": [
205
- * {
206
- * "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
207
- * }
208
- * ],
209
- * "Quantity": 1
210
- * },
211
- * "Runtime": "cloudfront-js-2.0"
212
- * },
213
- * "FunctionMetadata": {
214
- * "CreatedTime": "2023-11-07T19:53:50.334Z",
215
- * "FunctionARN": "arn:aws:cloudfront::123456789012:function/my-function-name",
216
- * "LastModifiedTime": "2023-11-07T19:53:50.334Z",
217
- * "Stage": "DEVELOPMENT"
218
- * },
219
- * "Name": "my-function-name",
220
- * "Status": "UNPUBLISHED"
221
- * },
222
- * "Location": "https://cloudfront.amazonaws.com/2020-05-31/function/arn:aws:cloudfront::123456789012:function/my-function-name"
223
- * }
224
- * *\/
225
173
  * // example id: example-1
226
174
  * ```
227
175
  *
@@ -115,36 +115,6 @@ declare const CreateKeyValueStoreCommand_base: {
115
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: to-create-a-key-value-store-1699751722467
119
- * ```
120
- *
121
- * @example To create a KeyValueStore
122
- * ```javascript
123
- * // Use the following command to create a KeyValueStore.
124
- * const input = {
125
- * "Comment": "my-key-valuestore-comment",
126
- * "ImportSource": {
127
- * "SourceARN": "arn:aws:s3:::my-bucket/validJSON.json",
128
- * "SourceType": "S3"
129
- * },
130
- * "Name": "my-keyvaluestore-name"
131
- * };
132
- * const command = new CreateKeyValueStoreCommand(input);
133
- * const response = await client.send(command);
134
- * /* response ==
135
- * {
136
- * "ETag": "ETVPDKIKX0DER",
137
- * "KeyValueStore": {
138
- * "ARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
139
- * "Comment": "my-key-valuestore-comment",
140
- * "Id": "54947df8-0e9e-4471-a2f9-9af509fb5889",
141
- * "LastModifiedTime": "2023-11-07T18:15:52.042Z",
142
- * "Name": "my-keyvaluestore-name",
143
- * "Status": "PROVISIONING"
144
- * },
145
- * "Location": "https://cloudfront.amazonaws.com/2020-05-31/key-value-store/arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
146
- * }
147
- * *\/
148
118
  * // example id: example-1
149
119
  * ```
150
120
  *
@@ -82,18 +82,6 @@ declare const DeleteKeyValueStoreCommand_base: {
82
82
  * };
83
83
  * const command = new DeleteKeyValueStoreCommand(input);
84
84
  * await client.send(command);
85
- * // example id: to-delete-a-key-value-store-1699751759648
86
- * ```
87
- *
88
- * @example To delete a KeyValueStore
89
- * ```javascript
90
- * // Use the following command to delete a KeyValueStore.
91
- * const input = {
92
- * "IfMatch": "ETVPDKIKX0DER",
93
- * "Name": "my-keyvaluestore-name"
94
- * };
95
- * const command = new DeleteKeyValueStoreCommand(input);
96
- * await client.send(command);
97
85
  * // example id: example-1
98
86
  * ```
99
87
  *
@@ -96,30 +96,6 @@ declare const DescribeKeyValueStoreCommand_base: {
96
96
  * }
97
97
  * }
98
98
  * *\/
99
- * // example id: to-describe-a-key-value-store-1699751788152
100
- * ```
101
- *
102
- * @example To describe a KeyValueStore
103
- * ```javascript
104
- * // Use the following command to describe a KeyValueStore.
105
- * const input = {
106
- * "Name": "my-keyvaluestore-name"
107
- * };
108
- * const command = new DescribeKeyValueStoreCommand(input);
109
- * const response = await client.send(command);
110
- * /* response ==
111
- * {
112
- * "ETag": "ETVPDKIKX0DER",
113
- * "KeyValueStore": {
114
- * "ARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
115
- * "Comment": "my-key-valuestore-comment",
116
- * "Id": "54947df8-0e9e-4471-a2f9-9af509fb5889",
117
- * "LastModifiedTime": "2023-11-07T18:20:33.056Z",
118
- * "Name": "my-keyvaluestore-name",
119
- * "Status": "READY"
120
- * }
121
- * }
122
- * *\/
123
99
  * // example id: example-1
124
100
  * ```
125
101
  *
@@ -84,38 +84,6 @@ declare const ListKeyValueStoresCommand_base: {
84
84
  * ```javascript
85
85
  * // The following command retrieves a list of KeyValueStores with READY status.
86
86
  * const input = {
87
- * "Marker": "",
88
- * "MaxItems": "100",
89
- * "Status": "READY"
90
- * };
91
- * const command = new ListKeyValueStoresCommand(input);
92
- * const response = await client.send(command);
93
- * /* response ==
94
- * {
95
- * "KeyValueStoreList": {
96
- * "Items": [
97
- * {
98
- * "ARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
99
- * "Comment": "",
100
- * "Id": "54947df8-0e9e-4471-a2f9-9af509fb5889",
101
- * "LastModifiedTime": "2023-11-07T18:45:21.069Z",
102
- * "Name": "my-keyvaluestore-name",
103
- * "Status": "READY"
104
- * }
105
- * ],
106
- * "MaxItems": 100,
107
- * "NextMarker": "",
108
- * "Quantity": 1
109
- * }
110
- * }
111
- * *\/
112
- * // example id: to-get-a-list-of-key-value-store-1699751799198
113
- * ```
114
- *
115
- * @example To get a list of KeyValueStores
116
- * ```javascript
117
- * // The following command retrieves a list of KeyValueStores with READY status.
118
- * const input = {
119
87
  * "Status": "READY"
120
88
  * };
121
89
  * const command = new ListKeyValueStoresCommand(input);
@@ -165,58 +165,6 @@ declare const UpdateFunctionCommand_base: {
165
165
  * }
166
166
  * }
167
167
  * *\/
168
- * // example id: to-update-a-function-1699751865053
169
- * ```
170
- *
171
- * @example To update a function
172
- * ```javascript
173
- * // Use the following command to update a function.
174
- * const input = {
175
- * "FunctionCode": "function-code-changed.js",
176
- * "FunctionConfig": {
177
- * "Comment": "my-changed-comment",
178
- * "KeyValueStoreAssociations": {
179
- * "Items": [
180
- * {
181
- * "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
182
- * }
183
- * ],
184
- * "Quantity": 1
185
- * },
186
- * "Runtime": "cloudfront-js-2.0"
187
- * },
188
- * "IfMatch": "ETVPDKIKX0DER",
189
- * "Name": "my-function-name"
190
- * };
191
- * const command = new UpdateFunctionCommand(input);
192
- * const response = await client.send(command);
193
- * /* response ==
194
- * {
195
- * "ETag": "E3UN6WX5RRO2AG",
196
- * "FunctionSummary": {
197
- * "FunctionConfig": {
198
- * "Comment": "my-changed-comment",
199
- * "KeyValueStoreAssociations": {
200
- * "Items": [
201
- * {
202
- * "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
203
- * }
204
- * ],
205
- * "Quantity": 1
206
- * },
207
- * "Runtime": "cloudfront-js-2.0"
208
- * },
209
- * "FunctionMetadata": {
210
- * "CreatedTime": "2023-11-07T19:53:50.334Z",
211
- * "FunctionARN": "arn:aws:cloudfront::123456789012:function/my-function-name",
212
- * "LastModifiedTime": "2023-11-07T20:01:37.174Z",
213
- * "Stage": "DEVELOPMENT"
214
- * },
215
- * "Name": "my-function-name",
216
- * "Status": "UNPUBLISHED"
217
- * }
218
- * }
219
- * *\/
220
168
  * // example id: example-1
221
169
  * ```
222
170
  *
@@ -107,32 +107,6 @@ declare const UpdateKeyValueStoreCommand_base: {
107
107
  * }
108
108
  * }
109
109
  * *\/
110
- * // example id: to-update-a-key-value-store-1699751822090
111
- * ```
112
- *
113
- * @example To update a KeyValueStore
114
- * ```javascript
115
- * // Use the following command to update a KeyValueStore.
116
- * const input = {
117
- * "Comment": "my-changed-comment",
118
- * "IfMatch": "ETVPDKIKX0DER",
119
- * "Name": "my-keyvaluestore-name"
120
- * };
121
- * const command = new UpdateKeyValueStoreCommand(input);
122
- * const response = await client.send(command);
123
- * /* response ==
124
- * {
125
- * "ETag": "E3UN6WX5RRO2AG",
126
- * "KeyValueStore": {
127
- * "ARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
128
- * "Comment": "my-changed-comment",
129
- * "Id": "54947df8-0e9e-4471-a2f9-9af509fb5889",
130
- * "LastModifiedTime": "2023-11-07T18:45:21.069Z",
131
- * "Name": "my-keyvaluestore-name",
132
- * "Status": "READY"
133
- * }
134
- * }
135
- * *\/
136
110
  * // example id: example-1
137
111
  * ```
138
112
  *