{ "smithy": "2.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.timestreamwrite#AccessDeniedException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.timestreamwrite#ErrorMessage", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "
You are not authorized to perform this action.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.timestreamwrite#AmazonResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1011 } } }, "com.amazonaws.timestreamwrite#BatchLoadDataFormat": { "type": "enum", "members": { "CSV": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CSV" } } } }, "com.amazonaws.timestreamwrite#BatchLoadProgressReport": { "type": "structure", "members": { "RecordsProcessed": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "" } }, "RecordsIngested": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "" } }, "ParseFailures": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "" } }, "RecordIngestionFailures": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "" } }, "FileFailures": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "" } }, "BytesMetered": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "Details about the progress of a batch load task.
" } }, "com.amazonaws.timestreamwrite#BatchLoadStatus": { "type": "enum", "members": { "CREATED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CREATED" } }, "IN_PROGRESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "IN_PROGRESS" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FAILED" } }, "SUCCEEDED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SUCCEEDED" } }, "PROGRESS_STOPPED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PROGRESS_STOPPED" } }, "PENDING_RESUME": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "PENDING_RESUME" } } } }, "com.amazonaws.timestreamwrite#BatchLoadTask": { "type": "structure", "members": { "TaskId": { "target": "com.amazonaws.timestreamwrite#BatchLoadTaskId", "traits": { "smithy.api#documentation": "The ID of the batch load task.
" } }, "TaskStatus": { "target": "com.amazonaws.timestreamwrite#BatchLoadStatus", "traits": { "smithy.api#documentation": "Status of the batch load task.
" } }, "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "Database name for the database into which a batch load task loads data.
" } }, "TableName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "Table name for the table into which a batch load task loads data.
" } }, "CreationTime": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "The time when the Timestream batch load task was created.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "The time when the Timestream batch load task was last updated.
" } }, "ResumableUntil": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "\n
" } } }, "traits": { "smithy.api#documentation": "Details about a batch load task.
" } }, "com.amazonaws.timestreamwrite#BatchLoadTaskDescription": { "type": "structure", "members": { "TaskId": { "target": "com.amazonaws.timestreamwrite#BatchLoadTaskId", "traits": { "smithy.api#documentation": "The ID of the batch load task.
" } }, "ErrorMessage": { "target": "com.amazonaws.timestreamwrite#StringValue2048", "traits": { "smithy.api#documentation": "" } }, "DataSourceConfiguration": { "target": "com.amazonaws.timestreamwrite#DataSourceConfiguration", "traits": { "smithy.api#documentation": "Configuration details about the data source for a batch load task.
" } }, "ProgressReport": { "target": "com.amazonaws.timestreamwrite#BatchLoadProgressReport", "traits": { "smithy.api#documentation": "" } }, "ReportConfiguration": { "target": "com.amazonaws.timestreamwrite#ReportConfiguration", "traits": { "smithy.api#documentation": "Report configuration for a batch load task. This contains details about where error\n reports are stored.
" } }, "DataModelConfiguration": { "target": "com.amazonaws.timestreamwrite#DataModelConfiguration", "traits": { "smithy.api#documentation": "Data model configuration for a batch load task. This contains details about where a data\n model for a batch load task is stored.
" } }, "TargetDatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "" } }, "TargetTableName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "" } }, "TaskStatus": { "target": "com.amazonaws.timestreamwrite#BatchLoadStatus", "traits": { "smithy.api#documentation": "Status of the batch load task.
" } }, "RecordVersion": { "target": "com.amazonaws.timestreamwrite#RecordVersion", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "" } }, "CreationTime": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "The time when the Timestream batch load task was created.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "The time when the Timestream batch load task was last updated.
" } }, "ResumableUntil": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "\n
" } } }, "traits": { "smithy.api#documentation": "Details about a batch load task.
" } }, "com.amazonaws.timestreamwrite#BatchLoadTaskId": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 32 }, "smithy.api#pattern": "^[A-Z0-9]+$" } }, "com.amazonaws.timestreamwrite#BatchLoadTaskList": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#BatchLoadTask" } }, "com.amazonaws.timestreamwrite#Boolean": { "type": "boolean" }, "com.amazonaws.timestreamwrite#ClientRequestToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#sensitive": {} } }, "com.amazonaws.timestreamwrite#ConflictException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.timestreamwrite#ErrorMessage", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Timestream was unable to process this request because it contains resource that\n already exists.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.timestreamwrite#CreateBatchLoadTask": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#CreateBatchLoadTaskRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#CreateBatchLoadTaskResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#ConflictException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ServiceQuotaExceededException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Creates a new Timestream batch load task. A batch load task processes data from\n a CSV source in an S3 location and writes to a Timestream table. A mapping from\n source to target is defined in a batch load task. Errors and events are written to a report\n at an S3 location. For the report, if the KMS key is not specified, the\n report will be encrypted with an S3 managed key when SSE_S3 is the option.\n Otherwise an error is thrown. For more information, see Amazon Web Services managed\n keys. Service quotas apply. For\n details, see code\n sample.
Defines configuration details about the data source for a batch load task.
", "smithy.api#required": {} } }, "ReportConfiguration": { "target": "com.amazonaws.timestreamwrite#ReportConfiguration", "traits": { "smithy.api#required": {} } }, "TargetDatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceCreateAPIName", "traits": { "smithy.api#documentation": "Target Timestream database for a batch load task.
", "smithy.api#required": {} } }, "TargetTableName": { "target": "com.amazonaws.timestreamwrite#ResourceCreateAPIName", "traits": { "smithy.api#documentation": "Target Timestream table for a batch load task.
", "smithy.api#required": {} } }, "RecordVersion": { "target": "com.amazonaws.timestreamwrite#RecordVersion", "traits": { "smithy.api#default": null, "smithy.api#documentation": "" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#CreateBatchLoadTaskResponse": { "type": "structure", "members": { "TaskId": { "target": "com.amazonaws.timestreamwrite#BatchLoadTaskId", "traits": { "smithy.api#documentation": "The ID of the batch load task.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#CreateDatabase": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#CreateDatabaseRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#CreateDatabaseResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#ConflictException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ServiceQuotaExceededException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Creates a new Timestream database. If the KMS key is not\n specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see Amazon Web Services managed keys. Service quotas apply. For\n details, see code sample.\n
" } }, "com.amazonaws.timestreamwrite#CreateDatabaseRequest": { "type": "structure", "members": { "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceCreateAPIName", "traits": { "smithy.api#documentation": "The name of the Timestream database.
", "smithy.api#required": {} } }, "KmsKeyId": { "target": "com.amazonaws.timestreamwrite#StringValue2048", "traits": { "smithy.api#documentation": "The KMS key for the database. If the KMS key is not\n specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see Amazon Web Services managed keys.
" } }, "Tags": { "target": "com.amazonaws.timestreamwrite#TagList", "traits": { "smithy.api#documentation": "A list of key-value pairs to label the table.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#CreateDatabaseResponse": { "type": "structure", "members": { "Database": { "target": "com.amazonaws.timestreamwrite#Database", "traits": { "smithy.api#documentation": "The newly created Timestream database.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#CreateTable": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#CreateTableRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#CreateTableResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#ConflictException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ServiceQuotaExceededException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Adds a new table to an existing database in your account. In an Amazon Web Services account, table names must be at least unique within each Region if they are in the same\n database. You might have identical table names in the same Region if the tables are in\n separate databases. While creating the table, you must specify the table name, database\n name, and the retention properties. Service quotas apply. See\n code\n sample for details.
" } }, "com.amazonaws.timestreamwrite#CreateTableRequest": { "type": "structure", "members": { "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceCreateAPIName", "traits": { "smithy.api#documentation": "The name of the Timestream database.
", "smithy.api#required": {} } }, "TableName": { "target": "com.amazonaws.timestreamwrite#ResourceCreateAPIName", "traits": { "smithy.api#documentation": "The name of the Timestream table.
", "smithy.api#required": {} } }, "RetentionProperties": { "target": "com.amazonaws.timestreamwrite#RetentionProperties", "traits": { "smithy.api#documentation": "The duration for which your time-series data must be stored in the memory store and the\n magnetic store.
" } }, "Tags": { "target": "com.amazonaws.timestreamwrite#TagList", "traits": { "smithy.api#documentation": "A list of key-value pairs to label the table.
" } }, "MagneticStoreWriteProperties": { "target": "com.amazonaws.timestreamwrite#MagneticStoreWriteProperties", "traits": { "smithy.api#documentation": "Contains properties to set on the table when enabling magnetic store writes.
" } }, "Schema": { "target": "com.amazonaws.timestreamwrite#Schema", "traits": { "smithy.api#documentation": "The schema of the table.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#CreateTableResponse": { "type": "structure", "members": { "Table": { "target": "com.amazonaws.timestreamwrite#Table", "traits": { "smithy.api#documentation": "The newly created Timestream table.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#CsvConfiguration": { "type": "structure", "members": { "ColumnSeparator": { "target": "com.amazonaws.timestreamwrite#StringValue1", "traits": { "smithy.api#documentation": "Column separator can be one of comma (','), pipe ('|), semicolon (';'), tab('/t'), or\n blank space (' ').
" } }, "EscapeChar": { "target": "com.amazonaws.timestreamwrite#StringValue1", "traits": { "smithy.api#documentation": "Escape character can be one of
" } }, "QuoteChar": { "target": "com.amazonaws.timestreamwrite#StringValue1", "traits": { "smithy.api#documentation": "Can be single quote (') or double quote (\").
" } }, "NullValue": { "target": "com.amazonaws.timestreamwrite#StringValue256", "traits": { "smithy.api#documentation": "Can be blank space (' ').
" } }, "TrimWhiteSpace": { "target": "com.amazonaws.timestreamwrite#Boolean", "traits": { "smithy.api#documentation": "Specifies to trim leading and trailing white space.
" } } }, "traits": { "smithy.api#documentation": "A delimited data format where the column separator can be a comma and the record\n separator is a newline character.
" } }, "com.amazonaws.timestreamwrite#DataModel": { "type": "structure", "members": { "TimeColumn": { "target": "com.amazonaws.timestreamwrite#StringValue256", "traits": { "smithy.api#documentation": "Source column to be mapped to time.
" } }, "TimeUnit": { "target": "com.amazonaws.timestreamwrite#TimeUnit", "traits": { "smithy.api#documentation": " The granularity of the timestamp unit. It indicates if the time value is in seconds,\n milliseconds, nanoseconds, or other supported values. Default is MILLISECONDS.\n
Source to target mappings for dimensions.
", "smithy.api#required": {} } }, "MultiMeasureMappings": { "target": "com.amazonaws.timestreamwrite#MultiMeasureMappings", "traits": { "smithy.api#documentation": "Source to target mappings for multi-measure records.
" } }, "MixedMeasureMappings": { "target": "com.amazonaws.timestreamwrite#MixedMeasureMappingList", "traits": { "smithy.api#documentation": "Source to target mappings for measures.
" } }, "MeasureNameColumn": { "target": "com.amazonaws.timestreamwrite#StringValue256", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "Data model for a batch load task.
" } }, "com.amazonaws.timestreamwrite#DataModelConfiguration": { "type": "structure", "members": { "DataModel": { "target": "com.amazonaws.timestreamwrite#DataModel", "traits": { "smithy.api#documentation": "" } }, "DataModelS3Configuration": { "target": "com.amazonaws.timestreamwrite#DataModelS3Configuration", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "" } }, "com.amazonaws.timestreamwrite#DataModelS3Configuration": { "type": "structure", "members": { "BucketName": { "target": "com.amazonaws.timestreamwrite#S3BucketName", "traits": { "smithy.api#documentation": "" } }, "ObjectKey": { "target": "com.amazonaws.timestreamwrite#S3ObjectKey", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "" } }, "com.amazonaws.timestreamwrite#DataSourceConfiguration": { "type": "structure", "members": { "DataSourceS3Configuration": { "target": "com.amazonaws.timestreamwrite#DataSourceS3Configuration", "traits": { "smithy.api#documentation": "Configuration of an S3 location for a file which contains data to load.
", "smithy.api#required": {} } }, "CsvConfiguration": { "target": "com.amazonaws.timestreamwrite#CsvConfiguration" }, "DataFormat": { "target": "com.amazonaws.timestreamwrite#BatchLoadDataFormat", "traits": { "smithy.api#documentation": "This is currently CSV.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Defines configuration details about the data source.
" } }, "com.amazonaws.timestreamwrite#DataSourceS3Configuration": { "type": "structure", "members": { "BucketName": { "target": "com.amazonaws.timestreamwrite#S3BucketName", "traits": { "smithy.api#documentation": "The bucket name of the customer S3 bucket.
", "smithy.api#required": {} } }, "ObjectKeyPrefix": { "target": "com.amazonaws.timestreamwrite#S3ObjectKey", "traits": { "smithy.api#documentation": "\n
" } } }, "traits": { "smithy.api#documentation": "\n
" } }, "com.amazonaws.timestreamwrite#Database": { "type": "structure", "members": { "Arn": { "target": "com.amazonaws.timestreamwrite#String", "traits": { "smithy.api#documentation": "The Amazon Resource Name that uniquely identifies this database.
" } }, "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream database.
" } }, "TableCount": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The total number of tables found within a Timestream database.
" } }, "KmsKeyId": { "target": "com.amazonaws.timestreamwrite#StringValue2048", "traits": { "smithy.api#documentation": "The identifier of the KMS key used to encrypt the data stored in the\n database.
" } }, "CreationTime": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "The time when the database was created, calculated from the Unix epoch time.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "The last time that this database was updated.
" } } }, "traits": { "smithy.api#documentation": "A top-level container for a table. Databases and tables are the fundamental management\n concepts in Amazon Timestream. All tables in a database are encrypted with the\n same KMS key.
" } }, "com.amazonaws.timestreamwrite#DatabaseList": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#Database" } }, "com.amazonaws.timestreamwrite#Date": { "type": "timestamp" }, "com.amazonaws.timestreamwrite#DeleteDatabase": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#DeleteDatabaseRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Deletes a given Timestream database. This is an irreversible\n operation. After a database is deleted, the time-series data from its tables cannot be\n recovered.\n
\nAll tables in the database must be deleted first, or a ValidationException error will\n be thrown.
\nDue to the nature of distributed retries, the operation can return either success or\n a ResourceNotFoundException. Clients should consider them equivalent.
\nSee code sample\n for details.
" } }, "com.amazonaws.timestreamwrite#DeleteDatabaseRequest": { "type": "structure", "members": { "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream database to be deleted.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#DeleteTable": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#DeleteTableRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Deletes a given Timestream table. This is an irreversible operation. After a\n Timestream database table is deleted, the time-series data stored in the table\n cannot be recovered.
\nDue to the nature of distributed retries, the operation can return either success or\n a ResourceNotFoundException. Clients should consider them equivalent.
\nSee code\n sample for details.
" } }, "com.amazonaws.timestreamwrite#DeleteTableRequest": { "type": "structure", "members": { "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the database where the Timestream database is to be deleted.
", "smithy.api#required": {} } }, "TableName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream table to be deleted.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#DescribeBatchLoadTask": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#DescribeBatchLoadTaskRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#DescribeBatchLoadTaskResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Returns information about the batch load task, including configurations, mappings,\n progress, and other details. Service quotas apply. See\n code\n sample for details.
" } }, "com.amazonaws.timestreamwrite#DescribeBatchLoadTaskRequest": { "type": "structure", "members": { "TaskId": { "target": "com.amazonaws.timestreamwrite#BatchLoadTaskId", "traits": { "smithy.api#documentation": "The ID of the batch load task.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#DescribeBatchLoadTaskResponse": { "type": "structure", "members": { "BatchLoadTaskDescription": { "target": "com.amazonaws.timestreamwrite#BatchLoadTaskDescription", "traits": { "smithy.api#documentation": "Description of the batch load task.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#DescribeDatabase": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#DescribeDatabaseRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#DescribeDatabaseResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Returns information about the database, including the database name, time that the\n database was created, and the total number of tables found within the database. Service\n quotas apply. See code sample\n for details.
" } }, "com.amazonaws.timestreamwrite#DescribeDatabaseRequest": { "type": "structure", "members": { "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream database.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#DescribeDatabaseResponse": { "type": "structure", "members": { "Database": { "target": "com.amazonaws.timestreamwrite#Database", "traits": { "smithy.api#documentation": "The name of the Timestream table.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#DescribeEndpoints": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#DescribeEndpointsRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#DescribeEndpointsResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "smithy.api#documentation": "Returns a list of available endpoints to make Timestream API calls against.\n This API operation is available through both the Write and Query APIs.
\nBecause the Timestream SDKs are designed to transparently work with the\n service\u2019s architecture, including the management and mapping of the service endpoints,\n we don't recommend that you use this API operation unless:
\nYou are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream\n
\nYour application uses a programming language that does not yet have SDK\n support
\nYou require better control over the client-side implementation
\nFor detailed information on how and when to use and implement DescribeEndpoints, see\n The\n Endpoint Discovery Pattern.
" } }, "com.amazonaws.timestreamwrite#DescribeEndpointsRequest": { "type": "structure", "members": {}, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#DescribeEndpointsResponse": { "type": "structure", "members": { "Endpoints": { "target": "com.amazonaws.timestreamwrite#Endpoints", "traits": { "smithy.api#documentation": "An Endpoints object is returned when a DescribeEndpoints\n request is made.
Returns information about the table, including the table name, database name, retention\n duration of the memory store and the magnetic store. Service quotas apply. See\n code\n sample for details.
" } }, "com.amazonaws.timestreamwrite#DescribeTableRequest": { "type": "structure", "members": { "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream database.
", "smithy.api#required": {} } }, "TableName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream table.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#DescribeTableResponse": { "type": "structure", "members": { "Table": { "target": "com.amazonaws.timestreamwrite#Table", "traits": { "smithy.api#documentation": "The Timestream table.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#Dimension": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.timestreamwrite#SchemaName", "traits": { "smithy.api#documentation": "Dimension represents the metadata attributes of the time series. For example, the name\n and Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine\n are dimensions.
\nFor constraints on dimension names, see Naming\n Constraints.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.timestreamwrite#SchemaValue", "traits": { "smithy.api#documentation": "The value of the dimension.
", "smithy.api#required": {} } }, "DimensionValueType": { "target": "com.amazonaws.timestreamwrite#DimensionValueType", "traits": { "smithy.api#documentation": "The data type of the dimension for the time-series data point.
" } } }, "traits": { "smithy.api#documentation": "Represents the metadata attributes of the time series. For example, the name and\n Availability Zone of an EC2 instance or the name of the manufacturer of a wind turbine are\n dimensions.
" } }, "com.amazonaws.timestreamwrite#DimensionMapping": { "type": "structure", "members": { "SourceColumn": { "target": "com.amazonaws.timestreamwrite#SchemaName", "traits": { "smithy.api#documentation": "" } }, "DestinationColumn": { "target": "com.amazonaws.timestreamwrite#SchemaName", "traits": { "smithy.api#documentation": "\n
" } } }, "traits": { "smithy.api#documentation": "" } }, "com.amazonaws.timestreamwrite#DimensionMappings": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#DimensionMapping" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.timestreamwrite#DimensionValueType": { "type": "enum", "members": { "VARCHAR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VARCHAR" } } } }, "com.amazonaws.timestreamwrite#Dimensions": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#Dimension" }, "traits": { "smithy.api#length": { "min": 0, "max": 128 } } }, "com.amazonaws.timestreamwrite#Endpoint": { "type": "structure", "members": { "Address": { "target": "com.amazonaws.timestreamwrite#String", "traits": { "smithy.api#documentation": "An endpoint address.
", "smithy.api#required": {} } }, "CachePeriodInMinutes": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The TTL for the endpoint, in minutes.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Represents an available endpoint against which to make API calls against, as well as the\n TTL for that endpoint.
" } }, "com.amazonaws.timestreamwrite#Endpoints": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#Endpoint" } }, "com.amazonaws.timestreamwrite#ErrorMessage": { "type": "string" }, "com.amazonaws.timestreamwrite#Integer": { "type": "integer", "traits": { "smithy.api#default": 0 } }, "com.amazonaws.timestreamwrite#InternalServerException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.timestreamwrite#ErrorMessage", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "\n Timestream was unable to fully process this request because of an internal server\n error.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.timestreamwrite#InvalidEndpointException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.timestreamwrite#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The requested endpoint was not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 421 } }, "com.amazonaws.timestreamwrite#ListBatchLoadTasks": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#ListBatchLoadTasksRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#ListBatchLoadTasksResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Provides a list of batch load tasks, along with the name, status, when the task is\n resumable until, and other details. See code\n sample for details.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.timestreamwrite#ListBatchLoadTasksRequest": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.timestreamwrite#String", "traits": { "smithy.api#documentation": "A token to specify where to start paginating. This is the NextToken from a previously\n truncated response.
" } }, "MaxResults": { "target": "com.amazonaws.timestreamwrite#PageLimit", "traits": { "smithy.api#documentation": "The total number of items to return in the output. If the total number of items\n available is more than the value specified, a NextToken is provided in the output. To\n resume pagination, provide the NextToken value as argument of a subsequent API\n invocation.
" } }, "TaskStatus": { "target": "com.amazonaws.timestreamwrite#BatchLoadStatus", "traits": { "smithy.api#documentation": "Status of the batch load task.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#ListBatchLoadTasksResponse": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.timestreamwrite#String", "traits": { "smithy.api#documentation": "A token to specify where to start paginating. Provide the next\n ListBatchLoadTasksRequest.
" } }, "BatchLoadTasks": { "target": "com.amazonaws.timestreamwrite#BatchLoadTaskList", "traits": { "smithy.api#documentation": "A list of batch load task details.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#ListDatabases": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#ListDatabasesRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#ListDatabasesResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Returns a list of your Timestream databases. Service quotas apply. See\n code sample for\n details.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.timestreamwrite#ListDatabasesRequest": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.timestreamwrite#String", "traits": { "smithy.api#documentation": "The pagination token. To resume pagination, provide the NextToken value as argument of a\n subsequent API invocation.
" } }, "MaxResults": { "target": "com.amazonaws.timestreamwrite#PaginationLimit", "traits": { "smithy.api#documentation": "The total number of items to return in the output. If the total number of items\n available is more than the value specified, a NextToken is provided in the output. To\n resume pagination, provide the NextToken value as argument of a subsequent API\n invocation.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#ListDatabasesResponse": { "type": "structure", "members": { "Databases": { "target": "com.amazonaws.timestreamwrite#DatabaseList", "traits": { "smithy.api#documentation": "A list of database names.
" } }, "NextToken": { "target": "com.amazonaws.timestreamwrite#String", "traits": { "smithy.api#documentation": "The pagination token. This parameter is returned when the response is truncated.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#ListTables": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#ListTablesRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#ListTablesResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Provides a list of tables, along with the name, status, and retention properties of each\n table. See code sample\n for details.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "pageSize": "MaxResults" } } }, "com.amazonaws.timestreamwrite#ListTablesRequest": { "type": "structure", "members": { "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream database.
" } }, "NextToken": { "target": "com.amazonaws.timestreamwrite#String", "traits": { "smithy.api#documentation": "The pagination token. To resume pagination, provide the NextToken value as argument of a\n subsequent API invocation.
" } }, "MaxResults": { "target": "com.amazonaws.timestreamwrite#PaginationLimit", "traits": { "smithy.api#documentation": "The total number of items to return in the output. If the total number of items\n available is more than the value specified, a NextToken is provided in the output. To\n resume pagination, provide the NextToken value as argument of a subsequent API\n invocation.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#ListTablesResponse": { "type": "structure", "members": { "Tables": { "target": "com.amazonaws.timestreamwrite#TableList", "traits": { "smithy.api#documentation": "A list of tables.
" } }, "NextToken": { "target": "com.amazonaws.timestreamwrite#String", "traits": { "smithy.api#documentation": "A token to specify where to start paginating. This is the NextToken from a previously\n truncated response.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Lists all tags on a Timestream resource.
" } }, "com.amazonaws.timestreamwrite#ListTagsForResourceRequest": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.timestreamwrite#AmazonResourceName", "traits": { "smithy.api#documentation": "The Timestream resource with tags to be listed. This value is an Amazon\n Resource Name (ARN).
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#ListTagsForResourceResponse": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.timestreamwrite#TagList", "traits": { "smithy.api#documentation": "The tags currently associated with the Timestream resource.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#Long": { "type": "long", "traits": { "smithy.api#default": 0 } }, "com.amazonaws.timestreamwrite#MagneticStoreRejectedDataLocation": { "type": "structure", "members": { "S3Configuration": { "target": "com.amazonaws.timestreamwrite#S3Configuration", "traits": { "smithy.api#documentation": "Configuration of an S3 location to write error reports for records rejected,\n asynchronously, during magnetic store writes.
" } } }, "traits": { "smithy.api#documentation": "The location to write error reports for records rejected, asynchronously, during\n magnetic store writes.
" } }, "com.amazonaws.timestreamwrite#MagneticStoreRetentionPeriodInDays": { "type": "long", "traits": { "smithy.api#range": { "min": 1, "max": 73000 } } }, "com.amazonaws.timestreamwrite#MagneticStoreWriteProperties": { "type": "structure", "members": { "EnableMagneticStoreWrites": { "target": "com.amazonaws.timestreamwrite#Boolean", "traits": { "smithy.api#documentation": "A flag to enable magnetic store writes.
", "smithy.api#required": {} } }, "MagneticStoreRejectedDataLocation": { "target": "com.amazonaws.timestreamwrite#MagneticStoreRejectedDataLocation", "traits": { "smithy.api#documentation": "The location to write error reports for records rejected asynchronously during magnetic\n store writes.
" } } }, "traits": { "smithy.api#documentation": "The set of properties on a table for configuring magnetic store writes.
" } }, "com.amazonaws.timestreamwrite#MeasureValue": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.timestreamwrite#SchemaName", "traits": { "smithy.api#documentation": "The name of the MeasureValue.
\nFor constraints on MeasureValue names, see Naming Constraints in the Amazon Timestream Developer Guide.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.timestreamwrite#StringValue2048", "traits": { "smithy.api#documentation": "The value for the MeasureValue. For information, see Data\n types.
", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.timestreamwrite#MeasureValueType", "traits": { "smithy.api#documentation": "Contains the data type of the MeasureValue for the time-series data point.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Represents the data attribute of the time series. For example, the CPU utilization of\n an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and\n value.
\n MeasureValue is only allowed for type MULTI. Using MULTI\n type, you can pass multiple data attributes associated with the same time series in a\n single record
The type of the partition key. Options are DIMENSION (dimension key) and MEASURE\n (measure key).
", "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.timestreamwrite#SchemaName", "traits": { "smithy.api#documentation": "The name of the attribute used for a dimension key.
" } }, "EnforcementInRecord": { "target": "com.amazonaws.timestreamwrite#PartitionKeyEnforcementLevel", "traits": { "smithy.api#documentation": "The level of enforcement for the specification of a dimension key in ingested records.\n Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not\n have to be specified).
" } } }, "traits": { "smithy.api#documentation": "An attribute used in partitioning data in a table. A dimension key partitions data\n using the values of the dimension specified by the dimension-name as partition key, while a\n measure key partitions data using measure names (values of the 'measure_name' column).\n
" } }, "com.amazonaws.timestreamwrite#PartitionKeyEnforcementLevel": { "type": "enum", "members": { "REQUIRED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "REQUIRED" } }, "OPTIONAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OPTIONAL" } } } }, "com.amazonaws.timestreamwrite#PartitionKeyList": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#PartitionKey" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.timestreamwrite#PartitionKeyType": { "type": "enum", "members": { "DIMENSION": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DIMENSION" } }, "MEASURE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MEASURE" } } } }, "com.amazonaws.timestreamwrite#Record": { "type": "structure", "members": { "Dimensions": { "target": "com.amazonaws.timestreamwrite#Dimensions", "traits": { "smithy.api#documentation": "Contains the list of dimensions for time-series data points.
" } }, "MeasureName": { "target": "com.amazonaws.timestreamwrite#SchemaName", "traits": { "smithy.api#documentation": "Measure represents the data attribute of the time series. For example, the CPU\n utilization of an EC2 instance or the RPM of a wind turbine are measures.
" } }, "MeasureValue": { "target": "com.amazonaws.timestreamwrite#StringValue2048", "traits": { "smithy.api#documentation": "Contains the measure value for the time-series data point.
" } }, "MeasureValueType": { "target": "com.amazonaws.timestreamwrite#MeasureValueType", "traits": { "smithy.api#documentation": " Contains the data type of the measure value for the time-series data point. Default\n type is DOUBLE. For more information, see Data\n types.
Contains the time at which the measure value for the data point was collected. The time\n value plus the unit provides the time elapsed since the epoch. For example, if the time\n value is 12345 and the unit is ms, then 12345 ms\n have elapsed since the epoch.
The granularity of the timestamp unit. It indicates if the time value is in seconds,\n milliseconds, nanoseconds, or other supported values. Default is MILLISECONDS.\n
64-bit attribute used for record updates. Write requests for duplicate data with a\n higher version number will update the existing measure value and version. In cases where\n the measure value is the same, Version will still be updated. Default value is\n 1.
\n Version must be 1 or greater, or you will receive a\n ValidationException error.
Contains the list of MeasureValue for time-series data points.
\n This is only allowed for type MULTI. For scalar values, use\n MeasureValue attribute of the record directly.
Represents a time-series data point being written into Timestream. Each record\n contains an array of dimensions. Dimensions represent the metadata attributes of a\n time-series data point, such as the instance name or Availability Zone of an EC2 instance.\n A record also contains the measure name, which is the name of the measure being collected\n (for example, the CPU utilization of an EC2 instance). Additionally, a record contains the\n measure value and the value type, which is the data type of the measure value. Also, the\n record contains the timestamp of when the measure was collected and the timestamp unit,\n which represents the granularity of the timestamp.
\n Records have a Version field, which is a 64-bit long that you\n can use for updating data points. Writes of a duplicate record with the same dimension,\n timestamp, and measure name but different measure value will only succeed if the\n Version attribute of the record in the write request is higher than that of\n the existing record. Timestream defaults to a Version of\n 1 for records without the Version field.
Total count of successfully ingested records.
" } }, "MemoryStore": { "target": "com.amazonaws.timestreamwrite#Integer", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "Count of records ingested into the memory store.
" } }, "MagneticStore": { "target": "com.amazonaws.timestreamwrite#Integer", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "Count of records ingested into the magnetic store.
" } } }, "traits": { "smithy.api#documentation": "Information on the records ingested by this request.
" } }, "com.amazonaws.timestreamwrite#RejectedRecord": { "type": "structure", "members": { "RecordIndex": { "target": "com.amazonaws.timestreamwrite#RecordIndex", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The index of the record in the input request for WriteRecords. Indexes begin with 0.\n
" } }, "Reason": { "target": "com.amazonaws.timestreamwrite#ErrorMessage", "traits": { "smithy.api#documentation": "The reason why a record was not successfully inserted into Timestream.\n Possible causes of failure include:
\nRecords with duplicate data where there are multiple records with the same\n dimensions, timestamps, and measure names but:
\nMeasure values are different
\nVersion is not present in the request, or the value of\n version in the new record is equal to or lower than the existing value
\nIf Timestream rejects data for this case, the\n ExistingVersion field in the RejectedRecords response\n will indicate the current record\u2019s version. To force an update, you can resend the\n request with a version for the record set to a value greater than the\n ExistingVersion.
Records with timestamps that lie outside the retention duration of the memory\n store.
\nWhen the retention window is updated, you will receive a\n RejectedRecords exception if you immediately try to ingest data\n within the new window. To avoid a RejectedRecords exception, wait\n until the duration of the new window to ingest new data. For further information,\n see Best\n Practices for Configuring Timestream and the\n explanation of how storage works in Timestream.
Records with dimensions or measures that exceed the Timestream defined\n limits.
\nFor more information, see Access Management in the\n Timestream Developer Guide.
" } }, "ExistingVersion": { "target": "com.amazonaws.timestreamwrite#RecordVersion", "traits": { "smithy.api#default": null, "smithy.api#documentation": "The existing version of the record. This value is populated in scenarios where an\n identical record exists with a higher version than the version in the write request.
" } } }, "traits": { "smithy.api#documentation": "Represents records that were not successfully inserted into Timestream due to\n data validation issues that must be resolved before reinserting time-series data into the\n system.
" } }, "com.amazonaws.timestreamwrite#RejectedRecords": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#RejectedRecord" } }, "com.amazonaws.timestreamwrite#RejectedRecordsException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.timestreamwrite#ErrorMessage" }, "RejectedRecords": { "target": "com.amazonaws.timestreamwrite#RejectedRecords", "traits": { "smithy.api#documentation": "\n
" } } }, "traits": { "smithy.api#documentation": "WriteRecords would throw this exception in the following cases:
\nRecords with duplicate data where there are multiple records with the same\n dimensions, timestamps, and measure names but:
\nMeasure values are different
\nVersion is not present in the request or the value of\n version in the new record is equal to or lower than the existing value
\n In this case, if Timestream rejects data, the\n ExistingVersion field in the RejectedRecords response\n will indicate the current record\u2019s version. To force an update, you can resend the\n request with a version for the record set to a value greater than the\n ExistingVersion.
Records with timestamps that lie outside the retention duration of the memory\n store.
\nRecords with dimensions or measures that exceed the Timestream defined\n limits.
\nFor more information, see Quotas in the Amazon Timestream Developer Guide.
", "smithy.api#error": "client", "smithy.api#httpError": 419 } }, "com.amazonaws.timestreamwrite#ReportConfiguration": { "type": "structure", "members": { "ReportS3Configuration": { "target": "com.amazonaws.timestreamwrite#ReportS3Configuration", "traits": { "smithy.api#documentation": "Configuration of an S3 location to write error reports and events for a batch\n load.
" } } }, "traits": { "smithy.api#documentation": "Report configuration for a batch load task. This contains details about where error\n reports are stored.
" } }, "com.amazonaws.timestreamwrite#ReportS3Configuration": { "type": "structure", "members": { "BucketName": { "target": "com.amazonaws.timestreamwrite#S3BucketName", "traits": { "smithy.api#documentation": "", "smithy.api#required": {} } }, "ObjectKeyPrefix": { "target": "com.amazonaws.timestreamwrite#S3ObjectKeyPrefix", "traits": { "smithy.api#documentation": "" } }, "EncryptionOption": { "target": "com.amazonaws.timestreamwrite#S3EncryptionOption", "traits": { "smithy.api#documentation": "" } }, "KmsKeyId": { "target": "com.amazonaws.timestreamwrite#StringValue2048", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "" } }, "com.amazonaws.timestreamwrite#ResourceCreateAPIName": { "type": "string", "traits": { "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.timestreamwrite#ResourceName": { "type": "string" }, "com.amazonaws.timestreamwrite#ResourceNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.timestreamwrite#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The operation tried to access a nonexistent resource. The resource might not be\n specified correctly, or its status might not be ACTIVE.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.timestreamwrite#ResumeBatchLoadTask": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#ResumeBatchLoadTaskRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#ResumeBatchLoadTaskResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "\n
" } }, "com.amazonaws.timestreamwrite#ResumeBatchLoadTaskRequest": { "type": "structure", "members": { "TaskId": { "target": "com.amazonaws.timestreamwrite#BatchLoadTaskId", "traits": { "smithy.api#documentation": "The ID of the batch load task to resume.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#ResumeBatchLoadTaskResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#RetentionProperties": { "type": "structure", "members": { "MemoryStoreRetentionPeriodInHours": { "target": "com.amazonaws.timestreamwrite#MemoryStoreRetentionPeriodInHours", "traits": { "smithy.api#documentation": "The duration for which data must be stored in the memory store.
", "smithy.api#required": {} } }, "MagneticStoreRetentionPeriodInDays": { "target": "com.amazonaws.timestreamwrite#MagneticStoreRetentionPeriodInDays", "traits": { "smithy.api#documentation": "The duration for which data must be stored in the magnetic store.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Retention properties contain the duration for which your time-series data must be stored\n in the magnetic store and the memory store.
" } }, "com.amazonaws.timestreamwrite#S3BucketName": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 63 }, "smithy.api#pattern": "^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" } }, "com.amazonaws.timestreamwrite#S3Configuration": { "type": "structure", "members": { "BucketName": { "target": "com.amazonaws.timestreamwrite#S3BucketName", "traits": { "smithy.api#documentation": "The bucket name of the customer S3 bucket.
" } }, "ObjectKeyPrefix": { "target": "com.amazonaws.timestreamwrite#S3ObjectKeyPrefix", "traits": { "smithy.api#documentation": "The object key preview for the customer S3 location.
" } }, "EncryptionOption": { "target": "com.amazonaws.timestreamwrite#S3EncryptionOption", "traits": { "smithy.api#documentation": "The encryption option for the customer S3 location. Options are S3 server-side\n encryption with an S3 managed key or Amazon Web Services managed key.
" } }, "KmsKeyId": { "target": "com.amazonaws.timestreamwrite#StringValue2048", "traits": { "smithy.api#documentation": "The KMS key ID for the customer S3 location when encrypting with an\n Amazon Web Services managed key.
" } } }, "traits": { "smithy.api#documentation": "The configuration that specifies an S3 location.
" } }, "com.amazonaws.timestreamwrite#S3EncryptionOption": { "type": "enum", "members": { "SSE_S3": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SSE_S3" } }, "SSE_KMS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SSE_KMS" } } } }, "com.amazonaws.timestreamwrite#S3ObjectKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#pattern": "^[a-zA-Z0-9|!\\-_*'\\(\\)]([a-zA-Z0-9]|[!\\-_*'\\(\\)\\/.])+$" } }, "com.amazonaws.timestreamwrite#S3ObjectKeyPrefix": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 928 }, "smithy.api#pattern": "^[a-zA-Z0-9|!\\-_*'\\(\\)]([a-zA-Z0-9]|[!\\-_*'\\(\\)\\/.])+$" } }, "com.amazonaws.timestreamwrite#ScalarMeasureValueType": { "type": "enum", "members": { "DOUBLE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DOUBLE" } }, "BIGINT": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BIGINT" } }, "BOOLEAN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "BOOLEAN" } }, "VARCHAR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "VARCHAR" } }, "TIMESTAMP": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TIMESTAMP" } } } }, "com.amazonaws.timestreamwrite#Schema": { "type": "structure", "members": { "CompositePartitionKey": { "target": "com.amazonaws.timestreamwrite#PartitionKeyList", "traits": { "smithy.api#documentation": "A non-empty list of partition keys defining the attributes used to partition the table\n data. The order of the list determines the partition hierarchy. The name and type of each\n partition key as well as the partition key order cannot be changed after the table is\n created. However, the enforcement level of each partition key can be changed.
" } } }, "traits": { "smithy.api#documentation": "A Schema specifies the expected data model of the table.
" } }, "com.amazonaws.timestreamwrite#SchemaName": { "type": "string", "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.timestreamwrite#SchemaValue": { "type": "string" }, "com.amazonaws.timestreamwrite#ServiceQuotaExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.timestreamwrite#ErrorMessage" } }, "traits": { "smithy.api#documentation": "The instance quota of resource exceeded for this account.
", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.timestreamwrite#String": { "type": "string" }, "com.amazonaws.timestreamwrite#StringValue1": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1 } } }, "com.amazonaws.timestreamwrite#StringValue2048": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.timestreamwrite#StringValue256": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.timestreamwrite#Table": { "type": "structure", "members": { "Arn": { "target": "com.amazonaws.timestreamwrite#String", "traits": { "smithy.api#documentation": "The Amazon Resource Name that uniquely identifies this table.
" } }, "TableName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream table.
" } }, "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream database that contains this table.
" } }, "TableStatus": { "target": "com.amazonaws.timestreamwrite#TableStatus", "traits": { "smithy.api#documentation": "The current state of the table:
\n\n DELETING - The table is being deleted.
\n ACTIVE - The table is ready for use.
The retention duration for the memory store and magnetic store.
" } }, "CreationTime": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "The time when the Timestream table was created.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.timestreamwrite#Date", "traits": { "smithy.api#documentation": "The time when the Timestream table was last updated.
" } }, "MagneticStoreWriteProperties": { "target": "com.amazonaws.timestreamwrite#MagneticStoreWriteProperties", "traits": { "smithy.api#documentation": "Contains properties to set on the table when enabling magnetic store writes.
" } }, "Schema": { "target": "com.amazonaws.timestreamwrite#Schema", "traits": { "smithy.api#documentation": "The schema of the table.
" } } }, "traits": { "smithy.api#documentation": "Represents a database table in Timestream. Tables contain one or more related\n time series. You can modify the retention duration of the memory store and the magnetic\n store for a table.
" } }, "com.amazonaws.timestreamwrite#TableList": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#Table" } }, "com.amazonaws.timestreamwrite#TableStatus": { "type": "enum", "members": { "ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ACTIVE" } }, "DELETING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DELETING" } }, "RESTORING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "RESTORING" } } } }, "com.amazonaws.timestreamwrite#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.timestreamwrite#TagKey", "traits": { "smithy.api#documentation": "The key of the tag. Tag keys are case sensitive.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.timestreamwrite#TagValue", "traits": { "smithy.api#documentation": "The value of the tag. Tag values are case-sensitive and can be null.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A tag is a label that you assign to a Timestream database and/or table. Each\n tag consists of a key and an optional value, both of which you define. With tags, you can\n categorize databases and/or tables, for example, by purpose, owner, or environment.
" } }, "com.amazonaws.timestreamwrite#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.timestreamwrite#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#TagKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.timestreamwrite#TagList": { "type": "list", "member": { "target": "com.amazonaws.timestreamwrite#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.timestreamwrite#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#TagResourceRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ServiceQuotaExceededException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Associates a set of tags with a Timestream resource. You can then activate\n these user-defined tags so that they appear on the Billing and Cost Management console for\n cost allocation tracking.
" } }, "com.amazonaws.timestreamwrite#TagResourceRequest": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.timestreamwrite#AmazonResourceName", "traits": { "smithy.api#documentation": "Identifies the Timestream resource to which tags should be added. This value\n is an Amazon Resource Name (ARN).
", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.timestreamwrite#TagList", "traits": { "smithy.api#documentation": "The tags to be assigned to the Timestream resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#TagResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.timestreamwrite#ThrottlingException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.timestreamwrite#ErrorMessage", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Too many requests were made by a user and they exceeded the service quotas. The request\n was throttled.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.timestreamwrite#TimeUnit": { "type": "enum", "members": { "MILLISECONDS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MILLISECONDS" } }, "SECONDS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "SECONDS" } }, "MICROSECONDS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "MICROSECONDS" } }, "NANOSECONDS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "NANOSECONDS" } } } }, "com.amazonaws.timestreamwrite#Timestream_20181101": { "type": "service", "version": "2018-11-01", "operations": [ { "target": "com.amazonaws.timestreamwrite#CreateBatchLoadTask" }, { "target": "com.amazonaws.timestreamwrite#CreateDatabase" }, { "target": "com.amazonaws.timestreamwrite#CreateTable" }, { "target": "com.amazonaws.timestreamwrite#DeleteDatabase" }, { "target": "com.amazonaws.timestreamwrite#DeleteTable" }, { "target": "com.amazonaws.timestreamwrite#DescribeBatchLoadTask" }, { "target": "com.amazonaws.timestreamwrite#DescribeDatabase" }, { "target": "com.amazonaws.timestreamwrite#DescribeEndpoints" }, { "target": "com.amazonaws.timestreamwrite#DescribeTable" }, { "target": "com.amazonaws.timestreamwrite#ListBatchLoadTasks" }, { "target": "com.amazonaws.timestreamwrite#ListDatabases" }, { "target": "com.amazonaws.timestreamwrite#ListTables" }, { "target": "com.amazonaws.timestreamwrite#ListTagsForResource" }, { "target": "com.amazonaws.timestreamwrite#ResumeBatchLoadTask" }, { "target": "com.amazonaws.timestreamwrite#TagResource" }, { "target": "com.amazonaws.timestreamwrite#UntagResource" }, { "target": "com.amazonaws.timestreamwrite#UpdateDatabase" }, { "target": "com.amazonaws.timestreamwrite#UpdateTable" }, { "target": "com.amazonaws.timestreamwrite#WriteRecords" } ], "traits": { "aws.api#clientEndpointDiscovery": { "operation": "com.amazonaws.timestreamwrite#DescribeEndpoints", "error": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, "aws.api#service": { "sdkId": "Timestream Write", "arnNamespace": "timestream", "cloudFormationName": "TimestreamWrite", "cloudTrailEventSource": "timestreamwrite.amazonaws.com", "endpointPrefix": "ingest.timestream" }, "aws.auth#sigv4": { "name": "timestream" }, "aws.protocols#awsJson1_0": {}, "smithy.api#documentation": "Amazon Timestream is a fast, scalable, fully managed time-series database service\n that makes it easy to store and analyze trillions of time-series data points per day. With\n Timestream, you can easily store and analyze IoT sensor data to derive insights\n from your IoT applications. You can analyze industrial telemetry to streamline equipment\n management and maintenance. You can also store and analyze log data and metrics to improve\n the performance and availability of your applications.
\nTimestream is built from the ground up to effectively ingest, process, and\n store time-series data. It organizes data to optimize query processing. It automatically\n scales based on the volume of data ingested and on the query volume to ensure you receive\n optimal performance while inserting and querying data. As your data grows over time,\n Timestream\u2019s adaptive query processing engine spans across storage tiers to\n provide fast analysis while reducing costs.
", "smithy.api#title": "Amazon Timestream Write", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] }, { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] }, "aws" ] }, { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] }, "aws-us-gov" ] } ], "results": [ { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://timestream-ingest-fips.{Region}.api.aws", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://timestream-ingest.{Region}.api.aws", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://ingest.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://ingest.timestream.{Region}.amazonaws.com", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://ingest.timestream-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://ingest.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://ingest.timestream.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 18, "nodes": "/////wAAAAH/////AAAAAAAAABEAAAADAAAAAQAAAAQF9eEOAAAAAgAAAAUF9eEOAAAAAwAAAAoAAAAGAAAABAAAAAcF9eENAAAABgAAAAgF9eEMAAAABwX14QUAAAAJAAAACAX14QUF9eELAAAABAAAAA0AAAALAAAABQAAAAwF9eEKAAAACAX14QgF9eEJAAAABQAAAA4F9eEHAAAABgAAAA8F9eEHAAAABwX14QQAAAAQAAAACAX14QUF9eEGAAAAAwX14QEAAAASAAAABAX14QIF9eED" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] } ] }, { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ "aws", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] } ] } ], "endpoint": { "url": "https://timestream-ingest-fips.{Region}.api.aws", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "stringEquals", "argv": [ "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] } ] } ], "endpoint": { "url": "https://timestream-ingest.{Region}.api.aws", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://ingest.timestream-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] }, "aws-us-gov" ] } ], "endpoint": { "url": "https://ingest.timestream.{Region}.amazonaws.com", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://ingest.timestream-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ "aws", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] } ] } ], "endpoint": { "url": "https://timestream-ingest.{Region}.api.aws", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [ { "fn": "stringEquals", "argv": [ "aws-us-gov", { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "name" ] } ] } ], "endpoint": { "url": "https://timestream-ingest.{Region}.api.aws", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://ingest.timestream.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://ingest.timestream.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.ap-northeast-1.amazonaws.com" } }, "params": { "Region": "ap-northeast-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.ap-northeast-1.api.aws" } }, "params": { "Region": "ap-northeast-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.ap-south-1.amazonaws.com" } }, "params": { "Region": "ap-south-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.ap-south-1.api.aws" } }, "params": { "Region": "ap-south-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.ap-southeast-2.amazonaws.com" } }, "params": { "Region": "ap-southeast-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.ap-southeast-2.api.aws" } }, "params": { "Region": "ap-southeast-2", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.eu-central-1.amazonaws.com" } }, "params": { "Region": "eu-central-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.eu-central-1.api.aws" } }, "params": { "Region": "eu-central-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.eu-west-1.amazonaws.com" } }, "params": { "Region": "eu-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.eu-west-1.api.aws" } }, "params": { "Region": "eu-west-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.us-east-2.amazonaws.com" } }, "params": { "Region": "us-east-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.us-east-2.api.aws" } }, "params": { "Region": "us-east-2", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest-fips.us-east-2.api.aws" } }, "params": { "Region": "us-east-2", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.us-west-2.amazonaws.com" } }, "params": { "Region": "us-west-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.us-west-2.api.aws" } }, "params": { "Region": "us-west-2", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest-fips.us-west-2.api.aws" } }, "params": { "Region": "us-west-2", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream-fips.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://ingest.timestream-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://ingest.timestream.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.us-gov-west-1.amazonaws.com" } }, "params": { "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.us-gov-west-1.amazonaws.com" } }, "params": { "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.us-gov-west-1.api.aws" } }, "params": { "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.us-gov-west-1.api.aws" } }, "params": { "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://timestream-ingest.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://ingest.timestream.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips disabled and dualstack enabled", "expect": { "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } } ], "version": "1.0" } } }, "com.amazonaws.timestreamwrite#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#UntagResourceRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ServiceQuotaExceededException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Removes the association of tags from a Timestream resource.
" } }, "com.amazonaws.timestreamwrite#UntagResourceRequest": { "type": "structure", "members": { "ResourceARN": { "target": "com.amazonaws.timestreamwrite#AmazonResourceName", "traits": { "smithy.api#documentation": "The Timestream resource that the tags will be removed from. This value is an\n Amazon Resource Name (ARN).
", "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.timestreamwrite#TagKeyList", "traits": { "smithy.api#documentation": "A list of tags keys. Existing tags of the resource whose keys are members of this list\n will be removed from the Timestream resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#UntagResourceResponse": { "type": "structure", "members": {}, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#UpdateDatabase": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#UpdateDatabaseRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#UpdateDatabaseResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ServiceQuotaExceededException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": " Modifies the KMS key for an existing database. While updating the\n database, you must specify the database name and the identifier of the new KMS key to be used (KmsKeyId). If there are any concurrent\n UpdateDatabase requests, first writer wins.
See code sample\n for details.
" } }, "com.amazonaws.timestreamwrite#UpdateDatabaseRequest": { "type": "structure", "members": { "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the database.
", "smithy.api#required": {} } }, "KmsKeyId": { "target": "com.amazonaws.timestreamwrite#StringValue2048", "traits": { "smithy.api#documentation": " The identifier of the new KMS key (KmsKeyId) to be used to\n encrypt the data stored in the database. If the KmsKeyId currently registered\n with the database is the same as the KmsKeyId in the request, there will not\n be any update.
You can specify the KmsKeyId using any of the following:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab\n
Key ARN:\n arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\n
Alias name: alias/ExampleAlias\n
Alias ARN:\n arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias\n
Modifies the retention duration of the memory store and magnetic store for your Timestream table. Note that the change in retention duration takes effect immediately.\n For example, if the retention period of the memory store was initially set to 2 hours and\n then changed to 24 hours, the memory store will be capable of holding 24 hours of data, but\n will be populated with 24 hours of data 22 hours after this change was made. Timestream does not retrieve data from the magnetic store to populate the memory store.
\nSee code\n sample for details.
" } }, "com.amazonaws.timestreamwrite#UpdateTableRequest": { "type": "structure", "members": { "DatabaseName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream database.
", "smithy.api#required": {} } }, "TableName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream table.
", "smithy.api#required": {} } }, "RetentionProperties": { "target": "com.amazonaws.timestreamwrite#RetentionProperties", "traits": { "smithy.api#documentation": "The retention duration of the memory store and the magnetic store.
" } }, "MagneticStoreWriteProperties": { "target": "com.amazonaws.timestreamwrite#MagneticStoreWriteProperties", "traits": { "smithy.api#documentation": "Contains properties to set on the table when enabling magnetic store writes.
" } }, "Schema": { "target": "com.amazonaws.timestreamwrite#Schema", "traits": { "smithy.api#documentation": "The schema of the table.
" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#UpdateTableResponse": { "type": "structure", "members": { "Table": { "target": "com.amazonaws.timestreamwrite#Table", "traits": { "smithy.api#documentation": "The updated Timestream table.
" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.timestreamwrite#ValidationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.timestreamwrite#ErrorMessage", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "An invalid or malformed request.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.timestreamwrite#WriteRecords": { "type": "operation", "input": { "target": "com.amazonaws.timestreamwrite#WriteRecordsRequest" }, "output": { "target": "com.amazonaws.timestreamwrite#WriteRecordsResponse" }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" }, { "target": "com.amazonaws.timestreamwrite#InternalServerException" }, { "target": "com.amazonaws.timestreamwrite#InvalidEndpointException" }, { "target": "com.amazonaws.timestreamwrite#RejectedRecordsException" }, { "target": "com.amazonaws.timestreamwrite#ResourceNotFoundException" }, { "target": "com.amazonaws.timestreamwrite#ThrottlingException" }, { "target": "com.amazonaws.timestreamwrite#ValidationException" } ], "traits": { "aws.api#clientDiscoveredEndpoint": { "required": true }, "smithy.api#documentation": "Enables you to write your time-series data into Timestream. You can specify a\n single data point or a batch of data points to be inserted into the system. Timestream offers you a flexible schema that auto detects the column names and data\n types for your Timestream tables based on the dimension names and data types of\n the data points you specify when invoking writes into the database.
\nTimestream supports eventual consistency read semantics. This means that when\n you query data immediately after writing a batch of data into Timestream, the\n query results might not reflect the results of a recently completed write operation. The\n results may also include some stale data. If you repeat the query request after a short\n time, the results should return the latest data. Service quotas apply.
\nSee code sample for\n details.
\n\n Upserts\n
\nYou can use the Version parameter in a WriteRecords request to\n update data points. Timestream tracks a version number with each record.\n Version defaults to 1 when it's not specified for the record\n in the request. Timestream updates an existing record\u2019s measure value along with\n its Version when it receives a write request with a higher\n Version number for that record. When it receives an update request where\n the measure value is the same as that of the existing record, Timestream still\n updates Version, if it is greater than the existing value of\n Version. You can update a data point as many times as desired, as long as\n the value of Version continuously increases.
For example, suppose you write a new record without indicating Version in\n the request. Timestream stores this record, and set Version to\n 1. Now, suppose you try to update this record with a\n WriteRecords request of the same record with a different measure value but,\n like before, do not provide Version. In this case, Timestream will\n reject this update with a RejectedRecordsException since the updated record\u2019s\n version is not greater than the existing value of Version.
However, if you were to resend the update request with Version set to\n 2, Timestream would then succeed in updating the record\u2019s value,\n and the Version would be set to 2. Next, suppose you sent a\n WriteRecords request with this same record and an identical measure value,\n but with Version set to 3. In this case, Timestream\n would only update Version to 3. Any further updates would need to\n send a version number greater than 3, or the update requests would receive a\n RejectedRecordsException.
The name of the Timestream database.
", "smithy.api#required": {} } }, "TableName": { "target": "com.amazonaws.timestreamwrite#ResourceName", "traits": { "smithy.api#documentation": "The name of the Timestream table.
", "smithy.api#required": {} } }, "CommonAttributes": { "target": "com.amazonaws.timestreamwrite#Record", "traits": { "smithy.api#documentation": "A record that contains the common measure, dimension, time, and version attributes\n shared across all the records in the request. The measure and dimension attributes\n specified will be merged with the measure and dimension attributes in the records object\n when the data is written into Timestream. Dimensions may not overlap, or a\n ValidationException will be thrown. In other words, a record must contain\n dimensions with unique names.
An array of records that contain the unique measure, dimension, time, and version\n attributes for each time-series data point.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.timestreamwrite#WriteRecordsResponse": { "type": "structure", "members": { "RecordsIngested": { "target": "com.amazonaws.timestreamwrite#RecordsIngested", "traits": { "smithy.api#documentation": "Information on the records ingested by this request.
" } } }, "traits": { "smithy.api#output": {} } } } }