'2.0', 'metadata' => [ 'apiVersion' => '2018-11-01', 'endpointPrefix' => 'query.timestream', 'jsonVersion' => '1.0', 'protocol' => 'json', 'serviceAbbreviation' => 'Timestream Query', 'serviceFullName' => 'Amazon Timestream Query', 'serviceId' => 'Timestream Query', 'signatureVersion' => 'v4', 'signingName' => 'timestream', 'targetPrefix' => 'Timestream_20181101', 'uid' => 'timestream-query-2018-11-01', ], 'operations' => [ 'CancelQuery' => [ 'name' => 'CancelQuery', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'CancelQueryRequest', ], 'output' => [ 'shape' => 'CancelQueryResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidEndpointException', ], ], 'endpointdiscovery' => [ 'required' => true, ], 'idempotent' => true, ], 'DescribeEndpoints' => [ 'name' => 'DescribeEndpoints', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeEndpointsRequest', ], 'output' => [ 'shape' => 'DescribeEndpointsResponse', ], 'errors' => [ [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ThrottlingException', ], ], 'endpointoperation' => true, ], 'Query' => [ 'name' => 'Query', 'http' => [ 'method' => 'POST', 'requestUri' => '/', ], 'input' => [ 'shape' => 'QueryRequest', ], 'output' => [ 'shape' => 'QueryResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'QueryExecutionException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'InvalidEndpointException', ], ], 'endpointdiscovery' => [ 'required' => true, ], 'idempotent' => true, ], ], 'shapes' => [ 'AccessDeniedException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ServiceErrorMessage', ], ], 'exception' => true, 'synthetic' => true, ], 'CancelQueryRequest' => [ 'type' => 'structure', 'required' => [ 'QueryId', ], 'members' => [ 'QueryId' => [ 'shape' => 'QueryId', ], ], ], 'CancelQueryResponse' => [ 'type' => 'structure', 'members' => [ 'CancellationMessage' => [ 'shape' => 'String', ], ], ], 'ClientRequestToken' => [ 'type' => 'string', 'max' => 128, 'min' => 32, 'sensitive' => true, ], 'ColumnInfo' => [ 'type' => 'structure', 'required' => [ 'Type', ], 'members' => [ 'Name' => [ 'shape' => 'String', ], 'Type' => [ 'shape' => 'Type', ], ], ], 'ColumnInfoList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ColumnInfo', ], ], 'ConflictException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMessage', ], ], 'exception' => true, ], 'Datum' => [ 'type' => 'structure', 'members' => [ 'ScalarValue' => [ 'shape' => 'ScalarValue', ], 'TimeSeriesValue' => [ 'shape' => 'TimeSeriesDataPointList', ], 'ArrayValue' => [ 'shape' => 'DatumList', ], 'RowValue' => [ 'shape' => 'Row', ], 'NullValue' => [ 'shape' => 'NullableBoolean', ], ], ], 'DatumList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Datum', ], ], 'DescribeEndpointsRequest' => [ 'type' => 'structure', 'members' => [], ], 'DescribeEndpointsResponse' => [ 'type' => 'structure', 'required' => [ 'Endpoints', ], 'members' => [ 'Endpoints' => [ 'shape' => 'Endpoints', ], ], ], 'Double' => [ 'type' => 'double', ], 'Endpoint' => [ 'type' => 'structure', 'required' => [ 'Address', 'CachePeriodInMinutes', ], 'members' => [ 'Address' => [ 'shape' => 'String', ], 'CachePeriodInMinutes' => [ 'shape' => 'Long', ], ], ], 'Endpoints' => [ 'type' => 'list', 'member' => [ 'shape' => 'Endpoint', ], ], 'ErrorMessage' => [ 'type' => 'string', ], 'InternalServerException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMessage', ], ], 'exception' => true, ], 'InvalidEndpointException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMessage', ], ], 'exception' => true, ], 'Long' => [ 'type' => 'long', ], 'MaxQueryResults' => [ 'type' => 'integer', 'box' => true, 'max' => 1000, 'min' => 1, ], 'NullableBoolean' => [ 'type' => 'boolean', 'box' => true, ], 'QueryExecutionException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMessage', ], ], 'exception' => true, ], 'QueryId' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '[a-zA-Z0-9]+', ], 'QueryRequest' => [ 'type' => 'structure', 'required' => [ 'QueryString', ], 'members' => [ 'QueryString' => [ 'shape' => 'QueryString', ], 'ClientToken' => [ 'shape' => 'ClientRequestToken', 'idempotencyToken' => true, ], 'NextToken' => [ 'shape' => 'String', ], 'MaxRows' => [ 'shape' => 'MaxQueryResults', ], ], ], 'QueryResponse' => [ 'type' => 'structure', 'required' => [ 'QueryId', 'Rows', 'ColumnInfo', ], 'members' => [ 'QueryId' => [ 'shape' => 'QueryId', ], 'NextToken' => [ 'shape' => 'String', ], 'Rows' => [ 'shape' => 'RowList', ], 'ColumnInfo' => [ 'shape' => 'ColumnInfoList', ], 'QueryStatus' => [ 'shape' => 'QueryStatus', ], ], ], 'QueryStatus' => [ 'type' => 'structure', 'members' => [ 'ProgressPercentage' => [ 'shape' => 'Double', ], 'CumulativeBytesScanned' => [ 'shape' => 'Long', ], 'CumulativeBytesMetered' => [ 'shape' => 'Long', ], ], ], 'QueryString' => [ 'type' => 'string', 'sensitive' => true, ], 'Row' => [ 'type' => 'structure', 'required' => [ 'Data', ], 'members' => [ 'Data' => [ 'shape' => 'DatumList', ], ], ], 'RowList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Row', ], ], 'ScalarType' => [ 'type' => 'string', 'enum' => [ 'VARCHAR', 'BOOLEAN', 'BIGINT', 'DOUBLE', 'TIMESTAMP', 'DATE', 'TIME', 'INTERVAL_DAY_TO_SECOND', 'INTERVAL_YEAR_TO_MONTH', 'UNKNOWN', 'INTEGER', ], ], 'ScalarValue' => [ 'type' => 'string', ], 'ServiceErrorMessage' => [ 'type' => 'string', ], 'String' => [ 'type' => 'string', ], 'ThrottlingException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMessage', ], ], 'exception' => true, ], 'TimeSeriesDataPoint' => [ 'type' => 'structure', 'required' => [ 'Time', 'Value', ], 'members' => [ 'Time' => [ 'shape' => 'Timestamp', ], 'Value' => [ 'shape' => 'Datum', ], ], ], 'TimeSeriesDataPointList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TimeSeriesDataPoint', ], ], 'Timestamp' => [ 'type' => 'string', ], 'Type' => [ 'type' => 'structure', 'members' => [ 'ScalarType' => [ 'shape' => 'ScalarType', ], 'ArrayColumnInfo' => [ 'shape' => 'ColumnInfo', ], 'TimeSeriesMeasureValueColumnInfo' => [ 'shape' => 'ColumnInfo', ], 'RowColumnInfo' => [ 'shape' => 'ColumnInfoList', ], ], ], 'ValidationException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'ErrorMessage', ], ], 'exception' => true, ], ],];