aws-sdk 2.566.0 → 2.570.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 +20 -1
- package/README.md +1 -1
- package/apis/ce-2017-10-25.min.json +110 -71
- package/apis/cloudformation-2010-05-15.min.json +68 -29
- package/apis/cloudformation-2010-05-15.waiters2.json +56 -1
- package/apis/codepipeline-2015-07-09.min.json +58 -40
- package/apis/cognito-identity-2014-06-30.min.json +50 -42
- package/apis/dynamodb-2012-08-10.min.json +66 -40
- package/apis/marketplace-catalog-2018-09-17.examples.json +5 -0
- package/apis/marketplace-catalog-2018-09-17.min.json +305 -0
- package/apis/marketplace-catalog-2018-09-17.paginators.json +14 -0
- package/apis/metadata.json +11 -0
- package/apis/sso-2019-06-10.examples.json +5 -0
- package/apis/sso-2019-06-10.min.json +190 -0
- package/apis/sso-2019-06-10.paginators.json +16 -0
- package/apis/sso-oidc-2019-06-10.examples.json +5 -0
- package/apis/sso-oidc-2019-06-10.min.json +131 -0
- package/apis/sso-oidc-2019-06-10.paginators.json +4 -0
- package/clients/all.d.ts +3 -0
- package/clients/all.js +4 -1
- package/clients/cloudformation.d.ts +65 -15
- package/clients/codepipeline.d.ts +26 -0
- package/clients/cognitoidentity.d.ts +14 -5
- package/clients/comprehend.d.ts +2 -2
- package/clients/costexplorer.d.ts +66 -18
- package/clients/dynamodb.d.ts +85 -53
- package/clients/ecr.d.ts +4 -4
- package/clients/elbv2.d.ts +14 -14
- package/clients/marketplacecatalog.d.ts +421 -0
- package/clients/marketplacecatalog.js +18 -0
- package/clients/sso.d.ts +197 -0
- package/clients/sso.js +18 -0
- package/clients/ssooidc.d.ts +210 -0
- package/clients/ssooidc.js +18 -0
- package/clients/transcribeservice.d.ts +8 -5
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +239 -76
- package/dist/aws-sdk.js +423 -227
- package/dist/aws-sdk.min.js +69 -69
- package/dist/xml2js.js +117 -65
- package/lib/config_service_placeholders.d.ts +6 -0
- package/lib/core.js +1 -1
- package/lib/dynamodb/document_client.d.ts +81 -49
- package/package.json +1 -1
|
@@ -19,6 +19,14 @@ declare class CostExplorer extends Service {
|
|
|
19
19
|
* Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master accounts in an organization in AWS Organizations have access to all member accounts.
|
|
20
20
|
*/
|
|
21
21
|
getCostAndUsage(callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageResponse) => void): Request<CostExplorer.Types.GetCostAndUsageResponse, AWSError>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master accounts in an organization in AWS Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see Controlling Access for Cost Explorer in the AWS Billing and Cost Management User Guide.
|
|
24
|
+
*/
|
|
25
|
+
getCostAndUsageWithResources(params: CostExplorer.Types.GetCostAndUsageWithResourcesRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageWithResourcesResponse) => void): Request<CostExplorer.Types.GetCostAndUsageWithResourcesResponse, AWSError>;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master accounts in an organization in AWS Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see Controlling Access for Cost Explorer in the AWS Billing and Cost Management User Guide.
|
|
28
|
+
*/
|
|
29
|
+
getCostAndUsageWithResources(callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageWithResourcesResponse) => void): Request<CostExplorer.Types.GetCostAndUsageWithResourcesResponse, AWSError>;
|
|
22
30
|
/**
|
|
23
31
|
* Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs.
|
|
24
32
|
*/
|
|
@@ -84,19 +92,19 @@ declare class CostExplorer extends Service {
|
|
|
84
92
|
*/
|
|
85
93
|
getSavingsPlansPurchaseRecommendation(callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansPurchaseRecommendationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansPurchaseRecommendationResponse, AWSError>;
|
|
86
94
|
/**
|
|
87
|
-
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master accounts in an organization have access to member accounts. You can use GetDimensionValues to determine the possible dimension values. You cannot group by any dimension values for GetSavingsPlansUtilization.
|
|
95
|
+
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master accounts in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. You cannot group by any dimension values for GetSavingsPlansUtilization.
|
|
88
96
|
*/
|
|
89
97
|
getSavingsPlansUtilization(params: CostExplorer.Types.GetSavingsPlansUtilizationRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationResponse, AWSError>;
|
|
90
98
|
/**
|
|
91
|
-
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master accounts in an organization have access to member accounts. You can use GetDimensionValues to determine the possible dimension values. You cannot group by any dimension values for GetSavingsPlansUtilization.
|
|
99
|
+
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master accounts in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. You cannot group by any dimension values for GetSavingsPlansUtilization.
|
|
92
100
|
*/
|
|
93
101
|
getSavingsPlansUtilization(callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationResponse, AWSError>;
|
|
94
102
|
/**
|
|
95
|
-
* Retrieves a
|
|
103
|
+
* Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn.
|
|
96
104
|
*/
|
|
97
105
|
getSavingsPlansUtilizationDetails(params: CostExplorer.Types.GetSavingsPlansUtilizationDetailsRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationDetailsResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationDetailsResponse, AWSError>;
|
|
98
106
|
/**
|
|
99
|
-
* Retrieves a
|
|
107
|
+
* Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn.
|
|
100
108
|
*/
|
|
101
109
|
getSavingsPlansUtilizationDetails(callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationDetailsResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationDetailsResponse, AWSError>;
|
|
102
110
|
/**
|
|
@@ -249,7 +257,7 @@ declare namespace CostExplorer {
|
|
|
249
257
|
*/
|
|
250
258
|
End: YearMonthDay;
|
|
251
259
|
}
|
|
252
|
-
export type Dimension = "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|string;
|
|
260
|
+
export type Dimension = "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|string;
|
|
253
261
|
export interface DimensionValues {
|
|
254
262
|
/**
|
|
255
263
|
* The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones.
|
|
@@ -463,7 +471,7 @@ declare namespace CostExplorer {
|
|
|
463
471
|
*/
|
|
464
472
|
TimePeriod: DateInterval;
|
|
465
473
|
/**
|
|
466
|
-
* Sets the AWS cost granularity to MONTHLY or DAILY. If Granularity isn't set, the response object doesn't include the Granularity, either MONTHLY or DAILY. The GetCostAndUsageRequest operation supports only DAILY and MONTHLY granularities.
|
|
474
|
+
* Sets the AWS cost granularity to MONTHLY or DAILY, or HOURLY. If Granularity isn't set, the response object doesn't include the Granularity, either MONTHLY or DAILY, or HOURLY. The GetCostAndUsageRequest operation supports only DAILY and MONTHLY granularities.
|
|
467
475
|
*/
|
|
468
476
|
Granularity?: Granularity;
|
|
469
477
|
/**
|
|
@@ -497,6 +505,46 @@ declare namespace CostExplorer {
|
|
|
497
505
|
*/
|
|
498
506
|
ResultsByTime?: ResultsByTime;
|
|
499
507
|
}
|
|
508
|
+
export interface GetCostAndUsageWithResourcesRequest {
|
|
509
|
+
/**
|
|
510
|
+
* Sets the start and end dates for retrieving Amazon Web Services costs. The range must be within the last 14 days (the start date cannot be earlier than 14 days ago). The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.
|
|
511
|
+
*/
|
|
512
|
+
TimePeriod: DateInterval;
|
|
513
|
+
/**
|
|
514
|
+
* Sets the AWS cost granularity to MONTHLY, DAILY, or HOURLY. If Granularity isn't set, the response object doesn't include the Granularity, MONTHLY, DAILY, or HOURLY.
|
|
515
|
+
*/
|
|
516
|
+
Granularity?: Granularity;
|
|
517
|
+
/**
|
|
518
|
+
* Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression. The GetCostAndUsageWithResources operation requires that you either group by or filter by a ResourceId.
|
|
519
|
+
*/
|
|
520
|
+
Filter?: Expression;
|
|
521
|
+
/**
|
|
522
|
+
* Which metrics are returned in the query. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?. Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, NormalizedUsageAmount, UnblendedCost, and UsageQuantity. If you return the UsageQuantity metric, the service aggregates all usage numbers without taking the units into account. For example, if you aggregate usageQuantity across all of Amazon EC2, the results aren't meaningful because Amazon EC2 compute hours and data transfer are measured in different units (for example, hours vs. GB). To get more meaningful UsageQuantity metrics, filter by UsageType or UsageTypeGroups. Metrics is required for GetCostAndUsageWithResources requests.
|
|
523
|
+
*/
|
|
524
|
+
Metrics?: MetricNames;
|
|
525
|
+
/**
|
|
526
|
+
* You can group Amazon Web Services costs using up to two different groups: either dimensions, tag keys, or both.
|
|
527
|
+
*/
|
|
528
|
+
GroupBy?: GroupDefinitions;
|
|
529
|
+
/**
|
|
530
|
+
* The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.
|
|
531
|
+
*/
|
|
532
|
+
NextPageToken?: NextPageToken;
|
|
533
|
+
}
|
|
534
|
+
export interface GetCostAndUsageWithResourcesResponse {
|
|
535
|
+
/**
|
|
536
|
+
* The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.
|
|
537
|
+
*/
|
|
538
|
+
NextPageToken?: NextPageToken;
|
|
539
|
+
/**
|
|
540
|
+
* The groups that are specified by the Filter or GroupBy parameters in the request.
|
|
541
|
+
*/
|
|
542
|
+
GroupDefinitions?: GroupDefinitions;
|
|
543
|
+
/**
|
|
544
|
+
* The time period that is covered by the results in the response.
|
|
545
|
+
*/
|
|
546
|
+
ResultsByTime?: ResultsByTime;
|
|
547
|
+
}
|
|
500
548
|
export interface GetCostForecastRequest {
|
|
501
549
|
/**
|
|
502
550
|
* The period of time that you want the forecast to cover.
|
|
@@ -543,7 +591,7 @@ declare namespace CostExplorer {
|
|
|
543
591
|
*/
|
|
544
592
|
Dimension: Dimension;
|
|
545
593
|
/**
|
|
546
|
-
* The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. The default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values can be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, the resulting dimension values can be used in the GetCostAndUsage operation. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LEGAL_ENTITY_NAME - The name of the organization that sells you AWS services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. SERVICE - The AWS service such as Amazon DynamoDB. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The AWS Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The AWS Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan
|
|
594
|
+
* The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. The default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values can be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, the resulting dimension values can be used in the GetCostAndUsage operation. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LEGAL_ENTITY_NAME - The name of the organization that sells you AWS services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. SERVICE - The AWS service such as Amazon DynamoDB. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The AWS Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The AWS Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan
|
|
547
595
|
*/
|
|
548
596
|
Context?: Context;
|
|
549
597
|
/**
|
|
@@ -553,7 +601,7 @@ declare namespace CostExplorer {
|
|
|
553
601
|
}
|
|
554
602
|
export interface GetDimensionValuesResponse {
|
|
555
603
|
/**
|
|
556
|
-
* The filters that you used to filter your request. Some dimensions are available only for a specific context. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LEGAL_ENTITY_NAME - The name of the organization that sells you AWS services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. SERVICE - The AWS service such as Amazon DynamoDB. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The AWS Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The AWS Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan
|
|
604
|
+
* The filters that you used to filter your request. Some dimensions are available only for a specific context. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LEGAL_ENTITY_NAME - The name of the organization that sells you AWS services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. SERVICE - The AWS service such as Amazon DynamoDB. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The AWS Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The AWS Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan
|
|
557
605
|
*/
|
|
558
606
|
DimensionValues: DimensionValuesWithAttributesList;
|
|
559
607
|
/**
|
|
@@ -740,7 +788,7 @@ declare namespace CostExplorer {
|
|
|
740
788
|
*/
|
|
741
789
|
GroupBy?: GroupDefinitions;
|
|
742
790
|
/**
|
|
743
|
-
* The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set.
|
|
791
|
+
* The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set. The GetSavingsPlansCoverage operation supports only DAILY and MONTHLY granularities.
|
|
744
792
|
*/
|
|
745
793
|
Granularity?: Granularity;
|
|
746
794
|
/**
|
|
@@ -748,7 +796,7 @@ declare namespace CostExplorer {
|
|
|
748
796
|
*/
|
|
749
797
|
Filter?: Expression;
|
|
750
798
|
/**
|
|
751
|
-
* The measurement that you want your Savings Plans coverage reported in. The only valid value is
|
|
799
|
+
* The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans.
|
|
752
800
|
*/
|
|
753
801
|
Metrics?: MetricNames;
|
|
754
802
|
/**
|
|
@@ -798,7 +846,7 @@ declare namespace CostExplorer {
|
|
|
798
846
|
}
|
|
799
847
|
export interface GetSavingsPlansPurchaseRecommendationResponse {
|
|
800
848
|
/**
|
|
801
|
-
*
|
|
849
|
+
* Information regarding this specific recommendation set.
|
|
802
850
|
*/
|
|
803
851
|
Metadata?: SavingsPlansPurchaseRecommendationMetadata;
|
|
804
852
|
/**
|
|
@@ -816,7 +864,7 @@ declare namespace CostExplorer {
|
|
|
816
864
|
*/
|
|
817
865
|
TimePeriod: DateInterval;
|
|
818
866
|
/**
|
|
819
|
-
* Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions: LINKED_ACCOUNT SAVINGS_PLAN_ARN REGION
|
|
867
|
+
* Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions: LINKED_ACCOUNT SAVINGS_PLAN_ARN REGION PAYMENT_OPTION INSTANCE_TYPE_FAMILY GetSavingsPlansUtilizationDetails uses the same Expression object as the other operations, but only AND is supported among each dimension.
|
|
820
868
|
*/
|
|
821
869
|
Filter?: Expression;
|
|
822
870
|
/**
|
|
@@ -849,21 +897,21 @@ declare namespace CostExplorer {
|
|
|
849
897
|
*/
|
|
850
898
|
TimePeriod: DateInterval;
|
|
851
899
|
/**
|
|
852
|
-
* The granularity of the Amazon Web Services utillization data for your Savings Plans.
|
|
900
|
+
* The granularity of the Amazon Web Services utillization data for your Savings Plans. The GetSavingsPlansUtilization operation supports only DAILY and MONTHLY granularities.
|
|
853
901
|
*/
|
|
854
902
|
Granularity?: Granularity;
|
|
855
903
|
/**
|
|
856
|
-
* Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions: LINKED_ACCOUNT SAVINGS_PLAN_ARN SAVINGS_PLANS_TYPE REGION
|
|
904
|
+
* Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions: LINKED_ACCOUNT SAVINGS_PLAN_ARN SAVINGS_PLANS_TYPE REGION PAYMENT_OPTION INSTANCE_TYPE_FAMILY GetSavingsPlansUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension.
|
|
857
905
|
*/
|
|
858
906
|
Filter?: Expression;
|
|
859
907
|
}
|
|
860
908
|
export interface GetSavingsPlansUtilizationResponse {
|
|
861
909
|
/**
|
|
862
|
-
* The amount of
|
|
910
|
+
* The amount of cost/commitment you used your Savings Plans. This allows you to specify date ranges.
|
|
863
911
|
*/
|
|
864
912
|
SavingsPlansUtilizationsByTime?: SavingsPlansUtilizationsByTime;
|
|
865
913
|
/**
|
|
866
|
-
* The total amount of
|
|
914
|
+
* The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.
|
|
867
915
|
*/
|
|
868
916
|
Total: SavingsPlansUtilizationAggregates;
|
|
869
917
|
}
|
|
@@ -1441,7 +1489,7 @@ declare namespace CostExplorer {
|
|
|
1441
1489
|
export type SavingsPlansCoverages = SavingsPlansCoverage[];
|
|
1442
1490
|
export interface SavingsPlansDetails {
|
|
1443
1491
|
/**
|
|
1444
|
-
* A geographic
|
|
1492
|
+
* A collection of AWS resources in a geographic area. Each AWS Region is isolated and independent of the other Regions.
|
|
1445
1493
|
*/
|
|
1446
1494
|
Region?: GenericString;
|
|
1447
1495
|
/**
|
|
@@ -1610,7 +1658,7 @@ declare namespace CostExplorer {
|
|
|
1610
1658
|
*/
|
|
1611
1659
|
TotalCommitment?: GenericString;
|
|
1612
1660
|
/**
|
|
1613
|
-
* The amount of your Savings Plans commitment that was
|
|
1661
|
+
* The amount of your Savings Plans commitment that was consumed from Savings Plans eligible usage in a specific period.
|
|
1614
1662
|
*/
|
|
1615
1663
|
UsedCommitment?: GenericString;
|
|
1616
1664
|
/**
|