| Column Name | Column Data Type |
time_period Required Input Column
The start and end dates for retrieving the dimension values. 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. | STRUCT( "start" VARCHAR, "end" VARCHAR ) |
Show child fields- time_period.end
The end of the time period. The end date is exclusive. For example, if end is 2017-05-01, Amazon Web Services retrieves cost and usage data from the start date up to, but not including, 2017-05-01.
- time_period.start
The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Amazon Web Services retrieves cost and usage data starting at 2017-01-01 up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.
|
filter Input Column
Use Expression to filter in various Cost Explorer APIs. Not all Expression types are supported in each API. Refer to the documentation for each specific API to see what is supported. There are two patterns: For the GetRightsizingRecommendation action, a combination of OR and NOT isn't supported. OR isn't supported between different dimensions, or dimensions and tags. NOT operators aren't supported. Dimensions are also limited to LINKED_ACCOUNT, REGION, or RIGHTSIZING_TYPE. For the GetReservationPurchaseRecommendation action, only NOT is supported. AND and OR aren't supported. Dimensions are limited to LINKED_ACCOUNT. | STRUCT( "dimensions" STRUCT( "key" VARCHAR, "values" VARCHAR[], "match_options" VARCHAR[] ), "tags" STRUCT( "key" VARCHAR, "values" VARCHAR[], "match_options" VARCHAR[] ), "cost_categories" STRUCT( "key" VARCHAR, "values" VARCHAR[], "match_options" VARCHAR[] ) ) |
Show child fields- filter.cost_categories
The filter that's based on CostCategory values. Show child fields- filter.cost_categories.key
The unique name of the Cost Category.
- filter.cost_categories.match_options[]
- filter.cost_categories.values[]
- filter.dimensions
The specific Dimension to use for Expression. Show child fields- filter.dimensions.key
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. Not all dimensions are supported in each API. Refer to the documentation for each specific API to see what is supported. LINK_ACCOUNT_NAME and SERVICE_CODE can only be used in CostCategoryRule. ANOMALY_TOTAL_IMPACT_ABSOLUTE and ANOMALY_TOTAL_IMPACT_PERCENTAGE can only be used in AnomalySubscriptions.
- filter.dimensions.match_options[]
- filter.dimensions.values[]
- filter.tags
The specific Tag to use for Expression. Show child fields- filter.tags.key
The key for the tag.
- filter.tags.match_options[]
- filter.tags.values[]
|
max_results Input Column
This field is only used when SortBy is provided in the request. The maximum number of objects that are returned for this request. If MaxResults isn't specified with SortBy, the request returns 1000 results as the default value for this parameter. For GetTags, MaxResults has an upper quota of 1000. | BIGINT |
next_page_token Input Column
The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. | VARCHAR |
search_string Input Column
The value that you want to search for. | VARCHAR |
sort_by Input Column
The value that you want to sort the data by. The key represents cost and usage metrics. The following values are supported: -
BlendedCost -
UnblendedCost -
AmortizedCost -
NetAmortizedCost -
NetUnblendedCost -
UsageQuantity -
NormalizedUsageAmount The supported values for SortOrder are ASCENDING and DESCENDING. When you use SortBy, NextPageToken and SearchString aren't supported. | STRUCT( "key" VARCHAR, "sort_order" VARCHAR )[] |
Show child fields- sort_by[]
Show child fields- sort_by[].key
The key that's used to sort the data.
- sort_by[].sort_order
The order that's used to sort the data.
|
tag_key Input Column
The key of the tag that you want to return values for. | VARCHAR |
_aws_profile Input Column
The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( "type" VARCHAR, "name" VARCHAR, "account_id" VARCHAR, "via_profile_name" VARCHAR, "assumed_role_arn" VARCHAR, "organization" STRUCT( "account_name" VARCHAR, "id" VARCHAR, "tags" STRUCT( "key" VARCHAR, "value" VARCHAR )[], "master_account" STRUCT( "id" VARCHAR, "email" VARCHAR ), "parents" STRUCT( "type" VARCHAR, "id" VARCHAR, "name" VARCHAR, "tags" STRUCT( "key" VARCHAR, "value" VARCHAR )[] )[] ) ) |
Show child fields- _aws_profile.account_id
The AWS account id
- _aws_profile.assumed_role_arn
The ARN of the assumed role
- _aws_profile.name
The unique name of the profile.
- _aws_profile.organization
Information about this profile's membership in the AWS organization. Show child fields- _aws_profile.organization.account_name
The name of account speciifed by the organization
- _aws_profile.organization.id
The organization id
- _aws_profile.organization.master_account
Show child fields- _aws_profile.organization.master_account.email
The organization master account email address
- _aws_profile.organization.master_account.id
The organization master account id
- _aws_profile.organization.parents[]
Show child fields- _aws_profile.organization.parents[].id
The id of the parent
- _aws_profile.organization.parents[].name
The name of the parent
- _aws_profile.organization.parents[].tags[]
Show child fields- _aws_profile.organization.parents[].tags[].key
- _aws_profile.organization.parents[].tags[].value
- _aws_profile.organization.parents[].type
The type of parent can be an organization unit or a root
- _aws_profile.organization.tags[]
Show child fields- _aws_profile.organization.tags[].key
- _aws_profile.organization.tags[].value
- _aws_profile.type
The type of profile, either 'credentials' or 'assumed_role'
- _aws_profile.via_profile_name
This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.
|
return_size
The number of query results that Amazon Web Services returns at a time. | BIGINT |
tags
The tags that match your request. | VARCHAR[] |
Show child fields- tags[]
|
total_size
The total number of query results. | BIGINT |