AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Get-CEDimensionValue-TimePeriod <DateInterval>-Context <Context>-Dimension <Dimension>-Filter <Expression>-SearchString <String>-SortBy <SortDefinition[]>-MaxResult <Int32>-NextPageToken <String>-Select <String>-PassThru <SwitchParameter>-ClientConfig <AmazonCostExplorerConfig>
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
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:us-east-1a
.SingleAZ
and MultiAZ
.m4.xlarge
.Compute Optimized
(for example, C4
, C5
, C6g
, and C7g
), Memory Optimization
(for example, R4
, R5n
, R5b
, and R6g
).RunInstance
and CreateBucket
.GetDimensionValues
operation includes a unit attribute. Examples include GB and Hrs.RESERVATIONS
, you can use the following dimensions for searching:us-east-1a
.SingleAZ
and MultiAZ
.m4.xlarge
.SAVINGS_PLANS
, you can use the following dimensions for searching:m5
)Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Dimension
is available for a different Context
. For more information, see Context
. LINK_ACCOUNT_NAME
and SERVICE_CODE
can only be used in CostCategoryRule. Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
GetDimensionValues
, MaxResults has an upper limit of 1000. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | MaxResults |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | NextToken |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
SortOrder
key are ASCENDING
or DESCENDING
.When you specify a SortBy
paramater, the context must be COST_AND_USAGE
. Further, when using SortBy
, NextPageToken
and SearchString
aren't supported. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
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
. Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
AWS Tools for PowerShell: 2.x.y.z