@aws-sdk/client-bcm-pricing-calculator 3.933.0 → 3.935.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.
@@ -0,0 +1,329 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const CurrencyCode: {
6
+ readonly USD: "USD";
7
+ };
8
+ /**
9
+ * @public
10
+ */
11
+ export type CurrencyCode = (typeof CurrencyCode)[keyof typeof CurrencyCode];
12
+ /**
13
+ * @public
14
+ * @enum
15
+ */
16
+ export declare const PurchaseAgreementType: {
17
+ readonly RESERVED_INSTANCE: "RESERVED_INSTANCE";
18
+ readonly SAVINGS_PLANS: "SAVINGS_PLANS";
19
+ };
20
+ /**
21
+ * @public
22
+ */
23
+ export type PurchaseAgreementType = (typeof PurchaseAgreementType)[keyof typeof PurchaseAgreementType];
24
+ /**
25
+ * @public
26
+ * @enum
27
+ */
28
+ export declare const ValidationExceptionReason: {
29
+ readonly CANNOT_PARSE: "cannotParse";
30
+ readonly DISALLOWED_RATE: "disallowedRate";
31
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
32
+ readonly INVALID_REQUEST_FROM_MEMBER: "invalidRequestFromMember";
33
+ readonly OTHER: "other";
34
+ readonly UNKNOWN_OPERATION: "unknownOperation";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const MatchOption: {
45
+ readonly CONTAINS: "CONTAINS";
46
+ readonly EQUALS: "EQUALS";
47
+ readonly STARTS_WITH: "STARTS_WITH";
48
+ };
49
+ /**
50
+ * @public
51
+ */
52
+ export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
53
+ /**
54
+ * @public
55
+ * @enum
56
+ */
57
+ export declare const ListUsageFilterName: {
58
+ readonly HISTORICAL_LOCATION: "HISTORICAL_LOCATION";
59
+ readonly HISTORICAL_OPERATION: "HISTORICAL_OPERATION";
60
+ readonly HISTORICAL_SERVICE_CODE: "HISTORICAL_SERVICE_CODE";
61
+ readonly HISTORICAL_USAGE_ACCOUNT_ID: "HISTORICAL_USAGE_ACCOUNT_ID";
62
+ readonly HISTORICAL_USAGE_TYPE: "HISTORICAL_USAGE_TYPE";
63
+ readonly LOCATION: "LOCATION";
64
+ readonly OPERATION: "OPERATION";
65
+ readonly SERVICE_CODE: "SERVICE_CODE";
66
+ readonly USAGE_ACCOUNT_ID: "USAGE_ACCOUNT_ID";
67
+ readonly USAGE_GROUP: "USAGE_GROUP";
68
+ readonly USAGE_TYPE: "USAGE_TYPE";
69
+ };
70
+ /**
71
+ * @public
72
+ */
73
+ export type ListUsageFilterName = (typeof ListUsageFilterName)[keyof typeof ListUsageFilterName];
74
+ /**
75
+ * @public
76
+ * @enum
77
+ */
78
+ export declare const ListBillEstimateLineItemsFilterName: {
79
+ readonly LINE_ITEM_TYPE: "LINE_ITEM_TYPE";
80
+ readonly LOCATION: "LOCATION";
81
+ readonly OPERATION: "OPERATION";
82
+ readonly SERVICE_CODE: "SERVICE_CODE";
83
+ readonly USAGE_ACCOUNT_ID: "USAGE_ACCOUNT_ID";
84
+ readonly USAGE_TYPE: "USAGE_TYPE";
85
+ };
86
+ /**
87
+ * @public
88
+ */
89
+ export type ListBillEstimateLineItemsFilterName = (typeof ListBillEstimateLineItemsFilterName)[keyof typeof ListBillEstimateLineItemsFilterName];
90
+ /**
91
+ * @public
92
+ * @enum
93
+ */
94
+ export declare const BillEstimateStatus: {
95
+ readonly COMPLETE: "COMPLETE";
96
+ readonly FAILED: "FAILED";
97
+ readonly IN_PROGRESS: "IN_PROGRESS";
98
+ };
99
+ /**
100
+ * @public
101
+ */
102
+ export type BillEstimateStatus = (typeof BillEstimateStatus)[keyof typeof BillEstimateStatus];
103
+ /**
104
+ * @public
105
+ * @enum
106
+ */
107
+ export declare const GroupSharingPreferenceEnum: {
108
+ readonly OPEN: "OPEN";
109
+ readonly PRIORITIZED: "PRIORITIZED";
110
+ readonly RESTRICTED: "RESTRICTED";
111
+ };
112
+ /**
113
+ * @public
114
+ */
115
+ export type GroupSharingPreferenceEnum = (typeof GroupSharingPreferenceEnum)[keyof typeof GroupSharingPreferenceEnum];
116
+ /**
117
+ * @public
118
+ * @enum
119
+ */
120
+ export declare const ListBillEstimatesFilterName: {
121
+ readonly NAME: "NAME";
122
+ readonly STATUS: "STATUS";
123
+ };
124
+ /**
125
+ * @public
126
+ */
127
+ export type ListBillEstimatesFilterName = (typeof ListBillEstimatesFilterName)[keyof typeof ListBillEstimatesFilterName];
128
+ /**
129
+ * @public
130
+ * @enum
131
+ */
132
+ export declare const BatchCreateBillScenarioCommitmentModificationErrorCode: {
133
+ readonly CONFLICT: "CONFLICT";
134
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
135
+ readonly INVALID_ACCOUNT: "INVALID_ACCOUNT";
136
+ };
137
+ /**
138
+ * @public
139
+ */
140
+ export type BatchCreateBillScenarioCommitmentModificationErrorCode = (typeof BatchCreateBillScenarioCommitmentModificationErrorCode)[keyof typeof BatchCreateBillScenarioCommitmentModificationErrorCode];
141
+ /**
142
+ * @public
143
+ * @enum
144
+ */
145
+ export declare const BatchDeleteBillScenarioCommitmentModificationErrorCode: {
146
+ readonly BAD_REQUEST: "BAD_REQUEST";
147
+ readonly CONFLICT: "CONFLICT";
148
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
149
+ };
150
+ /**
151
+ * @public
152
+ */
153
+ export type BatchDeleteBillScenarioCommitmentModificationErrorCode = (typeof BatchDeleteBillScenarioCommitmentModificationErrorCode)[keyof typeof BatchDeleteBillScenarioCommitmentModificationErrorCode];
154
+ /**
155
+ * @public
156
+ * @enum
157
+ */
158
+ export declare const BatchUpdateBillScenarioCommitmentModificationErrorCode: {
159
+ readonly BAD_REQUEST: "BAD_REQUEST";
160
+ readonly CONFLICT: "CONFLICT";
161
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
162
+ readonly NOT_FOUND: "NOT_FOUND";
163
+ };
164
+ /**
165
+ * @public
166
+ */
167
+ export type BatchUpdateBillScenarioCommitmentModificationErrorCode = (typeof BatchUpdateBillScenarioCommitmentModificationErrorCode)[keyof typeof BatchUpdateBillScenarioCommitmentModificationErrorCode];
168
+ /**
169
+ * @public
170
+ * @enum
171
+ */
172
+ export declare const BillScenarioStatus: {
173
+ readonly FAILED: "FAILED";
174
+ readonly LOCKED: "LOCKED";
175
+ readonly READY: "READY";
176
+ readonly STALE: "STALE";
177
+ };
178
+ /**
179
+ * @public
180
+ */
181
+ export type BillScenarioStatus = (typeof BillScenarioStatus)[keyof typeof BillScenarioStatus];
182
+ /**
183
+ * @public
184
+ * @enum
185
+ */
186
+ export declare const BatchCreateBillScenarioUsageModificationErrorCode: {
187
+ readonly BAD_REQUEST: "BAD_REQUEST";
188
+ readonly CONFLICT: "CONFLICT";
189
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
190
+ readonly NOT_FOUND: "NOT_FOUND";
191
+ };
192
+ /**
193
+ * @public
194
+ */
195
+ export type BatchCreateBillScenarioUsageModificationErrorCode = (typeof BatchCreateBillScenarioUsageModificationErrorCode)[keyof typeof BatchCreateBillScenarioUsageModificationErrorCode];
196
+ /**
197
+ * @public
198
+ * @enum
199
+ */
200
+ export declare const BatchDeleteBillScenarioUsageModificationErrorCode: {
201
+ readonly BAD_REQUEST: "BAD_REQUEST";
202
+ readonly CONFLICT: "CONFLICT";
203
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
204
+ };
205
+ /**
206
+ * @public
207
+ */
208
+ export type BatchDeleteBillScenarioUsageModificationErrorCode = (typeof BatchDeleteBillScenarioUsageModificationErrorCode)[keyof typeof BatchDeleteBillScenarioUsageModificationErrorCode];
209
+ /**
210
+ * @public
211
+ * @enum
212
+ */
213
+ export declare const BatchUpdateBillScenarioUsageModificationErrorCode: {
214
+ readonly BAD_REQUEST: "BAD_REQUEST";
215
+ readonly CONFLICT: "CONFLICT";
216
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
217
+ readonly NOT_FOUND: "NOT_FOUND";
218
+ };
219
+ /**
220
+ * @public
221
+ */
222
+ export type BatchUpdateBillScenarioUsageModificationErrorCode = (typeof BatchUpdateBillScenarioUsageModificationErrorCode)[keyof typeof BatchUpdateBillScenarioUsageModificationErrorCode];
223
+ /**
224
+ * @public
225
+ * @enum
226
+ */
227
+ export declare const ListBillScenariosFilterName: {
228
+ readonly COST_CATEGORY_ARN: "COST_CATEGORY_ARN";
229
+ readonly GROUP_SHARING_PREFERENCE: "GROUP_SHARING_PREFERENCE";
230
+ readonly NAME: "NAME";
231
+ readonly STATUS: "STATUS";
232
+ };
233
+ /**
234
+ * @public
235
+ */
236
+ export type ListBillScenariosFilterName = (typeof ListBillScenariosFilterName)[keyof typeof ListBillScenariosFilterName];
237
+ /**
238
+ * @public
239
+ * @enum
240
+ */
241
+ export declare const RateType: {
242
+ readonly AFTER_DISCOUNTS: "AFTER_DISCOUNTS";
243
+ readonly AFTER_DISCOUNTS_AND_COMMITMENTS: "AFTER_DISCOUNTS_AND_COMMITMENTS";
244
+ readonly BEFORE_DISCOUNTS: "BEFORE_DISCOUNTS";
245
+ };
246
+ /**
247
+ * @public
248
+ */
249
+ export type RateType = (typeof RateType)[keyof typeof RateType];
250
+ /**
251
+ * @public
252
+ * @enum
253
+ */
254
+ export declare const WorkloadEstimateRateType: {
255
+ readonly AFTER_DISCOUNTS: "AFTER_DISCOUNTS";
256
+ readonly AFTER_DISCOUNTS_AND_COMMITMENTS: "AFTER_DISCOUNTS_AND_COMMITMENTS";
257
+ readonly BEFORE_DISCOUNTS: "BEFORE_DISCOUNTS";
258
+ };
259
+ /**
260
+ * @public
261
+ */
262
+ export type WorkloadEstimateRateType = (typeof WorkloadEstimateRateType)[keyof typeof WorkloadEstimateRateType];
263
+ /**
264
+ * @public
265
+ * @enum
266
+ */
267
+ export declare const WorkloadEstimateStatus: {
268
+ readonly ACTION_NEEDED: "ACTION_NEEDED";
269
+ readonly INVALID: "INVALID";
270
+ readonly UPDATING: "UPDATING";
271
+ readonly VALID: "VALID";
272
+ };
273
+ /**
274
+ * @public
275
+ */
276
+ export type WorkloadEstimateStatus = (typeof WorkloadEstimateStatus)[keyof typeof WorkloadEstimateStatus];
277
+ /**
278
+ * @public
279
+ * @enum
280
+ */
281
+ export declare const ListWorkloadEstimatesFilterName: {
282
+ readonly NAME: "NAME";
283
+ readonly STATUS: "STATUS";
284
+ };
285
+ /**
286
+ * @public
287
+ */
288
+ export type ListWorkloadEstimatesFilterName = (typeof ListWorkloadEstimatesFilterName)[keyof typeof ListWorkloadEstimatesFilterName];
289
+ /**
290
+ * @public
291
+ * @enum
292
+ */
293
+ export declare const BatchCreateWorkloadEstimateUsageCode: {
294
+ readonly BAD_REQUEST: "BAD_REQUEST";
295
+ readonly CONFLICT: "CONFLICT";
296
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
297
+ readonly NOT_FOUND: "NOT_FOUND";
298
+ };
299
+ /**
300
+ * @public
301
+ */
302
+ export type BatchCreateWorkloadEstimateUsageCode = (typeof BatchCreateWorkloadEstimateUsageCode)[keyof typeof BatchCreateWorkloadEstimateUsageCode];
303
+ /**
304
+ * @public
305
+ * @enum
306
+ */
307
+ export declare const WorkloadEstimateCostStatus: {
308
+ readonly INVALID: "INVALID";
309
+ readonly STALE: "STALE";
310
+ readonly VALID: "VALID";
311
+ };
312
+ /**
313
+ * @public
314
+ */
315
+ export type WorkloadEstimateCostStatus = (typeof WorkloadEstimateCostStatus)[keyof typeof WorkloadEstimateCostStatus];
316
+ /**
317
+ * @public
318
+ * @enum
319
+ */
320
+ export declare const WorkloadEstimateUpdateUsageErrorCode: {
321
+ readonly BAD_REQUEST: "BAD_REQUEST";
322
+ readonly CONFLICT: "CONFLICT";
323
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
324
+ readonly NOT_FOUND: "NOT_FOUND";
325
+ };
326
+ /**
327
+ * @public
328
+ */
329
+ export type WorkloadEstimateUpdateUsageErrorCode = (typeof WorkloadEstimateUpdateUsageErrorCode)[keyof typeof WorkloadEstimateUpdateUsageErrorCode];
@@ -0,0 +1,170 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BCMPricingCalculatorServiceException as __BaseException } from "./BCMPricingCalculatorServiceException";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
5
+ /**
6
+ * <p> You do not have sufficient access to perform this action. </p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p> The requested data is currently unavailable. </p>
19
+ * @public
20
+ */
21
+ export declare class DataUnavailableException extends __BaseException {
22
+ readonly name: "DataUnavailableException";
23
+ readonly $fault: "client";
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<DataUnavailableException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p> An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support. </p>
31
+ * @public
32
+ */
33
+ export declare class InternalServerException extends __BaseException {
34
+ readonly name: "InternalServerException";
35
+ readonly $fault: "server";
36
+ /**
37
+ * <p> An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support. </p>
38
+ * @public
39
+ */
40
+ retryAfterSeconds?: number | undefined;
41
+ /**
42
+ * @internal
43
+ */
44
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
45
+ }
46
+ /**
47
+ * <p> The specified resource was not found. </p>
48
+ * @public
49
+ */
50
+ export declare class ResourceNotFoundException extends __BaseException {
51
+ readonly name: "ResourceNotFoundException";
52
+ readonly $fault: "client";
53
+ /**
54
+ * <p> The identifier of the resource that was not found. </p>
55
+ * @public
56
+ */
57
+ resourceId: string | undefined;
58
+ /**
59
+ * <p> The type of the resource that was not found. </p>
60
+ * @public
61
+ */
62
+ resourceType: string | undefined;
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
67
+ }
68
+ /**
69
+ * <p> The request was denied due to request throttling. </p>
70
+ * @public
71
+ */
72
+ export declare class ThrottlingException extends __BaseException {
73
+ readonly name: "ThrottlingException";
74
+ readonly $fault: "client";
75
+ /**
76
+ * <p>The service code that exceeded the throttling limit.</p>
77
+ * @public
78
+ */
79
+ serviceCode?: string | undefined;
80
+ /**
81
+ * <p>The quota code that exceeded the throttling limit.</p>
82
+ * @public
83
+ */
84
+ quotaCode?: string | undefined;
85
+ /**
86
+ * <p>The service code that exceeded the throttling limit. Retry your request, but if the problem persists, contact Amazon Web Services support.</p>
87
+ * @public
88
+ */
89
+ retryAfterSeconds?: number | undefined;
90
+ /**
91
+ * @internal
92
+ */
93
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
94
+ }
95
+ /**
96
+ * <p> The input provided fails to satisfy the constraints specified by an Amazon Web Services service. </p>
97
+ * @public
98
+ */
99
+ export declare class ValidationException extends __BaseException {
100
+ readonly name: "ValidationException";
101
+ readonly $fault: "client";
102
+ /**
103
+ * <p> The reason for the validation exception. </p>
104
+ * @public
105
+ */
106
+ reason?: ValidationExceptionReason | undefined;
107
+ /**
108
+ * <p> The list of fields that are invalid. </p>
109
+ * @public
110
+ */
111
+ fieldList?: ValidationExceptionField[] | undefined;
112
+ /**
113
+ * @internal
114
+ */
115
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
116
+ }
117
+ /**
118
+ * <p> The request could not be processed because of conflict in the current state of the resource. </p>
119
+ * @public
120
+ */
121
+ export declare class ConflictException extends __BaseException {
122
+ readonly name: "ConflictException";
123
+ readonly $fault: "client";
124
+ /**
125
+ * <p> The identifier of the resource that was not found. </p>
126
+ * @public
127
+ */
128
+ resourceId: string | undefined;
129
+ /**
130
+ * <p> The type of the resource that was not found. </p>
131
+ * @public
132
+ */
133
+ resourceType: string | undefined;
134
+ /**
135
+ * @internal
136
+ */
137
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
138
+ }
139
+ /**
140
+ * <p> The request would cause you to exceed your service quota. </p>
141
+ * @public
142
+ */
143
+ export declare class ServiceQuotaExceededException extends __BaseException {
144
+ readonly name: "ServiceQuotaExceededException";
145
+ readonly $fault: "client";
146
+ /**
147
+ * <p> The identifier of the resource that exceeded quota. </p>
148
+ * @public
149
+ */
150
+ resourceId: string | undefined;
151
+ /**
152
+ * <p> The type of the resource that exceeded quota. </p>
153
+ * @public
154
+ */
155
+ resourceType: string | undefined;
156
+ /**
157
+ * <p> The service code that exceeded quota. </p>
158
+ * @public
159
+ */
160
+ serviceCode?: string | undefined;
161
+ /**
162
+ * <p> The quota code that was exceeded. </p>
163
+ * @public
164
+ */
165
+ quotaCode?: string | undefined;
166
+ /**
167
+ * @internal
168
+ */
169
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
170
+ }