@aws-sdk/client-cloudfront-keyvaluestore 3.927.0 → 3.929.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/dist-cjs/index.js +398 -393
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/CloudFrontKeyValueStoreClient.js +2 -0
- package/dist-es/commands/DeleteKeyCommand.js +3 -9
- package/dist-es/commands/DescribeKeyValueStoreCommand.js +3 -9
- package/dist-es/commands/GetKeyCommand.js +3 -10
- package/dist-es/commands/ListKeysCommand.js +3 -10
- package/dist-es/commands/PutKeyCommand.js +3 -10
- package/dist-es/commands/UpdateKeysCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -25
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +370 -0
- package/dist-types/CloudFrontKeyValueStoreClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -24
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +33 -0
- package/dist-types/ts3.4/CloudFrontKeyValueStoreClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -18
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +39 -0
- package/package.json +6 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -308
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -56
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -77
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -31,6 +32,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
32
|
},
|
|
32
33
|
],
|
|
33
34
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
35
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.cloudfrontkeyvaluestore" }),
|
|
34
36
|
serviceId: config?.serviceId ?? "CloudFront KeyValueStore",
|
|
35
37
|
signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
|
|
36
38
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class CloudFrontKeyValueStoreClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteKey } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteKeyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class DeleteKeyCommand extends $Command
|
|
|
11
10
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("CloudFrontKeyValueStore", "DeleteKey", {})
|
|
20
16
|
.n("CloudFrontKeyValueStoreClient", "DeleteKeyCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_DeleteKeyCommand)
|
|
23
|
-
.de(de_DeleteKeyCommand)
|
|
17
|
+
.sc(DeleteKey)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeKeyValueStore } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeKeyValueStoreCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -11,15 +10,10 @@ export class DescribeKeyValueStoreCommand extends $Command
|
|
|
11
10
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
12
11
|
})
|
|
13
12
|
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
18
14
|
})
|
|
19
15
|
.s("CloudFrontKeyValueStore", "DescribeKeyValueStore", {})
|
|
20
16
|
.n("CloudFrontKeyValueStoreClient", "DescribeKeyValueStoreCommand")
|
|
21
|
-
.
|
|
22
|
-
.ser(se_DescribeKeyValueStoreCommand)
|
|
23
|
-
.de(de_DescribeKeyValueStoreCommand)
|
|
17
|
+
.sc(DescribeKeyValueStore)
|
|
24
18
|
.build() {
|
|
25
19
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetKeyCommand, se_GetKeyCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetKey } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetKeyCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
@@ -12,15 +10,10 @@ export class GetKeyCommand extends $Command
|
|
|
12
10
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
13
11
|
})
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
19
14
|
})
|
|
20
15
|
.s("CloudFrontKeyValueStore", "GetKey", {})
|
|
21
16
|
.n("CloudFrontKeyValueStoreClient", "GetKeyCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_GetKeyCommand)
|
|
24
|
-
.de(de_GetKeyCommand)
|
|
17
|
+
.sc(GetKey)
|
|
25
18
|
.build() {
|
|
26
19
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ListKeysCommand, se_ListKeysCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ListKeys } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ListKeysCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
@@ -12,15 +10,10 @@ export class ListKeysCommand extends $Command
|
|
|
12
10
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
13
11
|
})
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
19
14
|
})
|
|
20
15
|
.s("CloudFrontKeyValueStore", "ListKeys", {})
|
|
21
16
|
.n("CloudFrontKeyValueStoreClient", "ListKeysCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_ListKeysCommand)
|
|
24
|
-
.de(de_ListKeysCommand)
|
|
17
|
+
.sc(ListKeys)
|
|
25
18
|
.build() {
|
|
26
19
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_PutKeyCommand, se_PutKeyCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { PutKey } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class PutKeyCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
@@ -12,15 +10,10 @@ export class PutKeyCommand extends $Command
|
|
|
12
10
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
13
11
|
})
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
19
14
|
})
|
|
20
15
|
.s("CloudFrontKeyValueStore", "PutKey", {})
|
|
21
16
|
.n("CloudFrontKeyValueStoreClient", "PutKeyCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_PutKeyCommand)
|
|
24
|
-
.de(de_PutKeyCommand)
|
|
17
|
+
.sc(PutKey)
|
|
25
18
|
.build() {
|
|
26
19
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateKeysCommand, se_UpdateKeysCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateKeys } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateKeysCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
@@ -12,15 +10,10 @@ export class UpdateKeysCommand extends $Command
|
|
|
12
10
|
KvsARN: { type: "contextParams", name: "KvsARN" },
|
|
13
11
|
})
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
19
14
|
})
|
|
20
15
|
.s("CloudFrontKeyValueStore", "UpdateKeys", {})
|
|
21
16
|
.n("CloudFrontKeyValueStoreClient", "UpdateKeysCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_UpdateKeysCommand)
|
|
24
|
-
.de(de_UpdateKeysCommand)
|
|
17
|
+
.sc(UpdateKeys)
|
|
25
18
|
.build() {
|
|
26
19
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { CloudFrontKeyValueStoreServiceException as __BaseException } from "./CloudFrontKeyValueStoreServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -84,27 +83,3 @@ export class ValidationException extends __BaseException {
|
|
|
84
83
|
this.Message = opts.Message;
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
|
-
export const GetKeyResponseFilterSensitiveLog = (obj) => ({
|
|
88
|
-
...obj,
|
|
89
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
90
|
-
});
|
|
91
|
-
export const ListKeysResponseListItemFilterSensitiveLog = (obj) => ({
|
|
92
|
-
...obj,
|
|
93
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
94
|
-
});
|
|
95
|
-
export const ListKeysResponseFilterSensitiveLog = (obj) => ({
|
|
96
|
-
...obj,
|
|
97
|
-
...(obj.Items && { Items: obj.Items.map((item) => ListKeysResponseListItemFilterSensitiveLog(item)) }),
|
|
98
|
-
});
|
|
99
|
-
export const PutKeyRequestFilterSensitiveLog = (obj) => ({
|
|
100
|
-
...obj,
|
|
101
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
102
|
-
});
|
|
103
|
-
export const PutKeyRequestListItemFilterSensitiveLog = (obj) => ({
|
|
104
|
-
...obj,
|
|
105
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
106
|
-
});
|
|
107
|
-
export const UpdateKeysRequestFilterSensitiveLog = (obj) => ({
|
|
108
|
-
...obj,
|
|
109
|
-
...(obj.Puts && { Puts: obj.Puts.map((item) => PutKeyRequestListItemFilterSensitiveLog(item)) }),
|
|
110
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
4
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
5
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -28,6 +29,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
29
|
},
|
|
29
30
|
],
|
|
30
31
|
logger: config?.logger ?? new NoOpLogger(),
|
|
32
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.cloudfrontkeyvaluestore" }),
|
|
31
33
|
serviceId: config?.serviceId ?? "CloudFront KeyValueStore",
|
|
32
34
|
signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
|
|
33
35
|
urlParser: config?.urlParser ?? parseUrl,
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
const _ADE = "AccessDeniedException";
|
|
2
|
+
const _C = "Created";
|
|
3
|
+
const _CE = "ConflictException";
|
|
4
|
+
const _D = "Deletes";
|
|
5
|
+
const _DK = "DeleteKey";
|
|
6
|
+
const _DKR = "DeleteKeyRequest";
|
|
7
|
+
const _DKRL = "DeleteKeyRequestsList";
|
|
8
|
+
const _DKRLI = "DeleteKeyRequestListItem";
|
|
9
|
+
const _DKRe = "DeleteKeyResponse";
|
|
10
|
+
const _DKVS = "DescribeKeyValueStore";
|
|
11
|
+
const _DKVSR = "DescribeKeyValueStoreRequest";
|
|
12
|
+
const _DKVSRe = "DescribeKeyValueStoreResponse";
|
|
13
|
+
const _ET = "ETag";
|
|
14
|
+
const _FR = "FailureReason";
|
|
15
|
+
const _GK = "GetKey";
|
|
16
|
+
const _GKR = "GetKeyRequest";
|
|
17
|
+
const _GKRe = "GetKeyResponse";
|
|
18
|
+
const _I = "Items";
|
|
19
|
+
const _IC = "ItemCount";
|
|
20
|
+
const _IM = "IfMatch";
|
|
21
|
+
const _IM_ = "If-Match";
|
|
22
|
+
const _ISE = "InternalServerException";
|
|
23
|
+
const _K = "Key";
|
|
24
|
+
const _KARN = "KvsARN";
|
|
25
|
+
const _LK = "ListKeys";
|
|
26
|
+
const _LKR = "ListKeysRequest";
|
|
27
|
+
const _LKRL = "ListKeysResponseList";
|
|
28
|
+
const _LKRLI = "ListKeysResponseListItem";
|
|
29
|
+
const _LKRi = "ListKeysResponse";
|
|
30
|
+
const _LM = "LastModified";
|
|
31
|
+
const _M = "Message";
|
|
32
|
+
const _MR = "MaxResults";
|
|
33
|
+
const _NT = "NextToken";
|
|
34
|
+
const _P = "Puts";
|
|
35
|
+
const _PK = "PutKey";
|
|
36
|
+
const _PKR = "PutKeyRequest";
|
|
37
|
+
const _PKRL = "PutKeyRequestsList";
|
|
38
|
+
const _PKRLI = "PutKeyRequestListItem";
|
|
39
|
+
const _PKRu = "PutKeyResponse";
|
|
40
|
+
const _RNFE = "ResourceNotFoundException";
|
|
41
|
+
const _S = "Status";
|
|
42
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
43
|
+
const _TSIB = "TotalSizeInBytes";
|
|
44
|
+
const _UK = "UpdateKeys";
|
|
45
|
+
const _UKR = "UpdateKeysRequest";
|
|
46
|
+
const _UKRp = "UpdateKeysResponse";
|
|
47
|
+
const _V = "Value";
|
|
48
|
+
const _VE = "ValidationException";
|
|
49
|
+
const _c = "client";
|
|
50
|
+
const _e = "error";
|
|
51
|
+
const _h = "http";
|
|
52
|
+
const _hE = "httpError";
|
|
53
|
+
const _hH = "httpHeader";
|
|
54
|
+
const _hQ = "httpQuery";
|
|
55
|
+
const _s = "server";
|
|
56
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudfrontkeyvaluestore";
|
|
57
|
+
const n0 = "com.amazonaws.cloudfrontkeyvaluestore";
|
|
58
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
59
|
+
import { CloudFrontKeyValueStoreServiceException as __CloudFrontKeyValueStoreServiceException } from "../models/CloudFrontKeyValueStoreServiceException";
|
|
60
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
|
|
61
|
+
export var Value = [0, n0, _V, 8, 0];
|
|
62
|
+
export var AccessDeniedException = [
|
|
63
|
+
-3,
|
|
64
|
+
n0,
|
|
65
|
+
_ADE,
|
|
66
|
+
{
|
|
67
|
+
[_e]: _c,
|
|
68
|
+
[_hE]: 403,
|
|
69
|
+
},
|
|
70
|
+
[_M],
|
|
71
|
+
[0],
|
|
72
|
+
];
|
|
73
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
74
|
+
export var ConflictException = [
|
|
75
|
+
-3,
|
|
76
|
+
n0,
|
|
77
|
+
_CE,
|
|
78
|
+
{
|
|
79
|
+
[_e]: _c,
|
|
80
|
+
[_hE]: 409,
|
|
81
|
+
},
|
|
82
|
+
[_M],
|
|
83
|
+
[0],
|
|
84
|
+
];
|
|
85
|
+
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
86
|
+
export var DeleteKeyRequest = [
|
|
87
|
+
3,
|
|
88
|
+
n0,
|
|
89
|
+
_DKR,
|
|
90
|
+
0,
|
|
91
|
+
[_KARN, _K, _IM],
|
|
92
|
+
[
|
|
93
|
+
[0, 1],
|
|
94
|
+
[0, 1],
|
|
95
|
+
[
|
|
96
|
+
0,
|
|
97
|
+
{
|
|
98
|
+
[_hH]: _IM_,
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
],
|
|
102
|
+
];
|
|
103
|
+
export var DeleteKeyRequestListItem = [3, n0, _DKRLI, 0, [_K], [0]];
|
|
104
|
+
export var DeleteKeyResponse = [
|
|
105
|
+
3,
|
|
106
|
+
n0,
|
|
107
|
+
_DKRe,
|
|
108
|
+
0,
|
|
109
|
+
[_IC, _TSIB, _ET],
|
|
110
|
+
[
|
|
111
|
+
1,
|
|
112
|
+
1,
|
|
113
|
+
[
|
|
114
|
+
0,
|
|
115
|
+
{
|
|
116
|
+
[_hH]: _ET,
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
],
|
|
120
|
+
];
|
|
121
|
+
export var DescribeKeyValueStoreRequest = [3, n0, _DKVSR, 0, [_KARN], [[0, 1]]];
|
|
122
|
+
export var DescribeKeyValueStoreResponse = [
|
|
123
|
+
3,
|
|
124
|
+
n0,
|
|
125
|
+
_DKVSRe,
|
|
126
|
+
0,
|
|
127
|
+
[_IC, _TSIB, _KARN, _C, _ET, _LM, _S, _FR],
|
|
128
|
+
[
|
|
129
|
+
1,
|
|
130
|
+
1,
|
|
131
|
+
0,
|
|
132
|
+
4,
|
|
133
|
+
[
|
|
134
|
+
0,
|
|
135
|
+
{
|
|
136
|
+
[_hH]: _ET,
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
4,
|
|
140
|
+
0,
|
|
141
|
+
0,
|
|
142
|
+
],
|
|
143
|
+
];
|
|
144
|
+
export var GetKeyRequest = [
|
|
145
|
+
3,
|
|
146
|
+
n0,
|
|
147
|
+
_GKR,
|
|
148
|
+
0,
|
|
149
|
+
[_KARN, _K],
|
|
150
|
+
[
|
|
151
|
+
[0, 1],
|
|
152
|
+
[0, 1],
|
|
153
|
+
],
|
|
154
|
+
];
|
|
155
|
+
export var GetKeyResponse = [3, n0, _GKRe, 0, [_K, _V, _IC, _TSIB], [0, [() => Value, 0], 1, 1]];
|
|
156
|
+
export var InternalServerException = [
|
|
157
|
+
-3,
|
|
158
|
+
n0,
|
|
159
|
+
_ISE,
|
|
160
|
+
{
|
|
161
|
+
[_e]: _s,
|
|
162
|
+
[_hE]: 500,
|
|
163
|
+
},
|
|
164
|
+
[_M],
|
|
165
|
+
[0],
|
|
166
|
+
];
|
|
167
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
168
|
+
export var ListKeysRequest = [
|
|
169
|
+
3,
|
|
170
|
+
n0,
|
|
171
|
+
_LKR,
|
|
172
|
+
0,
|
|
173
|
+
[_KARN, _NT, _MR],
|
|
174
|
+
[
|
|
175
|
+
[0, 1],
|
|
176
|
+
[
|
|
177
|
+
0,
|
|
178
|
+
{
|
|
179
|
+
[_hQ]: _NT,
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
[
|
|
183
|
+
1,
|
|
184
|
+
{
|
|
185
|
+
[_hQ]: _MR,
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
],
|
|
189
|
+
];
|
|
190
|
+
export var ListKeysResponse = [3, n0, _LKRi, 0, [_NT, _I], [0, [() => ListKeysResponseList, 0]]];
|
|
191
|
+
export var ListKeysResponseListItem = [3, n0, _LKRLI, 0, [_K, _V], [0, [() => Value, 0]]];
|
|
192
|
+
export var PutKeyRequest = [
|
|
193
|
+
3,
|
|
194
|
+
n0,
|
|
195
|
+
_PKR,
|
|
196
|
+
0,
|
|
197
|
+
[_K, _V, _KARN, _IM],
|
|
198
|
+
[
|
|
199
|
+
[0, 1],
|
|
200
|
+
[() => Value, 0],
|
|
201
|
+
[0, 1],
|
|
202
|
+
[
|
|
203
|
+
0,
|
|
204
|
+
{
|
|
205
|
+
[_hH]: _IM_,
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
],
|
|
209
|
+
];
|
|
210
|
+
export var PutKeyRequestListItem = [3, n0, _PKRLI, 0, [_K, _V], [0, [() => Value, 0]]];
|
|
211
|
+
export var PutKeyResponse = [
|
|
212
|
+
3,
|
|
213
|
+
n0,
|
|
214
|
+
_PKRu,
|
|
215
|
+
0,
|
|
216
|
+
[_IC, _TSIB, _ET],
|
|
217
|
+
[
|
|
218
|
+
1,
|
|
219
|
+
1,
|
|
220
|
+
[
|
|
221
|
+
0,
|
|
222
|
+
{
|
|
223
|
+
[_hH]: _ET,
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
],
|
|
227
|
+
];
|
|
228
|
+
export var ResourceNotFoundException = [
|
|
229
|
+
-3,
|
|
230
|
+
n0,
|
|
231
|
+
_RNFE,
|
|
232
|
+
{
|
|
233
|
+
[_e]: _c,
|
|
234
|
+
[_hE]: 404,
|
|
235
|
+
},
|
|
236
|
+
[_M],
|
|
237
|
+
[0],
|
|
238
|
+
];
|
|
239
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
240
|
+
export var ServiceQuotaExceededException = [
|
|
241
|
+
-3,
|
|
242
|
+
n0,
|
|
243
|
+
_SQEE,
|
|
244
|
+
{
|
|
245
|
+
[_e]: _c,
|
|
246
|
+
[_hE]: 402,
|
|
247
|
+
},
|
|
248
|
+
[_M],
|
|
249
|
+
[0],
|
|
250
|
+
];
|
|
251
|
+
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
252
|
+
export var UpdateKeysRequest = [
|
|
253
|
+
3,
|
|
254
|
+
n0,
|
|
255
|
+
_UKR,
|
|
256
|
+
0,
|
|
257
|
+
[_KARN, _IM, _P, _D],
|
|
258
|
+
[
|
|
259
|
+
[0, 1],
|
|
260
|
+
[
|
|
261
|
+
0,
|
|
262
|
+
{
|
|
263
|
+
[_hH]: _IM_,
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
[() => PutKeyRequestsList, 0],
|
|
267
|
+
() => DeleteKeyRequestsList,
|
|
268
|
+
],
|
|
269
|
+
];
|
|
270
|
+
export var UpdateKeysResponse = [
|
|
271
|
+
3,
|
|
272
|
+
n0,
|
|
273
|
+
_UKRp,
|
|
274
|
+
0,
|
|
275
|
+
[_IC, _TSIB, _ET],
|
|
276
|
+
[
|
|
277
|
+
1,
|
|
278
|
+
1,
|
|
279
|
+
[
|
|
280
|
+
0,
|
|
281
|
+
{
|
|
282
|
+
[_hH]: _ET,
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
],
|
|
286
|
+
];
|
|
287
|
+
export var ValidationException = [
|
|
288
|
+
-3,
|
|
289
|
+
n0,
|
|
290
|
+
_VE,
|
|
291
|
+
{
|
|
292
|
+
[_e]: _c,
|
|
293
|
+
[_hE]: 400,
|
|
294
|
+
},
|
|
295
|
+
[_M],
|
|
296
|
+
[0],
|
|
297
|
+
];
|
|
298
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
299
|
+
export var CloudFrontKeyValueStoreServiceException = [
|
|
300
|
+
-3,
|
|
301
|
+
_sm,
|
|
302
|
+
"CloudFrontKeyValueStoreServiceException",
|
|
303
|
+
0,
|
|
304
|
+
[],
|
|
305
|
+
[],
|
|
306
|
+
];
|
|
307
|
+
TypeRegistry.for(_sm).registerError(CloudFrontKeyValueStoreServiceException, __CloudFrontKeyValueStoreServiceException);
|
|
308
|
+
export var DeleteKeyRequestsList = [1, n0, _DKRL, 0, () => DeleteKeyRequestListItem];
|
|
309
|
+
export var ListKeysResponseList = [1, n0, _LKRL, 0, [() => ListKeysResponseListItem, 0]];
|
|
310
|
+
export var PutKeyRequestsList = [1, n0, _PKRL, 0, [() => PutKeyRequestListItem, 0]];
|
|
311
|
+
export var DeleteKey = [
|
|
312
|
+
9,
|
|
313
|
+
n0,
|
|
314
|
+
_DK,
|
|
315
|
+
{
|
|
316
|
+
[_h]: ["DELETE", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
317
|
+
},
|
|
318
|
+
() => DeleteKeyRequest,
|
|
319
|
+
() => DeleteKeyResponse,
|
|
320
|
+
];
|
|
321
|
+
export var DescribeKeyValueStore = [
|
|
322
|
+
9,
|
|
323
|
+
n0,
|
|
324
|
+
_DKVS,
|
|
325
|
+
{
|
|
326
|
+
[_h]: ["GET", "/key-value-stores/{KvsARN}", 200],
|
|
327
|
+
},
|
|
328
|
+
() => DescribeKeyValueStoreRequest,
|
|
329
|
+
() => DescribeKeyValueStoreResponse,
|
|
330
|
+
];
|
|
331
|
+
export var GetKey = [
|
|
332
|
+
9,
|
|
333
|
+
n0,
|
|
334
|
+
_GK,
|
|
335
|
+
{
|
|
336
|
+
[_h]: ["GET", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
337
|
+
},
|
|
338
|
+
() => GetKeyRequest,
|
|
339
|
+
() => GetKeyResponse,
|
|
340
|
+
];
|
|
341
|
+
export var ListKeys = [
|
|
342
|
+
9,
|
|
343
|
+
n0,
|
|
344
|
+
_LK,
|
|
345
|
+
{
|
|
346
|
+
[_h]: ["GET", "/key-value-stores/{KvsARN}/keys", 200],
|
|
347
|
+
},
|
|
348
|
+
() => ListKeysRequest,
|
|
349
|
+
() => ListKeysResponse,
|
|
350
|
+
];
|
|
351
|
+
export var PutKey = [
|
|
352
|
+
9,
|
|
353
|
+
n0,
|
|
354
|
+
_PK,
|
|
355
|
+
{
|
|
356
|
+
[_h]: ["PUT", "/key-value-stores/{KvsARN}/keys/{Key}", 200],
|
|
357
|
+
},
|
|
358
|
+
() => PutKeyRequest,
|
|
359
|
+
() => PutKeyResponse,
|
|
360
|
+
];
|
|
361
|
+
export var UpdateKeys = [
|
|
362
|
+
9,
|
|
363
|
+
n0,
|
|
364
|
+
_UK,
|
|
365
|
+
{
|
|
366
|
+
[_h]: ["POST", "/key-value-stores/{KvsARN}/keys", 200],
|
|
367
|
+
},
|
|
368
|
+
() => UpdateKeysRequest,
|
|
369
|
+
() => UpdateKeysResponse,
|
|
370
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { DeleteKeyCommandInput, DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand";
|
|
11
11
|
import { DescribeKeyValueStoreCommandInput, DescribeKeyValueStoreCommandOutput } from "./commands/DescribeKeyValueStoreCommand";
|
|
@@ -147,6 +147,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
147
147
|
* Optional extensions
|
|
148
148
|
*/
|
|
149
149
|
extensions?: RuntimeExtension[];
|
|
150
|
+
/**
|
|
151
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
152
|
+
* may be overridden. A default will always be set by the client.
|
|
153
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
154
|
+
* the client.
|
|
155
|
+
* @alpha
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
150
159
|
/**
|
|
151
160
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
152
161
|
*/
|
|
@@ -387,27 +387,3 @@ export interface UpdateKeysResponse {
|
|
|
387
387
|
*/
|
|
388
388
|
ETag: string | undefined;
|
|
389
389
|
}
|
|
390
|
-
/**
|
|
391
|
-
* @internal
|
|
392
|
-
*/
|
|
393
|
-
export declare const GetKeyResponseFilterSensitiveLog: (obj: GetKeyResponse) => any;
|
|
394
|
-
/**
|
|
395
|
-
* @internal
|
|
396
|
-
*/
|
|
397
|
-
export declare const ListKeysResponseListItemFilterSensitiveLog: (obj: ListKeysResponseListItem) => any;
|
|
398
|
-
/**
|
|
399
|
-
* @internal
|
|
400
|
-
*/
|
|
401
|
-
export declare const ListKeysResponseFilterSensitiveLog: (obj: ListKeysResponse) => any;
|
|
402
|
-
/**
|
|
403
|
-
* @internal
|
|
404
|
-
*/
|
|
405
|
-
export declare const PutKeyRequestFilterSensitiveLog: (obj: PutKeyRequest) => any;
|
|
406
|
-
/**
|
|
407
|
-
* @internal
|
|
408
|
-
*/
|
|
409
|
-
export declare const PutKeyRequestListItemFilterSensitiveLog: (obj: PutKeyRequestListItem) => any;
|
|
410
|
-
/**
|
|
411
|
-
* @internal
|
|
412
|
-
*/
|
|
413
|
-
export declare const UpdateKeysRequestFilterSensitiveLog: (obj: UpdateKeysRequest) => any;
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|