@aws-sdk/client-cloudfront 3.451.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 +2 -2
package/README.md
CHANGED
|
@@ -303,6 +303,14 @@ CreateKeyGroup
|
|
|
303
303
|
|
|
304
304
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/createkeygroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/createkeygroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/createkeygroupcommandoutput.html)
|
|
305
305
|
|
|
306
|
+
</details>
|
|
307
|
+
<details>
|
|
308
|
+
<summary>
|
|
309
|
+
CreateKeyValueStore
|
|
310
|
+
</summary>
|
|
311
|
+
|
|
312
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/createkeyvaluestorecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/createkeyvaluestorecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/createkeyvaluestorecommandoutput.html)
|
|
313
|
+
|
|
306
314
|
</details>
|
|
307
315
|
<details>
|
|
308
316
|
<summary>
|
|
@@ -431,6 +439,14 @@ DeleteKeyGroup
|
|
|
431
439
|
|
|
432
440
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/deletekeygroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/deletekeygroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/deletekeygroupcommandoutput.html)
|
|
433
441
|
|
|
442
|
+
</details>
|
|
443
|
+
<details>
|
|
444
|
+
<summary>
|
|
445
|
+
DeleteKeyValueStore
|
|
446
|
+
</summary>
|
|
447
|
+
|
|
448
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/deletekeyvaluestorecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/deletekeyvaluestorecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/deletekeyvaluestorecommandoutput.html)
|
|
449
|
+
|
|
434
450
|
</details>
|
|
435
451
|
<details>
|
|
436
452
|
<summary>
|
|
@@ -495,6 +511,14 @@ DescribeFunction
|
|
|
495
511
|
|
|
496
512
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/describefunctioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/describefunctioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/describefunctioncommandoutput.html)
|
|
497
513
|
|
|
514
|
+
</details>
|
|
515
|
+
<details>
|
|
516
|
+
<summary>
|
|
517
|
+
DescribeKeyValueStore
|
|
518
|
+
</summary>
|
|
519
|
+
|
|
520
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/describekeyvaluestorecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/describekeyvaluestorecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/describekeyvaluestorecommandoutput.html)
|
|
521
|
+
|
|
498
522
|
</details>
|
|
499
523
|
<details>
|
|
500
524
|
<summary>
|
|
@@ -847,6 +871,14 @@ ListKeyGroups
|
|
|
847
871
|
|
|
848
872
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/listkeygroupscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/listkeygroupscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/listkeygroupscommandoutput.html)
|
|
849
873
|
|
|
874
|
+
</details>
|
|
875
|
+
<details>
|
|
876
|
+
<summary>
|
|
877
|
+
ListKeyValueStores
|
|
878
|
+
</summary>
|
|
879
|
+
|
|
880
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/listkeyvaluestorescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/listkeyvaluestorescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/listkeyvaluestorescommandoutput.html)
|
|
881
|
+
|
|
850
882
|
</details>
|
|
851
883
|
<details>
|
|
852
884
|
<summary>
|
|
@@ -1007,6 +1039,14 @@ UpdateKeyGroup
|
|
|
1007
1039
|
|
|
1008
1040
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/updatekeygroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/updatekeygroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/updatekeygroupcommandoutput.html)
|
|
1009
1041
|
|
|
1042
|
+
</details>
|
|
1043
|
+
<details>
|
|
1044
|
+
<summary>
|
|
1045
|
+
UpdateKeyValueStore
|
|
1046
|
+
</summary>
|
|
1047
|
+
|
|
1048
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/classes/updatekeyvaluestorecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/updatekeyvaluestorecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudfront/interfaces/updatekeyvaluestorecommandoutput.html)
|
|
1049
|
+
|
|
1010
1050
|
</details>
|
|
1011
1051
|
<details>
|
|
1012
1052
|
<summary>
|
package/dist-cjs/CloudFront.js
CHANGED
|
@@ -15,6 +15,7 @@ const CreateFieldLevelEncryptionProfileCommand_1 = require("./commands/CreateFie
|
|
|
15
15
|
const CreateFunctionCommand_1 = require("./commands/CreateFunctionCommand");
|
|
16
16
|
const CreateInvalidationCommand_1 = require("./commands/CreateInvalidationCommand");
|
|
17
17
|
const CreateKeyGroupCommand_1 = require("./commands/CreateKeyGroupCommand");
|
|
18
|
+
const CreateKeyValueStoreCommand_1 = require("./commands/CreateKeyValueStoreCommand");
|
|
18
19
|
const CreateMonitoringSubscriptionCommand_1 = require("./commands/CreateMonitoringSubscriptionCommand");
|
|
19
20
|
const CreateOriginAccessControlCommand_1 = require("./commands/CreateOriginAccessControlCommand");
|
|
20
21
|
const CreateOriginRequestPolicyCommand_1 = require("./commands/CreateOriginRequestPolicyCommand");
|
|
@@ -31,6 +32,7 @@ const DeleteFieldLevelEncryptionConfigCommand_1 = require("./commands/DeleteFiel
|
|
|
31
32
|
const DeleteFieldLevelEncryptionProfileCommand_1 = require("./commands/DeleteFieldLevelEncryptionProfileCommand");
|
|
32
33
|
const DeleteFunctionCommand_1 = require("./commands/DeleteFunctionCommand");
|
|
33
34
|
const DeleteKeyGroupCommand_1 = require("./commands/DeleteKeyGroupCommand");
|
|
35
|
+
const DeleteKeyValueStoreCommand_1 = require("./commands/DeleteKeyValueStoreCommand");
|
|
34
36
|
const DeleteMonitoringSubscriptionCommand_1 = require("./commands/DeleteMonitoringSubscriptionCommand");
|
|
35
37
|
const DeleteOriginAccessControlCommand_1 = require("./commands/DeleteOriginAccessControlCommand");
|
|
36
38
|
const DeleteOriginRequestPolicyCommand_1 = require("./commands/DeleteOriginRequestPolicyCommand");
|
|
@@ -39,6 +41,7 @@ const DeleteRealtimeLogConfigCommand_1 = require("./commands/DeleteRealtimeLogCo
|
|
|
39
41
|
const DeleteResponseHeadersPolicyCommand_1 = require("./commands/DeleteResponseHeadersPolicyCommand");
|
|
40
42
|
const DeleteStreamingDistributionCommand_1 = require("./commands/DeleteStreamingDistributionCommand");
|
|
41
43
|
const DescribeFunctionCommand_1 = require("./commands/DescribeFunctionCommand");
|
|
44
|
+
const DescribeKeyValueStoreCommand_1 = require("./commands/DescribeKeyValueStoreCommand");
|
|
42
45
|
const GetCachePolicyCommand_1 = require("./commands/GetCachePolicyCommand");
|
|
43
46
|
const GetCachePolicyConfigCommand_1 = require("./commands/GetCachePolicyConfigCommand");
|
|
44
47
|
const GetCloudFrontOriginAccessIdentityCommand_1 = require("./commands/GetCloudFrontOriginAccessIdentityCommand");
|
|
@@ -83,6 +86,7 @@ const ListFieldLevelEncryptionProfilesCommand_1 = require("./commands/ListFieldL
|
|
|
83
86
|
const ListFunctionsCommand_1 = require("./commands/ListFunctionsCommand");
|
|
84
87
|
const ListInvalidationsCommand_1 = require("./commands/ListInvalidationsCommand");
|
|
85
88
|
const ListKeyGroupsCommand_1 = require("./commands/ListKeyGroupsCommand");
|
|
89
|
+
const ListKeyValueStoresCommand_1 = require("./commands/ListKeyValueStoresCommand");
|
|
86
90
|
const ListOriginAccessControlsCommand_1 = require("./commands/ListOriginAccessControlsCommand");
|
|
87
91
|
const ListOriginRequestPoliciesCommand_1 = require("./commands/ListOriginRequestPoliciesCommand");
|
|
88
92
|
const ListPublicKeysCommand_1 = require("./commands/ListPublicKeysCommand");
|
|
@@ -103,6 +107,7 @@ const UpdateFieldLevelEncryptionConfigCommand_1 = require("./commands/UpdateFiel
|
|
|
103
107
|
const UpdateFieldLevelEncryptionProfileCommand_1 = require("./commands/UpdateFieldLevelEncryptionProfileCommand");
|
|
104
108
|
const UpdateFunctionCommand_1 = require("./commands/UpdateFunctionCommand");
|
|
105
109
|
const UpdateKeyGroupCommand_1 = require("./commands/UpdateKeyGroupCommand");
|
|
110
|
+
const UpdateKeyValueStoreCommand_1 = require("./commands/UpdateKeyValueStoreCommand");
|
|
106
111
|
const UpdateOriginAccessControlCommand_1 = require("./commands/UpdateOriginAccessControlCommand");
|
|
107
112
|
const UpdateOriginRequestPolicyCommand_1 = require("./commands/UpdateOriginRequestPolicyCommand");
|
|
108
113
|
const UpdatePublicKeyCommand_1 = require("./commands/UpdatePublicKeyCommand");
|
|
@@ -122,6 +127,7 @@ const commands = {
|
|
|
122
127
|
CreateFunctionCommand: CreateFunctionCommand_1.CreateFunctionCommand,
|
|
123
128
|
CreateInvalidationCommand: CreateInvalidationCommand_1.CreateInvalidationCommand,
|
|
124
129
|
CreateKeyGroupCommand: CreateKeyGroupCommand_1.CreateKeyGroupCommand,
|
|
130
|
+
CreateKeyValueStoreCommand: CreateKeyValueStoreCommand_1.CreateKeyValueStoreCommand,
|
|
125
131
|
CreateMonitoringSubscriptionCommand: CreateMonitoringSubscriptionCommand_1.CreateMonitoringSubscriptionCommand,
|
|
126
132
|
CreateOriginAccessControlCommand: CreateOriginAccessControlCommand_1.CreateOriginAccessControlCommand,
|
|
127
133
|
CreateOriginRequestPolicyCommand: CreateOriginRequestPolicyCommand_1.CreateOriginRequestPolicyCommand,
|
|
@@ -138,6 +144,7 @@ const commands = {
|
|
|
138
144
|
DeleteFieldLevelEncryptionProfileCommand: DeleteFieldLevelEncryptionProfileCommand_1.DeleteFieldLevelEncryptionProfileCommand,
|
|
139
145
|
DeleteFunctionCommand: DeleteFunctionCommand_1.DeleteFunctionCommand,
|
|
140
146
|
DeleteKeyGroupCommand: DeleteKeyGroupCommand_1.DeleteKeyGroupCommand,
|
|
147
|
+
DeleteKeyValueStoreCommand: DeleteKeyValueStoreCommand_1.DeleteKeyValueStoreCommand,
|
|
141
148
|
DeleteMonitoringSubscriptionCommand: DeleteMonitoringSubscriptionCommand_1.DeleteMonitoringSubscriptionCommand,
|
|
142
149
|
DeleteOriginAccessControlCommand: DeleteOriginAccessControlCommand_1.DeleteOriginAccessControlCommand,
|
|
143
150
|
DeleteOriginRequestPolicyCommand: DeleteOriginRequestPolicyCommand_1.DeleteOriginRequestPolicyCommand,
|
|
@@ -146,6 +153,7 @@ const commands = {
|
|
|
146
153
|
DeleteResponseHeadersPolicyCommand: DeleteResponseHeadersPolicyCommand_1.DeleteResponseHeadersPolicyCommand,
|
|
147
154
|
DeleteStreamingDistributionCommand: DeleteStreamingDistributionCommand_1.DeleteStreamingDistributionCommand,
|
|
148
155
|
DescribeFunctionCommand: DescribeFunctionCommand_1.DescribeFunctionCommand,
|
|
156
|
+
DescribeKeyValueStoreCommand: DescribeKeyValueStoreCommand_1.DescribeKeyValueStoreCommand,
|
|
149
157
|
GetCachePolicyCommand: GetCachePolicyCommand_1.GetCachePolicyCommand,
|
|
150
158
|
GetCachePolicyConfigCommand: GetCachePolicyConfigCommand_1.GetCachePolicyConfigCommand,
|
|
151
159
|
GetCloudFrontOriginAccessIdentityCommand: GetCloudFrontOriginAccessIdentityCommand_1.GetCloudFrontOriginAccessIdentityCommand,
|
|
@@ -190,6 +198,7 @@ const commands = {
|
|
|
190
198
|
ListFunctionsCommand: ListFunctionsCommand_1.ListFunctionsCommand,
|
|
191
199
|
ListInvalidationsCommand: ListInvalidationsCommand_1.ListInvalidationsCommand,
|
|
192
200
|
ListKeyGroupsCommand: ListKeyGroupsCommand_1.ListKeyGroupsCommand,
|
|
201
|
+
ListKeyValueStoresCommand: ListKeyValueStoresCommand_1.ListKeyValueStoresCommand,
|
|
193
202
|
ListOriginAccessControlsCommand: ListOriginAccessControlsCommand_1.ListOriginAccessControlsCommand,
|
|
194
203
|
ListOriginRequestPoliciesCommand: ListOriginRequestPoliciesCommand_1.ListOriginRequestPoliciesCommand,
|
|
195
204
|
ListPublicKeysCommand: ListPublicKeysCommand_1.ListPublicKeysCommand,
|
|
@@ -210,6 +219,7 @@ const commands = {
|
|
|
210
219
|
UpdateFieldLevelEncryptionProfileCommand: UpdateFieldLevelEncryptionProfileCommand_1.UpdateFieldLevelEncryptionProfileCommand,
|
|
211
220
|
UpdateFunctionCommand: UpdateFunctionCommand_1.UpdateFunctionCommand,
|
|
212
221
|
UpdateKeyGroupCommand: UpdateKeyGroupCommand_1.UpdateKeyGroupCommand,
|
|
222
|
+
UpdateKeyValueStoreCommand: UpdateKeyValueStoreCommand_1.UpdateKeyValueStoreCommand,
|
|
213
223
|
UpdateOriginAccessControlCommand: UpdateOriginAccessControlCommand_1.UpdateOriginAccessControlCommand,
|
|
214
224
|
UpdateOriginRequestPolicyCommand: UpdateOriginRequestPolicyCommand_1.UpdateOriginRequestPolicyCommand,
|
|
215
225
|
UpdatePublicKeyCommand: UpdatePublicKeyCommand_1.UpdatePublicKeyCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateKeyValueStoreCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
10
|
+
class CreateKeyValueStoreCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateKeyValueStoreCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "CloudFrontClient";
|
|
29
|
+
const commandName = "CreateKeyValueStoreCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Cloudfront2020_05_31",
|
|
38
|
+
operation: "CreateKeyValueStore",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restXml_1.se_CreateKeyValueStoreCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restXml_1.de_CreateKeyValueStoreCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CreateKeyValueStoreCommand = CreateKeyValueStoreCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteKeyValueStoreCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
10
|
+
class DeleteKeyValueStoreCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteKeyValueStoreCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "CloudFrontClient";
|
|
29
|
+
const commandName = "DeleteKeyValueStoreCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Cloudfront2020_05_31",
|
|
38
|
+
operation: "DeleteKeyValueStore",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restXml_1.se_DeleteKeyValueStoreCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restXml_1.de_DeleteKeyValueStoreCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteKeyValueStoreCommand = DeleteKeyValueStoreCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeKeyValueStoreCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
10
|
+
class DescribeKeyValueStoreCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeKeyValueStoreCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "CloudFrontClient";
|
|
29
|
+
const commandName = "DescribeKeyValueStoreCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Cloudfront2020_05_31",
|
|
38
|
+
operation: "DescribeKeyValueStore",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restXml_1.se_DescribeKeyValueStoreCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restXml_1.de_DescribeKeyValueStoreCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DescribeKeyValueStoreCommand = DescribeKeyValueStoreCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListKeyValueStoresCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
10
|
+
class ListKeyValueStoresCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListKeyValueStoresCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "CloudFrontClient";
|
|
29
|
+
const commandName = "ListKeyValueStoresCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Cloudfront2020_05_31",
|
|
38
|
+
operation: "ListKeyValueStores",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restXml_1.se_ListKeyValueStoresCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restXml_1.de_ListKeyValueStoresCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListKeyValueStoresCommand = ListKeyValueStoresCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateKeyValueStoreCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restXml_1 = require("../protocols/Aws_restXml");
|
|
10
|
+
class UpdateKeyValueStoreCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateKeyValueStoreCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "CloudFrontClient";
|
|
29
|
+
const commandName = "UpdateKeyValueStoreCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Cloudfront2020_05_31",
|
|
38
|
+
operation: "UpdateKeyValueStore",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restXml_1.se_UpdateKeyValueStoreCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restXml_1.de_UpdateKeyValueStoreCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateKeyValueStoreCommand = UpdateKeyValueStoreCommand;
|
|
@@ -13,6 +13,7 @@ tslib_1.__exportStar(require("./CreateFieldLevelEncryptionProfileCommand"), expo
|
|
|
13
13
|
tslib_1.__exportStar(require("./CreateFunctionCommand"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./CreateInvalidationCommand"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./CreateKeyGroupCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./CreateKeyValueStoreCommand"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./CreateMonitoringSubscriptionCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./CreateOriginAccessControlCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./CreateOriginRequestPolicyCommand"), exports);
|
|
@@ -29,6 +30,7 @@ tslib_1.__exportStar(require("./DeleteFieldLevelEncryptionConfigCommand"), expor
|
|
|
29
30
|
tslib_1.__exportStar(require("./DeleteFieldLevelEncryptionProfileCommand"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./DeleteFunctionCommand"), exports);
|
|
31
32
|
tslib_1.__exportStar(require("./DeleteKeyGroupCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./DeleteKeyValueStoreCommand"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./DeleteMonitoringSubscriptionCommand"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./DeleteOriginAccessControlCommand"), exports);
|
|
34
36
|
tslib_1.__exportStar(require("./DeleteOriginRequestPolicyCommand"), exports);
|
|
@@ -37,6 +39,7 @@ tslib_1.__exportStar(require("./DeleteRealtimeLogConfigCommand"), exports);
|
|
|
37
39
|
tslib_1.__exportStar(require("./DeleteResponseHeadersPolicyCommand"), exports);
|
|
38
40
|
tslib_1.__exportStar(require("./DeleteStreamingDistributionCommand"), exports);
|
|
39
41
|
tslib_1.__exportStar(require("./DescribeFunctionCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./DescribeKeyValueStoreCommand"), exports);
|
|
40
43
|
tslib_1.__exportStar(require("./GetCachePolicyCommand"), exports);
|
|
41
44
|
tslib_1.__exportStar(require("./GetCachePolicyConfigCommand"), exports);
|
|
42
45
|
tslib_1.__exportStar(require("./GetCloudFrontOriginAccessIdentityCommand"), exports);
|
|
@@ -81,6 +84,7 @@ tslib_1.__exportStar(require("./ListFieldLevelEncryptionProfilesCommand"), expor
|
|
|
81
84
|
tslib_1.__exportStar(require("./ListFunctionsCommand"), exports);
|
|
82
85
|
tslib_1.__exportStar(require("./ListInvalidationsCommand"), exports);
|
|
83
86
|
tslib_1.__exportStar(require("./ListKeyGroupsCommand"), exports);
|
|
87
|
+
tslib_1.__exportStar(require("./ListKeyValueStoresCommand"), exports);
|
|
84
88
|
tslib_1.__exportStar(require("./ListOriginAccessControlsCommand"), exports);
|
|
85
89
|
tslib_1.__exportStar(require("./ListOriginRequestPoliciesCommand"), exports);
|
|
86
90
|
tslib_1.__exportStar(require("./ListPublicKeysCommand"), exports);
|
|
@@ -101,6 +105,7 @@ tslib_1.__exportStar(require("./UpdateFieldLevelEncryptionConfigCommand"), expor
|
|
|
101
105
|
tslib_1.__exportStar(require("./UpdateFieldLevelEncryptionProfileCommand"), exports);
|
|
102
106
|
tslib_1.__exportStar(require("./UpdateFunctionCommand"), exports);
|
|
103
107
|
tslib_1.__exportStar(require("./UpdateKeyGroupCommand"), exports);
|
|
108
|
+
tslib_1.__exportStar(require("./UpdateKeyValueStoreCommand"), exports);
|
|
104
109
|
tslib_1.__exportStar(require("./UpdateOriginAccessControlCommand"), exports);
|
|
105
110
|
tslib_1.__exportStar(require("./UpdateOriginRequestPolicyCommand"), exports);
|
|
106
111
|
tslib_1.__exportStar(require("./UpdatePublicKeyCommand"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.CreateFunctionRequestFilterSensitiveLog = exports.CreateDistributionWithTagsResultFilterSensitiveLog = exports.CreateDistributionWithTagsRequestFilterSensitiveLog = exports.DistributionConfigWithTagsFilterSensitiveLog = exports.CreateDistributionResultFilterSensitiveLog = exports.CreateDistributionRequestFilterSensitiveLog = exports.CopyDistributionResultFilterSensitiveLog = exports.DistributionFilterSensitiveLog = exports.DistributionConfigFilterSensitiveLog = void 0;
|
|
3
|
+
exports.InvalidRelativePath = exports.InvalidQueryStringParameters = exports.InvalidProtocolSettings = exports.InvalidOriginReadTimeout = exports.InvalidOriginKeepaliveTimeout = exports.InvalidOriginAccessIdentity = exports.InvalidOriginAccessControl = exports.InvalidOrigin = exports.InvalidMinimumProtocolVersion = exports.InvalidLocationCode = exports.InvalidLambdaFunctionAssociation = exports.InvalidIfMatchVersion = exports.InvalidHeadersForS3Origin = exports.InvalidGeoRestrictionParameter = exports.InvalidFunctionAssociation = exports.InvalidForwardCookies = exports.InvalidErrorCode = exports.InvalidDefaultRootObject = exports.InconsistentQuantities = exports.IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior = exports.DistributionAlreadyExists = exports.SSLSupportMethod = exports.MinimumProtocolVersion = exports.GeoRestrictionType = exports.PriceClass = exports.SslProtocol = exports.OriginProtocolPolicy = exports.HttpVersion = exports.CNAMEAlreadyExists = exports.CertificateSource = exports.CannotDeleteEntityWhileInUse = exports.CannotChangeImmutablePublicKeyFields = exports.CachePolicyType = exports.CachePolicyInUse = exports.CachePolicyAlreadyExists = exports.CachePolicyQueryStringBehavior = exports.CachePolicyHeaderBehavior = exports.CachePolicyCookieBehavior = exports.ViewerProtocolPolicy = exports.EventType = exports.ItemSelection = exports.BatchTooLarge = exports.TooManyDistributionCNAMEs = exports.NoSuchDistribution = exports.InvalidArgument = exports.IllegalUpdate = exports.Method = exports.ICPRecordalStatus = exports.AccessDenied = exports.ResponseHeadersPolicyAccessControlAllowMethodsValues = void 0;
|
|
4
|
+
exports.IllegalOriginAccessConfiguration = exports.ContinuousDeploymentPolicyInUse = exports.TooManyContinuousDeploymentPolicies = exports.StagingDistributionInUse = exports.ContinuousDeploymentPolicyType = exports.ContinuousDeploymentPolicyAlreadyExists = exports.TooManyCloudFrontOriginAccessIdentities = exports.CloudFrontOriginAccessIdentityAlreadyExists = exports.TooManyQueryStringsInCachePolicy = exports.TooManyHeadersInCachePolicy = exports.TooManyCookiesInCachePolicy = exports.TooManyCachePolicies = exports.TrustedSignerDoesNotExist = exports.TrustedKeyGroupDoesNotExist = exports.TooManyTrustedSigners = exports.TooManyQueryStringParameters = exports.TooManyOrigins = exports.TooManyOriginGroupsPerDistribution = exports.TooManyOriginCustomHeaders = exports.TooManyLambdaFunctionAssociations = exports.TooManyKeyGroupsAssociatedToDistribution = exports.TooManyHeadersInForwardedValues = exports.TooManyFunctionAssociations = exports.TooManyDistributionsWithSingleFunctionARN = exports.TooManyDistributionsWithLambdaAssociations = exports.TooManyDistributionsWithFunctionAssociations = exports.TooManyDistributionsAssociatedToResponseHeadersPolicy = exports.TooManyDistributionsAssociatedToOriginRequestPolicy = exports.TooManyDistributionsAssociatedToOriginAccessControl = exports.TooManyDistributionsAssociatedToKeyGroup = exports.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig = exports.TooManyDistributionsAssociatedToCachePolicy = exports.TooManyDistributions = exports.TooManyCookieNamesInWhiteList = exports.TooManyCertificates = exports.TooManyCacheBehaviors = exports.RealtimeLogConfigOwnerMismatch = exports.PreconditionFailed = exports.NoSuchResponseHeadersPolicy = exports.NoSuchRealtimeLogConfig = exports.NoSuchOriginRequestPolicy = exports.NoSuchOrigin = exports.NoSuchFieldLevelEncryptionConfig = exports.NoSuchCachePolicy = exports.MissingBody = exports.InvalidWebACLId = exports.InvalidViewerCertificate = exports.InvalidTTLOrder = exports.InvalidResponseCode = exports.InvalidRequiredProtocol = void 0;
|
|
5
|
+
exports.OriginCustomHeaderFilterSensitiveLog = exports.TooManyRealtimeLogConfigs = exports.RealtimeLogConfigAlreadyExists = exports.TooManyPublicKeys = exports.PublicKeyAlreadyExists = exports.TooManyQueryStringsInOriginRequestPolicy = exports.TooManyOriginRequestPolicies = exports.TooManyHeadersInOriginRequestPolicy = exports.TooManyCookiesInOriginRequestPolicy = exports.OriginRequestPolicyAlreadyExists = exports.OriginRequestPolicyQueryStringBehavior = exports.OriginRequestPolicyHeaderBehavior = exports.OriginRequestPolicyCookieBehavior = exports.TooManyOriginAccessControls = exports.OriginAccessControlAlreadyExists = exports.OriginAccessControlSigningProtocols = exports.OriginAccessControlSigningBehaviors = exports.OriginAccessControlOriginTypes = exports.MonitoringSubscriptionAlreadyExists = exports.RealtimeMetricsSubscriptionStatus = exports.EntitySizeLimitExceeded = exports.EntityLimitExceeded = exports.EntityAlreadyExists = exports.ImportSourceType = exports.TooManyPublicKeysInKeyGroup = exports.TooManyKeyGroups = exports.KeyGroupAlreadyExists = exports.TooManyInvalidationsInProgress = exports.UnsupportedOperation = exports.TooManyFunctions = exports.FunctionSizeLimitExceeded = exports.FunctionAlreadyExists = exports.FunctionStage = exports.FunctionRuntime = exports.TooManyFieldLevelEncryptionProfiles = exports.TooManyFieldLevelEncryptionFieldPatterns = exports.TooManyFieldLevelEncryptionEncryptionEntities = exports.NoSuchPublicKey = exports.FieldLevelEncryptionProfileSizeExceeded = exports.FieldLevelEncryptionProfileAlreadyExists = exports.TooManyFieldLevelEncryptionQueryArgProfiles = exports.TooManyFieldLevelEncryptionContentTypeProfiles = exports.TooManyFieldLevelEncryptionConfigs = exports.QueryArgProfileEmpty = exports.NoSuchFieldLevelEncryptionProfile = exports.FieldLevelEncryptionConfigAlreadyExists = exports.Format = exports.InvalidTagging = exports.NoSuchContinuousDeploymentPolicy = exports.InvalidDomainNameForOriginAccessControl = void 0;
|
|
6
|
+
exports.CreateFunctionRequestFilterSensitiveLog = exports.CreateDistributionWithTagsResultFilterSensitiveLog = exports.CreateDistributionWithTagsRequestFilterSensitiveLog = exports.DistributionConfigWithTagsFilterSensitiveLog = exports.CreateDistributionResultFilterSensitiveLog = exports.CreateDistributionRequestFilterSensitiveLog = exports.CopyDistributionResultFilterSensitiveLog = exports.DistributionFilterSensitiveLog = exports.DistributionConfigFilterSensitiveLog = exports.OriginsFilterSensitiveLog = exports.OriginFilterSensitiveLog = exports.CustomHeadersFilterSensitiveLog = void 0;
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const CloudFrontServiceException_1 = require("./CloudFrontServiceException");
|
|
9
9
|
exports.ResponseHeadersPolicyAccessControlAllowMethodsValues = {
|
|
@@ -192,6 +192,20 @@ class CannotChangeImmutablePublicKeyFields extends CloudFrontServiceException_1.
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
exports.CannotChangeImmutablePublicKeyFields = CannotChangeImmutablePublicKeyFields;
|
|
195
|
+
class CannotDeleteEntityWhileInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
|
|
196
|
+
constructor(opts) {
|
|
197
|
+
super({
|
|
198
|
+
name: "CannotDeleteEntityWhileInUse",
|
|
199
|
+
$fault: "client",
|
|
200
|
+
...opts,
|
|
201
|
+
});
|
|
202
|
+
this.name = "CannotDeleteEntityWhileInUse";
|
|
203
|
+
this.$fault = "client";
|
|
204
|
+
Object.setPrototypeOf(this, CannotDeleteEntityWhileInUse.prototype);
|
|
205
|
+
this.Message = opts.Message;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
exports.CannotDeleteEntityWhileInUse = CannotDeleteEntityWhileInUse;
|
|
195
209
|
exports.CertificateSource = {
|
|
196
210
|
acm: "acm",
|
|
197
211
|
cloudfront: "cloudfront",
|
|
@@ -1569,6 +1583,51 @@ class TooManyPublicKeysInKeyGroup extends CloudFrontServiceException_1.CloudFron
|
|
|
1569
1583
|
}
|
|
1570
1584
|
}
|
|
1571
1585
|
exports.TooManyPublicKeysInKeyGroup = TooManyPublicKeysInKeyGroup;
|
|
1586
|
+
exports.ImportSourceType = {
|
|
1587
|
+
S3: "S3",
|
|
1588
|
+
};
|
|
1589
|
+
class EntityAlreadyExists extends CloudFrontServiceException_1.CloudFrontServiceException {
|
|
1590
|
+
constructor(opts) {
|
|
1591
|
+
super({
|
|
1592
|
+
name: "EntityAlreadyExists",
|
|
1593
|
+
$fault: "client",
|
|
1594
|
+
...opts,
|
|
1595
|
+
});
|
|
1596
|
+
this.name = "EntityAlreadyExists";
|
|
1597
|
+
this.$fault = "client";
|
|
1598
|
+
Object.setPrototypeOf(this, EntityAlreadyExists.prototype);
|
|
1599
|
+
this.Message = opts.Message;
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
exports.EntityAlreadyExists = EntityAlreadyExists;
|
|
1603
|
+
class EntityLimitExceeded extends CloudFrontServiceException_1.CloudFrontServiceException {
|
|
1604
|
+
constructor(opts) {
|
|
1605
|
+
super({
|
|
1606
|
+
name: "EntityLimitExceeded",
|
|
1607
|
+
$fault: "client",
|
|
1608
|
+
...opts,
|
|
1609
|
+
});
|
|
1610
|
+
this.name = "EntityLimitExceeded";
|
|
1611
|
+
this.$fault = "client";
|
|
1612
|
+
Object.setPrototypeOf(this, EntityLimitExceeded.prototype);
|
|
1613
|
+
this.Message = opts.Message;
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
exports.EntityLimitExceeded = EntityLimitExceeded;
|
|
1617
|
+
class EntitySizeLimitExceeded extends CloudFrontServiceException_1.CloudFrontServiceException {
|
|
1618
|
+
constructor(opts) {
|
|
1619
|
+
super({
|
|
1620
|
+
name: "EntitySizeLimitExceeded",
|
|
1621
|
+
$fault: "client",
|
|
1622
|
+
...opts,
|
|
1623
|
+
});
|
|
1624
|
+
this.name = "EntitySizeLimitExceeded";
|
|
1625
|
+
this.$fault = "client";
|
|
1626
|
+
Object.setPrototypeOf(this, EntitySizeLimitExceeded.prototype);
|
|
1627
|
+
this.Message = opts.Message;
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
exports.EntitySizeLimitExceeded = EntitySizeLimitExceeded;
|
|
1572
1631
|
exports.RealtimeMetricsSubscriptionStatus = {
|
|
1573
1632
|
Disabled: "Disabled",
|
|
1574
1633
|
Enabled: "Enabled",
|
|
@@ -1772,20 +1831,6 @@ class TooManyRealtimeLogConfigs extends CloudFrontServiceException_1.CloudFrontS
|
|
|
1772
1831
|
}
|
|
1773
1832
|
}
|
|
1774
1833
|
exports.TooManyRealtimeLogConfigs = TooManyRealtimeLogConfigs;
|
|
1775
|
-
exports.FrameOptionsList = {
|
|
1776
|
-
DENY: "DENY",
|
|
1777
|
-
SAMEORIGIN: "SAMEORIGIN",
|
|
1778
|
-
};
|
|
1779
|
-
exports.ReferrerPolicyList = {
|
|
1780
|
-
no_referrer: "no-referrer",
|
|
1781
|
-
no_referrer_when_downgrade: "no-referrer-when-downgrade",
|
|
1782
|
-
origin: "origin",
|
|
1783
|
-
origin_when_cross_origin: "origin-when-cross-origin",
|
|
1784
|
-
same_origin: "same-origin",
|
|
1785
|
-
strict_origin: "strict-origin",
|
|
1786
|
-
strict_origin_when_cross_origin: "strict-origin-when-cross-origin",
|
|
1787
|
-
unsafe_url: "unsafe-url",
|
|
1788
|
-
};
|
|
1789
1834
|
const OriginCustomHeaderFilterSensitiveLog = (obj) => ({
|
|
1790
1835
|
...obj,
|
|
1791
1836
|
...(obj.HeaderValue && { HeaderValue: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateFunctionRequestFilterSensitiveLog = exports.UpdateDistributionWithStagingConfigResultFilterSensitiveLog = exports.UpdateDistributionResultFilterSensitiveLog = exports.UpdateDistributionRequestFilterSensitiveLog = exports.TestFunctionResultFilterSensitiveLog = exports.TestResultFilterSensitiveLog = exports.TestFunctionRequestFilterSensitiveLog = exports.ListDistributionsByWebACLIdResultFilterSensitiveLog = exports.ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = exports.ListDistributionsResultFilterSensitiveLog = exports.DistributionListFilterSensitiveLog = exports.DistributionSummaryFilterSensitiveLog = exports.GetFunctionResultFilterSensitiveLog = exports.GetDistributionConfigResultFilterSensitiveLog = exports.GetDistributionResultFilterSensitiveLog = exports.TestFunctionFailed = exports.ResponseHeadersPolicyType = exports.OriginRequestPolicyType = exports.NoSuchInvalidation = exports.StreamingDistributionNotDisabled = exports.NoSuchStreamingDistribution = exports.ResponseHeadersPolicyInUse = exports.RealtimeLogConfigInUse = exports.PublicKeyInUse = exports.OriginRequestPolicyInUse = exports.OriginAccessControlInUse = exports.NoSuchOriginAccessControl = exports.NoSuchMonitoringSubscription = exports.ResourceInUse = exports.NoSuchResource = exports.NoSuchFunctionExists = exports.FunctionInUse = exports.FieldLevelEncryptionProfileInUse = exports.FieldLevelEncryptionConfigInUse = exports.DistributionNotDisabled = exports.NoSuchCloudFrontOriginAccessIdentity = exports.CloudFrontOriginAccessIdentityInUse = exports.IllegalDelete = exports.TooManyStreamingDistributions = exports.TooManyStreamingDistributionCNAMEs = exports.StreamingDistributionAlreadyExists = exports.TooManyResponseHeadersPolicies = exports.TooManyRemoveHeadersInResponseHeadersPolicy = exports.TooManyCustomHeadersInResponseHeadersPolicy = exports.TooLongCSPInResponseHeadersPolicy = exports.ResponseHeadersPolicyAlreadyExists = void 0;
|
|
3
|
+
exports.UpdateFunctionRequestFilterSensitiveLog = exports.UpdateDistributionWithStagingConfigResultFilterSensitiveLog = exports.UpdateDistributionResultFilterSensitiveLog = exports.UpdateDistributionRequestFilterSensitiveLog = exports.TestFunctionResultFilterSensitiveLog = exports.TestResultFilterSensitiveLog = exports.TestFunctionRequestFilterSensitiveLog = exports.ListDistributionsByWebACLIdResultFilterSensitiveLog = exports.ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = exports.ListDistributionsResultFilterSensitiveLog = exports.DistributionListFilterSensitiveLog = exports.DistributionSummaryFilterSensitiveLog = exports.GetFunctionResultFilterSensitiveLog = exports.GetDistributionConfigResultFilterSensitiveLog = exports.GetDistributionResultFilterSensitiveLog = exports.TestFunctionFailed = exports.ResponseHeadersPolicyType = exports.OriginRequestPolicyType = exports.NoSuchInvalidation = exports.StreamingDistributionNotDisabled = exports.NoSuchStreamingDistribution = exports.ResponseHeadersPolicyInUse = exports.RealtimeLogConfigInUse = exports.PublicKeyInUse = exports.OriginRequestPolicyInUse = exports.OriginAccessControlInUse = exports.NoSuchOriginAccessControl = exports.NoSuchMonitoringSubscription = exports.EntityNotFound = exports.ResourceInUse = exports.NoSuchResource = exports.NoSuchFunctionExists = exports.FunctionInUse = exports.FieldLevelEncryptionProfileInUse = exports.FieldLevelEncryptionConfigInUse = exports.DistributionNotDisabled = exports.NoSuchCloudFrontOriginAccessIdentity = exports.CloudFrontOriginAccessIdentityInUse = exports.IllegalDelete = exports.TooManyStreamingDistributions = exports.TooManyStreamingDistributionCNAMEs = exports.StreamingDistributionAlreadyExists = exports.TooManyResponseHeadersPolicies = exports.TooManyRemoveHeadersInResponseHeadersPolicy = exports.TooManyCustomHeadersInResponseHeadersPolicy = exports.TooLongCSPInResponseHeadersPolicy = exports.ResponseHeadersPolicyAlreadyExists = exports.ReferrerPolicyList = exports.FrameOptionsList = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const CloudFrontServiceException_1 = require("./CloudFrontServiceException");
|
|
6
6
|
const models_0_1 = require("./models_0");
|
|
7
|
+
exports.FrameOptionsList = {
|
|
8
|
+
DENY: "DENY",
|
|
9
|
+
SAMEORIGIN: "SAMEORIGIN",
|
|
10
|
+
};
|
|
11
|
+
exports.ReferrerPolicyList = {
|
|
12
|
+
no_referrer: "no-referrer",
|
|
13
|
+
no_referrer_when_downgrade: "no-referrer-when-downgrade",
|
|
14
|
+
origin: "origin",
|
|
15
|
+
origin_when_cross_origin: "origin-when-cross-origin",
|
|
16
|
+
same_origin: "same-origin",
|
|
17
|
+
strict_origin: "strict-origin",
|
|
18
|
+
strict_origin_when_cross_origin: "strict-origin-when-cross-origin",
|
|
19
|
+
unsafe_url: "unsafe-url",
|
|
20
|
+
};
|
|
7
21
|
class ResponseHeadersPolicyAlreadyExists extends CloudFrontServiceException_1.CloudFrontServiceException {
|
|
8
22
|
constructor(opts) {
|
|
9
23
|
super({
|
|
@@ -256,6 +270,20 @@ class ResourceInUse extends CloudFrontServiceException_1.CloudFrontServiceExcept
|
|
|
256
270
|
}
|
|
257
271
|
}
|
|
258
272
|
exports.ResourceInUse = ResourceInUse;
|
|
273
|
+
class EntityNotFound extends CloudFrontServiceException_1.CloudFrontServiceException {
|
|
274
|
+
constructor(opts) {
|
|
275
|
+
super({
|
|
276
|
+
name: "EntityNotFound",
|
|
277
|
+
$fault: "client",
|
|
278
|
+
...opts,
|
|
279
|
+
});
|
|
280
|
+
this.name = "EntityNotFound";
|
|
281
|
+
this.$fault = "client";
|
|
282
|
+
Object.setPrototypeOf(this, EntityNotFound.prototype);
|
|
283
|
+
this.Message = opts.Message;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
exports.EntityNotFound = EntityNotFound;
|
|
259
287
|
class NoSuchMonitoringSubscription extends CloudFrontServiceException_1.CloudFrontServiceException {
|
|
260
288
|
constructor(opts) {
|
|
261
289
|
super({
|