AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
[ aws . iotsitewise ]
put-storage-configuration
--storage-type <value>
[--multi-layer-storage <value>]
[--disassociated-data-storage <value>]
[--retention-period <value>]
[--warm-tier <value>]
[--warm-tier-retention-period <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
--storage-type
(string)
The storage tier that you specified for your data. The
storageType
parameter can be one of the following values:
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database.MULTI_LAYER_STORAGE
– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.Possible values:
SITEWISE_DEFAULT_STORAGE
MULTI_LAYER_STORAGE
--multi-layer-storage
(structure)
Identifies a storage destination. If you specified
MULTI_LAYER_STORAGE
for the storage type, you must specify aMultiLayerStorage
object.customerManagedS3Storage -> (structure)
Contains information about a customer managed Amazon S3 bucket.
s3ResourceArn -> (string)
The ARN of the Amazon S3 object. For more information about how to find the ARN for an Amazon S3 object, see Amazon S3 resources in the Amazon Simple Storage Service User Guide .roleArn -> (string)
The ARN of the Identity and Access Management role that allows IoT SiteWise to send data to Amazon S3.
Shorthand Syntax:
customerManagedS3Storage={s3ResourceArn=string,roleArn=string}
JSON Syntax:
{
"customerManagedS3Storage": {
"s3ResourceArn": "string",
"roleArn": "string"
}
}
--disassociated-data-storage
(string)
Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The
disassociatedDataStorage
can be one of the following values:
ENABLED
– IoT SiteWise accepts time series that aren't associated with asset properties.Warning
After thedisassociatedDataStorage
is enabled, you can't disable it.
DISABLED
– IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.For more information, see Data streams in the IoT SiteWise User Guide .
Possible values:
ENABLED
DISABLED
--retention-period
(structure)
The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
numberOfDays -> (integer)
The number of days that your data is kept.
Note
If you specified a value for this parameter, theunlimited
parameter must befalse
.unlimited -> (boolean)
If true, your data is kept indefinitely.
Note
If configured totrue
, you must not specify a value for thenumberOfDays
parameter.
Shorthand Syntax:
numberOfDays=integer,unlimited=boolean
JSON Syntax:
{
"numberOfDays": integer,
"unlimited": true|false
}
--warm-tier
(string)
A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
Possible values:
ENABLED
DISABLED
--warm-tier-retention-period
(structure)
Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
numberOfDays -> (integer)
The number of days the data is stored in the warm tier.unlimited -> (boolean)
If set to true, the data is stored indefinitely in the warm tier.
Shorthand Syntax:
numberOfDays=integer,unlimited=boolean
JSON Syntax:
{
"numberOfDays": integer,
"unlimited": true|false
}
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command's default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output
(string)
The formatting style for command output.
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
storageType -> (string)
The storage tier that you specified for your data. The
storageType
parameter can be one of the following values:
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database.MULTI_LAYER_STORAGE
– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
multiLayerStorage -> (structure)
Contains information about the storage destination.
customerManagedS3Storage -> (structure)
Contains information about a customer managed Amazon S3 bucket.
s3ResourceArn -> (string)
The ARN of the Amazon S3 object. For more information about how to find the ARN for an Amazon S3 object, see Amazon S3 resources in the Amazon Simple Storage Service User Guide .roleArn -> (string)
The ARN of the Identity and Access Management role that allows IoT SiteWise to send data to Amazon S3.
disassociatedDataStorage -> (string)
Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The
disassociatedDataStorage
can be one of the following values:
ENABLED
– IoT SiteWise accepts time series that aren't associated with asset properties.Warning
After thedisassociatedDataStorage
is enabled, you can't disable it.
DISABLED
– IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.For more information, see Data streams in the IoT SiteWise User Guide .
retentionPeriod -> (structure)
The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
numberOfDays -> (integer)
The number of days that your data is kept.
Note
If you specified a value for this parameter, theunlimited
parameter must befalse
.unlimited -> (boolean)
If true, your data is kept indefinitely.
Note
If configured totrue
, you must not specify a value for thenumberOfDays
parameter.
configurationStatus -> (structure)
Contains current status information for the configuration.
state -> (string)
The current state of the configuration.error -> (structure)
Contains associated error information, if any.
code -> (string)
The error code.message -> (string)
The error message.
warmTier -> (string)
A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
warmTierRetentionPeriod -> (structure)
Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
numberOfDays -> (integer)
The number of days the data is stored in the warm tier.unlimited -> (boolean)
If set to true, the data is stored indefinitely in the warm tier.