Skip to content

Type definitions#

Index > CostandUsageReportService > Type definitions

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

ReportDefinitionUnionTypeDef#

# ReportDefinitionUnionTypeDef Union usage example

from types_boto3_cur.type_defs import ReportDefinitionUnionTypeDef


def get_value() -> ReportDefinitionUnionTypeDef:
    return ...


# ReportDefinitionUnionTypeDef definition

ReportDefinitionUnionTypeDef = Union[
    ReportDefinitionTypeDef,  # (1)
    ReportDefinitionOutputTypeDef,  # (2)
]
  1. See ReportDefinitionTypeDef
  2. See ReportDefinitionOutputTypeDef

DeleteReportDefinitionRequestTypeDef#

# DeleteReportDefinitionRequestTypeDef TypedDict usage example

from types_boto3_cur.type_defs import DeleteReportDefinitionRequestTypeDef


def get_value() -> DeleteReportDefinitionRequestTypeDef:
    return {
        "ReportName": ...,
    }


# DeleteReportDefinitionRequestTypeDef definition

class DeleteReportDefinitionRequestTypeDef(TypedDict):
    ReportName: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_cur.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from types_boto3_cur.type_defs import PaginatorConfigTypeDef


def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }


# PaginatorConfigTypeDef definition

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

DescribeReportDefinitionsRequestTypeDef#

# DescribeReportDefinitionsRequestTypeDef TypedDict usage example

from types_boto3_cur.type_defs import DescribeReportDefinitionsRequestTypeDef


def get_value() -> DescribeReportDefinitionsRequestTypeDef:
    return {
        "MaxResults": ...,
    }


# DescribeReportDefinitionsRequestTypeDef definition

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

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef TypedDict usage example

from types_boto3_cur.type_defs import ListTagsForResourceRequestTypeDef


def get_value() -> ListTagsForResourceRequestTypeDef:
    return {
        "ReportName": ...,
    }


# ListTagsForResourceRequestTypeDef definition

class ListTagsForResourceRequestTypeDef(TypedDict):
    ReportName: str,

TagTypeDef#

# TagTypeDef TypedDict usage example

from types_boto3_cur.type_defs import TagTypeDef


def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }


# TagTypeDef definition

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

ReportStatusTypeDef#

# ReportStatusTypeDef TypedDict usage example

from types_boto3_cur.type_defs import ReportStatusTypeDef


def get_value() -> ReportStatusTypeDef:
    return {
        "lastDelivery": ...,
    }


# ReportStatusTypeDef definition

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

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from types_boto3_cur.type_defs import UntagResourceRequestTypeDef


def get_value() -> UntagResourceRequestTypeDef:
    return {
        "ReportName": ...,
    }


# UntagResourceRequestTypeDef definition

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

DeleteReportDefinitionResponseTypeDef#

# DeleteReportDefinitionResponseTypeDef TypedDict usage example

from types_boto3_cur.type_defs import DeleteReportDefinitionResponseTypeDef


def get_value() -> DeleteReportDefinitionResponseTypeDef:
    return {
        "ResponseMessage": ...,
    }


# DeleteReportDefinitionResponseTypeDef definition

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

DescribeReportDefinitionsRequestPaginateTypeDef#

# DescribeReportDefinitionsRequestPaginateTypeDef TypedDict usage example

from types_boto3_cur.type_defs import DescribeReportDefinitionsRequestPaginateTypeDef


def get_value() -> DescribeReportDefinitionsRequestPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# DescribeReportDefinitionsRequestPaginateTypeDef definition

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

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef TypedDict usage example

from types_boto3_cur.type_defs import ListTagsForResourceResponseTypeDef


def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
    }


# ListTagsForResourceResponseTypeDef definition

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

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from types_boto3_cur.type_defs import TagResourceRequestTypeDef


def get_value() -> TagResourceRequestTypeDef:
    return {
        "ReportName": ...,
    }


# TagResourceRequestTypeDef definition

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

ReportDefinitionOutputTypeDef#

# ReportDefinitionOutputTypeDef TypedDict usage example

from types_boto3_cur.type_defs import ReportDefinitionOutputTypeDef


def get_value() -> ReportDefinitionOutputTypeDef:
    return {
        "ReportName": ...,
    }


# 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 TypedDict usage example

from types_boto3_cur.type_defs import ReportDefinitionTypeDef


def get_value() -> ReportDefinitionTypeDef:
    return {
        "ReportName": ...,
    }


# 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 TypedDict usage example

from types_boto3_cur.type_defs import DescribeReportDefinitionsResponseTypeDef


def get_value() -> DescribeReportDefinitionsResponseTypeDef:
    return {
        "ReportDefinitions": ...,
    }


# DescribeReportDefinitionsResponseTypeDef definition

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

ModifyReportDefinitionRequestTypeDef#

# ModifyReportDefinitionRequestTypeDef TypedDict usage example

from types_boto3_cur.type_defs import ModifyReportDefinitionRequestTypeDef


def get_value() -> ModifyReportDefinitionRequestTypeDef:
    return {
        "ReportName": ...,
    }


# ModifyReportDefinitionRequestTypeDef definition

class ModifyReportDefinitionRequestTypeDef(TypedDict):
    ReportName: str,
    ReportDefinition: ReportDefinitionUnionTypeDef,  # (1)
  1. See ReportDefinitionTypeDef ReportDefinitionOutputTypeDef

PutReportDefinitionRequestTypeDef#

# PutReportDefinitionRequestTypeDef TypedDict usage example

from types_boto3_cur.type_defs import PutReportDefinitionRequestTypeDef


def get_value() -> PutReportDefinitionRequestTypeDef:
    return {
        "ReportDefinition": ...,
    }


# PutReportDefinitionRequestTypeDef definition

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