Skip to content

Type definitions#

Index > CostandUsageReportService > Type definitions

Auto-generated documentation for CostandUsageReportService type annotations stubs module mypy-boto3-cur.

DeleteReportDefinitionRequestRequestTypeDef#

# DeleteReportDefinitionRequestRequestTypeDef definition

class DeleteReportDefinitionRequestRequestTypeDef(TypedDict):
    ReportName: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeReportDefinitionsRequestRequestTypeDef#

# DescribeReportDefinitionsRequestRequestTypeDef definition

class DescribeReportDefinitionsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ReportName: str,

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

ReportStatusTypeDef#

# ReportStatusTypeDef definition

class ReportStatusTypeDef(TypedDict):
    lastDelivery: NotRequired[str],
    lastStatus: NotRequired[LastStatusType],  # (1)
  1. See LastStatusType

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ReportName: str,
    TagKeys: Sequence[str],

DeleteReportDefinitionResponseTypeDef#

# DeleteReportDefinitionResponseTypeDef definition

class DeleteReportDefinitionResponseTypeDef(TypedDict):
    ResponseMessage: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeReportDefinitionsRequestPaginateTypeDef#

# DescribeReportDefinitionsRequestPaginateTypeDef definition

class DescribeReportDefinitionsRequestPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: list[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ReportName: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

ReportDefinitionOutputTypeDef#

# ReportDefinitionOutputTypeDef definition

class ReportDefinitionOutputTypeDef(TypedDict):
    ReportName: str,
    TimeUnit: TimeUnitType,  # (1)
    Format: ReportFormatType,  # (2)
    Compression: CompressionFormatType,  # (3)
    AdditionalSchemaElements: list[SchemaElementType],  # (4)
    S3Bucket: str,
    S3Prefix: str,
    S3Region: AWSRegionType,  # (5)
    AdditionalArtifacts: NotRequired[list[AdditionalArtifactType]],  # (6)
    RefreshClosedReports: NotRequired[bool],
    ReportVersioning: NotRequired[ReportVersioningType],  # (7)
    BillingViewArn: NotRequired[str],
    ReportStatus: NotRequired[ReportStatusTypeDef],  # (8)
  1. See TimeUnitType
  2. See ReportFormatType
  3. See CompressionFormatType
  4. See SchemaElementType
  5. See AWSRegionType
  6. See AdditionalArtifactType
  7. See ReportVersioningType
  8. See ReportStatusTypeDef

ReportDefinitionTypeDef#

# ReportDefinitionTypeDef definition

class ReportDefinitionTypeDef(TypedDict):
    ReportName: str,
    TimeUnit: TimeUnitType,  # (1)
    Format: ReportFormatType,  # (2)
    Compression: CompressionFormatType,  # (3)
    AdditionalSchemaElements: Sequence[SchemaElementType],  # (4)
    S3Bucket: str,
    S3Prefix: str,
    S3Region: AWSRegionType,  # (5)
    AdditionalArtifacts: NotRequired[Sequence[AdditionalArtifactType]],  # (6)
    RefreshClosedReports: NotRequired[bool],
    ReportVersioning: NotRequired[ReportVersioningType],  # (7)
    BillingViewArn: NotRequired[str],
    ReportStatus: NotRequired[ReportStatusTypeDef],  # (8)
  1. See TimeUnitType
  2. See ReportFormatType
  3. See CompressionFormatType
  4. See SchemaElementType
  5. See AWSRegionType
  6. See AdditionalArtifactType
  7. See ReportVersioningType
  8. See ReportStatusTypeDef

DescribeReportDefinitionsResponseTypeDef#

# DescribeReportDefinitionsResponseTypeDef definition

class DescribeReportDefinitionsResponseTypeDef(TypedDict):
    ReportDefinitions: list[ReportDefinitionOutputTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ReportDefinitionOutputTypeDef
  2. See ResponseMetadataTypeDef

ModifyReportDefinitionRequestRequestTypeDef#

# ModifyReportDefinitionRequestRequestTypeDef definition

class ModifyReportDefinitionRequestRequestTypeDef(TypedDict):
    ReportName: str,
    ReportDefinition: ReportDefinitionTypeDef,  # (1)
  1. See ReportDefinitionTypeDef

PutReportDefinitionRequestRequestTypeDef#

# PutReportDefinitionRequestRequestTypeDef definition

class PutReportDefinitionRequestRequestTypeDef(TypedDict):
    ReportDefinition: ReportDefinitionTypeDef,  # (1)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ReportDefinitionTypeDef
  2. See TagTypeDef