AWS SDK Version 3 for .NET
API Reference

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.

This is the response object from the GetCostAndUsage operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.CostExplorer.Model.GetCostAndUsageResponse

Namespace: Amazon.CostExplorer.Model
Assembly: AWSSDK.CostExplorer.dll
Version: 3.x.y.z

Syntax

C#
public class GetCostAndUsageResponse : AmazonWebServiceResponse

The GetCostAndUsageResponse type exposes the following members

Constructors

NameDescription
Public Method GetCostAndUsageResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property DimensionValueAttributes System.Collections.Generic.List<Amazon.CostExplorer.Model.DimensionValuesWithAttributes>

Gets and sets the property DimensionValueAttributes.

The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.

Public Property GroupDefinitions System.Collections.Generic.List<Amazon.CostExplorer.Model.GroupDefinition>

Gets and sets the property GroupDefinitions.

The groups that are specified by the Filter or GroupBy parameters in the request.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property NextPageToken System.String

Gets and sets the property NextPageToken.

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.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResultsByTime System.Collections.Generic.List<Amazon.CostExplorer.Model.ResultByTime>

Gets and sets the property ResultsByTime.

The time period that's covered by the results in the response.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5