@aws-sdk/client-ebs 3.490.0 → 3.495.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.
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EBSServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class EBSServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, EBSServiceException.prototype);
10
- }
11
- }
12
- exports.EBSServiceException = EBSServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,207 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartSnapshotResponseFilterSensitiveLog = exports.StartSnapshotRequestFilterSensitiveLog = exports.PutSnapshotBlockRequestFilterSensitiveLog = exports.ListSnapshotBlocksResponseFilterSensitiveLog = exports.ListChangedBlocksResponseFilterSensitiveLog = exports.GetSnapshotBlockResponseFilterSensitiveLog = exports.ChangedBlockFilterSensitiveLog = exports.SSEType = exports.ConflictException = exports.ConcurrentLimitExceededException = exports.ValidationException = exports.ValidationExceptionReason = exports.ServiceQuotaExceededException = exports.ServiceQuotaExceededExceptionReason = exports.ResourceNotFoundException = exports.ResourceNotFoundExceptionReason = exports.RequestThrottledException = exports.RequestThrottledExceptionReason = exports.InternalServerException = exports.Status = exports.ChecksumAlgorithm = exports.ChecksumAggregationMethod = exports.AccessDeniedException = exports.AccessDeniedExceptionReason = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const EBSServiceException_1 = require("./EBSServiceException");
6
- exports.AccessDeniedExceptionReason = {
7
- DEPENDENCY_ACCESS_DENIED: "DEPENDENCY_ACCESS_DENIED",
8
- UNAUTHORIZED_ACCOUNT: "UNAUTHORIZED_ACCOUNT",
9
- };
10
- class AccessDeniedException extends EBSServiceException_1.EBSServiceException {
11
- constructor(opts) {
12
- super({
13
- name: "AccessDeniedException",
14
- $fault: "client",
15
- ...opts,
16
- });
17
- this.name = "AccessDeniedException";
18
- this.$fault = "client";
19
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
20
- this.Message = opts.Message;
21
- this.Reason = opts.Reason;
22
- }
23
- }
24
- exports.AccessDeniedException = AccessDeniedException;
25
- exports.ChecksumAggregationMethod = {
26
- CHECKSUM_AGGREGATION_LINEAR: "LINEAR",
27
- };
28
- exports.ChecksumAlgorithm = {
29
- CHECKSUM_ALGORITHM_SHA256: "SHA256",
30
- };
31
- exports.Status = {
32
- COMPLETED: "completed",
33
- ERROR: "error",
34
- PENDING: "pending",
35
- };
36
- class InternalServerException extends EBSServiceException_1.EBSServiceException {
37
- constructor(opts) {
38
- super({
39
- name: "InternalServerException",
40
- $fault: "server",
41
- ...opts,
42
- });
43
- this.name = "InternalServerException";
44
- this.$fault = "server";
45
- Object.setPrototypeOf(this, InternalServerException.prototype);
46
- this.Message = opts.Message;
47
- }
48
- }
49
- exports.InternalServerException = InternalServerException;
50
- exports.RequestThrottledExceptionReason = {
51
- ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED",
52
- DEPENDENCY_REQUEST_THROTTLED: "DEPENDENCY_REQUEST_THROTTLED",
53
- RESOURCE_LEVEL_THROTTLE: "RESOURCE_LEVEL_THROTTLE",
54
- };
55
- class RequestThrottledException extends EBSServiceException_1.EBSServiceException {
56
- constructor(opts) {
57
- super({
58
- name: "RequestThrottledException",
59
- $fault: "client",
60
- ...opts,
61
- });
62
- this.name = "RequestThrottledException";
63
- this.$fault = "client";
64
- Object.setPrototypeOf(this, RequestThrottledException.prototype);
65
- this.Message = opts.Message;
66
- this.Reason = opts.Reason;
67
- }
68
- }
69
- exports.RequestThrottledException = RequestThrottledException;
70
- exports.ResourceNotFoundExceptionReason = {
71
- DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND",
72
- GRANT_NOT_FOUND: "GRANT_NOT_FOUND",
73
- IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND",
74
- SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND",
75
- };
76
- class ResourceNotFoundException extends EBSServiceException_1.EBSServiceException {
77
- constructor(opts) {
78
- super({
79
- name: "ResourceNotFoundException",
80
- $fault: "client",
81
- ...opts,
82
- });
83
- this.name = "ResourceNotFoundException";
84
- this.$fault = "client";
85
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
86
- this.Message = opts.Message;
87
- this.Reason = opts.Reason;
88
- }
89
- }
90
- exports.ResourceNotFoundException = ResourceNotFoundException;
91
- exports.ServiceQuotaExceededExceptionReason = {
92
- DEPENDENCY_SERVICE_QUOTA_EXCEEDED: "DEPENDENCY_SERVICE_QUOTA_EXCEEDED",
93
- };
94
- class ServiceQuotaExceededException extends EBSServiceException_1.EBSServiceException {
95
- constructor(opts) {
96
- super({
97
- name: "ServiceQuotaExceededException",
98
- $fault: "client",
99
- ...opts,
100
- });
101
- this.name = "ServiceQuotaExceededException";
102
- this.$fault = "client";
103
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
104
- this.Message = opts.Message;
105
- this.Reason = opts.Reason;
106
- }
107
- }
108
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
109
- exports.ValidationExceptionReason = {
110
- CONFLICTING_BLOCK_UPDATE: "CONFLICTING_BLOCK_UPDATE",
111
- INVALID_BLOCK: "INVALID_BLOCK",
112
- INVALID_BLOCK_TOKEN: "INVALID_BLOCK_TOKEN",
113
- INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING",
114
- INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY",
115
- INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST",
116
- INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN",
117
- INVALID_IMAGE_ID: "INVALID_IMAGE_ID",
118
- INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
119
- INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
120
- INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID",
121
- INVALID_TAG: "INVALID_TAG",
122
- INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE",
123
- UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS",
124
- WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT",
125
- };
126
- class ValidationException extends EBSServiceException_1.EBSServiceException {
127
- constructor(opts) {
128
- super({
129
- name: "ValidationException",
130
- $fault: "client",
131
- ...opts,
132
- });
133
- this.name = "ValidationException";
134
- this.$fault = "client";
135
- Object.setPrototypeOf(this, ValidationException.prototype);
136
- this.Message = opts.Message;
137
- this.Reason = opts.Reason;
138
- }
139
- }
140
- exports.ValidationException = ValidationException;
141
- class ConcurrentLimitExceededException extends EBSServiceException_1.EBSServiceException {
142
- constructor(opts) {
143
- super({
144
- name: "ConcurrentLimitExceededException",
145
- $fault: "client",
146
- ...opts,
147
- });
148
- this.name = "ConcurrentLimitExceededException";
149
- this.$fault = "client";
150
- Object.setPrototypeOf(this, ConcurrentLimitExceededException.prototype);
151
- this.Message = opts.Message;
152
- }
153
- }
154
- exports.ConcurrentLimitExceededException = ConcurrentLimitExceededException;
155
- class ConflictException extends EBSServiceException_1.EBSServiceException {
156
- constructor(opts) {
157
- super({
158
- name: "ConflictException",
159
- $fault: "client",
160
- ...opts,
161
- });
162
- this.name = "ConflictException";
163
- this.$fault = "client";
164
- Object.setPrototypeOf(this, ConflictException.prototype);
165
- this.Message = opts.Message;
166
- }
167
- }
168
- exports.ConflictException = ConflictException;
169
- exports.SSEType = {
170
- NONE: "none",
171
- SSE_EBS: "sse-ebs",
172
- SSE_KMS: "sse-kms",
173
- };
174
- const ChangedBlockFilterSensitiveLog = (obj) => ({
175
- ...obj,
176
- });
177
- exports.ChangedBlockFilterSensitiveLog = ChangedBlockFilterSensitiveLog;
178
- const GetSnapshotBlockResponseFilterSensitiveLog = (obj) => ({
179
- ...obj,
180
- ...(obj.BlockData && { BlockData: smithy_client_1.SENSITIVE_STRING }),
181
- });
182
- exports.GetSnapshotBlockResponseFilterSensitiveLog = GetSnapshotBlockResponseFilterSensitiveLog;
183
- const ListChangedBlocksResponseFilterSensitiveLog = (obj) => ({
184
- ...obj,
185
- ...(obj.ChangedBlocks && { ChangedBlocks: smithy_client_1.SENSITIVE_STRING }),
186
- });
187
- exports.ListChangedBlocksResponseFilterSensitiveLog = ListChangedBlocksResponseFilterSensitiveLog;
188
- const ListSnapshotBlocksResponseFilterSensitiveLog = (obj) => ({
189
- ...obj,
190
- ...(obj.Blocks && { Blocks: smithy_client_1.SENSITIVE_STRING }),
191
- });
192
- exports.ListSnapshotBlocksResponseFilterSensitiveLog = ListSnapshotBlocksResponseFilterSensitiveLog;
193
- const PutSnapshotBlockRequestFilterSensitiveLog = (obj) => ({
194
- ...obj,
195
- ...(obj.BlockData && { BlockData: smithy_client_1.SENSITIVE_STRING }),
196
- });
197
- exports.PutSnapshotBlockRequestFilterSensitiveLog = PutSnapshotBlockRequestFilterSensitiveLog;
198
- const StartSnapshotRequestFilterSensitiveLog = (obj) => ({
199
- ...obj,
200
- ...(obj.KmsKeyArn && { KmsKeyArn: smithy_client_1.SENSITIVE_STRING }),
201
- });
202
- exports.StartSnapshotRequestFilterSensitiveLog = StartSnapshotRequestFilterSensitiveLog;
203
- const StartSnapshotResponseFilterSensitiveLog = (obj) => ({
204
- ...obj,
205
- ...(obj.KmsKeyArn && { KmsKeyArn: smithy_client_1.SENSITIVE_STRING }),
206
- });
207
- exports.StartSnapshotResponseFilterSensitiveLog = StartSnapshotResponseFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListChangedBlocks = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListChangedBlocksCommand_1 = require("../commands/ListChangedBlocksCommand");
6
- const EBSClient_1 = require("../EBSClient");
7
- exports.paginateListChangedBlocks = (0, core_1.createPaginator)(EBSClient_1.EBSClient, ListChangedBlocksCommand_1.ListChangedBlocksCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSnapshotBlocks = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSnapshotBlocksCommand_1 = require("../commands/ListSnapshotBlocksCommand");
6
- const EBSClient_1 = require("../EBSClient");
7
- exports.paginateListSnapshotBlocks = (0, core_1.createPaginator)(EBSClient_1.EBSClient, ListSnapshotBlocksCommand_1.ListSnapshotBlocksCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListChangedBlocksPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListSnapshotBlocksPaginator"), exports);
1
+ module.exports = require("../index.js");