DescribeStorageConfiguration - AWS IoT SiteWise

DescribeStorageConfiguration

Retrieves information about the storage configuration for AWS IoT SiteWise.

Request Syntax

GET /configuration/account/storage HTTP/1.1

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "configurationStatus": { "error": { "code": "string", "message": "string" }, "state": "string" }, "lastUpdateDate": number, "multiLayerStorage": { "customerManagedS3Storage": { "roleArn": "string", "s3ResourceArn": "string" } }, "storageType": "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.

configurationStatus

Contains current status information for the configuration.

Type: ConfigurationStatus object

lastUpdateDate

The date the storage configuration was last updated, in Unix epoch time.

Type: Timestamp

multiLayerStorage

Contains information about the storage destination.

Type: MultiLayerStorage object

storageType

The type of storage that you specified for your data. The storage type can be one of the following values:

  • SITEWISE_DEFAULT_STORAGE – AWS IoT SiteWise replicates your data into a service managed database.

  • MULTI_LAYER_STORAGE – AWS IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.

Type: String

Valid Values: SITEWISE_DEFAULT_STORAGE | MULTI_LAYER_STORAGE

Errors

For information about the errors that are common to all actions, see Common Errors.

ConflictingOperationException

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

HTTP Status Code: 409

InternalFailureException

AWS IoT SiteWise can't process your request right now. Try again later.

HTTP Status Code: 500

InvalidRequestException

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

HTTP Status Code: 400

LimitExceededException

You've reached the limit for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the AWS IoT SiteWise User Guide.

HTTP Status Code: 410

ResourceNotFoundException

The requested resource can't be found.

HTTP Status Code: 404

ThrottlingException

Your request exceeded a rate limit. For example, you might have exceeded the number of AWS IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the AWS IoT SiteWise User Guide.

HTTP Status Code: 429

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: