@aws-sdk/client-bcm-pricing-calculator 3.934.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.
- package/dist-cjs/index.js +167 -146
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +137 -0
- package/dist-es/models/errors.js +125 -0
- package/dist-es/models/models_0.js +1 -255
- package/dist-es/schemas/schemas_0.js +29 -17
- package/dist-types/commands/CreateBillEstimateCommand.d.ts +3 -0
- package/dist-types/commands/CreateBillScenarioCommand.d.ts +4 -0
- package/dist-types/commands/GetBillEstimateCommand.d.ts +3 -0
- package/dist-types/commands/GetBillScenarioCommand.d.ts +2 -0
- package/dist-types/commands/ListBillScenariosCommand.d.ts +3 -1
- package/dist-types/commands/UpdateBillEstimateCommand.d.ts +3 -0
- package/dist-types/commands/UpdateBillScenarioCommand.d.ts +4 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +329 -0
- package/dist-types/models/errors.d.ts +170 -0
- package/dist-types/models/models_0.d.ts +106 -482
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +182 -0
- package/dist-types/ts3.4/models/errors.d.ts +72 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -243
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import {
|
|
2
|
+
BatchCreateBillScenarioCommitmentModificationErrorCode,
|
|
3
|
+
BatchCreateBillScenarioUsageModificationErrorCode,
|
|
4
|
+
BatchCreateWorkloadEstimateUsageCode,
|
|
5
|
+
BatchDeleteBillScenarioCommitmentModificationErrorCode,
|
|
6
|
+
BatchDeleteBillScenarioUsageModificationErrorCode,
|
|
7
|
+
BatchUpdateBillScenarioCommitmentModificationErrorCode,
|
|
8
|
+
BatchUpdateBillScenarioUsageModificationErrorCode,
|
|
9
|
+
BillEstimateStatus,
|
|
10
|
+
BillScenarioStatus,
|
|
11
|
+
CurrencyCode,
|
|
12
|
+
GroupSharingPreferenceEnum,
|
|
13
|
+
ListBillEstimateLineItemsFilterName,
|
|
14
|
+
ListBillEstimatesFilterName,
|
|
15
|
+
ListBillScenariosFilterName,
|
|
16
|
+
ListUsageFilterName,
|
|
17
|
+
ListWorkloadEstimatesFilterName,
|
|
18
|
+
MatchOption,
|
|
19
|
+
PurchaseAgreementType,
|
|
20
|
+
RateType,
|
|
21
|
+
WorkloadEstimateCostStatus,
|
|
22
|
+
WorkloadEstimateRateType,
|
|
23
|
+
WorkloadEstimateStatus,
|
|
24
|
+
WorkloadEstimateUpdateUsageErrorCode,
|
|
25
|
+
} from "./enums";
|
|
10
26
|
export interface AddReservedInstanceAction {
|
|
11
27
|
reservedInstancesOfferingId?: string | undefined;
|
|
12
28
|
instanceCount?: number | undefined;
|
|
@@ -15,40 +31,15 @@ export interface AddSavingsPlanAction {
|
|
|
15
31
|
savingsPlanOfferingId?: string | undefined;
|
|
16
32
|
commitment?: number | undefined;
|
|
17
33
|
}
|
|
18
|
-
export declare class DataUnavailableException extends __BaseException {
|
|
19
|
-
readonly name: "DataUnavailableException";
|
|
20
|
-
readonly $fault: "client";
|
|
21
|
-
constructor(
|
|
22
|
-
opts: __ExceptionOptionType<DataUnavailableException, __BaseException>
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
export declare class InternalServerException extends __BaseException {
|
|
26
|
-
readonly name: "InternalServerException";
|
|
27
|
-
readonly $fault: "server";
|
|
28
|
-
retryAfterSeconds?: number | undefined;
|
|
29
|
-
constructor(
|
|
30
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
34
|
export interface ListBillEstimateCommitmentsRequest {
|
|
34
35
|
billEstimateId: string | undefined;
|
|
35
36
|
nextToken?: string | undefined;
|
|
36
37
|
maxResults?: number | undefined;
|
|
37
38
|
}
|
|
38
|
-
export declare const CurrencyCode: {
|
|
39
|
-
readonly USD: "USD";
|
|
40
|
-
};
|
|
41
|
-
export type CurrencyCode = (typeof CurrencyCode)[keyof typeof CurrencyCode];
|
|
42
39
|
export interface CostAmount {
|
|
43
40
|
amount?: number | undefined;
|
|
44
41
|
currency?: CurrencyCode | undefined;
|
|
45
42
|
}
|
|
46
|
-
export declare const PurchaseAgreementType: {
|
|
47
|
-
readonly RESERVED_INSTANCE: "RESERVED_INSTANCE";
|
|
48
|
-
readonly SAVINGS_PLANS: "SAVINGS_PLANS";
|
|
49
|
-
};
|
|
50
|
-
export type PurchaseAgreementType =
|
|
51
|
-
(typeof PurchaseAgreementType)[keyof typeof PurchaseAgreementType];
|
|
52
43
|
export interface BillEstimateCommitmentSummary {
|
|
53
44
|
id?: string | undefined;
|
|
54
45
|
purchaseAgreementType?: PurchaseAgreementType | undefined;
|
|
@@ -64,48 +55,10 @@ export interface ListBillEstimateCommitmentsResponse {
|
|
|
64
55
|
items?: BillEstimateCommitmentSummary[] | undefined;
|
|
65
56
|
nextToken?: string | undefined;
|
|
66
57
|
}
|
|
67
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
68
|
-
readonly name: "ResourceNotFoundException";
|
|
69
|
-
readonly $fault: "client";
|
|
70
|
-
resourceId: string | undefined;
|
|
71
|
-
resourceType: string | undefined;
|
|
72
|
-
constructor(
|
|
73
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
export declare class ThrottlingException extends __BaseException {
|
|
77
|
-
readonly name: "ThrottlingException";
|
|
78
|
-
readonly $fault: "client";
|
|
79
|
-
serviceCode?: string | undefined;
|
|
80
|
-
quotaCode?: string | undefined;
|
|
81
|
-
retryAfterSeconds?: number | undefined;
|
|
82
|
-
constructor(
|
|
83
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
58
|
export interface ValidationExceptionField {
|
|
87
59
|
name: string | undefined;
|
|
88
60
|
message: string | undefined;
|
|
89
61
|
}
|
|
90
|
-
export declare const ValidationExceptionReason: {
|
|
91
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
92
|
-
readonly DISALLOWED_RATE: "disallowedRate";
|
|
93
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
94
|
-
readonly INVALID_REQUEST_FROM_MEMBER: "invalidRequestFromMember";
|
|
95
|
-
readonly OTHER: "other";
|
|
96
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
97
|
-
};
|
|
98
|
-
export type ValidationExceptionReason =
|
|
99
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
100
|
-
export declare class ValidationException extends __BaseException {
|
|
101
|
-
readonly name: "ValidationException";
|
|
102
|
-
readonly $fault: "client";
|
|
103
|
-
reason?: ValidationExceptionReason | undefined;
|
|
104
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
105
|
-
constructor(
|
|
106
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
62
|
export interface CostDifference {
|
|
110
63
|
historicalCost?: CostAmount | undefined;
|
|
111
64
|
estimatedCost?: CostAmount | undefined;
|
|
@@ -185,27 +138,6 @@ export interface ListBillEstimateInputCommitmentModificationsResponse {
|
|
|
185
138
|
items?: BillEstimateInputCommitmentModificationSummary[] | undefined;
|
|
186
139
|
nextToken?: string | undefined;
|
|
187
140
|
}
|
|
188
|
-
export declare const MatchOption: {
|
|
189
|
-
readonly CONTAINS: "CONTAINS";
|
|
190
|
-
readonly EQUALS: "EQUALS";
|
|
191
|
-
readonly STARTS_WITH: "STARTS_WITH";
|
|
192
|
-
};
|
|
193
|
-
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
194
|
-
export declare const ListUsageFilterName: {
|
|
195
|
-
readonly HISTORICAL_LOCATION: "HISTORICAL_LOCATION";
|
|
196
|
-
readonly HISTORICAL_OPERATION: "HISTORICAL_OPERATION";
|
|
197
|
-
readonly HISTORICAL_SERVICE_CODE: "HISTORICAL_SERVICE_CODE";
|
|
198
|
-
readonly HISTORICAL_USAGE_ACCOUNT_ID: "HISTORICAL_USAGE_ACCOUNT_ID";
|
|
199
|
-
readonly HISTORICAL_USAGE_TYPE: "HISTORICAL_USAGE_TYPE";
|
|
200
|
-
readonly LOCATION: "LOCATION";
|
|
201
|
-
readonly OPERATION: "OPERATION";
|
|
202
|
-
readonly SERVICE_CODE: "SERVICE_CODE";
|
|
203
|
-
readonly USAGE_ACCOUNT_ID: "USAGE_ACCOUNT_ID";
|
|
204
|
-
readonly USAGE_GROUP: "USAGE_GROUP";
|
|
205
|
-
readonly USAGE_TYPE: "USAGE_TYPE";
|
|
206
|
-
};
|
|
207
|
-
export type ListUsageFilterName =
|
|
208
|
-
(typeof ListUsageFilterName)[keyof typeof ListUsageFilterName];
|
|
209
141
|
export interface ListUsageFilter {
|
|
210
142
|
name: ListUsageFilterName | undefined;
|
|
211
143
|
values: string[] | undefined;
|
|
@@ -231,16 +163,6 @@ export interface UsageQuantity {
|
|
|
231
163
|
unit?: string | undefined;
|
|
232
164
|
amount?: number | undefined;
|
|
233
165
|
}
|
|
234
|
-
export declare const ListBillEstimateLineItemsFilterName: {
|
|
235
|
-
readonly LINE_ITEM_TYPE: "LINE_ITEM_TYPE";
|
|
236
|
-
readonly LOCATION: "LOCATION";
|
|
237
|
-
readonly OPERATION: "OPERATION";
|
|
238
|
-
readonly SERVICE_CODE: "SERVICE_CODE";
|
|
239
|
-
readonly USAGE_ACCOUNT_ID: "USAGE_ACCOUNT_ID";
|
|
240
|
-
readonly USAGE_TYPE: "USAGE_TYPE";
|
|
241
|
-
};
|
|
242
|
-
export type ListBillEstimateLineItemsFilterName =
|
|
243
|
-
(typeof ListBillEstimateLineItemsFilterName)[keyof typeof ListBillEstimateLineItemsFilterName];
|
|
244
166
|
export interface ListBillEstimateLineItemsFilter {
|
|
245
167
|
name: ListBillEstimateLineItemsFilterName | undefined;
|
|
246
168
|
values: string[] | undefined;
|
|
@@ -277,20 +199,6 @@ export interface ListBillEstimateLineItemsResponse {
|
|
|
277
199
|
items?: BillEstimateLineItemSummary[] | undefined;
|
|
278
200
|
nextToken?: string | undefined;
|
|
279
201
|
}
|
|
280
|
-
export declare const BillEstimateStatus: {
|
|
281
|
-
readonly COMPLETE: "COMPLETE";
|
|
282
|
-
readonly FAILED: "FAILED";
|
|
283
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
284
|
-
};
|
|
285
|
-
export type BillEstimateStatus =
|
|
286
|
-
(typeof BillEstimateStatus)[keyof typeof BillEstimateStatus];
|
|
287
|
-
export declare class ConflictException extends __BaseException {
|
|
288
|
-
readonly name: "ConflictException";
|
|
289
|
-
readonly $fault: "client";
|
|
290
|
-
resourceId: string | undefined;
|
|
291
|
-
resourceType: string | undefined;
|
|
292
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
293
|
-
}
|
|
294
202
|
export interface CreateBillEstimateRequest {
|
|
295
203
|
billScenarioId: string | undefined;
|
|
296
204
|
name: string | undefined;
|
|
@@ -306,6 +214,9 @@ export interface CreateBillEstimateResponse {
|
|
|
306
214
|
costSummary?: BillEstimateCostSummary | undefined;
|
|
307
215
|
createdAt?: Date | undefined;
|
|
308
216
|
expiresAt?: Date | undefined;
|
|
217
|
+
groupSharingPreference?: GroupSharingPreferenceEnum | undefined;
|
|
218
|
+
costCategoryGroupSharingPreferenceArn?: string | undefined;
|
|
219
|
+
costCategoryGroupSharingPreferenceEffectiveDate?: Date | undefined;
|
|
309
220
|
}
|
|
310
221
|
export interface DeleteBillEstimateRequest {
|
|
311
222
|
identifier: string | undefined;
|
|
@@ -323,17 +234,14 @@ export interface GetBillEstimateResponse {
|
|
|
323
234
|
costSummary?: BillEstimateCostSummary | undefined;
|
|
324
235
|
createdAt?: Date | undefined;
|
|
325
236
|
expiresAt?: Date | undefined;
|
|
237
|
+
groupSharingPreference?: GroupSharingPreferenceEnum | undefined;
|
|
238
|
+
costCategoryGroupSharingPreferenceArn?: string | undefined;
|
|
239
|
+
costCategoryGroupSharingPreferenceEffectiveDate?: Date | undefined;
|
|
326
240
|
}
|
|
327
241
|
export interface FilterTimestamp {
|
|
328
242
|
afterTimestamp?: Date | undefined;
|
|
329
243
|
beforeTimestamp?: Date | undefined;
|
|
330
244
|
}
|
|
331
|
-
export declare const ListBillEstimatesFilterName: {
|
|
332
|
-
readonly NAME: "NAME";
|
|
333
|
-
readonly STATUS: "STATUS";
|
|
334
|
-
};
|
|
335
|
-
export type ListBillEstimatesFilterName =
|
|
336
|
-
(typeof ListBillEstimatesFilterName)[keyof typeof ListBillEstimatesFilterName];
|
|
337
245
|
export interface ListBillEstimatesFilter {
|
|
338
246
|
name: ListBillEstimatesFilterName | undefined;
|
|
339
247
|
values: string[] | undefined;
|
|
@@ -372,6 +280,9 @@ export interface UpdateBillEstimateResponse {
|
|
|
372
280
|
costSummary?: BillEstimateCostSummary | undefined;
|
|
373
281
|
createdAt?: Date | undefined;
|
|
374
282
|
expiresAt?: Date | undefined;
|
|
283
|
+
groupSharingPreference?: GroupSharingPreferenceEnum | undefined;
|
|
284
|
+
costCategoryGroupSharingPreferenceArn?: string | undefined;
|
|
285
|
+
costCategoryGroupSharingPreferenceEffectiveDate?: Date | undefined;
|
|
375
286
|
}
|
|
376
287
|
export interface BatchCreateBillScenarioCommitmentModificationEntry {
|
|
377
288
|
key: string | undefined;
|
|
@@ -386,13 +297,6 @@ export interface BatchCreateBillScenarioCommitmentModificationRequest {
|
|
|
386
297
|
| undefined;
|
|
387
298
|
clientToken?: string | undefined;
|
|
388
299
|
}
|
|
389
|
-
export declare const BatchCreateBillScenarioCommitmentModificationErrorCode: {
|
|
390
|
-
readonly CONFLICT: "CONFLICT";
|
|
391
|
-
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
392
|
-
readonly INVALID_ACCOUNT: "INVALID_ACCOUNT";
|
|
393
|
-
};
|
|
394
|
-
export type BatchCreateBillScenarioCommitmentModificationErrorCode =
|
|
395
|
-
(typeof BatchCreateBillScenarioCommitmentModificationErrorCode)[keyof typeof BatchCreateBillScenarioCommitmentModificationErrorCode];
|
|
396
300
|
export interface BatchCreateBillScenarioCommitmentModificationError {
|
|
397
301
|
key?: string | undefined;
|
|
398
302
|
errorMessage?: string | undefined;
|
|
@@ -415,13 +319,6 @@ export interface BatchDeleteBillScenarioCommitmentModificationRequest {
|
|
|
415
319
|
billScenarioId: string | undefined;
|
|
416
320
|
ids: string[] | undefined;
|
|
417
321
|
}
|
|
418
|
-
export declare const BatchDeleteBillScenarioCommitmentModificationErrorCode: {
|
|
419
|
-
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
420
|
-
readonly CONFLICT: "CONFLICT";
|
|
421
|
-
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
422
|
-
};
|
|
423
|
-
export type BatchDeleteBillScenarioCommitmentModificationErrorCode =
|
|
424
|
-
(typeof BatchDeleteBillScenarioCommitmentModificationErrorCode)[keyof typeof BatchDeleteBillScenarioCommitmentModificationErrorCode];
|
|
425
322
|
export interface BatchDeleteBillScenarioCommitmentModificationError {
|
|
426
323
|
id?: string | undefined;
|
|
427
324
|
errorCode?:
|
|
@@ -442,14 +339,6 @@ export interface BatchUpdateBillScenarioCommitmentModificationRequest {
|
|
|
442
339
|
| BatchUpdateBillScenarioCommitmentModificationEntry[]
|
|
443
340
|
| undefined;
|
|
444
341
|
}
|
|
445
|
-
export declare const BatchUpdateBillScenarioCommitmentModificationErrorCode: {
|
|
446
|
-
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
447
|
-
readonly CONFLICT: "CONFLICT";
|
|
448
|
-
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
449
|
-
readonly NOT_FOUND: "NOT_FOUND";
|
|
450
|
-
};
|
|
451
|
-
export type BatchUpdateBillScenarioCommitmentModificationErrorCode =
|
|
452
|
-
(typeof BatchUpdateBillScenarioCommitmentModificationErrorCode)[keyof typeof BatchUpdateBillScenarioCommitmentModificationErrorCode];
|
|
453
342
|
export interface BatchUpdateBillScenarioCommitmentModificationError {
|
|
454
343
|
id?: string | undefined;
|
|
455
344
|
errorCode?:
|
|
@@ -476,53 +365,19 @@ export interface ListBillScenarioCommitmentModificationsResponse {
|
|
|
476
365
|
items?: BillScenarioCommitmentModificationItem[] | undefined;
|
|
477
366
|
nextToken?: string | undefined;
|
|
478
367
|
}
|
|
479
|
-
export declare const BillScenarioStatus: {
|
|
480
|
-
readonly FAILED: "FAILED";
|
|
481
|
-
readonly LOCKED: "LOCKED";
|
|
482
|
-
readonly READY: "READY";
|
|
483
|
-
readonly STALE: "STALE";
|
|
484
|
-
};
|
|
485
|
-
export type BillScenarioStatus =
|
|
486
|
-
(typeof BillScenarioStatus)[keyof typeof BillScenarioStatus];
|
|
487
368
|
export interface UsageAmount {
|
|
488
369
|
startHour: Date | undefined;
|
|
489
370
|
amount: number | undefined;
|
|
490
371
|
}
|
|
491
|
-
export declare const BatchCreateBillScenarioUsageModificationErrorCode: {
|
|
492
|
-
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
493
|
-
readonly CONFLICT: "CONFLICT";
|
|
494
|
-
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
495
|
-
readonly NOT_FOUND: "NOT_FOUND";
|
|
496
|
-
};
|
|
497
|
-
export type BatchCreateBillScenarioUsageModificationErrorCode =
|
|
498
|
-
(typeof BatchCreateBillScenarioUsageModificationErrorCode)[keyof typeof BatchCreateBillScenarioUsageModificationErrorCode];
|
|
499
372
|
export interface BatchCreateBillScenarioUsageModificationError {
|
|
500
373
|
key?: string | undefined;
|
|
501
374
|
errorMessage?: string | undefined;
|
|
502
375
|
errorCode?: BatchCreateBillScenarioUsageModificationErrorCode | undefined;
|
|
503
376
|
}
|
|
504
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
505
|
-
readonly name: "ServiceQuotaExceededException";
|
|
506
|
-
readonly $fault: "client";
|
|
507
|
-
resourceId: string | undefined;
|
|
508
|
-
resourceType: string | undefined;
|
|
509
|
-
serviceCode?: string | undefined;
|
|
510
|
-
quotaCode?: string | undefined;
|
|
511
|
-
constructor(
|
|
512
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
513
|
-
);
|
|
514
|
-
}
|
|
515
377
|
export interface BatchDeleteBillScenarioUsageModificationRequest {
|
|
516
378
|
billScenarioId: string | undefined;
|
|
517
379
|
ids: string[] | undefined;
|
|
518
380
|
}
|
|
519
|
-
export declare const BatchDeleteBillScenarioUsageModificationErrorCode: {
|
|
520
|
-
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
521
|
-
readonly CONFLICT: "CONFLICT";
|
|
522
|
-
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
523
|
-
};
|
|
524
|
-
export type BatchDeleteBillScenarioUsageModificationErrorCode =
|
|
525
|
-
(typeof BatchDeleteBillScenarioUsageModificationErrorCode)[keyof typeof BatchDeleteBillScenarioUsageModificationErrorCode];
|
|
526
381
|
export interface BatchDeleteBillScenarioUsageModificationError {
|
|
527
382
|
id?: string | undefined;
|
|
528
383
|
errorMessage?: string | undefined;
|
|
@@ -542,14 +397,6 @@ export interface BatchUpdateBillScenarioUsageModificationRequest {
|
|
|
542
397
|
| BatchUpdateBillScenarioUsageModificationEntry[]
|
|
543
398
|
| undefined;
|
|
544
399
|
}
|
|
545
|
-
export declare const BatchUpdateBillScenarioUsageModificationErrorCode: {
|
|
546
|
-
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
547
|
-
readonly CONFLICT: "CONFLICT";
|
|
548
|
-
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
549
|
-
readonly NOT_FOUND: "NOT_FOUND";
|
|
550
|
-
};
|
|
551
|
-
export type BatchUpdateBillScenarioUsageModificationErrorCode =
|
|
552
|
-
(typeof BatchUpdateBillScenarioUsageModificationErrorCode)[keyof typeof BatchUpdateBillScenarioUsageModificationErrorCode];
|
|
553
400
|
export interface BatchUpdateBillScenarioUsageModificationError {
|
|
554
401
|
id?: string | undefined;
|
|
555
402
|
errorMessage?: string | undefined;
|
|
@@ -565,6 +412,8 @@ export interface CreateBillScenarioRequest {
|
|
|
565
412
|
name: string | undefined;
|
|
566
413
|
clientToken?: string | undefined;
|
|
567
414
|
tags?: Record<string, string> | undefined;
|
|
415
|
+
groupSharingPreference?: GroupSharingPreferenceEnum | undefined;
|
|
416
|
+
costCategoryGroupSharingPreferenceArn?: string | undefined;
|
|
568
417
|
}
|
|
569
418
|
export interface CreateBillScenarioResponse {
|
|
570
419
|
id: string | undefined;
|
|
@@ -574,6 +423,8 @@ export interface CreateBillScenarioResponse {
|
|
|
574
423
|
createdAt?: Date | undefined;
|
|
575
424
|
expiresAt?: Date | undefined;
|
|
576
425
|
failureMessage?: string | undefined;
|
|
426
|
+
groupSharingPreference?: GroupSharingPreferenceEnum | undefined;
|
|
427
|
+
costCategoryGroupSharingPreferenceArn?: string | undefined;
|
|
577
428
|
}
|
|
578
429
|
export interface DeleteBillScenarioRequest {
|
|
579
430
|
identifier: string | undefined;
|
|
@@ -590,13 +441,9 @@ export interface GetBillScenarioResponse {
|
|
|
590
441
|
createdAt?: Date | undefined;
|
|
591
442
|
expiresAt?: Date | undefined;
|
|
592
443
|
failureMessage?: string | undefined;
|
|
444
|
+
groupSharingPreference?: GroupSharingPreferenceEnum | undefined;
|
|
445
|
+
costCategoryGroupSharingPreferenceArn?: string | undefined;
|
|
593
446
|
}
|
|
594
|
-
export declare const ListBillScenariosFilterName: {
|
|
595
|
-
readonly NAME: "NAME";
|
|
596
|
-
readonly STATUS: "STATUS";
|
|
597
|
-
};
|
|
598
|
-
export type ListBillScenariosFilterName =
|
|
599
|
-
(typeof ListBillScenariosFilterName)[keyof typeof ListBillScenariosFilterName];
|
|
600
447
|
export interface ListBillScenariosFilter {
|
|
601
448
|
name: ListBillScenariosFilterName | undefined;
|
|
602
449
|
values: string[] | undefined;
|
|
@@ -617,6 +464,8 @@ export interface BillScenarioSummary {
|
|
|
617
464
|
createdAt?: Date | undefined;
|
|
618
465
|
expiresAt?: Date | undefined;
|
|
619
466
|
failureMessage?: string | undefined;
|
|
467
|
+
groupSharingPreference?: GroupSharingPreferenceEnum | undefined;
|
|
468
|
+
costCategoryGroupSharingPreferenceArn?: string | undefined;
|
|
620
469
|
}
|
|
621
470
|
export interface ListBillScenariosResponse {
|
|
622
471
|
items?: BillScenarioSummary[] | undefined;
|
|
@@ -626,6 +475,8 @@ export interface UpdateBillScenarioRequest {
|
|
|
626
475
|
identifier: string | undefined;
|
|
627
476
|
name?: string | undefined;
|
|
628
477
|
expiresAt?: Date | undefined;
|
|
478
|
+
groupSharingPreference?: GroupSharingPreferenceEnum | undefined;
|
|
479
|
+
costCategoryGroupSharingPreferenceArn?: string | undefined;
|
|
629
480
|
}
|
|
630
481
|
export interface UpdateBillScenarioResponse {
|
|
631
482
|
id: string | undefined;
|
|
@@ -635,14 +486,10 @@ export interface UpdateBillScenarioResponse {
|
|
|
635
486
|
createdAt?: Date | undefined;
|
|
636
487
|
expiresAt?: Date | undefined;
|
|
637
488
|
failureMessage?: string | undefined;
|
|
489
|
+
groupSharingPreference?: GroupSharingPreferenceEnum | undefined;
|
|
490
|
+
costCategoryGroupSharingPreferenceArn?: string | undefined;
|
|
638
491
|
}
|
|
639
492
|
export interface GetPreferencesRequest {}
|
|
640
|
-
export declare const RateType: {
|
|
641
|
-
readonly AFTER_DISCOUNTS: "AFTER_DISCOUNTS";
|
|
642
|
-
readonly AFTER_DISCOUNTS_AND_COMMITMENTS: "AFTER_DISCOUNTS_AND_COMMITMENTS";
|
|
643
|
-
readonly BEFORE_DISCOUNTS: "BEFORE_DISCOUNTS";
|
|
644
|
-
};
|
|
645
|
-
export type RateType = (typeof RateType)[keyof typeof RateType];
|
|
646
493
|
export interface GetPreferencesResponse {
|
|
647
494
|
managementAccountRateTypeSelections?: RateType[] | undefined;
|
|
648
495
|
memberAccountRateTypeSelections?: RateType[] | undefined;
|
|
@@ -674,27 +521,12 @@ export interface UpdatePreferencesResponse {
|
|
|
674
521
|
memberAccountRateTypeSelections?: RateType[] | undefined;
|
|
675
522
|
standaloneAccountRateTypeSelections?: RateType[] | undefined;
|
|
676
523
|
}
|
|
677
|
-
export declare const WorkloadEstimateRateType: {
|
|
678
|
-
readonly AFTER_DISCOUNTS: "AFTER_DISCOUNTS";
|
|
679
|
-
readonly AFTER_DISCOUNTS_AND_COMMITMENTS: "AFTER_DISCOUNTS_AND_COMMITMENTS";
|
|
680
|
-
readonly BEFORE_DISCOUNTS: "BEFORE_DISCOUNTS";
|
|
681
|
-
};
|
|
682
|
-
export type WorkloadEstimateRateType =
|
|
683
|
-
(typeof WorkloadEstimateRateType)[keyof typeof WorkloadEstimateRateType];
|
|
684
524
|
export interface CreateWorkloadEstimateRequest {
|
|
685
525
|
name: string | undefined;
|
|
686
526
|
clientToken?: string | undefined;
|
|
687
527
|
rateType?: WorkloadEstimateRateType | undefined;
|
|
688
528
|
tags?: Record<string, string> | undefined;
|
|
689
529
|
}
|
|
690
|
-
export declare const WorkloadEstimateStatus: {
|
|
691
|
-
readonly ACTION_NEEDED: "ACTION_NEEDED";
|
|
692
|
-
readonly INVALID: "INVALID";
|
|
693
|
-
readonly UPDATING: "UPDATING";
|
|
694
|
-
readonly VALID: "VALID";
|
|
695
|
-
};
|
|
696
|
-
export type WorkloadEstimateStatus =
|
|
697
|
-
(typeof WorkloadEstimateStatus)[keyof typeof WorkloadEstimateStatus];
|
|
698
530
|
export interface CreateWorkloadEstimateResponse {
|
|
699
531
|
id: string | undefined;
|
|
700
532
|
name?: string | undefined;
|
|
@@ -726,12 +558,6 @@ export interface GetWorkloadEstimateResponse {
|
|
|
726
558
|
costCurrency?: CurrencyCode | undefined;
|
|
727
559
|
failureMessage?: string | undefined;
|
|
728
560
|
}
|
|
729
|
-
export declare const ListWorkloadEstimatesFilterName: {
|
|
730
|
-
readonly NAME: "NAME";
|
|
731
|
-
readonly STATUS: "STATUS";
|
|
732
|
-
};
|
|
733
|
-
export type ListWorkloadEstimatesFilterName =
|
|
734
|
-
(typeof ListWorkloadEstimatesFilterName)[keyof typeof ListWorkloadEstimatesFilterName];
|
|
735
561
|
export interface ListWorkloadEstimatesFilter {
|
|
736
562
|
name: ListWorkloadEstimatesFilterName | undefined;
|
|
737
563
|
values: string[] | undefined;
|
|
@@ -777,14 +603,6 @@ export interface UpdateWorkloadEstimateResponse {
|
|
|
777
603
|
costCurrency?: CurrencyCode | undefined;
|
|
778
604
|
failureMessage?: string | undefined;
|
|
779
605
|
}
|
|
780
|
-
export declare const BatchCreateWorkloadEstimateUsageCode: {
|
|
781
|
-
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
782
|
-
readonly CONFLICT: "CONFLICT";
|
|
783
|
-
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
784
|
-
readonly NOT_FOUND: "NOT_FOUND";
|
|
785
|
-
};
|
|
786
|
-
export type BatchCreateWorkloadEstimateUsageCode =
|
|
787
|
-
(typeof BatchCreateWorkloadEstimateUsageCode)[keyof typeof BatchCreateWorkloadEstimateUsageCode];
|
|
788
606
|
export interface BatchCreateWorkloadEstimateUsageError {
|
|
789
607
|
key?: string | undefined;
|
|
790
608
|
errorCode?: BatchCreateWorkloadEstimateUsageCode | undefined;
|
|
@@ -794,25 +612,10 @@ export interface WorkloadEstimateUsageQuantity {
|
|
|
794
612
|
unit?: string | undefined;
|
|
795
613
|
amount?: number | undefined;
|
|
796
614
|
}
|
|
797
|
-
export declare const WorkloadEstimateCostStatus: {
|
|
798
|
-
readonly INVALID: "INVALID";
|
|
799
|
-
readonly STALE: "STALE";
|
|
800
|
-
readonly VALID: "VALID";
|
|
801
|
-
};
|
|
802
|
-
export type WorkloadEstimateCostStatus =
|
|
803
|
-
(typeof WorkloadEstimateCostStatus)[keyof typeof WorkloadEstimateCostStatus];
|
|
804
615
|
export interface BatchDeleteWorkloadEstimateUsageRequest {
|
|
805
616
|
workloadEstimateId: string | undefined;
|
|
806
617
|
ids: string[] | undefined;
|
|
807
618
|
}
|
|
808
|
-
export declare const WorkloadEstimateUpdateUsageErrorCode: {
|
|
809
|
-
readonly BAD_REQUEST: "BAD_REQUEST";
|
|
810
|
-
readonly CONFLICT: "CONFLICT";
|
|
811
|
-
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
812
|
-
readonly NOT_FOUND: "NOT_FOUND";
|
|
813
|
-
};
|
|
814
|
-
export type WorkloadEstimateUpdateUsageErrorCode =
|
|
815
|
-
(typeof WorkloadEstimateUpdateUsageErrorCode)[keyof typeof WorkloadEstimateUpdateUsageErrorCode];
|
|
816
619
|
export interface BatchDeleteWorkloadEstimateUsageError {
|
|
817
620
|
id?: string | undefined;
|
|
818
621
|
errorMessage?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bcm-pricing-calculator",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bcm Pricing Calculator Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.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-bcm-pricing-calculator",
|
|
@@ -20,38 +20,38 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|