@aws-sdk/client-cloudfront 3.454.0 → 3.456.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.
- package/README.md +40 -0
- package/dist-cjs/CloudFront.js +10 -0
- package/dist-cjs/commands/CreateKeyValueStoreCommand.js +51 -0
- package/dist-cjs/commands/DeleteKeyValueStoreCommand.js +51 -0
- package/dist-cjs/commands/DescribeKeyValueStoreCommand.js +51 -0
- package/dist-cjs/commands/ListKeyValueStoresCommand.js +51 -0
- package/dist-cjs/commands/UpdateKeyValueStoreCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +63 -18
- package/dist-cjs/models/models_1.js +29 -1
- package/dist-cjs/pagination/ListKeyValueStoresPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restXml.js +514 -5
- package/dist-es/CloudFront.js +10 -0
- package/dist-es/commands/CreateKeyValueStoreCommand.js +47 -0
- package/dist-es/commands/DeleteKeyValueStoreCommand.js +47 -0
- package/dist-es/commands/DescribeKeyValueStoreCommand.js +47 -0
- package/dist-es/commands/ListKeyValueStoresCommand.js +47 -0
- package/dist-es/commands/UpdateKeyValueStoreCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +55 -14
- package/dist-es/models/models_1.js +27 -0
- package/dist-es/pagination/ListKeyValueStoresPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restXml.js +501 -2
- package/dist-types/CloudFront.d.ts +35 -0
- package/dist-types/CloudFrontClient.d.ts +7 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +16 -0
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +103 -0
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +1 -2
- package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +88 -0
- package/dist-types/commands/DescribeFunctionCommand.d.ts +8 -0
- package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +90 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +8 -0
- package/dist-types/commands/ListKeyValueStoresCommand.d.ts +95 -0
- package/dist-types/commands/PublishFunctionCommand.d.ts +8 -0
- package/dist-types/commands/TestFunctionCommand.d.ts +8 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +16 -0
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +198 -380
- package/dist-types/models/models_1.d.ts +518 -3
- package/dist-types/pagination/ListKeyValueStoresPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restXml.d.ts +45 -0
- package/dist-types/ts3.4/CloudFront.d.ts +85 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateKeyValueStoreCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteKeyValueStoreCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListKeyValueStoresCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateKeyValueStoreCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -67
- package/dist-types/ts3.4/models/models_1.d.ts +113 -2
- package/dist-types/ts3.4/pagination/ListKeyValueStoresPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
- package/package.json +1 -1
|
@@ -52,6 +52,14 @@ export interface PublishFunctionCommandOutput extends PublishFunctionResult, __M
|
|
|
52
52
|
* // FunctionConfig: { // FunctionConfig
|
|
53
53
|
* // Comment: "STRING_VALUE", // required
|
|
54
54
|
* // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
|
|
55
|
+
* // KeyValueStoreAssociations: { // KeyValueStoreAssociations
|
|
56
|
+
* // Quantity: Number("int"), // required
|
|
57
|
+
* // Items: [ // KeyValueStoreAssociationList
|
|
58
|
+
* // { // KeyValueStoreAssociation
|
|
59
|
+
* // KeyValueStoreARN: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
55
63
|
* // },
|
|
56
64
|
* // FunctionMetadata: { // FunctionMetadata
|
|
57
65
|
* // FunctionARN: "STRING_VALUE", // required
|
|
@@ -55,6 +55,14 @@ export interface TestFunctionCommandOutput extends TestFunctionResult, __Metadat
|
|
|
55
55
|
* // FunctionConfig: { // FunctionConfig
|
|
56
56
|
* // Comment: "STRING_VALUE", // required
|
|
57
57
|
* // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
|
|
58
|
+
* // KeyValueStoreAssociations: { // KeyValueStoreAssociations
|
|
59
|
+
* // Quantity: Number("int"), // required
|
|
60
|
+
* // Items: [ // KeyValueStoreAssociationList
|
|
61
|
+
* // { // KeyValueStoreAssociation
|
|
62
|
+
* // KeyValueStoreARN: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
58
66
|
* // },
|
|
59
67
|
* // FunctionMetadata: { // FunctionMetadata
|
|
60
68
|
* // FunctionARN: "STRING_VALUE", // required
|
|
@@ -41,6 +41,14 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResult, __Met
|
|
|
41
41
|
* FunctionConfig: { // FunctionConfig
|
|
42
42
|
* Comment: "STRING_VALUE", // required
|
|
43
43
|
* Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
|
|
44
|
+
* KeyValueStoreAssociations: { // KeyValueStoreAssociations
|
|
45
|
+
* Quantity: Number("int"), // required
|
|
46
|
+
* Items: [ // KeyValueStoreAssociationList
|
|
47
|
+
* { // KeyValueStoreAssociation
|
|
48
|
+
* KeyValueStoreARN: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
44
52
|
* },
|
|
45
53
|
* FunctionCode: "BLOB_VALUE", // required
|
|
46
54
|
* };
|
|
@@ -53,6 +61,14 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResult, __Met
|
|
|
53
61
|
* // FunctionConfig: { // FunctionConfig
|
|
54
62
|
* // Comment: "STRING_VALUE", // required
|
|
55
63
|
* // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
|
|
64
|
+
* // KeyValueStoreAssociations: { // KeyValueStoreAssociations
|
|
65
|
+
* // Quantity: Number("int"), // required
|
|
66
|
+
* // Items: [ // KeyValueStoreAssociationList
|
|
67
|
+
* // { // KeyValueStoreAssociation
|
|
68
|
+
* // KeyValueStoreARN: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
56
72
|
* // },
|
|
57
73
|
* // FunctionMetadata: { // FunctionMetadata
|
|
58
74
|
* // FunctionARN: "STRING_VALUE", // required
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
|
|
5
|
+
import { UpdateKeyValueStoreRequest, UpdateKeyValueStoreResult } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateKeyValueStoreCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateKeyValueStoreCommandInput extends UpdateKeyValueStoreRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateKeyValueStoreCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateKeyValueStoreCommandOutput extends UpdateKeyValueStoreResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Specifies the Key Value Store to update.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CloudFrontClient, UpdateKeyValueStoreCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
31
|
+
* // const { CloudFrontClient, UpdateKeyValueStoreCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
32
|
+
* const client = new CloudFrontClient(config);
|
|
33
|
+
* const input = { // UpdateKeyValueStoreRequest
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* Comment: "STRING_VALUE", // required
|
|
36
|
+
* IfMatch: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new UpdateKeyValueStoreCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // UpdateKeyValueStoreResult
|
|
41
|
+
* // KeyValueStore: { // KeyValueStore
|
|
42
|
+
* // Name: "STRING_VALUE", // required
|
|
43
|
+
* // Id: "STRING_VALUE", // required
|
|
44
|
+
* // Comment: "STRING_VALUE", // required
|
|
45
|
+
* // ARN: "STRING_VALUE", // required
|
|
46
|
+
* // Status: "STRING_VALUE",
|
|
47
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // },
|
|
49
|
+
* // ETag: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param UpdateKeyValueStoreCommandInput - {@link UpdateKeyValueStoreCommandInput}
|
|
55
|
+
* @returns {@link UpdateKeyValueStoreCommandOutput}
|
|
56
|
+
* @see {@link UpdateKeyValueStoreCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link UpdateKeyValueStoreCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDenied} (client fault)
|
|
61
|
+
* <p>Access denied.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link EntityNotFound} (client fault)
|
|
64
|
+
* <p>The Key Value Store entity was not found.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidArgument} (client fault)
|
|
67
|
+
* <p>An argument is invalid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidIfMatchVersion} (client fault)
|
|
70
|
+
* <p>The <code>If-Match</code> version is missing or not valid.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link PreconditionFailed} (client fault)
|
|
73
|
+
* <p>The precondition in one or more of the request fields evaluated to
|
|
74
|
+
* <code>false</code>.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link CloudFrontServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class UpdateKeyValueStoreCommand extends $Command<UpdateKeyValueStoreCommandInput, UpdateKeyValueStoreCommandOutput, CloudFrontClientResolvedConfig> {
|
|
81
|
+
readonly input: UpdateKeyValueStoreCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
constructor(input: UpdateKeyValueStoreCommandInput);
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKeyValueStoreCommandInput, UpdateKeyValueStoreCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private deserialize;
|
|
99
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./CreateFieldLevelEncryptionProfileCommand";
|
|
|
10
10
|
export * from "./CreateFunctionCommand";
|
|
11
11
|
export * from "./CreateInvalidationCommand";
|
|
12
12
|
export * from "./CreateKeyGroupCommand";
|
|
13
|
+
export * from "./CreateKeyValueStoreCommand";
|
|
13
14
|
export * from "./CreateMonitoringSubscriptionCommand";
|
|
14
15
|
export * from "./CreateOriginAccessControlCommand";
|
|
15
16
|
export * from "./CreateOriginRequestPolicyCommand";
|
|
@@ -26,6 +27,7 @@ export * from "./DeleteFieldLevelEncryptionConfigCommand";
|
|
|
26
27
|
export * from "./DeleteFieldLevelEncryptionProfileCommand";
|
|
27
28
|
export * from "./DeleteFunctionCommand";
|
|
28
29
|
export * from "./DeleteKeyGroupCommand";
|
|
30
|
+
export * from "./DeleteKeyValueStoreCommand";
|
|
29
31
|
export * from "./DeleteMonitoringSubscriptionCommand";
|
|
30
32
|
export * from "./DeleteOriginAccessControlCommand";
|
|
31
33
|
export * from "./DeleteOriginRequestPolicyCommand";
|
|
@@ -34,6 +36,7 @@ export * from "./DeleteRealtimeLogConfigCommand";
|
|
|
34
36
|
export * from "./DeleteResponseHeadersPolicyCommand";
|
|
35
37
|
export * from "./DeleteStreamingDistributionCommand";
|
|
36
38
|
export * from "./DescribeFunctionCommand";
|
|
39
|
+
export * from "./DescribeKeyValueStoreCommand";
|
|
37
40
|
export * from "./GetCachePolicyCommand";
|
|
38
41
|
export * from "./GetCachePolicyConfigCommand";
|
|
39
42
|
export * from "./GetCloudFrontOriginAccessIdentityCommand";
|
|
@@ -78,6 +81,7 @@ export * from "./ListFieldLevelEncryptionProfilesCommand";
|
|
|
78
81
|
export * from "./ListFunctionsCommand";
|
|
79
82
|
export * from "./ListInvalidationsCommand";
|
|
80
83
|
export * from "./ListKeyGroupsCommand";
|
|
84
|
+
export * from "./ListKeyValueStoresCommand";
|
|
81
85
|
export * from "./ListOriginAccessControlsCommand";
|
|
82
86
|
export * from "./ListOriginRequestPoliciesCommand";
|
|
83
87
|
export * from "./ListPublicKeysCommand";
|
|
@@ -98,6 +102,7 @@ export * from "./UpdateFieldLevelEncryptionConfigCommand";
|
|
|
98
102
|
export * from "./UpdateFieldLevelEncryptionProfileCommand";
|
|
99
103
|
export * from "./UpdateFunctionCommand";
|
|
100
104
|
export * from "./UpdateKeyGroupCommand";
|
|
105
|
+
export * from "./UpdateKeyValueStoreCommand";
|
|
101
106
|
export * from "./UpdateOriginAccessControlCommand";
|
|
102
107
|
export * from "./UpdateOriginRequestPolicyCommand";
|
|
103
108
|
export * from "./UpdatePublicKeyCommand";
|