DescribeImport
Represents the properties of the import.
Request Syntax
{
"ImportArn": "string
"
}
Request Parameters
The request accepts the following data in JSON format.
Note
In the following list, the required parameters are described first.
- ImportArn
-
The Amazon Resource Name (ARN) associated with the table you're importing to.
Type: String
Length Constraints: Minimum length of 37. Maximum length of 1024.
Required: Yes
Response Syntax
{
"ImportTableDescription": {
"ClientToken": "string",
"CloudWatchLogGroupArn": "string",
"EndTime": number,
"ErrorCount": number,
"FailureCode": "string",
"FailureMessage": "string",
"ImportArn": "string",
"ImportedItemCount": number,
"ImportStatus": "string",
"InputCompressionType": "string",
"InputFormat": "string",
"InputFormatOptions": {
"Csv": {
"Delimiter": "string",
"HeaderList": [ "string" ]
}
},
"ProcessedItemCount": number,
"ProcessedSizeBytes": number,
"S3BucketSource": {
"S3Bucket": "string",
"S3BucketOwner": "string",
"S3KeyPrefix": "string"
},
"StartTime": number,
"TableArn": "string",
"TableCreationParameters": {
"AttributeDefinitions": [
{
"AttributeName": "string",
"AttributeType": "string"
}
],
"BillingMode": "string",
"GlobalSecondaryIndexes": [
{
"IndexName": "string",
"KeySchema": [
{
"AttributeName": "string",
"KeyType": "string"
}
],
"OnDemandThroughput": {
"MaxReadRequestUnits": number,
"MaxWriteRequestUnits": number
},
"Projection": {
"NonKeyAttributes": [ "string" ],
"ProjectionType": "string"
},
"ProvisionedThroughput": {
"ReadCapacityUnits": number,
"WriteCapacityUnits": number
},
"WarmThroughput": {
"ReadUnitsPerSecond": number,
"WriteUnitsPerSecond": number
}
}
],
"KeySchema": [
{
"AttributeName": "string",
"KeyType": "string"
}
],
"OnDemandThroughput": {
"MaxReadRequestUnits": number,
"MaxWriteRequestUnits": number
},
"ProvisionedThroughput": {
"ReadCapacityUnits": number,
"WriteCapacityUnits": number
},
"SSESpecification": {
"Enabled": boolean,
"KMSMasterKeyId": "string",
"SSEType": "string"
},
"TableName": "string"
},
"TableId": "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ImportTableDescription
-
Represents the properties of the table created for the import, and parameters of the import. The import parameters include import status, how many items were processed, and how many errors were encountered.
Type: ImportTableDescription object
Errors
For information about the errors that are common to all actions, see Common Errors.
- ImportNotFoundException
-
The specified import was not found.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: