@aws-sdk/client-cloudfront-keyvaluestore 3.934.0 → 3.936.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-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./CloudFrontKeyValueStoreClient";
2
2
  export * from "./CloudFrontKeyValueStore";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { CloudFrontKeyValueStoreServiceException } from "./models/CloudFrontKeyValueStoreServiceException";
@@ -0,0 +1,85 @@
1
+ import { CloudFrontKeyValueStoreServiceException as __BaseException } from "./CloudFrontKeyValueStoreServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "ConflictException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, ConflictException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class InternalServerException extends __BaseException {
31
+ name = "InternalServerException";
32
+ $fault = "server";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "InternalServerException",
37
+ $fault: "server",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InternalServerException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class ResourceNotFoundException extends __BaseException {
45
+ name = "ResourceNotFoundException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ResourceNotFoundException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class ServiceQuotaExceededException extends __BaseException {
59
+ name = "ServiceQuotaExceededException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ServiceQuotaExceededException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class ValidationException extends __BaseException {
73
+ name = "ValidationException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "ValidationException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, ValidationException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
@@ -1,85 +1 @@
1
- import { CloudFrontKeyValueStoreServiceException as __BaseException } from "./CloudFrontKeyValueStoreServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export class ConflictException extends __BaseException {
17
- name = "ConflictException";
18
- $fault = "client";
19
- Message;
20
- constructor(opts) {
21
- super({
22
- name: "ConflictException",
23
- $fault: "client",
24
- ...opts,
25
- });
26
- Object.setPrototypeOf(this, ConflictException.prototype);
27
- this.Message = opts.Message;
28
- }
29
- }
30
- export class InternalServerException extends __BaseException {
31
- name = "InternalServerException";
32
- $fault = "server";
33
- Message;
34
- constructor(opts) {
35
- super({
36
- name: "InternalServerException",
37
- $fault: "server",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, InternalServerException.prototype);
41
- this.Message = opts.Message;
42
- }
43
- }
44
- export class ResourceNotFoundException extends __BaseException {
45
- name = "ResourceNotFoundException";
46
- $fault = "client";
47
- Message;
48
- constructor(opts) {
49
- super({
50
- name: "ResourceNotFoundException",
51
- $fault: "client",
52
- ...opts,
53
- });
54
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
55
- this.Message = opts.Message;
56
- }
57
- }
58
- export class ServiceQuotaExceededException extends __BaseException {
59
- name = "ServiceQuotaExceededException";
60
- $fault = "client";
61
- Message;
62
- constructor(opts) {
63
- super({
64
- name: "ServiceQuotaExceededException",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
69
- this.Message = opts.Message;
70
- }
71
- }
72
- export class ValidationException extends __BaseException {
73
- name = "ValidationException";
74
- $fault = "client";
75
- Message;
76
- constructor(opts) {
77
- super({
78
- name: "ValidationException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- Object.setPrototypeOf(this, ValidationException.prototype);
83
- this.Message = opts.Message;
84
- }
85
- }
1
+ export {};
@@ -57,7 +57,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cloudfrontkeyvaluestore";
57
57
  const n0 = "com.amazonaws.cloudfrontkeyvaluestore";
58
58
  import { TypeRegistry } from "@smithy/core/schema";
59
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";
60
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
61
61
  export var Value = [0, n0, _V, 8, 0];
62
62
  export var AccessDeniedException = [
63
63
  -3,
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { CloudFrontKeyValueStoreExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/errors";
14
+ export type * from "./models/models_0";
14
15
  export { CloudFrontKeyValueStoreServiceException } from "./models/CloudFrontKeyValueStoreServiceException";
@@ -0,0 +1,80 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CloudFrontKeyValueStoreServiceException as __BaseException } from "./CloudFrontKeyValueStoreServiceException";
3
+ /**
4
+ * <p>Access denied.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ Message?: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>Resource is not in expected state.</p>
18
+ * @public
19
+ */
20
+ export declare class ConflictException extends __BaseException {
21
+ readonly name: "ConflictException";
22
+ readonly $fault: "client";
23
+ Message?: string | undefined;
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>Internal server error.</p>
31
+ * @public
32
+ */
33
+ export declare class InternalServerException extends __BaseException {
34
+ readonly name: "InternalServerException";
35
+ readonly $fault: "server";
36
+ Message?: string | undefined;
37
+ /**
38
+ * @internal
39
+ */
40
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
41
+ }
42
+ /**
43
+ * <p>Resource was not found.</p>
44
+ * @public
45
+ */
46
+ export declare class ResourceNotFoundException extends __BaseException {
47
+ readonly name: "ResourceNotFoundException";
48
+ readonly $fault: "client";
49
+ Message?: string | undefined;
50
+ /**
51
+ * @internal
52
+ */
53
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
54
+ }
55
+ /**
56
+ * <p>Limit exceeded.</p>
57
+ * @public
58
+ */
59
+ export declare class ServiceQuotaExceededException extends __BaseException {
60
+ readonly name: "ServiceQuotaExceededException";
61
+ readonly $fault: "client";
62
+ Message?: string | undefined;
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
67
+ }
68
+ /**
69
+ * <p>Validation failed.</p>
70
+ * @public
71
+ */
72
+ export declare class ValidationException extends __BaseException {
73
+ readonly name: "ValidationException";
74
+ readonly $fault: "client";
75
+ Message?: string | undefined;
76
+ /**
77
+ * @internal
78
+ */
79
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
80
+ }
@@ -1,31 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CloudFrontKeyValueStoreServiceException as __BaseException } from "./CloudFrontKeyValueStoreServiceException";
3
- /**
4
- * <p>Access denied.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- Message?: string | undefined;
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
16
- /**
17
- * <p>Resource is not in expected state.</p>
18
- * @public
19
- */
20
- export declare class ConflictException extends __BaseException {
21
- readonly name: "ConflictException";
22
- readonly $fault: "client";
23
- Message?: string | undefined;
24
- /**
25
- * @internal
26
- */
27
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
28
- }
29
1
  /**
30
2
  * @public
31
3
  */
@@ -67,58 +39,6 @@ export interface DeleteKeyResponse {
67
39
  */
68
40
  ETag: string | undefined;
69
41
  }
70
- /**
71
- * <p>Internal server error.</p>
72
- * @public
73
- */
74
- export declare class InternalServerException extends __BaseException {
75
- readonly name: "InternalServerException";
76
- readonly $fault: "server";
77
- Message?: string | undefined;
78
- /**
79
- * @internal
80
- */
81
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
82
- }
83
- /**
84
- * <p>Resource was not found.</p>
85
- * @public
86
- */
87
- export declare class ResourceNotFoundException extends __BaseException {
88
- readonly name: "ResourceNotFoundException";
89
- readonly $fault: "client";
90
- Message?: string | undefined;
91
- /**
92
- * @internal
93
- */
94
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
95
- }
96
- /**
97
- * <p>Limit exceeded.</p>
98
- * @public
99
- */
100
- export declare class ServiceQuotaExceededException extends __BaseException {
101
- readonly name: "ServiceQuotaExceededException";
102
- readonly $fault: "client";
103
- Message?: string | undefined;
104
- /**
105
- * @internal
106
- */
107
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
108
- }
109
- /**
110
- * <p>Validation failed.</p>
111
- * @public
112
- */
113
- export declare class ValidationException extends __BaseException {
114
- readonly name: "ValidationException";
115
- readonly $fault: "client";
116
- Message?: string | undefined;
117
- /**
118
- * @internal
119
- */
120
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
121
- }
122
42
  /**
123
43
  * @public
124
44
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CloudFrontKeyValueStoreExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { CloudFrontKeyValueStoreServiceException } from "./models/CloudFrontKeyValueStoreServiceException";
@@ -0,0 +1,48 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CloudFrontKeyValueStoreServiceException as __BaseException } from "./CloudFrontKeyValueStoreServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ Message?: string | undefined;
15
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
+ }
17
+ export declare class InternalServerException extends __BaseException {
18
+ readonly name: "InternalServerException";
19
+ readonly $fault: "server";
20
+ Message?: string | undefined;
21
+ constructor(
22
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
23
+ );
24
+ }
25
+ export declare class ResourceNotFoundException extends __BaseException {
26
+ readonly name: "ResourceNotFoundException";
27
+ readonly $fault: "client";
28
+ Message?: string | undefined;
29
+ constructor(
30
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
31
+ );
32
+ }
33
+ export declare class ServiceQuotaExceededException extends __BaseException {
34
+ readonly name: "ServiceQuotaExceededException";
35
+ readonly $fault: "client";
36
+ Message?: string | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ValidationException extends __BaseException {
42
+ readonly name: "ValidationException";
43
+ readonly $fault: "client";
44
+ Message?: string | undefined;
45
+ constructor(
46
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
47
+ );
48
+ }
@@ -1,19 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CloudFrontKeyValueStoreServiceException as __BaseException } from "./CloudFrontKeyValueStoreServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare class ConflictException extends __BaseException {
12
- readonly name: "ConflictException";
13
- readonly $fault: "client";
14
- Message?: string | undefined;
15
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
16
- }
17
1
  export interface DeleteKeyRequest {
18
2
  KvsARN: string | undefined;
19
3
  Key: string | undefined;
@@ -24,38 +8,6 @@ export interface DeleteKeyResponse {
24
8
  TotalSizeInBytes: number | undefined;
25
9
  ETag: string | undefined;
26
10
  }
27
- export declare class InternalServerException extends __BaseException {
28
- readonly name: "InternalServerException";
29
- readonly $fault: "server";
30
- Message?: string | undefined;
31
- constructor(
32
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
33
- );
34
- }
35
- export declare class ResourceNotFoundException extends __BaseException {
36
- readonly name: "ResourceNotFoundException";
37
- readonly $fault: "client";
38
- Message?: string | undefined;
39
- constructor(
40
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
41
- );
42
- }
43
- export declare class ServiceQuotaExceededException extends __BaseException {
44
- readonly name: "ServiceQuotaExceededException";
45
- readonly $fault: "client";
46
- Message?: string | undefined;
47
- constructor(
48
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
49
- );
50
- }
51
- export declare class ValidationException extends __BaseException {
52
- readonly name: "ValidationException";
53
- readonly $fault: "client";
54
- Message?: string | undefined;
55
- constructor(
56
- opts: __ExceptionOptionType<ValidationException, __BaseException>
57
- );
58
- }
59
11
  export interface DescribeKeyValueStoreRequest {
60
12
  KvsARN: string | undefined;
61
13
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront-keyvaluestore",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Keyvaluestore Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudfront-keyvaluestore",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/signature-v4-multi-region": "3.934.0",
31
- "@aws-sdk/types": "3.930.0",
32
- "@aws-sdk/util-endpoints": "3.930.0",
33
- "@aws-sdk/util-user-agent-browser": "3.930.0",
34
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/signature-v4-multi-region": "3.936.0",
31
+ "@aws-sdk/types": "3.936.0",
32
+ "@aws-sdk/util-endpoints": "3.936.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
34
+ "@aws-sdk/util-user-agent-node": "3.936.0",
35
35
  "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.2",
36
+ "@smithy/core": "^3.18.5",
37
37
  "@smithy/fetch-http-handler": "^5.3.6",
38
38
  "@smithy/hash-node": "^4.2.5",
39
39
  "@smithy/invalid-dependency": "^4.2.5",
40
40
  "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.9",
42
- "@smithy/middleware-retry": "^4.4.9",
43
- "@smithy/middleware-serde": "^4.2.5",
41
+ "@smithy/middleware-endpoint": "^4.3.12",
42
+ "@smithy/middleware-retry": "^4.4.12",
43
+ "@smithy/middleware-serde": "^4.2.6",
44
44
  "@smithy/middleware-stack": "^4.2.5",
45
45
  "@smithy/node-config-provider": "^4.3.5",
46
46
  "@smithy/node-http-handler": "^4.4.5",
47
47
  "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/smithy-client": "^4.9.8",
49
49
  "@smithy/types": "^4.9.0",
50
50
  "@smithy/url-parser": "^4.2.5",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.8",
55
- "@smithy/util-defaults-mode-node": "^4.2.11",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
55
+ "@smithy/util-defaults-mode-node": "^4.2.14",
56
56
  "@smithy/util-endpoints": "^3.2.5",
57
57
  "@smithy/util-middleware": "^4.2.5",
58
58
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";