@aws-sdk/client-cost-explorer 3.58.0 → 3.72.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/CHANGELOG.md +27 -0
- package/README.md +2 -2
- package/dist-cjs/CostExplorer.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +62 -4
- package/dist-cjs/protocols/Aws_json1_1.js +259 -2
- package/dist-es/CostExplorer.js +45 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +43 -0
- package/dist-es/protocols/Aws_json1_1.js +296 -4
- package/dist-types/CostExplorer.d.ts +28 -1
- package/dist-types/CostExplorerClient.d.ts +5 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +252 -4
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/CostExplorer.d.ts +15 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/package.json +6 -6
|
@@ -368,6 +368,40 @@ export declare namespace AnomalySubscription {
|
|
|
368
368
|
*/
|
|
369
369
|
const filterSensitiveLog: (obj: AnomalySubscription) => any;
|
|
370
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
* <p>
|
|
373
|
+
* The tag structure that contains a tag key and value.
|
|
374
|
+
* </p>
|
|
375
|
+
* <note>
|
|
376
|
+
* <p>Tagging is supported only for the following Cost Explorer resource types: <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
|
|
377
|
+
* <code>AnomalyMonitor</code>
|
|
378
|
+
* </a>, <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html">
|
|
379
|
+
* <code>AnomalySubscription</code>
|
|
380
|
+
* </a>, <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html">
|
|
381
|
+
* <code>CostCategory</code>
|
|
382
|
+
* </a>.</p>
|
|
383
|
+
* </note>
|
|
384
|
+
*/
|
|
385
|
+
export interface ResourceTag {
|
|
386
|
+
/**
|
|
387
|
+
* <p>
|
|
388
|
+
* The key that is associated with the tag.
|
|
389
|
+
* </p>
|
|
390
|
+
*/
|
|
391
|
+
Key: string | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* <p>
|
|
394
|
+
* The value that is associated with the tag.
|
|
395
|
+
* </p>
|
|
396
|
+
*/
|
|
397
|
+
Value: string | undefined;
|
|
398
|
+
}
|
|
399
|
+
export declare namespace ResourceTag {
|
|
400
|
+
/**
|
|
401
|
+
* @internal
|
|
402
|
+
*/
|
|
403
|
+
const filterSensitiveLog: (obj: ResourceTag) => any;
|
|
404
|
+
}
|
|
371
405
|
export interface CreateAnomalyMonitorResponse {
|
|
372
406
|
/**
|
|
373
407
|
* <p>The unique identifier of your newly created cost anomaly detection monitor.</p>
|
|
@@ -397,6 +431,38 @@ export interface CreateAnomalySubscriptionRequest {
|
|
|
397
431
|
* <p>The cost anomaly subscription object that you want to create. </p>
|
|
398
432
|
*/
|
|
399
433
|
AnomalySubscription: AnomalySubscription | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* <p>
|
|
436
|
+
* An optional list of tags to associate with the specified <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html">
|
|
437
|
+
* <code>AnomalySubscription</code>
|
|
438
|
+
* </a>. You can use resource tags to control access to your <code>subscription</code> using IAM policies.</p>
|
|
439
|
+
* <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p>
|
|
440
|
+
* <ul>
|
|
441
|
+
* <li>
|
|
442
|
+
* <p>Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use</p>
|
|
443
|
+
* </li>
|
|
444
|
+
* <li>
|
|
445
|
+
* <p>The maximum length of a key is 128 characters</p>
|
|
446
|
+
* </li>
|
|
447
|
+
* <li>
|
|
448
|
+
* <p>The maximum length of a value is 256 characters</p>
|
|
449
|
+
* </li>
|
|
450
|
+
* <li>
|
|
451
|
+
* <p>Valid characters for keys and values are: <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code>
|
|
452
|
+
* </p>
|
|
453
|
+
* </li>
|
|
454
|
+
* <li>
|
|
455
|
+
* <p>Keys and values are case sensitive</p>
|
|
456
|
+
* </li>
|
|
457
|
+
* <li>
|
|
458
|
+
* <p>Keys and values are trimmed for any leading or trailing whitespaces</p>
|
|
459
|
+
* </li>
|
|
460
|
+
* <li>
|
|
461
|
+
* <p>Don’t use <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon Web Services use</p>
|
|
462
|
+
* </li>
|
|
463
|
+
* </ul>
|
|
464
|
+
*/
|
|
465
|
+
ResourceTags?: ResourceTag[];
|
|
400
466
|
}
|
|
401
467
|
export declare namespace CreateAnomalySubscriptionRequest {
|
|
402
468
|
/**
|
|
@@ -663,6 +729,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
663
729
|
readonly name: "ResourceNotFoundException";
|
|
664
730
|
readonly $fault: "client";
|
|
665
731
|
Message?: string;
|
|
732
|
+
ResourceName?: string;
|
|
666
733
|
/**
|
|
667
734
|
* @internal
|
|
668
735
|
*/
|
|
@@ -3408,6 +3475,31 @@ export declare namespace ListCostCategoryDefinitionsResponse {
|
|
|
3408
3475
|
*/
|
|
3409
3476
|
const filterSensitiveLog: (obj: ListCostCategoryDefinitionsResponse) => any;
|
|
3410
3477
|
}
|
|
3478
|
+
export interface ListTagsForResourceRequest {
|
|
3479
|
+
/**
|
|
3480
|
+
* <p>The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html">ResourceTag</a>.</p>
|
|
3481
|
+
*/
|
|
3482
|
+
ResourceArn: string | undefined;
|
|
3483
|
+
}
|
|
3484
|
+
export declare namespace ListTagsForResourceRequest {
|
|
3485
|
+
/**
|
|
3486
|
+
* @internal
|
|
3487
|
+
*/
|
|
3488
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
3489
|
+
}
|
|
3490
|
+
export interface ListTagsForResourceResponse {
|
|
3491
|
+
/**
|
|
3492
|
+
* <p>A list of tag key value pairs that are associated with the response.
|
|
3493
|
+
* </p>
|
|
3494
|
+
*/
|
|
3495
|
+
ResourceTags?: ResourceTag[];
|
|
3496
|
+
}
|
|
3497
|
+
export declare namespace ListTagsForResourceResponse {
|
|
3498
|
+
/**
|
|
3499
|
+
* @internal
|
|
3500
|
+
*/
|
|
3501
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
3502
|
+
}
|
|
3411
3503
|
export interface ProvideAnomalyFeedbackRequest {
|
|
3412
3504
|
/**
|
|
3413
3505
|
* <p>A cost anomaly ID. </p>
|
|
@@ -3436,6 +3528,98 @@ export declare namespace ProvideAnomalyFeedbackResponse {
|
|
|
3436
3528
|
*/
|
|
3437
3529
|
const filterSensitiveLog: (obj: ProvideAnomalyFeedbackResponse) => any;
|
|
3438
3530
|
}
|
|
3531
|
+
export interface TagResourceRequest {
|
|
3532
|
+
/**
|
|
3533
|
+
* <p>The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html">ResourceTag</a>.
|
|
3534
|
+
* </p>
|
|
3535
|
+
*/
|
|
3536
|
+
ResourceArn: string | undefined;
|
|
3537
|
+
/**
|
|
3538
|
+
* <p>
|
|
3539
|
+
* A list of tag key-value pairs to be added to the resource.</p>
|
|
3540
|
+
* <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p>
|
|
3541
|
+
* <ul>
|
|
3542
|
+
* <li>
|
|
3543
|
+
* <p>Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use</p>
|
|
3544
|
+
* </li>
|
|
3545
|
+
* <li>
|
|
3546
|
+
* <p>The maximum length of a key is 128 characters</p>
|
|
3547
|
+
* </li>
|
|
3548
|
+
* <li>
|
|
3549
|
+
* <p>The maximum length of a value is 256 characters</p>
|
|
3550
|
+
* </li>
|
|
3551
|
+
* <li>
|
|
3552
|
+
* <p>Valid characters for keys and values are: <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code>
|
|
3553
|
+
* </p>
|
|
3554
|
+
* </li>
|
|
3555
|
+
* <li>
|
|
3556
|
+
* <p>Keys and values are case sensitive</p>
|
|
3557
|
+
* </li>
|
|
3558
|
+
* <li>
|
|
3559
|
+
* <p>Keys and values are trimmed for any leading or trailing whitespaces</p>
|
|
3560
|
+
* </li>
|
|
3561
|
+
* <li>
|
|
3562
|
+
* <p>Don’t use <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon Web Services use</p>
|
|
3563
|
+
* </li>
|
|
3564
|
+
* </ul>
|
|
3565
|
+
*/
|
|
3566
|
+
ResourceTags: ResourceTag[] | undefined;
|
|
3567
|
+
}
|
|
3568
|
+
export declare namespace TagResourceRequest {
|
|
3569
|
+
/**
|
|
3570
|
+
* @internal
|
|
3571
|
+
*/
|
|
3572
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
3573
|
+
}
|
|
3574
|
+
export interface TagResourceResponse {
|
|
3575
|
+
}
|
|
3576
|
+
export declare namespace TagResourceResponse {
|
|
3577
|
+
/**
|
|
3578
|
+
* @internal
|
|
3579
|
+
*/
|
|
3580
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
3581
|
+
}
|
|
3582
|
+
/**
|
|
3583
|
+
* <p>Can occur if you specify a number of tags for a resource greater than the maximum 50 user tags per resource.</p>
|
|
3584
|
+
*/
|
|
3585
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
3586
|
+
readonly name: "TooManyTagsException";
|
|
3587
|
+
readonly $fault: "client";
|
|
3588
|
+
Message?: string;
|
|
3589
|
+
ResourceName?: string;
|
|
3590
|
+
/**
|
|
3591
|
+
* @internal
|
|
3592
|
+
*/
|
|
3593
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
3594
|
+
}
|
|
3595
|
+
export interface UntagResourceRequest {
|
|
3596
|
+
/**
|
|
3597
|
+
* <p>
|
|
3598
|
+
* The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html">ResourceTag</a>.
|
|
3599
|
+
* </p>
|
|
3600
|
+
*/
|
|
3601
|
+
ResourceArn: string | undefined;
|
|
3602
|
+
/**
|
|
3603
|
+
* <p>
|
|
3604
|
+
* A list of tag keys associated with tags that need to be removed from the resource. If you specify a tag key that does not exist, it is ignored. Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use.
|
|
3605
|
+
* </p>
|
|
3606
|
+
*/
|
|
3607
|
+
ResourceTagKeys: string[] | undefined;
|
|
3608
|
+
}
|
|
3609
|
+
export declare namespace UntagResourceRequest {
|
|
3610
|
+
/**
|
|
3611
|
+
* @internal
|
|
3612
|
+
*/
|
|
3613
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
3614
|
+
}
|
|
3615
|
+
export interface UntagResourceResponse {
|
|
3616
|
+
}
|
|
3617
|
+
export declare namespace UntagResourceResponse {
|
|
3618
|
+
/**
|
|
3619
|
+
* @internal
|
|
3620
|
+
*/
|
|
3621
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
3622
|
+
}
|
|
3439
3623
|
export interface UpdateAnomalyMonitorRequest {
|
|
3440
3624
|
/**
|
|
3441
3625
|
* <p>Cost anomaly monitor Amazon Resource Names (ARNs). </p>
|
|
@@ -3788,8 +3972,8 @@ export interface GetCostAndUsageRequest {
|
|
|
3788
3972
|
* and get the costs that are associated with that account's usage of that service. You can nest <code>Expression</code> objects
|
|
3789
3973
|
* to define any combination of dimension filters. For more information, see
|
|
3790
3974
|
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. </p>
|
|
3791
|
-
* <p>Valid values for <code>MatchOptions</code> for <code>
|
|
3792
|
-
* <p>
|
|
3975
|
+
* <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
|
|
3976
|
+
* <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>. Default values are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
|
|
3793
3977
|
*/
|
|
3794
3978
|
Filter?: Expression;
|
|
3795
3979
|
/**
|
|
@@ -3850,8 +4034,8 @@ export interface GetCostAndUsageWithResourcesRequest {
|
|
|
3850
4034
|
* <p>The <code>GetCostAndUsageWithResources</code> operation requires that you either group by or filter by a
|
|
3851
4035
|
* <code>ResourceId</code>. It requires the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>
|
|
3852
4036
|
* <code>"SERVICE = Amazon Elastic Compute Cloud - Compute"</code> in the filter.</p>
|
|
3853
|
-
* <p>Valid values for <code>MatchOptions</code> for <code>
|
|
3854
|
-
* <p>
|
|
4037
|
+
* <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
|
|
4038
|
+
* <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>. Default values are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
|
|
3855
4039
|
*/
|
|
3856
4040
|
Filter: Expression | undefined;
|
|
3857
4041
|
/**
|
|
@@ -5670,6 +5854,38 @@ export interface CreateAnomalyMonitorRequest {
|
|
|
5670
5854
|
* <p>The cost anomaly detection monitor object that you want to create.</p>
|
|
5671
5855
|
*/
|
|
5672
5856
|
AnomalyMonitor: AnomalyMonitor | undefined;
|
|
5857
|
+
/**
|
|
5858
|
+
* <p>
|
|
5859
|
+
* An optional list of tags to associate with the specified <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
|
|
5860
|
+
* <code>AnomalyMonitor</code>
|
|
5861
|
+
* </a>. You can use resource tags to control access to your monitor using IAM policies.</p>
|
|
5862
|
+
* <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p>
|
|
5863
|
+
* <ul>
|
|
5864
|
+
* <li>
|
|
5865
|
+
* <p>Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use</p>
|
|
5866
|
+
* </li>
|
|
5867
|
+
* <li>
|
|
5868
|
+
* <p>The maximum length of a key is 128 characters</p>
|
|
5869
|
+
* </li>
|
|
5870
|
+
* <li>
|
|
5871
|
+
* <p>The maximum length of a value is 256 characters</p>
|
|
5872
|
+
* </li>
|
|
5873
|
+
* <li>
|
|
5874
|
+
* <p>Valid characters for keys and values are: <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code>
|
|
5875
|
+
* </p>
|
|
5876
|
+
* </li>
|
|
5877
|
+
* <li>
|
|
5878
|
+
* <p>Keys and values are case sensitive</p>
|
|
5879
|
+
* </li>
|
|
5880
|
+
* <li>
|
|
5881
|
+
* <p>Keys and values are trimmed for any leading or trailing whitespaces</p>
|
|
5882
|
+
* </li>
|
|
5883
|
+
* <li>
|
|
5884
|
+
* <p>Don’t use <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon Web Services use</p>
|
|
5885
|
+
* </li>
|
|
5886
|
+
* </ul>
|
|
5887
|
+
*/
|
|
5888
|
+
ResourceTags?: ResourceTag[];
|
|
5673
5889
|
}
|
|
5674
5890
|
export declare namespace CreateAnomalyMonitorRequest {
|
|
5675
5891
|
/**
|
|
@@ -5755,6 +5971,38 @@ export interface CreateCostCategoryDefinitionRequest {
|
|
|
5755
5971
|
* </p>
|
|
5756
5972
|
*/
|
|
5757
5973
|
SplitChargeRules?: CostCategorySplitChargeRule[];
|
|
5974
|
+
/**
|
|
5975
|
+
* <p>
|
|
5976
|
+
* An optional list of tags to associate with the specified <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html">
|
|
5977
|
+
* <code>CostCategory</code>
|
|
5978
|
+
* </a>. You can use resource tags to control access to your <code>cost category</code> using IAM policies.</p>
|
|
5979
|
+
* <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p>
|
|
5980
|
+
* <ul>
|
|
5981
|
+
* <li>
|
|
5982
|
+
* <p>Although the maximum number of array members is 200, you can assign a maximum of 50 user-tags to one resource. The remaining are reserved for Amazon Web Services use</p>
|
|
5983
|
+
* </li>
|
|
5984
|
+
* <li>
|
|
5985
|
+
* <p>The maximum length of a key is 128 characters</p>
|
|
5986
|
+
* </li>
|
|
5987
|
+
* <li>
|
|
5988
|
+
* <p>The maximum length of a value is 256 characters</p>
|
|
5989
|
+
* </li>
|
|
5990
|
+
* <li>
|
|
5991
|
+
* <p>Valid characters for keys and values are: <code>A-Z</code>, <code>a-z</code>, spaces, <code>_.:/=+-</code>
|
|
5992
|
+
* </p>
|
|
5993
|
+
* </li>
|
|
5994
|
+
* <li>
|
|
5995
|
+
* <p>Keys and values are case sensitive</p>
|
|
5996
|
+
* </li>
|
|
5997
|
+
* <li>
|
|
5998
|
+
* <p>Keys and values are trimmed for any leading or trailing whitespaces</p>
|
|
5999
|
+
* </li>
|
|
6000
|
+
* <li>
|
|
6001
|
+
* <p>Don’t use <code>aws:</code> as a prefix for your keys. This prefix is reserved for Amazon Web Services use</p>
|
|
6002
|
+
* </li>
|
|
6003
|
+
* </ul>
|
|
6004
|
+
*/
|
|
6005
|
+
ResourceTags?: ResourceTag[];
|
|
5758
6006
|
}
|
|
5759
6007
|
export declare namespace CreateCostCategoryDefinitionRequest {
|
|
5760
6008
|
/**
|
|
@@ -26,7 +26,10 @@ import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizati
|
|
|
26
26
|
import { GetTagsCommandInput, GetTagsCommandOutput } from "../commands/GetTagsCommand";
|
|
27
27
|
import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "../commands/GetUsageForecastCommand";
|
|
28
28
|
import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "../commands/ListCostCategoryDefinitionsCommand";
|
|
29
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
29
30
|
import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "../commands/ProvideAnomalyFeedbackCommand";
|
|
31
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
32
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
30
33
|
import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "../commands/UpdateAnomalyMonitorCommand";
|
|
31
34
|
import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "../commands/UpdateAnomalySubscriptionCommand";
|
|
32
35
|
import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "../commands/UpdateCostCategoryDefinitionCommand";
|
|
@@ -56,7 +59,10 @@ export declare const serializeAws_json1_1GetSavingsPlansUtilizationDetailsComman
|
|
|
56
59
|
export declare const serializeAws_json1_1GetTagsCommand: (input: GetTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
60
|
export declare const serializeAws_json1_1GetUsageForecastCommand: (input: GetUsageForecastCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
61
|
export declare const serializeAws_json1_1ListCostCategoryDefinitionsCommand: (input: ListCostCategoryDefinitionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
|
+
export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
63
|
export declare const serializeAws_json1_1ProvideAnomalyFeedbackCommand: (input: ProvideAnomalyFeedbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
|
+
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
|
+
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
66
|
export declare const serializeAws_json1_1UpdateAnomalyMonitorCommand: (input: UpdateAnomalyMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
67
|
export declare const serializeAws_json1_1UpdateAnomalySubscriptionCommand: (input: UpdateAnomalySubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
68
|
export declare const serializeAws_json1_1UpdateCostCategoryDefinitionCommand: (input: UpdateCostCategoryDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -86,7 +92,10 @@ export declare const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsComm
|
|
|
86
92
|
export declare const deserializeAws_json1_1GetTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTagsCommandOutput>;
|
|
87
93
|
export declare const deserializeAws_json1_1GetUsageForecastCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUsageForecastCommandOutput>;
|
|
88
94
|
export declare const deserializeAws_json1_1ListCostCategoryDefinitionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCostCategoryDefinitionsCommandOutput>;
|
|
95
|
+
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
89
96
|
export declare const deserializeAws_json1_1ProvideAnomalyFeedbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ProvideAnomalyFeedbackCommandOutput>;
|
|
97
|
+
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
98
|
+
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
90
99
|
export declare const deserializeAws_json1_1UpdateAnomalyMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalyMonitorCommandOutput>;
|
|
91
100
|
export declare const deserializeAws_json1_1UpdateAnomalySubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalySubscriptionCommandOutput>;
|
|
92
101
|
export declare const deserializeAws_json1_1UpdateCostCategoryDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCostCategoryDefinitionCommandOutput>;
|
|
@@ -25,7 +25,10 @@ import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizati
|
|
|
25
25
|
import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
|
|
26
26
|
import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "./commands/GetUsageForecastCommand";
|
|
27
27
|
import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "./commands/ListCostCategoryDefinitionsCommand";
|
|
28
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
28
29
|
import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "./commands/ProvideAnomalyFeedbackCommand";
|
|
30
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
31
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
29
32
|
import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "./commands/UpdateAnomalyMonitorCommand";
|
|
30
33
|
import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "./commands/UpdateAnomalySubscriptionCommand";
|
|
31
34
|
import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "./commands/UpdateCostCategoryDefinitionCommand";
|
|
@@ -137,10 +140,22 @@ export declare class CostExplorer extends CostExplorerClient {
|
|
|
137
140
|
listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
|
|
138
141
|
listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
|
|
139
142
|
|
|
143
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
144
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
145
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
146
|
+
|
|
140
147
|
provideAnomalyFeedback(args: ProvideAnomalyFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<ProvideAnomalyFeedbackCommandOutput>;
|
|
141
148
|
provideAnomalyFeedback(args: ProvideAnomalyFeedbackCommandInput, cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void): void;
|
|
142
149
|
provideAnomalyFeedback(args: ProvideAnomalyFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void): void;
|
|
143
150
|
|
|
151
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
152
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
153
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
154
|
+
|
|
155
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
156
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
157
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
158
|
+
|
|
144
159
|
updateAnomalyMonitor(args: UpdateAnomalyMonitorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAnomalyMonitorCommandOutput>;
|
|
145
160
|
updateAnomalyMonitor(args: UpdateAnomalyMonitorCommandInput, cb: (err: any, data?: UpdateAnomalyMonitorCommandOutput) => void): void;
|
|
146
161
|
updateAnomalyMonitor(args: UpdateAnomalyMonitorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAnomalyMonitorCommandOutput) => void): void;
|
|
@@ -32,12 +32,15 @@ import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizati
|
|
|
32
32
|
import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
|
|
33
33
|
import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "./commands/GetUsageForecastCommand";
|
|
34
34
|
import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "./commands/ListCostCategoryDefinitionsCommand";
|
|
35
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
35
36
|
import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "./commands/ProvideAnomalyFeedbackCommand";
|
|
37
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
38
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
36
39
|
import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "./commands/UpdateAnomalyMonitorCommand";
|
|
37
40
|
import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "./commands/UpdateAnomalySubscriptionCommand";
|
|
38
41
|
import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "./commands/UpdateCostCategoryDefinitionCommand";
|
|
39
|
-
export declare type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCostCategoryDefinitionsCommandInput | ProvideAnomalyFeedbackCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostCategoryDefinitionCommandInput;
|
|
40
|
-
export declare type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCostCategoryDefinitionsCommandOutput | ProvideAnomalyFeedbackCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
|
|
42
|
+
export declare type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCostCategoryDefinitionsCommandInput | ListTagsForResourceCommandInput | ProvideAnomalyFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostCategoryDefinitionCommandInput;
|
|
43
|
+
export declare type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCostCategoryDefinitionsCommandOutput | ListTagsForResourceCommandOutput | ProvideAnomalyFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
|
|
41
44
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
42
45
|
|
|
43
46
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CostExplorerClientResolvedConfig> {
|
|
11
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
12
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CostExplorerClientResolvedConfig> {
|
|
11
|
+
readonly input: TagResourceCommandInput;
|
|
12
|
+
constructor(input: TagResourceCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CostExplorerClientResolvedConfig> {
|
|
11
|
+
readonly input: UntagResourceCommandInput;
|
|
12
|
+
constructor(input: UntagResourceCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -24,7 +24,10 @@ export * from "./GetSavingsPlansUtilizationDetailsCommand";
|
|
|
24
24
|
export * from "./GetTagsCommand";
|
|
25
25
|
export * from "./GetUsageForecastCommand";
|
|
26
26
|
export * from "./ListCostCategoryDefinitionsCommand";
|
|
27
|
+
export * from "./ListTagsForResourceCommand";
|
|
27
28
|
export * from "./ProvideAnomalyFeedbackCommand";
|
|
29
|
+
export * from "./TagResourceCommand";
|
|
30
|
+
export * from "./UntagResourceCommand";
|
|
28
31
|
export * from "./UpdateAnomalyMonitorCommand";
|
|
29
32
|
export * from "./UpdateAnomalySubscriptionCommand";
|
|
30
33
|
export * from "./UpdateCostCategoryDefinitionCommand";
|
|
@@ -218,6 +218,17 @@ export declare namespace AnomalySubscription {
|
|
|
218
218
|
|
|
219
219
|
const filterSensitiveLog: (obj: AnomalySubscription) => any;
|
|
220
220
|
}
|
|
221
|
+
|
|
222
|
+
export interface ResourceTag {
|
|
223
|
+
|
|
224
|
+
Key: string | undefined;
|
|
225
|
+
|
|
226
|
+
Value: string | undefined;
|
|
227
|
+
}
|
|
228
|
+
export declare namespace ResourceTag {
|
|
229
|
+
|
|
230
|
+
const filterSensitiveLog: (obj: ResourceTag) => any;
|
|
231
|
+
}
|
|
221
232
|
export interface CreateAnomalyMonitorResponse {
|
|
222
233
|
|
|
223
234
|
MonitorArn: string | undefined;
|
|
@@ -237,6 +248,8 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
237
248
|
export interface CreateAnomalySubscriptionRequest {
|
|
238
249
|
|
|
239
250
|
AnomalySubscription: AnomalySubscription | undefined;
|
|
251
|
+
|
|
252
|
+
ResourceTags?: ResourceTag[];
|
|
240
253
|
}
|
|
241
254
|
export declare namespace CreateAnomalySubscriptionRequest {
|
|
242
255
|
|
|
@@ -391,6 +404,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
391
404
|
readonly name: "ResourceNotFoundException";
|
|
392
405
|
readonly $fault: "client";
|
|
393
406
|
Message?: string;
|
|
407
|
+
ResourceName?: string;
|
|
394
408
|
|
|
395
409
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
396
410
|
}
|
|
@@ -1820,6 +1834,22 @@ export declare namespace ListCostCategoryDefinitionsResponse {
|
|
|
1820
1834
|
|
|
1821
1835
|
const filterSensitiveLog: (obj: ListCostCategoryDefinitionsResponse) => any;
|
|
1822
1836
|
}
|
|
1837
|
+
export interface ListTagsForResourceRequest {
|
|
1838
|
+
|
|
1839
|
+
ResourceArn: string | undefined;
|
|
1840
|
+
}
|
|
1841
|
+
export declare namespace ListTagsForResourceRequest {
|
|
1842
|
+
|
|
1843
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
1844
|
+
}
|
|
1845
|
+
export interface ListTagsForResourceResponse {
|
|
1846
|
+
|
|
1847
|
+
ResourceTags?: ResourceTag[];
|
|
1848
|
+
}
|
|
1849
|
+
export declare namespace ListTagsForResourceResponse {
|
|
1850
|
+
|
|
1851
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1852
|
+
}
|
|
1823
1853
|
export interface ProvideAnomalyFeedbackRequest {
|
|
1824
1854
|
|
|
1825
1855
|
AnomalyId: string | undefined;
|
|
@@ -1838,6 +1868,47 @@ export declare namespace ProvideAnomalyFeedbackResponse {
|
|
|
1838
1868
|
|
|
1839
1869
|
const filterSensitiveLog: (obj: ProvideAnomalyFeedbackResponse) => any;
|
|
1840
1870
|
}
|
|
1871
|
+
export interface TagResourceRequest {
|
|
1872
|
+
|
|
1873
|
+
ResourceArn: string | undefined;
|
|
1874
|
+
|
|
1875
|
+
ResourceTags: ResourceTag[] | undefined;
|
|
1876
|
+
}
|
|
1877
|
+
export declare namespace TagResourceRequest {
|
|
1878
|
+
|
|
1879
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
1880
|
+
}
|
|
1881
|
+
export interface TagResourceResponse {
|
|
1882
|
+
}
|
|
1883
|
+
export declare namespace TagResourceResponse {
|
|
1884
|
+
|
|
1885
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
1889
|
+
readonly name: "TooManyTagsException";
|
|
1890
|
+
readonly $fault: "client";
|
|
1891
|
+
Message?: string;
|
|
1892
|
+
ResourceName?: string;
|
|
1893
|
+
|
|
1894
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1895
|
+
}
|
|
1896
|
+
export interface UntagResourceRequest {
|
|
1897
|
+
|
|
1898
|
+
ResourceArn: string | undefined;
|
|
1899
|
+
|
|
1900
|
+
ResourceTagKeys: string[] | undefined;
|
|
1901
|
+
}
|
|
1902
|
+
export declare namespace UntagResourceRequest {
|
|
1903
|
+
|
|
1904
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
1905
|
+
}
|
|
1906
|
+
export interface UntagResourceResponse {
|
|
1907
|
+
}
|
|
1908
|
+
export declare namespace UntagResourceResponse {
|
|
1909
|
+
|
|
1910
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
1911
|
+
}
|
|
1841
1912
|
export interface UpdateAnomalyMonitorRequest {
|
|
1842
1913
|
|
|
1843
1914
|
MonitorArn: string | undefined;
|
|
@@ -2245,6 +2316,8 @@ export declare namespace GetUsageForecastRequest {
|
|
|
2245
2316
|
export interface CreateAnomalyMonitorRequest {
|
|
2246
2317
|
|
|
2247
2318
|
AnomalyMonitor: AnomalyMonitor | undefined;
|
|
2319
|
+
|
|
2320
|
+
ResourceTags?: ResourceTag[];
|
|
2248
2321
|
}
|
|
2249
2322
|
export declare namespace CreateAnomalyMonitorRequest {
|
|
2250
2323
|
|
|
@@ -2286,6 +2359,8 @@ export interface CreateCostCategoryDefinitionRequest {
|
|
|
2286
2359
|
DefaultValue?: string;
|
|
2287
2360
|
|
|
2288
2361
|
SplitChargeRules?: CostCategorySplitChargeRule[];
|
|
2362
|
+
|
|
2363
|
+
ResourceTags?: ResourceTag[];
|
|
2289
2364
|
}
|
|
2290
2365
|
export declare namespace CreateCostCategoryDefinitionRequest {
|
|
2291
2366
|
|
|
@@ -26,7 +26,10 @@ import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizati
|
|
|
26
26
|
import { GetTagsCommandInput, GetTagsCommandOutput } from "../commands/GetTagsCommand";
|
|
27
27
|
import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "../commands/GetUsageForecastCommand";
|
|
28
28
|
import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "../commands/ListCostCategoryDefinitionsCommand";
|
|
29
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
29
30
|
import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "../commands/ProvideAnomalyFeedbackCommand";
|
|
31
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
32
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
30
33
|
import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "../commands/UpdateAnomalyMonitorCommand";
|
|
31
34
|
import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "../commands/UpdateAnomalySubscriptionCommand";
|
|
32
35
|
import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "../commands/UpdateCostCategoryDefinitionCommand";
|
|
@@ -56,7 +59,10 @@ export declare const serializeAws_json1_1GetSavingsPlansUtilizationDetailsComman
|
|
|
56
59
|
export declare const serializeAws_json1_1GetTagsCommand: (input: GetTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
60
|
export declare const serializeAws_json1_1GetUsageForecastCommand: (input: GetUsageForecastCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
61
|
export declare const serializeAws_json1_1ListCostCategoryDefinitionsCommand: (input: ListCostCategoryDefinitionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
|
+
export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
63
|
export declare const serializeAws_json1_1ProvideAnomalyFeedbackCommand: (input: ProvideAnomalyFeedbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
|
+
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
|
+
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
66
|
export declare const serializeAws_json1_1UpdateAnomalyMonitorCommand: (input: UpdateAnomalyMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
67
|
export declare const serializeAws_json1_1UpdateAnomalySubscriptionCommand: (input: UpdateAnomalySubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
68
|
export declare const serializeAws_json1_1UpdateCostCategoryDefinitionCommand: (input: UpdateCostCategoryDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -86,7 +92,10 @@ export declare const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsComm
|
|
|
86
92
|
export declare const deserializeAws_json1_1GetTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTagsCommandOutput>;
|
|
87
93
|
export declare const deserializeAws_json1_1GetUsageForecastCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUsageForecastCommandOutput>;
|
|
88
94
|
export declare const deserializeAws_json1_1ListCostCategoryDefinitionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCostCategoryDefinitionsCommandOutput>;
|
|
95
|
+
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
89
96
|
export declare const deserializeAws_json1_1ProvideAnomalyFeedbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ProvideAnomalyFeedbackCommandOutput>;
|
|
97
|
+
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
98
|
+
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
90
99
|
export declare const deserializeAws_json1_1UpdateAnomalyMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalyMonitorCommandOutput>;
|
|
91
100
|
export declare const deserializeAws_json1_1UpdateAnomalySubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalySubscriptionCommandOutput>;
|
|
92
101
|
export declare const deserializeAws_json1_1UpdateCostCategoryDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCostCategoryDefinitionCommandOutput>;
|