🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

@aws-sdk/client-cloudfront

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-cloudfront - npm Package Compare versions

Comparing version

to
3.777.0

@@ -81,2 +81,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -83,0 +84,0 @@ */

@@ -662,2 +662,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -664,0 +665,0 @@ */

@@ -96,2 +96,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -98,0 +99,0 @@ */

@@ -193,2 +193,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -195,0 +196,0 @@ */

@@ -95,2 +95,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -97,0 +98,0 @@ */

@@ -135,2 +135,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -137,0 +138,0 @@ */

@@ -941,2 +941,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -943,0 +944,0 @@ */

@@ -967,2 +967,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -969,0 +970,0 @@ */

@@ -147,2 +147,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -149,0 +150,0 @@ */

@@ -128,2 +128,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -130,0 +131,0 @@ */

@@ -123,3 +123,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To create a function

@@ -129,50 +129,50 @@ * ```javascript

* const input = {
* "FunctionCode": "function-code.js",
* "FunctionConfig": {
* "Comment": "my-function-comment",
* "KeyValueStoreAssociations": {
* "Items": [
* FunctionCode: "function-code.js",
* FunctionConfig: {
* Comment: "my-function-comment",
* KeyValueStoreAssociations: {
* Items: [
* {
* "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* KeyValueStoreARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* }
* ],
* "Quantity": 1
* Quantity: 1
* },
* "Runtime": "cloudfront-js-2.0"
* Runtime: "cloudfront-js-2.0"
* },
* "Name": "my-function-name"
* Name: "my-function-name"
* };
* const command = new CreateFunctionCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "ETag": "ETVPDKIKX0DER",
* "FunctionSummary": {
* "FunctionConfig": {
* "Comment": "my-function-comment",
* "KeyValueStoreAssociations": {
* "Items": [
* ETag: "ETVPDKIKX0DER",
* FunctionSummary: {
* FunctionConfig: {
* Comment: "my-function-comment",
* KeyValueStoreAssociations: {
* Items: [
* {
* "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* KeyValueStoreARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* }
* ],
* "Quantity": 1
* Quantity: 1
* },
* "Runtime": "cloudfront-js-2.0"
* Runtime: "cloudfront-js-2.0"
* },
* "FunctionMetadata": {
* "CreatedTime": "2023-11-07T19:53:50.334Z",
* "FunctionARN": "arn:aws:cloudfront::123456789012:function/my-function-name",
* "LastModifiedTime": "2023-11-07T19:53:50.334Z",
* "Stage": "DEVELOPMENT"
* FunctionMetadata: {
* CreatedTime: "2023-11-07T19:53:50.334Z",
* FunctionARN: "arn:aws:cloudfront::123456789012:function/my-function-name",
* LastModifiedTime: "2023-11-07T19:53:50.334Z",
* Stage: "DEVELOPMENT"
* },
* "Name": "my-function-name",
* "Status": "UNPUBLISHED"
* Name: "my-function-name",
* Status: "UNPUBLISHED"
* },
* "Location": "https://cloudfront.amazonaws.com/2020-05-31/function/arn:aws:cloudfront::123456789012:function/my-function-name"
* Location: "https://cloudfront.amazonaws.com/2020-05-31/function/arn:aws:cloudfront::123456789012:function/my-function-name"
* }
* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -179,0 +179,0 @@ export declare class CreateFunctionCommand extends CreateFunctionCommand_base {

@@ -104,2 +104,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -106,0 +107,0 @@ */

@@ -100,2 +100,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -102,0 +103,0 @@ */

@@ -90,3 +90,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To create a KeyValueStore

@@ -96,28 +96,28 @@ * ```javascript

* const input = {
* "Comment": "my-key-valuestore-comment",
* "ImportSource": {
* "SourceARN": "arn:aws:s3:::amzn-s3-demo-bucket/validJSON.json",
* "SourceType": "S3"
* Comment: "my-key-valuestore-comment",
* ImportSource: {
* SourceARN: "arn:aws:s3:::amzn-s3-demo-bucket/validJSON.json",
* SourceType: "S3"
* },
* "Name": "my-keyvaluestore-name"
* Name: "my-keyvaluestore-name"
* };
* const command = new CreateKeyValueStoreCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "ETag": "ETVPDKIKX0DER",
* "KeyValueStore": {
* "ARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
* "Comment": "my-key-valuestore-comment",
* "Id": "54947df8-0e9e-4471-a2f9-9af509fb5889",
* "LastModifiedTime": "2023-11-07T18:15:52.042Z",
* "Name": "my-keyvaluestore-name",
* "Status": "PROVISIONING"
* ETag: "ETVPDKIKX0DER",
* KeyValueStore: {
* ARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
* Comment: "my-key-valuestore-comment",
* Id: "54947df8-0e9e-4471-a2f9-9af509fb5889",
* LastModifiedTime: "2023-11-07T18:15:52.042Z",
* Name: "my-keyvaluestore-name",
* Status: "PROVISIONING"
* },
* "Location": "https://cloudfront.amazonaws.com/2020-05-31/key-value-store/arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* Location: "https://cloudfront.amazonaws.com/2020-05-31/key-value-store/arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* }
* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -124,0 +124,0 @@ export declare class CreateKeyValueStoreCommand extends CreateKeyValueStoreCommand_base {

@@ -81,2 +81,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -83,0 +84,0 @@ */

@@ -92,2 +92,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -94,0 +95,0 @@ */

@@ -184,2 +184,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -186,0 +187,0 @@ */

@@ -83,2 +83,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -85,0 +86,0 @@ */

@@ -106,2 +106,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -108,0 +109,0 @@ */

@@ -278,2 +278,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -280,0 +281,0 @@ */

@@ -180,2 +180,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -182,0 +183,0 @@ */

@@ -193,2 +193,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -195,0 +196,0 @@ */

@@ -121,3 +121,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To create a VPC origin

@@ -127,14 +127,14 @@ * ```javascript

* const input = {
* "VpcOriginEndpointConfig": {
* "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* "HTTPPort": 80,
* "HTTPSPort": 443,
* "Name": "my-vpcorigin-name",
* "OriginProtocolPolicy": "match-viewer",
* "OriginSslProtocols": {
* "Items": [
* VpcOriginEndpointConfig: {
* Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* HTTPPort: 80,
* HTTPSPort: 443,
* Name: "my-vpcorigin-name",
* OriginProtocolPolicy: "match-viewer",
* OriginSslProtocols: {
* Items: [
* "TLSv1.1",
* "TLSv1.2"
* ],
* "Quantity": 2
* Quantity: 2
* }

@@ -145,24 +145,24 @@ * }

* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "ETag": "E23ZP02F085DFQ",
* "Location": "https://cloudfront.amazonaws.com/2020-05-31/vpc-origin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* "VpcOrigin": {
* "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* "CreatedTime": "2024-10-15T17:19:42.318Z",
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
* "LastModifiedTime": "2024-10-15T17:19:42.318Z",
* "Status": "Deploying",
* "VpcOriginEndpointConfig": {
* "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* "HTTPPort": 80,
* "HTTPSPort": 443,
* "Name": "my-vpcorigin-name",
* "OriginProtocolPolicy": "match-viewer",
* "OriginSslProtocols": {
* "Items": [
* ETag: "E23ZP02F085DFQ",
* Location: "https://cloudfront.amazonaws.com/2020-05-31/vpc-origin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* VpcOrigin: {
* Arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* CreatedTime: "2024-10-15T17:19:42.318Z",
* Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
* LastModifiedTime: "2024-10-15T17:19:42.318Z",
* Status: "Deploying",
* VpcOriginEndpointConfig: {
* Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* HTTPPort: 80,
* HTTPSPort: 443,
* Name: "my-vpcorigin-name",
* OriginProtocolPolicy: "match-viewer",
* OriginSslProtocols: {
* Items: [
* "TLSv1.1",
* "TLSv1.2"
* ],
* "Quantity": 2
* Quantity: 2
* }

@@ -173,5 +173,5 @@ * }

* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -178,0 +178,0 @@ export declare class CreateVpcOriginCommand extends CreateVpcOriginCommand_base {

@@ -81,2 +81,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -83,0 +84,0 @@ */

@@ -82,2 +82,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -84,0 +85,0 @@ */

@@ -72,2 +72,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -74,0 +75,0 @@ */

@@ -79,2 +79,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -81,0 +82,0 @@ */

@@ -73,2 +73,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -75,0 +76,0 @@ */

@@ -72,2 +72,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -74,0 +75,0 @@ */

@@ -72,2 +72,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -74,0 +75,0 @@ */

@@ -79,2 +79,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -81,0 +82,0 @@ */

@@ -75,2 +75,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -77,0 +78,0 @@ */

@@ -75,3 +75,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To delete a KeyValueStore

@@ -81,10 +81,13 @@ * ```javascript

* const input = {
* "IfMatch": "ETVPDKIKX0DER",
* "Name": "my-keyvaluestore-name"
* IfMatch: "ETVPDKIKX0DER",
* Name: "my-keyvaluestore-name"
* };
* const command = new DeleteKeyValueStoreCommand(input);
* await client.send(command);
* // example id: example-1
* const response = await client.send(command);
* /* response is
* { /* metadata only *\/ }
* *\/
* ```
*
* @public
*/

@@ -91,0 +94,0 @@ export declare class DeleteKeyValueStoreCommand extends DeleteKeyValueStoreCommand_base {

@@ -67,2 +67,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -69,0 +70,0 @@ */

@@ -76,2 +76,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -78,0 +79,0 @@ */

@@ -82,2 +82,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -84,0 +85,0 @@ */

@@ -72,2 +72,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -74,0 +75,0 @@ */

@@ -75,2 +75,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -77,0 +78,0 @@ */

@@ -82,2 +82,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -84,0 +85,0 @@ */

@@ -121,2 +121,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -123,0 +124,0 @@ */

@@ -103,3 +103,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To delete a VPC origin

@@ -109,28 +109,28 @@ * ```javascript

* const input = {
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
* "IfMatch": "E1F83G8C2ARO7P"
* Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
* IfMatch: "E1F83G8C2ARO7P"
* };
* const command = new DeleteVpcOriginCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "ETag": "E1PA6795UKMFR9",
* "VpcOrigin": {
* "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* "CreatedTime": "2024-10-15T17:19:42.318Z",
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
* "LastModifiedTime": "2024-10-15T17:57:08.965Z",
* "Status": "Deploying",
* "VpcOriginEndpointConfig": {
* "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* "HTTPPort": 80,
* "HTTPSPort": 443,
* "Name": "my-vpcorigin-name",
* "OriginProtocolPolicy": "match-viewer",
* "OriginSslProtocols": {
* "Items": [
* ETag: "E1PA6795UKMFR9",
* VpcOrigin: {
* Arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* CreatedTime: "2024-10-15T17:19:42.318Z",
* Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
* LastModifiedTime: "2024-10-15T17:57:08.965Z",
* Status: "Deploying",
* VpcOriginEndpointConfig: {
* Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* HTTPPort: 80,
* HTTPSPort: 443,
* Name: "my-vpcorigin-name",
* OriginProtocolPolicy: "match-viewer",
* OriginSslProtocols: {
* Items: [
* "TLSv1.1",
* "TLSv1.2"
* ],
* "Quantity": 2
* Quantity: 2
* }

@@ -141,5 +141,5 @@ * }

* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -146,0 +146,0 @@ export declare class DeleteVpcOriginCommand extends DeleteVpcOriginCommand_base {

@@ -90,2 +90,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -92,0 +93,0 @@ */

@@ -77,3 +77,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To describe a KeyValueStore

@@ -83,22 +83,22 @@ * ```javascript

* const input = {
* "Name": "my-keyvaluestore-name"
* Name: "my-keyvaluestore-name"
* };
* const command = new DescribeKeyValueStoreCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "ETag": "ETVPDKIKX0DER",
* "KeyValueStore": {
* "ARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
* "Comment": "my-key-valuestore-comment",
* "Id": "54947df8-0e9e-4471-a2f9-9af509fb5889",
* "LastModifiedTime": "2023-11-07T18:20:33.056Z",
* "Name": "my-keyvaluestore-name",
* "Status": "READY"
* ETag: "ETVPDKIKX0DER",
* KeyValueStore: {
* ARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
* Comment: "my-key-valuestore-comment",
* Id: "54947df8-0e9e-4471-a2f9-9af509fb5889",
* LastModifiedTime: "2023-11-07T18:20:33.056Z",
* Name: "my-keyvaluestore-name",
* Status: "READY"
* }
* }
* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -105,0 +105,0 @@ export declare class DescribeKeyValueStoreCommand extends DescribeKeyValueStoreCommand_base {

@@ -80,2 +80,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -82,0 +83,0 @@ */

@@ -118,2 +118,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -120,0 +121,0 @@ */

@@ -106,2 +106,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -108,0 +109,0 @@ */

@@ -71,2 +71,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -73,0 +74,0 @@ */

@@ -67,2 +67,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -69,0 +70,0 @@ */

@@ -91,2 +91,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -93,0 +94,0 @@ */

@@ -86,2 +86,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -88,0 +89,0 @@ */

@@ -407,2 +407,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -409,0 +410,0 @@ */

@@ -363,2 +363,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -365,0 +366,0 @@ */

@@ -96,2 +96,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -98,0 +99,0 @@ */

@@ -92,2 +92,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -94,0 +95,0 @@ */

@@ -87,2 +87,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -89,0 +90,0 @@ */

@@ -83,2 +83,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -85,0 +86,0 @@ */

@@ -76,2 +76,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -78,0 +79,0 @@ */

@@ -80,2 +80,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -82,0 +83,0 @@ */

@@ -77,2 +77,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -79,0 +80,0 @@ */

@@ -72,2 +72,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -74,0 +75,0 @@ */

@@ -74,2 +74,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -76,0 +77,0 @@ */

@@ -73,2 +73,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -75,0 +76,0 @@ */

@@ -70,2 +70,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -72,0 +73,0 @@ */

@@ -112,2 +112,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -114,0 +115,0 @@ */

@@ -100,2 +100,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -102,0 +103,0 @@ */

@@ -73,2 +73,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -75,0 +76,0 @@ */

@@ -69,2 +69,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -71,0 +72,0 @@ */

@@ -86,2 +86,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -88,0 +89,0 @@ */

@@ -158,2 +158,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -160,0 +161,0 @@ */

@@ -153,2 +153,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -155,0 +156,0 @@ */

@@ -114,2 +114,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -116,0 +117,0 @@ */

@@ -91,2 +91,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -93,0 +94,0 @@ */

@@ -89,3 +89,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To get a VPC origin

@@ -95,27 +95,27 @@ * ```javascript

* const input = {
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM"
* Id: "vo_BQwjxxQxjCaBcQLzJUFkDM"
* };
* const command = new GetVpcOriginCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "ETag": "ETVPDKIKX0DER",
* "VpcOrigin": {
* "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* "CreatedTime": "2024-10-15T17:19:42.318Z",
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
* "LastModifiedTime": "2024-10-15T17:24:35.188Z",
* "Status": "Deployed",
* "VpcOriginEndpointConfig": {
* "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* "HTTPPort": 80,
* "HTTPSPort": 443,
* "Name": "my-vpcorigin-name",
* "OriginProtocolPolicy": "match-viewer",
* "OriginSslProtocols": {
* "Items": [
* ETag: "ETVPDKIKX0DER",
* VpcOrigin: {
* Arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* CreatedTime: "2024-10-15T17:19:42.318Z",
* Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
* LastModifiedTime: "2024-10-15T17:24:35.188Z",
* Status: "Deployed",
* VpcOriginEndpointConfig: {
* Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* HTTPPort: 80,
* HTTPSPort: 443,
* Name: "my-vpcorigin-name",
* OriginProtocolPolicy: "match-viewer",
* OriginSslProtocols: {
* Items: [
* "TLSv1.1",
* "TLSv1.2"
* ],
* "Quantity": 2
* Quantity: 2
* }

@@ -126,5 +126,5 @@ * }

* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -131,0 +131,0 @@ export declare class GetVpcOriginCommand extends GetVpcOriginCommand_base {

@@ -86,2 +86,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -88,0 +89,0 @@ */

@@ -126,2 +126,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -128,0 +129,0 @@ */

@@ -74,2 +74,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -76,0 +77,0 @@ */

@@ -99,2 +99,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -101,0 +102,0 @@ */

@@ -107,2 +107,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -109,0 +110,0 @@ */

@@ -381,2 +381,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -383,0 +384,0 @@ */

@@ -83,2 +83,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -85,0 +86,0 @@ */

@@ -80,2 +80,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -82,0 +83,0 @@ */

@@ -83,2 +83,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -85,0 +86,0 @@ */

@@ -382,2 +382,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -384,0 +385,0 @@ */

@@ -83,2 +83,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -85,0 +86,0 @@ */

@@ -80,3 +80,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To list distributions by VPC origin ID

@@ -86,20 +86,20 @@ * ```javascript

* const input = {
* "VpcOriginId": "vo_BQwjxxQxjCaBcQLzJUFkDM"
* VpcOriginId: "vo_BQwjxxQxjCaBcQLzJUFkDM"
* };
* const command = new ListDistributionsByVpcOriginIdCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "DistributionIdList": {
* "IsTruncated": false,
* "Items": [],
* "Marker": "a",
* "MaxItems": 100,
* "Quantity": 0
* DistributionIdList: {
* IsTruncated: false,
* Items: [],
* Marker: "a",
* MaxItems: 100,
* Quantity: 0
* }
* }
* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -106,0 +106,0 @@ export declare class ListDistributionsByVpcOriginIdCommand extends ListDistributionsByVpcOriginIdCommand_base {

@@ -379,2 +379,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -381,0 +382,0 @@ */

@@ -371,2 +371,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -373,0 +374,0 @@ */

@@ -98,2 +98,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -100,0 +101,0 @@ */

@@ -89,2 +89,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -91,0 +92,0 @@ */

@@ -100,2 +100,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -102,0 +103,0 @@ */

@@ -81,2 +81,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -83,0 +84,0 @@ */

@@ -85,2 +85,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -87,0 +88,0 @@ */

@@ -82,3 +82,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To get a list of KeyValueStores

@@ -88,28 +88,28 @@ * ```javascript

* const input = {
* "Status": "READY"
* Status: "READY"
* };
* const command = new ListKeyValueStoresCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "KeyValueStoreList": {
* "Items": [
* KeyValueStoreList: {
* Items: [
* {
* "ARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
* "Comment": "",
* "Id": "54947df8-0e9e-4471-a2f9-9af509fb5889",
* "LastModifiedTime": "2023-11-07T18:45:21.069Z",
* "Name": "my-keyvaluestore-name",
* "Status": "READY"
* ARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
* Comment: "",
* Id: "54947df8-0e9e-4471-a2f9-9af509fb5889",
* LastModifiedTime: "2023-11-07T18:45:21.069Z",
* Name: "my-keyvaluestore-name",
* Status: "READY"
* }
* ],
* "MaxItems": 100,
* "NextMarker": "",
* "Quantity": 1
* MaxItems: 100,
* NextMarker: "",
* Quantity: 1
* }
* }
* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -116,0 +116,0 @@ export declare class ListKeyValueStoresCommand extends ListKeyValueStoresCommand_base {

@@ -87,2 +87,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -89,0 +90,0 @@ */

@@ -119,2 +119,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -121,0 +122,0 @@ */

@@ -74,2 +74,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -76,0 +77,0 @@ */

@@ -96,2 +96,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -98,0 +99,0 @@ */

@@ -172,2 +172,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -174,0 +175,0 @@ */

@@ -96,2 +96,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -98,0 +99,0 @@ */

@@ -76,2 +76,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -78,0 +79,0 @@ */

@@ -87,33 +87,33 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To list VPC origins
* ```javascript
* // The following command lists VPC origins:
* const input = {};
* const input = { /* empty *\/ };
* const command = new ListVpcOriginsCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "VpcOriginList": {
* "IsTruncated": true,
* "Items": [
* VpcOriginList: {
* IsTruncated: true,
* Items: [
* {
* "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* "CreatedTime": "2024-10-15T17:19:42.318Z",
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
* "LastModifiedTime": "2024-10-15T17:24:35.188Z",
* "Name": "my-vpcorigin-name",
* "OriginEndpointArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* "Status": "Deployed"
* Arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* CreatedTime: "2024-10-15T17:19:42.318Z",
* Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
* LastModifiedTime: "2024-10-15T17:24:35.188Z",
* Name: "my-vpcorigin-name",
* OriginEndpointArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* Status: "Deployed"
* }
* ],
* "Marker": "a",
* "MaxItems": 100,
* "Quantity": 1
* Marker: "a",
* MaxItems: 100,
* Quantity: 1
* }
* }
* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -120,0 +120,0 @@ export declare class ListVpcOriginsCommand extends ListVpcOriginsCommand_base {

@@ -104,2 +104,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -106,0 +107,0 @@ */

@@ -75,2 +75,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -77,0 +78,0 @@ */

@@ -113,2 +113,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -115,0 +116,0 @@ */

@@ -72,2 +72,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -74,0 +75,0 @@ */

@@ -197,2 +197,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -199,0 +200,0 @@ */

@@ -97,2 +97,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -99,0 +100,0 @@ */

@@ -152,2 +152,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -154,0 +155,0 @@ */

@@ -976,2 +976,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -978,0 +979,0 @@ */

@@ -648,2 +648,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -650,0 +651,0 @@ */

@@ -157,2 +157,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -159,0 +160,0 @@ */

@@ -142,2 +142,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -144,0 +145,0 @@ */

@@ -118,3 +118,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To update a function

@@ -124,50 +124,50 @@ * ```javascript

* const input = {
* "FunctionCode": "function-code-changed.js",
* "FunctionConfig": {
* "Comment": "my-changed-comment",
* "KeyValueStoreAssociations": {
* "Items": [
* FunctionCode: "function-code-changed.js",
* FunctionConfig: {
* Comment: "my-changed-comment",
* KeyValueStoreAssociations: {
* Items: [
* {
* "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* KeyValueStoreARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* }
* ],
* "Quantity": 1
* Quantity: 1
* },
* "Runtime": "cloudfront-js-2.0"
* Runtime: "cloudfront-js-2.0"
* },
* "IfMatch": "ETVPDKIKX0DER",
* "Name": "my-function-name"
* IfMatch: "ETVPDKIKX0DER",
* Name: "my-function-name"
* };
* const command = new UpdateFunctionCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "ETag": "E3UN6WX5RRO2AG",
* "FunctionSummary": {
* "FunctionConfig": {
* "Comment": "my-changed-comment",
* "KeyValueStoreAssociations": {
* "Items": [
* ETag: "E3UN6WX5RRO2AG",
* FunctionSummary: {
* FunctionConfig: {
* Comment: "my-changed-comment",
* KeyValueStoreAssociations: {
* Items: [
* {
* "KeyValueStoreARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* KeyValueStoreARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889"
* }
* ],
* "Quantity": 1
* Quantity: 1
* },
* "Runtime": "cloudfront-js-2.0"
* Runtime: "cloudfront-js-2.0"
* },
* "FunctionMetadata": {
* "CreatedTime": "2023-11-07T19:53:50.334Z",
* "FunctionARN": "arn:aws:cloudfront::123456789012:function/my-function-name",
* "LastModifiedTime": "2023-11-07T20:01:37.174Z",
* "Stage": "DEVELOPMENT"
* FunctionMetadata: {
* CreatedTime: "2023-11-07T19:53:50.334Z",
* FunctionARN: "arn:aws:cloudfront::123456789012:function/my-function-name",
* LastModifiedTime: "2023-11-07T20:01:37.174Z",
* Stage: "DEVELOPMENT"
* },
* "Name": "my-function-name",
* "Status": "UNPUBLISHED"
* Name: "my-function-name",
* Status: "UNPUBLISHED"
* }
* }
* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -174,0 +174,0 @@ export declare class UpdateFunctionCommand extends UpdateFunctionCommand_base {

@@ -115,2 +115,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -117,0 +118,0 @@ */

@@ -86,3 +86,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To update a KeyValueStore

@@ -92,24 +92,24 @@ * ```javascript

* const input = {
* "Comment": "my-changed-comment",
* "IfMatch": "ETVPDKIKX0DER",
* "Name": "my-keyvaluestore-name"
* Comment: "my-changed-comment",
* IfMatch: "ETVPDKIKX0DER",
* Name: "my-keyvaluestore-name"
* };
* const command = new UpdateKeyValueStoreCommand(input);
* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "ETag": "E3UN6WX5RRO2AG",
* "KeyValueStore": {
* "ARN": "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
* "Comment": "my-changed-comment",
* "Id": "54947df8-0e9e-4471-a2f9-9af509fb5889",
* "LastModifiedTime": "2023-11-07T18:45:21.069Z",
* "Name": "my-keyvaluestore-name",
* "Status": "READY"
* ETag: "E3UN6WX5RRO2AG",
* KeyValueStore: {
* ARN: "arn:aws:cloudfront::123456789012:key-value-store/54947df8-0e9e-4471-a2f9-9af509fb5889",
* Comment: "my-changed-comment",
* Id: "54947df8-0e9e-4471-a2f9-9af509fb5889",
* LastModifiedTime: "2023-11-07T18:45:21.069Z",
* Name: "my-keyvaluestore-name",
* Status: "READY"
* }
* }
* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -116,0 +116,0 @@ export declare class UpdateKeyValueStoreCommand extends UpdateKeyValueStoreCommand_base {

@@ -97,2 +97,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -99,0 +100,0 @@ */

@@ -185,2 +185,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -187,0 +188,0 @@ */

@@ -97,2 +97,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -99,0 +100,0 @@ */

@@ -116,2 +116,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -118,0 +119,0 @@ */

@@ -294,2 +294,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -296,0 +297,0 @@ */

@@ -181,2 +181,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
*
* @public

@@ -183,0 +184,0 @@ */

@@ -127,3 +127,3 @@ import { Command as $Command } from "@smithy/smithy-client";

*
* @public
*
* @example To update a VPC origin

@@ -133,16 +133,16 @@ * ```javascript

* const input = {
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
* "IfMatch": "ETVPDKIKX0DER",
* "VpcOriginEndpointConfig": {
* "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* "HTTPPort": 80,
* "HTTPSPort": 443,
* "Name": "my-vpcorigin-name",
* "OriginProtocolPolicy": "match-viewer",
* "OriginSslProtocols": {
* "Items": [
* Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
* IfMatch: "ETVPDKIKX0DER",
* VpcOriginEndpointConfig: {
* Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* HTTPPort: 80,
* HTTPSPort: 443,
* Name: "my-vpcorigin-name",
* OriginProtocolPolicy: "match-viewer",
* OriginSslProtocols: {
* Items: [
* "TLSv1.1",
* "TLSv1.2"
* ],
* "Quantity": 2
* Quantity: 2
* }

@@ -153,23 +153,23 @@ * }

* const response = await client.send(command);
* /* response ==
* /* response is
* {
* "ETag": "E3UN6WX5RRO2AG",
* "VpcOrigin": {
* "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* "CreatedTime": "2024-10-15T17:19:42.318Z",
* "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM",
* "LastModifiedTime": "2024-10-15T17:47:08.133Z",
* "Status": "Deploying",
* "VpcOriginEndpointConfig": {
* "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* "HTTPPort": 80,
* "HTTPSPort": 443,
* "Name": "my-vpcorigin-name",
* "OriginProtocolPolicy": "match-viewer",
* "OriginSslProtocols": {
* "Items": [
* ETag: "E3UN6WX5RRO2AG",
* VpcOrigin: {
* Arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM",
* CreatedTime: "2024-10-15T17:19:42.318Z",
* Id: "vo_BQwjxxQxjCaBcQLzJUFkDM",
* LastModifiedTime: "2024-10-15T17:47:08.133Z",
* Status: "Deploying",
* VpcOriginEndpointConfig: {
* Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d",
* HTTPPort: 80,
* HTTPSPort: 443,
* Name: "my-vpcorigin-name",
* OriginProtocolPolicy: "match-viewer",
* OriginSslProtocols: {
* Items: [
* "TLSv1.1",
* "TLSv1.2"
* ],
* "Quantity": 2
* Quantity: 2
* }

@@ -180,5 +180,5 @@ * }

* *\/
* // example id: example-1
* ```
*
* @public
*/

@@ -185,0 +185,0 @@ export declare class UpdateVpcOriginCommand extends UpdateVpcOriginCommand_base {

{
"name": "@aws-sdk/client-cloudfront",
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
"version": "3.775.0",
"version": "3.777.0",
"scripts": {

@@ -24,3 +24,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-sdk/core": "3.775.0",
"@aws-sdk/credential-provider-node": "3.775.0",
"@aws-sdk/credential-provider-node": "3.777.0",
"@aws-sdk/middleware-host-header": "3.775.0",

@@ -27,0 +27,0 @@ "@aws-sdk/middleware-logger": "3.775.0",