Type definitions#
Index > TimestreamQuery > Type definitions
Auto-generated documentation for TimestreamQuery type annotations stubs module mypy-boto3-timestream-query.
TimestampTypeDef#
# TimestampTypeDef Union usage example
from mypy_boto3_timestream_query.type_defs import TimestampTypeDef
def get_value() -> TimestampTypeDef:
return ...
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime.datetime,
str,
]
TargetConfigurationUnionTypeDef#
# TargetConfigurationUnionTypeDef Union usage example
from mypy_boto3_timestream_query.type_defs import TargetConfigurationUnionTypeDef
def get_value() -> TargetConfigurationUnionTypeDef:
return ...
# TargetConfigurationUnionTypeDef definition
TargetConfigurationUnionTypeDef = Union[
TargetConfigurationTypeDef, # (1)
TargetConfigurationOutputTypeDef, # (2)
]
SnsConfigurationTypeDef#
# SnsConfigurationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import SnsConfigurationTypeDef
def get_value() -> SnsConfigurationTypeDef:
return {
"TopicArn": ...,
}
# SnsConfigurationTypeDef definition
class SnsConfigurationTypeDef(TypedDict):
TopicArn: str,
CancelQueryRequestTypeDef#
# CancelQueryRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import CancelQueryRequestTypeDef
def get_value() -> CancelQueryRequestTypeDef:
return {
"QueryId": ...,
}
# CancelQueryRequestTypeDef definition
class CancelQueryRequestTypeDef(TypedDict):
QueryId: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_timestream_query.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],
TypePaginatorTypeDef#
# TypePaginatorTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TypePaginatorTypeDef
def get_value() -> TypePaginatorTypeDef:
return {
"ScalarType": ...,
}
# TypePaginatorTypeDef definition
class TypePaginatorTypeDef(TypedDict):
ScalarType: NotRequired[ScalarTypeType], # (1)
ArrayColumnInfo: NotRequired[Dict[str, Any]],
TimeSeriesMeasureValueColumnInfo: NotRequired[Dict[str, Any]],
RowColumnInfo: NotRequired[List[Dict[str, Any]]],
- See ScalarTypeType
ColumnInfoTypeDef#
# ColumnInfoTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ColumnInfoTypeDef
def get_value() -> ColumnInfoTypeDef:
return {
"Name": ...,
}
# ColumnInfoTypeDef definition
class ColumnInfoTypeDef(TypedDict):
Type: Dict[str, Any],
Name: NotRequired[str],
ScheduleConfigurationTypeDef#
# ScheduleConfigurationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ScheduleConfigurationTypeDef
def get_value() -> ScheduleConfigurationTypeDef:
return {
"ScheduleExpression": ...,
}
# ScheduleConfigurationTypeDef definition
class ScheduleConfigurationTypeDef(TypedDict):
ScheduleExpression: str,
TagTypeDef#
# TagTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
TimeSeriesDataPointPaginatorTypeDef#
# TimeSeriesDataPointPaginatorTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TimeSeriesDataPointPaginatorTypeDef
def get_value() -> TimeSeriesDataPointPaginatorTypeDef:
return {
"Time": ...,
}
# TimeSeriesDataPointPaginatorTypeDef definition
class TimeSeriesDataPointPaginatorTypeDef(TypedDict):
Time: str,
Value: Dict[str, Any],
TimeSeriesDataPointTypeDef#
# TimeSeriesDataPointTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TimeSeriesDataPointTypeDef
def get_value() -> TimeSeriesDataPointTypeDef:
return {
"Time": ...,
}
# TimeSeriesDataPointTypeDef definition
class TimeSeriesDataPointTypeDef(TypedDict):
Time: str,
Value: Dict[str, Any],
DeleteScheduledQueryRequestTypeDef#
# DeleteScheduledQueryRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import DeleteScheduledQueryRequestTypeDef
def get_value() -> DeleteScheduledQueryRequestTypeDef:
return {
"ScheduledQueryArn": ...,
}
# DeleteScheduledQueryRequestTypeDef definition
class DeleteScheduledQueryRequestTypeDef(TypedDict):
ScheduledQueryArn: str,
EndpointTypeDef#
# EndpointTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import EndpointTypeDef
def get_value() -> EndpointTypeDef:
return {
"Address": ...,
}
# EndpointTypeDef definition
class EndpointTypeDef(TypedDict):
Address: str,
CachePeriodInMinutes: int,
DescribeScheduledQueryRequestTypeDef#
# DescribeScheduledQueryRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import DescribeScheduledQueryRequestTypeDef
def get_value() -> DescribeScheduledQueryRequestTypeDef:
return {
"ScheduledQueryArn": ...,
}
# DescribeScheduledQueryRequestTypeDef definition
class DescribeScheduledQueryRequestTypeDef(TypedDict):
ScheduledQueryArn: str,
DimensionMappingTypeDef#
# DimensionMappingTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import DimensionMappingTypeDef
def get_value() -> DimensionMappingTypeDef:
return {
"Name": ...,
}
# DimensionMappingTypeDef definition
class DimensionMappingTypeDef(TypedDict):
Name: str,
DimensionValueType: DimensionValueTypeType, # (1)
S3ConfigurationTypeDef#
# S3ConfigurationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import S3ConfigurationTypeDef
def get_value() -> S3ConfigurationTypeDef:
return {
"BucketName": ...,
}
# S3ConfigurationTypeDef definition
class S3ConfigurationTypeDef(TypedDict):
BucketName: str,
ObjectKeyPrefix: NotRequired[str],
EncryptionOption: NotRequired[S3EncryptionOptionType], # (1)
S3ReportLocationTypeDef#
# S3ReportLocationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import S3ReportLocationTypeDef
def get_value() -> S3ReportLocationTypeDef:
return {
"BucketName": ...,
}
# S3ReportLocationTypeDef definition
class S3ReportLocationTypeDef(TypedDict):
BucketName: NotRequired[str],
ObjectKey: NotRequired[str],
ScheduledQueryInsightsTypeDef#
# ScheduledQueryInsightsTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ScheduledQueryInsightsTypeDef
def get_value() -> ScheduledQueryInsightsTypeDef:
return {
"Mode": ...,
}
# ScheduledQueryInsightsTypeDef definition
class ScheduledQueryInsightsTypeDef(TypedDict):
Mode: ScheduledQueryInsightsModeType, # (1)
ExecutionStatsTypeDef#
# ExecutionStatsTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ExecutionStatsTypeDef
def get_value() -> ExecutionStatsTypeDef:
return {
"ExecutionTimeInMillis": ...,
}
# ExecutionStatsTypeDef definition
class ExecutionStatsTypeDef(TypedDict):
ExecutionTimeInMillis: NotRequired[int],
DataWrites: NotRequired[int],
BytesMetered: NotRequired[int],
CumulativeBytesScanned: NotRequired[int],
RecordsIngested: NotRequired[int],
QueryResultRows: NotRequired[int],
LastUpdateTypeDef#
# LastUpdateTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import LastUpdateTypeDef
def get_value() -> LastUpdateTypeDef:
return {
"TargetQueryTCU": ...,
}
# LastUpdateTypeDef definition
class LastUpdateTypeDef(TypedDict):
TargetQueryTCU: NotRequired[int],
Status: NotRequired[LastUpdateStatusType], # (1)
StatusMessage: NotRequired[str],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListScheduledQueriesRequestTypeDef#
# ListScheduledQueriesRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ListScheduledQueriesRequestTypeDef
def get_value() -> ListScheduledQueriesRequestTypeDef:
return {
"MaxResults": ...,
}
# ListScheduledQueriesRequestTypeDef definition
class ListScheduledQueriesRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListTagsForResourceRequestTypeDef#
# ListTagsForResourceRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ListTagsForResourceRequestTypeDef
def get_value() -> ListTagsForResourceRequestTypeDef:
return {
"ResourceARN": ...,
}
# ListTagsForResourceRequestTypeDef definition
class ListTagsForResourceRequestTypeDef(TypedDict):
ResourceARN: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
MultiMeasureAttributeMappingTypeDef#
# MultiMeasureAttributeMappingTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import MultiMeasureAttributeMappingTypeDef
def get_value() -> MultiMeasureAttributeMappingTypeDef:
return {
"SourceColumn": ...,
}
# MultiMeasureAttributeMappingTypeDef definition
class MultiMeasureAttributeMappingTypeDef(TypedDict):
SourceColumn: str,
MeasureValueType: ScalarMeasureValueTypeType, # (1)
TargetMultiMeasureAttributeName: NotRequired[str],
PrepareQueryRequestTypeDef#
# PrepareQueryRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import PrepareQueryRequestTypeDef
def get_value() -> PrepareQueryRequestTypeDef:
return {
"QueryString": ...,
}
# PrepareQueryRequestTypeDef definition
class PrepareQueryRequestTypeDef(TypedDict):
QueryString: str,
ValidateOnly: NotRequired[bool],
QueryInsightsTypeDef#
# QueryInsightsTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryInsightsTypeDef
def get_value() -> QueryInsightsTypeDef:
return {
"Mode": ...,
}
# QueryInsightsTypeDef definition
class QueryInsightsTypeDef(TypedDict):
Mode: QueryInsightsModeType, # (1)
QueryStatusTypeDef#
# QueryStatusTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryStatusTypeDef
def get_value() -> QueryStatusTypeDef:
return {
"ProgressPercentage": ...,
}
# QueryStatusTypeDef definition
class QueryStatusTypeDef(TypedDict):
ProgressPercentage: NotRequired[float],
CumulativeBytesScanned: NotRequired[int],
CumulativeBytesMetered: NotRequired[int],
QuerySpatialCoverageMaxTypeDef#
# QuerySpatialCoverageMaxTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QuerySpatialCoverageMaxTypeDef
def get_value() -> QuerySpatialCoverageMaxTypeDef:
return {
"Value": ...,
}
# QuerySpatialCoverageMaxTypeDef definition
class QuerySpatialCoverageMaxTypeDef(TypedDict):
Value: NotRequired[float],
TableArn: NotRequired[str],
PartitionKey: NotRequired[List[str]],
QueryTemporalRangeMaxTypeDef#
# QueryTemporalRangeMaxTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryTemporalRangeMaxTypeDef
def get_value() -> QueryTemporalRangeMaxTypeDef:
return {
"Value": ...,
}
# QueryTemporalRangeMaxTypeDef definition
class QueryTemporalRangeMaxTypeDef(TypedDict):
Value: NotRequired[int],
TableArn: NotRequired[str],
TimestreamDestinationTypeDef#
# TimestreamDestinationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TimestreamDestinationTypeDef
def get_value() -> TimestreamDestinationTypeDef:
return {
"DatabaseName": ...,
}
# TimestreamDestinationTypeDef definition
class TimestreamDestinationTypeDef(TypedDict):
DatabaseName: NotRequired[str],
TableName: NotRequired[str],
UntagResourceRequestTypeDef#
# UntagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import UntagResourceRequestTypeDef
def get_value() -> UntagResourceRequestTypeDef:
return {
"ResourceARN": ...,
}
# UntagResourceRequestTypeDef definition
class UntagResourceRequestTypeDef(TypedDict):
ResourceARN: str,
TagKeys: Sequence[str],
UpdateScheduledQueryRequestTypeDef#
# UpdateScheduledQueryRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import UpdateScheduledQueryRequestTypeDef
def get_value() -> UpdateScheduledQueryRequestTypeDef:
return {
"ScheduledQueryArn": ...,
}
# UpdateScheduledQueryRequestTypeDef definition
class UpdateScheduledQueryRequestTypeDef(TypedDict):
ScheduledQueryArn: str,
State: ScheduledQueryStateType, # (1)
AccountSettingsNotificationConfigurationTypeDef#
# AccountSettingsNotificationConfigurationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import AccountSettingsNotificationConfigurationTypeDef
def get_value() -> AccountSettingsNotificationConfigurationTypeDef:
return {
"SnsConfiguration": ...,
}
# AccountSettingsNotificationConfigurationTypeDef definition
class AccountSettingsNotificationConfigurationTypeDef(TypedDict):
RoleArn: str,
SnsConfiguration: NotRequired[SnsConfigurationTypeDef], # (1)
NotificationConfigurationTypeDef#
# NotificationConfigurationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import NotificationConfigurationTypeDef
def get_value() -> NotificationConfigurationTypeDef:
return {
"SnsConfiguration": ...,
}
# NotificationConfigurationTypeDef definition
class NotificationConfigurationTypeDef(TypedDict):
SnsConfiguration: SnsConfigurationTypeDef, # (1)
CancelQueryResponseTypeDef#
# CancelQueryResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import CancelQueryResponseTypeDef
def get_value() -> CancelQueryResponseTypeDef:
return {
"CancellationMessage": ...,
}
# CancelQueryResponseTypeDef definition
class CancelQueryResponseTypeDef(TypedDict):
CancellationMessage: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateScheduledQueryResponseTypeDef#
# CreateScheduledQueryResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import CreateScheduledQueryResponseTypeDef
def get_value() -> CreateScheduledQueryResponseTypeDef:
return {
"Arn": ...,
}
# CreateScheduledQueryResponseTypeDef definition
class CreateScheduledQueryResponseTypeDef(TypedDict):
Arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ColumnInfoPaginatorTypeDef#
# ColumnInfoPaginatorTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ColumnInfoPaginatorTypeDef
def get_value() -> ColumnInfoPaginatorTypeDef:
return {
"Name": ...,
}
# ColumnInfoPaginatorTypeDef definition
class ColumnInfoPaginatorTypeDef(TypedDict):
Type: TypePaginatorTypeDef, # (1)
Name: NotRequired[str],
TypeTypeDef#
# TypeTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TypeTypeDef
def get_value() -> TypeTypeDef:
return {
"ScalarType": ...,
}
# TypeTypeDef definition
class TypeTypeDef(TypedDict):
ScalarType: NotRequired[ScalarTypeType], # (1)
ArrayColumnInfo: NotRequired[Dict[str, Any]],
TimeSeriesMeasureValueColumnInfo: NotRequired[Dict[str, Any]],
RowColumnInfo: NotRequired[List[ColumnInfoTypeDef]], # (2)
- See ScalarTypeType
- See
List[ColumnInfoTypeDef]
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"Tags": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See
List[TagTypeDef]
- See ResponseMetadataTypeDef
TagResourceRequestTypeDef#
# TagResourceRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TagResourceRequestTypeDef
def get_value() -> TagResourceRequestTypeDef:
return {
"ResourceARN": ...,
}
# TagResourceRequestTypeDef definition
class TagResourceRequestTypeDef(TypedDict):
ResourceARN: str,
Tags: Sequence[TagTypeDef], # (1)
- See
Sequence[TagTypeDef]
DatumPaginatorTypeDef#
# DatumPaginatorTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import DatumPaginatorTypeDef
def get_value() -> DatumPaginatorTypeDef:
return {
"ScalarValue": ...,
}
# DatumPaginatorTypeDef definition
class DatumPaginatorTypeDef(TypedDict):
ScalarValue: NotRequired[str],
TimeSeriesValue: NotRequired[List[TimeSeriesDataPointPaginatorTypeDef]], # (1)
ArrayValue: NotRequired[List[Dict[str, Any]]],
RowValue: NotRequired[Dict[str, Any]],
NullValue: NotRequired[bool],
- See
List[TimeSeriesDataPointPaginatorTypeDef]
DatumTypeDef#
# DatumTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import DatumTypeDef
def get_value() -> DatumTypeDef:
return {
"ScalarValue": ...,
}
# DatumTypeDef definition
class DatumTypeDef(TypedDict):
ScalarValue: NotRequired[str],
TimeSeriesValue: NotRequired[List[TimeSeriesDataPointTypeDef]], # (1)
ArrayValue: NotRequired[List[Dict[str, Any]]],
RowValue: NotRequired[Dict[str, Any]],
NullValue: NotRequired[bool],
- See
List[TimeSeriesDataPointTypeDef]
DescribeEndpointsResponseTypeDef#
# DescribeEndpointsResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import DescribeEndpointsResponseTypeDef
def get_value() -> DescribeEndpointsResponseTypeDef:
return {
"Endpoints": ...,
}
# DescribeEndpointsResponseTypeDef definition
class DescribeEndpointsResponseTypeDef(TypedDict):
Endpoints: List[EndpointTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See
List[EndpointTypeDef]
- See ResponseMetadataTypeDef
ErrorReportConfigurationTypeDef#
# ErrorReportConfigurationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ErrorReportConfigurationTypeDef
def get_value() -> ErrorReportConfigurationTypeDef:
return {
"S3Configuration": ...,
}
# ErrorReportConfigurationTypeDef definition
class ErrorReportConfigurationTypeDef(TypedDict):
S3Configuration: S3ConfigurationTypeDef, # (1)
ErrorReportLocationTypeDef#
# ErrorReportLocationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ErrorReportLocationTypeDef
def get_value() -> ErrorReportLocationTypeDef:
return {
"S3ReportLocation": ...,
}
# ErrorReportLocationTypeDef definition
class ErrorReportLocationTypeDef(TypedDict):
S3ReportLocation: NotRequired[S3ReportLocationTypeDef], # (1)
ExecuteScheduledQueryRequestTypeDef#
# ExecuteScheduledQueryRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ExecuteScheduledQueryRequestTypeDef
def get_value() -> ExecuteScheduledQueryRequestTypeDef:
return {
"ScheduledQueryArn": ...,
}
# ExecuteScheduledQueryRequestTypeDef definition
class ExecuteScheduledQueryRequestTypeDef(TypedDict):
ScheduledQueryArn: str,
InvocationTime: TimestampTypeDef,
ClientToken: NotRequired[str],
QueryInsights: NotRequired[ScheduledQueryInsightsTypeDef], # (1)
ListScheduledQueriesRequestPaginateTypeDef#
# ListScheduledQueriesRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ListScheduledQueriesRequestPaginateTypeDef
def get_value() -> ListScheduledQueriesRequestPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListScheduledQueriesRequestPaginateTypeDef definition
class ListScheduledQueriesRequestPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListTagsForResourceRequestPaginateTypeDef#
# ListTagsForResourceRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ListTagsForResourceRequestPaginateTypeDef
def get_value() -> ListTagsForResourceRequestPaginateTypeDef:
return {
"ResourceARN": ...,
}
# ListTagsForResourceRequestPaginateTypeDef definition
class ListTagsForResourceRequestPaginateTypeDef(TypedDict):
ResourceARN: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
MixedMeasureMappingOutputTypeDef#
# MixedMeasureMappingOutputTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import MixedMeasureMappingOutputTypeDef
def get_value() -> MixedMeasureMappingOutputTypeDef:
return {
"MeasureName": ...,
}
# MixedMeasureMappingOutputTypeDef definition
class MixedMeasureMappingOutputTypeDef(TypedDict):
MeasureValueType: MeasureValueTypeType, # (1)
MeasureName: NotRequired[str],
SourceColumn: NotRequired[str],
TargetMeasureName: NotRequired[str],
MultiMeasureAttributeMappings: NotRequired[List[MultiMeasureAttributeMappingTypeDef]], # (2)
- See MeasureValueTypeType
- See
List[MultiMeasureAttributeMappingTypeDef]
MixedMeasureMappingTypeDef#
# MixedMeasureMappingTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import MixedMeasureMappingTypeDef
def get_value() -> MixedMeasureMappingTypeDef:
return {
"MeasureName": ...,
}
# MixedMeasureMappingTypeDef definition
class MixedMeasureMappingTypeDef(TypedDict):
MeasureValueType: MeasureValueTypeType, # (1)
MeasureName: NotRequired[str],
SourceColumn: NotRequired[str],
TargetMeasureName: NotRequired[str],
MultiMeasureAttributeMappings: NotRequired[Sequence[MultiMeasureAttributeMappingTypeDef]], # (2)
- See MeasureValueTypeType
- See
Sequence[MultiMeasureAttributeMappingTypeDef]
MultiMeasureMappingsOutputTypeDef#
# MultiMeasureMappingsOutputTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import MultiMeasureMappingsOutputTypeDef
def get_value() -> MultiMeasureMappingsOutputTypeDef:
return {
"TargetMultiMeasureName": ...,
}
# MultiMeasureMappingsOutputTypeDef definition
class MultiMeasureMappingsOutputTypeDef(TypedDict):
MultiMeasureAttributeMappings: List[MultiMeasureAttributeMappingTypeDef], # (1)
TargetMultiMeasureName: NotRequired[str],
- See
List[MultiMeasureAttributeMappingTypeDef]
MultiMeasureMappingsTypeDef#
# MultiMeasureMappingsTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import MultiMeasureMappingsTypeDef
def get_value() -> MultiMeasureMappingsTypeDef:
return {
"TargetMultiMeasureName": ...,
}
# MultiMeasureMappingsTypeDef definition
class MultiMeasureMappingsTypeDef(TypedDict):
MultiMeasureAttributeMappings: Sequence[MultiMeasureAttributeMappingTypeDef], # (1)
TargetMultiMeasureName: NotRequired[str],
- See
Sequence[MultiMeasureAttributeMappingTypeDef]
QueryRequestPaginateTypeDef#
# QueryRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryRequestPaginateTypeDef
def get_value() -> QueryRequestPaginateTypeDef:
return {
"QueryString": ...,
}
# QueryRequestPaginateTypeDef definition
class QueryRequestPaginateTypeDef(TypedDict):
QueryString: str,
ClientToken: NotRequired[str],
QueryInsights: NotRequired[QueryInsightsTypeDef], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
QueryRequestTypeDef#
# QueryRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryRequestTypeDef
def get_value() -> QueryRequestTypeDef:
return {
"QueryString": ...,
}
# QueryRequestTypeDef definition
class QueryRequestTypeDef(TypedDict):
QueryString: str,
ClientToken: NotRequired[str],
NextToken: NotRequired[str],
MaxRows: NotRequired[int],
QueryInsights: NotRequired[QueryInsightsTypeDef], # (1)
QuerySpatialCoverageTypeDef#
# QuerySpatialCoverageTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QuerySpatialCoverageTypeDef
def get_value() -> QuerySpatialCoverageTypeDef:
return {
"Max": ...,
}
# QuerySpatialCoverageTypeDef definition
class QuerySpatialCoverageTypeDef(TypedDict):
Max: NotRequired[QuerySpatialCoverageMaxTypeDef], # (1)
QueryTemporalRangeTypeDef#
# QueryTemporalRangeTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryTemporalRangeTypeDef
def get_value() -> QueryTemporalRangeTypeDef:
return {
"Max": ...,
}
# QueryTemporalRangeTypeDef definition
class QueryTemporalRangeTypeDef(TypedDict):
Max: NotRequired[QueryTemporalRangeMaxTypeDef], # (1)
TargetDestinationTypeDef#
# TargetDestinationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TargetDestinationTypeDef
def get_value() -> TargetDestinationTypeDef:
return {
"TimestreamDestination": ...,
}
# TargetDestinationTypeDef definition
class TargetDestinationTypeDef(TypedDict):
TimestreamDestination: NotRequired[TimestreamDestinationTypeDef], # (1)
ProvisionedCapacityRequestTypeDef#
# ProvisionedCapacityRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ProvisionedCapacityRequestTypeDef
def get_value() -> ProvisionedCapacityRequestTypeDef:
return {
"TargetQueryTCU": ...,
}
# ProvisionedCapacityRequestTypeDef definition
class ProvisionedCapacityRequestTypeDef(TypedDict):
TargetQueryTCU: int,
NotificationConfiguration: NotRequired[AccountSettingsNotificationConfigurationTypeDef], # (1)
ProvisionedCapacityResponseTypeDef#
# ProvisionedCapacityResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ProvisionedCapacityResponseTypeDef
def get_value() -> ProvisionedCapacityResponseTypeDef:
return {
"ActiveQueryTCU": ...,
}
# ProvisionedCapacityResponseTypeDef definition
class ProvisionedCapacityResponseTypeDef(TypedDict):
ActiveQueryTCU: NotRequired[int],
NotificationConfiguration: NotRequired[AccountSettingsNotificationConfigurationTypeDef], # (1)
LastUpdate: NotRequired[LastUpdateTypeDef], # (2)
ParameterMappingTypeDef#
# ParameterMappingTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ParameterMappingTypeDef
def get_value() -> ParameterMappingTypeDef:
return {
"Name": ...,
}
# ParameterMappingTypeDef definition
class ParameterMappingTypeDef(TypedDict):
Name: str,
Type: TypeTypeDef, # (1)
- See TypeTypeDef
SelectColumnTypeDef#
# SelectColumnTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import SelectColumnTypeDef
def get_value() -> SelectColumnTypeDef:
return {
"Name": ...,
}
# SelectColumnTypeDef definition
class SelectColumnTypeDef(TypedDict):
Name: NotRequired[str],
Type: NotRequired[TypeTypeDef], # (1)
DatabaseName: NotRequired[str],
TableName: NotRequired[str],
Aliased: NotRequired[bool],
- See TypeTypeDef
RowPaginatorTypeDef#
# RowPaginatorTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import RowPaginatorTypeDef
def get_value() -> RowPaginatorTypeDef:
return {
"Data": ...,
}
# RowPaginatorTypeDef definition
class RowPaginatorTypeDef(TypedDict):
Data: List[DatumPaginatorTypeDef], # (1)
- See
List[DatumPaginatorTypeDef]
RowTypeDef#
# RowTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import RowTypeDef
def get_value() -> RowTypeDef:
return {
"Data": ...,
}
# RowTypeDef definition
class RowTypeDef(TypedDict):
Data: List[DatumTypeDef], # (1)
- See
List[DatumTypeDef]
TimestreamConfigurationOutputTypeDef#
# TimestreamConfigurationOutputTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TimestreamConfigurationOutputTypeDef
def get_value() -> TimestreamConfigurationOutputTypeDef:
return {
"DatabaseName": ...,
}
# TimestreamConfigurationOutputTypeDef definition
class TimestreamConfigurationOutputTypeDef(TypedDict):
DatabaseName: str,
TableName: str,
TimeColumn: str,
DimensionMappings: List[DimensionMappingTypeDef], # (1)
MultiMeasureMappings: NotRequired[MultiMeasureMappingsOutputTypeDef], # (2)
MixedMeasureMappings: NotRequired[List[MixedMeasureMappingOutputTypeDef]], # (3)
MeasureNameColumn: NotRequired[str],
- See
List[DimensionMappingTypeDef]
- See MultiMeasureMappingsOutputTypeDef
- See
List[MixedMeasureMappingOutputTypeDef]
TimestreamConfigurationTypeDef#
# TimestreamConfigurationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TimestreamConfigurationTypeDef
def get_value() -> TimestreamConfigurationTypeDef:
return {
"DatabaseName": ...,
}
# TimestreamConfigurationTypeDef definition
class TimestreamConfigurationTypeDef(TypedDict):
DatabaseName: str,
TableName: str,
TimeColumn: str,
DimensionMappings: Sequence[DimensionMappingTypeDef], # (1)
MultiMeasureMappings: NotRequired[MultiMeasureMappingsTypeDef], # (2)
MixedMeasureMappings: NotRequired[Sequence[MixedMeasureMappingTypeDef]], # (3)
MeasureNameColumn: NotRequired[str],
- See
Sequence[DimensionMappingTypeDef]
- See MultiMeasureMappingsTypeDef
- See
Sequence[MixedMeasureMappingTypeDef]
QueryInsightsResponseTypeDef#
# QueryInsightsResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryInsightsResponseTypeDef
def get_value() -> QueryInsightsResponseTypeDef:
return {
"QuerySpatialCoverage": ...,
}
# QueryInsightsResponseTypeDef definition
class QueryInsightsResponseTypeDef(TypedDict):
QuerySpatialCoverage: NotRequired[QuerySpatialCoverageTypeDef], # (1)
QueryTemporalRange: NotRequired[QueryTemporalRangeTypeDef], # (2)
QueryTableCount: NotRequired[int],
OutputRows: NotRequired[int],
OutputBytes: NotRequired[int],
UnloadPartitionCount: NotRequired[int],
UnloadWrittenRows: NotRequired[int],
UnloadWrittenBytes: NotRequired[int],
ScheduledQueryInsightsResponseTypeDef#
# ScheduledQueryInsightsResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ScheduledQueryInsightsResponseTypeDef
def get_value() -> ScheduledQueryInsightsResponseTypeDef:
return {
"QuerySpatialCoverage": ...,
}
# ScheduledQueryInsightsResponseTypeDef definition
class ScheduledQueryInsightsResponseTypeDef(TypedDict):
QuerySpatialCoverage: NotRequired[QuerySpatialCoverageTypeDef], # (1)
QueryTemporalRange: NotRequired[QueryTemporalRangeTypeDef], # (2)
QueryTableCount: NotRequired[int],
OutputRows: NotRequired[int],
OutputBytes: NotRequired[int],
ScheduledQueryTypeDef#
# ScheduledQueryTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ScheduledQueryTypeDef
def get_value() -> ScheduledQueryTypeDef:
return {
"Arn": ...,
}
# ScheduledQueryTypeDef definition
class ScheduledQueryTypeDef(TypedDict):
Arn: str,
Name: str,
State: ScheduledQueryStateType, # (1)
CreationTime: NotRequired[datetime.datetime],
PreviousInvocationTime: NotRequired[datetime.datetime],
NextInvocationTime: NotRequired[datetime.datetime],
ErrorReportConfiguration: NotRequired[ErrorReportConfigurationTypeDef], # (2)
TargetDestination: NotRequired[TargetDestinationTypeDef], # (3)
LastRunStatus: NotRequired[ScheduledQueryRunStatusType], # (4)
- See ScheduledQueryStateType
- See ErrorReportConfigurationTypeDef
- See TargetDestinationTypeDef
- See ScheduledQueryRunStatusType
QueryComputeRequestTypeDef#
# QueryComputeRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryComputeRequestTypeDef
def get_value() -> QueryComputeRequestTypeDef:
return {
"ComputeMode": ...,
}
# QueryComputeRequestTypeDef definition
class QueryComputeRequestTypeDef(TypedDict):
ComputeMode: NotRequired[ComputeModeType], # (1)
ProvisionedCapacity: NotRequired[ProvisionedCapacityRequestTypeDef], # (2)
QueryComputeResponseTypeDef#
# QueryComputeResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryComputeResponseTypeDef
def get_value() -> QueryComputeResponseTypeDef:
return {
"ComputeMode": ...,
}
# QueryComputeResponseTypeDef definition
class QueryComputeResponseTypeDef(TypedDict):
ComputeMode: NotRequired[ComputeModeType], # (1)
ProvisionedCapacity: NotRequired[ProvisionedCapacityResponseTypeDef], # (2)
PrepareQueryResponseTypeDef#
# PrepareQueryResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import PrepareQueryResponseTypeDef
def get_value() -> PrepareQueryResponseTypeDef:
return {
"QueryString": ...,
}
# PrepareQueryResponseTypeDef definition
class PrepareQueryResponseTypeDef(TypedDict):
QueryString: str,
Columns: List[SelectColumnTypeDef], # (1)
Parameters: List[ParameterMappingTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See
List[SelectColumnTypeDef]
- See
List[ParameterMappingTypeDef]
- See ResponseMetadataTypeDef
TargetConfigurationOutputTypeDef#
# TargetConfigurationOutputTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TargetConfigurationOutputTypeDef
def get_value() -> TargetConfigurationOutputTypeDef:
return {
"TimestreamConfiguration": ...,
}
# TargetConfigurationOutputTypeDef definition
class TargetConfigurationOutputTypeDef(TypedDict):
TimestreamConfiguration: TimestreamConfigurationOutputTypeDef, # (1)
TargetConfigurationTypeDef#
# TargetConfigurationTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import TargetConfigurationTypeDef
def get_value() -> TargetConfigurationTypeDef:
return {
"TimestreamConfiguration": ...,
}
# TargetConfigurationTypeDef definition
class TargetConfigurationTypeDef(TypedDict):
TimestreamConfiguration: TimestreamConfigurationTypeDef, # (1)
QueryResponsePaginatorTypeDef#
# QueryResponsePaginatorTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryResponsePaginatorTypeDef
def get_value() -> QueryResponsePaginatorTypeDef:
return {
"QueryId": ...,
}
# QueryResponsePaginatorTypeDef definition
class QueryResponsePaginatorTypeDef(TypedDict):
QueryId: str,
Rows: List[RowPaginatorTypeDef], # (1)
ColumnInfo: List[ColumnInfoPaginatorTypeDef], # (2)
QueryStatus: QueryStatusTypeDef, # (3)
QueryInsightsResponse: QueryInsightsResponseTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
NextToken: NotRequired[str],
- See
List[RowPaginatorTypeDef]
- See
List[ColumnInfoPaginatorTypeDef]
- See QueryStatusTypeDef
- See QueryInsightsResponseTypeDef
- See ResponseMetadataTypeDef
QueryResponseTypeDef#
# QueryResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import QueryResponseTypeDef
def get_value() -> QueryResponseTypeDef:
return {
"QueryId": ...,
}
# QueryResponseTypeDef definition
class QueryResponseTypeDef(TypedDict):
QueryId: str,
Rows: List[RowTypeDef], # (1)
ColumnInfo: List[ColumnInfoTypeDef], # (2)
QueryStatus: QueryStatusTypeDef, # (3)
QueryInsightsResponse: QueryInsightsResponseTypeDef, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
NextToken: NotRequired[str],
- See
List[RowTypeDef]
- See
List[ColumnInfoTypeDef]
- See QueryStatusTypeDef
- See QueryInsightsResponseTypeDef
- See ResponseMetadataTypeDef
ScheduledQueryRunSummaryTypeDef#
# ScheduledQueryRunSummaryTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ScheduledQueryRunSummaryTypeDef
def get_value() -> ScheduledQueryRunSummaryTypeDef:
return {
"InvocationTime": ...,
}
# ScheduledQueryRunSummaryTypeDef definition
class ScheduledQueryRunSummaryTypeDef(TypedDict):
InvocationTime: NotRequired[datetime.datetime],
TriggerTime: NotRequired[datetime.datetime],
RunStatus: NotRequired[ScheduledQueryRunStatusType], # (1)
ExecutionStats: NotRequired[ExecutionStatsTypeDef], # (2)
QueryInsightsResponse: NotRequired[ScheduledQueryInsightsResponseTypeDef], # (3)
ErrorReportLocation: NotRequired[ErrorReportLocationTypeDef], # (4)
FailureReason: NotRequired[str],
- See ScheduledQueryRunStatusType
- See ExecutionStatsTypeDef
- See ScheduledQueryInsightsResponseTypeDef
- See ErrorReportLocationTypeDef
ListScheduledQueriesResponseTypeDef#
# ListScheduledQueriesResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ListScheduledQueriesResponseTypeDef
def get_value() -> ListScheduledQueriesResponseTypeDef:
return {
"ScheduledQueries": ...,
}
# ListScheduledQueriesResponseTypeDef definition
class ListScheduledQueriesResponseTypeDef(TypedDict):
ScheduledQueries: List[ScheduledQueryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See
List[ScheduledQueryTypeDef]
- See ResponseMetadataTypeDef
UpdateAccountSettingsRequestTypeDef#
# UpdateAccountSettingsRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import UpdateAccountSettingsRequestTypeDef
def get_value() -> UpdateAccountSettingsRequestTypeDef:
return {
"MaxQueryTCU": ...,
}
# UpdateAccountSettingsRequestTypeDef definition
class UpdateAccountSettingsRequestTypeDef(TypedDict):
MaxQueryTCU: NotRequired[int],
QueryPricingModel: NotRequired[QueryPricingModelType], # (1)
QueryCompute: NotRequired[QueryComputeRequestTypeDef], # (2)
DescribeAccountSettingsResponseTypeDef#
# DescribeAccountSettingsResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import DescribeAccountSettingsResponseTypeDef
def get_value() -> DescribeAccountSettingsResponseTypeDef:
return {
"MaxQueryTCU": ...,
}
# DescribeAccountSettingsResponseTypeDef definition
class DescribeAccountSettingsResponseTypeDef(TypedDict):
MaxQueryTCU: int,
QueryPricingModel: QueryPricingModelType, # (1)
QueryCompute: QueryComputeResponseTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
UpdateAccountSettingsResponseTypeDef#
# UpdateAccountSettingsResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import UpdateAccountSettingsResponseTypeDef
def get_value() -> UpdateAccountSettingsResponseTypeDef:
return {
"MaxQueryTCU": ...,
}
# UpdateAccountSettingsResponseTypeDef definition
class UpdateAccountSettingsResponseTypeDef(TypedDict):
MaxQueryTCU: int,
QueryPricingModel: QueryPricingModelType, # (1)
QueryCompute: QueryComputeResponseTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ScheduledQueryDescriptionTypeDef#
# ScheduledQueryDescriptionTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import ScheduledQueryDescriptionTypeDef
def get_value() -> ScheduledQueryDescriptionTypeDef:
return {
"Arn": ...,
}
# ScheduledQueryDescriptionTypeDef definition
class ScheduledQueryDescriptionTypeDef(TypedDict):
Arn: str,
Name: str,
QueryString: str,
State: ScheduledQueryStateType, # (1)
ScheduleConfiguration: ScheduleConfigurationTypeDef, # (2)
NotificationConfiguration: NotificationConfigurationTypeDef, # (3)
CreationTime: NotRequired[datetime.datetime],
PreviousInvocationTime: NotRequired[datetime.datetime],
NextInvocationTime: NotRequired[datetime.datetime],
TargetConfiguration: NotRequired[TargetConfigurationOutputTypeDef], # (4)
ScheduledQueryExecutionRoleArn: NotRequired[str],
KmsKeyId: NotRequired[str],
ErrorReportConfiguration: NotRequired[ErrorReportConfigurationTypeDef], # (5)
LastRunSummary: NotRequired[ScheduledQueryRunSummaryTypeDef], # (6)
RecentlyFailedRuns: NotRequired[List[ScheduledQueryRunSummaryTypeDef]], # (7)
- See ScheduledQueryStateType
- See ScheduleConfigurationTypeDef
- See NotificationConfigurationTypeDef
- See TargetConfigurationOutputTypeDef
- See ErrorReportConfigurationTypeDef
- See ScheduledQueryRunSummaryTypeDef
- See
List[ScheduledQueryRunSummaryTypeDef]
CreateScheduledQueryRequestTypeDef#
# CreateScheduledQueryRequestTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import CreateScheduledQueryRequestTypeDef
def get_value() -> CreateScheduledQueryRequestTypeDef:
return {
"Name": ...,
}
# CreateScheduledQueryRequestTypeDef definition
class CreateScheduledQueryRequestTypeDef(TypedDict):
Name: str,
QueryString: str,
ScheduleConfiguration: ScheduleConfigurationTypeDef, # (1)
NotificationConfiguration: NotificationConfigurationTypeDef, # (2)
ScheduledQueryExecutionRoleArn: str,
ErrorReportConfiguration: ErrorReportConfigurationTypeDef, # (3)
TargetConfiguration: NotRequired[TargetConfigurationUnionTypeDef], # (4)
ClientToken: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (5)
KmsKeyId: NotRequired[str],
- See ScheduleConfigurationTypeDef
- See NotificationConfigurationTypeDef
- See ErrorReportConfigurationTypeDef
- See TargetConfigurationUnionTypeDef
- See
Sequence[TagTypeDef]
DescribeScheduledQueryResponseTypeDef#
# DescribeScheduledQueryResponseTypeDef TypedDict usage example
from mypy_boto3_timestream_query.type_defs import DescribeScheduledQueryResponseTypeDef
def get_value() -> DescribeScheduledQueryResponseTypeDef:
return {
"ScheduledQuery": ...,
}
# DescribeScheduledQueryResponseTypeDef definition
class DescribeScheduledQueryResponseTypeDef(TypedDict):
ScheduledQuery: ScheduledQueryDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)