aws-sdk-iotsitewise 1.35.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 391bb213817954ffbf1b4c6e8f3c970450c8d7b1fdc911ea6a794887057a55f4
4
- data.tar.gz: 9a631f419ca4d3a4f0a4e0bccc2caed17f6a52293a2f047afe8cb296bac801a6
3
+ metadata.gz: d0509cbae7f8fc1c1ef918963ad4cdb469d102b5757f7bc13800126047af70e6
4
+ data.tar.gz: eca0e14f63c5cf3dc740b8eb66eabcdce5363033c74b3a35d33d54a0b64a1ddf
5
5
  SHA512:
6
- metadata.gz: ebbc4cc1e2c498642a8d38364c2cab1e55f413ba99b9a6b53ccb0e4f09bbca4f81405bcfd094967d041a72dd3986a2e4225c859436c93414762221536dc802b6
7
- data.tar.gz: 167fda50a943d520651c82038abef954ca9c3fc840661846344a862a704b99c696de04bef4a54f310c5a5f6db3a08374be7e0d0eb548fe2513ba000baed2d258
6
+ metadata.gz: 32384441898c3e3eeea2d4f5c1b29b4b28ca888652490a8d36da2b65b209ee01fd99c1d2946951673ee69328972af0c80427617a804f5cc39c99e9c2dce0a8d4
7
+ data.tar.gz: cee7a9f1267f863f0b0e2465a1b2d658b0c5e0876819ec92c5f1c1bd537037db152aa1b27213f52e1d7e5c19b5a211b1cdd3345230dfa97694127d7bfeb53901
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.39.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.38.0 (2021-12-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.37.0 (2021-11-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.36.0 (2021-11-29)
20
+ ------------------
21
+
22
+ * Feature - AWS IoT SiteWise now supports retention configuration for the hot tier storage.
23
+
4
24
  1.35.0 (2021-11-24)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.39.0
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::IoTSiteWise
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
82
 
@@ -119,7 +123,9 @@ module Aws::IoTSiteWise
119
123
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
124
  # are very aggressive. Construct and pass an instance of
121
125
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
126
+ # enable retries and extended timeouts. Instance profile credential
127
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
128
+ # to true.
123
129
  #
124
130
  # @option options [required, String] :region
125
131
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +179,10 @@ module Aws::IoTSiteWise
173
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
180
  # a clock skew correction and retry requests with skewed client clocks.
175
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
176
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
187
  # Set to true to disable SDK automatically adding host prefix
178
188
  # to default service endpoint when available.
@@ -295,7 +305,7 @@ module Aws::IoTSiteWise
295
305
  # seconds to wait when opening a HTTP session before raising a
296
306
  # `Timeout::Error`.
297
307
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
308
+ # @option options [Float] :http_read_timeout (60) The default
299
309
  # number of seconds to wait for response data. This value can
300
310
  # safely be set per-request on the session.
301
311
  #
@@ -311,6 +321,9 @@ module Aws::IoTSiteWise
311
321
  # disables this behaviour. This value can safely be set per
312
322
  # request on the session.
313
323
  #
324
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
325
+ # in seconds.
326
+ #
314
327
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
328
  # HTTP debug output will be sent to the `:logger`.
316
329
  #
@@ -1172,8 +1185,7 @@ module Aws::IoTSiteWise
1172
1185
  # China Regions.
1173
1186
  #
1174
1187
  # * `IAM` – The portal uses Identity and Access Management to
1175
- # authenticate users and manage user permissions. This option is only
1176
- # available in the China Regions.
1188
+ # authenticate users and manage user permissions.
1177
1189
  #
1178
1190
  # You can't change this value after you create a portal.
1179
1191
  #
@@ -2228,6 +2240,7 @@ module Aws::IoTSiteWise
2228
2240
  # * {Types::DescribeStorageConfigurationResponse#storage_type #storage_type} => String
2229
2241
  # * {Types::DescribeStorageConfigurationResponse#multi_layer_storage #multi_layer_storage} => Types::MultiLayerStorage
2230
2242
  # * {Types::DescribeStorageConfigurationResponse#disassociated_data_storage #disassociated_data_storage} => String
2243
+ # * {Types::DescribeStorageConfigurationResponse#retention_period #retention_period} => Types::RetentionPeriod
2231
2244
  # * {Types::DescribeStorageConfigurationResponse#configuration_status #configuration_status} => Types::ConfigurationStatus
2232
2245
  # * {Types::DescribeStorageConfigurationResponse#last_update_date #last_update_date} => Time
2233
2246
  #
@@ -2237,6 +2250,8 @@ module Aws::IoTSiteWise
2237
2250
  # resp.multi_layer_storage.customer_managed_s3_storage.s3_resource_arn #=> String
2238
2251
  # resp.multi_layer_storage.customer_managed_s3_storage.role_arn #=> String
2239
2252
  # resp.disassociated_data_storage #=> String, one of "ENABLED", "DISABLED"
2253
+ # resp.retention_period.number_of_days #=> Integer
2254
+ # resp.retention_period.unlimited #=> Boolean
2240
2255
  # resp.configuration_status.state #=> String, one of "ACTIVE", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
2241
2256
  # resp.configuration_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
2242
2257
  # resp.configuration_status.error.message #=> String
@@ -3568,15 +3583,15 @@ module Aws::IoTSiteWise
3568
3583
  # Configures storage settings for IoT SiteWise.
3569
3584
  #
3570
3585
  # @option params [required, String] :storage_type
3571
- # The type of storage that you specified for your data. The storage type
3572
- # can be one of the following values:
3586
+ # The storage tier that you specified for your data. The `storageType`
3587
+ # parameter can be one of the following values:
3573
3588
  #
3574
- # * `SITEWISE_DEFAULT_STORAGE` – IoT SiteWise replicates your data into
3575
- # a service managed database.
3589
+ # * `SITEWISE_DEFAULT_STORAGE` – IoT SiteWise saves your data into the
3590
+ # hot tier. The hot tier is a service-managed database.
3576
3591
  #
3577
- # * `MULTI_LAYER_STORAGE` – IoT SiteWise replicates your data into a
3578
- # service managed database and saves a copy of your raw data and
3579
- # metadata in an Amazon S3 object that you specified.
3592
+ # * `MULTI_LAYER_STORAGE` – IoT SiteWise saves your data in both the
3593
+ # cold tier and the cold tier. The cold tier is a customer-managed
3594
+ # Amazon S3 bucket.
3580
3595
  #
3581
3596
  # @option params [Types::MultiLayerStorage] :multi_layer_storage
3582
3597
  # Identifies a storage destination. If you specified
@@ -3604,11 +3619,16 @@ module Aws::IoTSiteWise
3604
3619
  #
3605
3620
  # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/data-streams.html
3606
3621
  #
3622
+ # @option params [Types::RetentionPeriod] :retention_period
3623
+ # How many days your data is kept in the hot tier. By default, your data
3624
+ # is kept indefinitely in the hot tier.
3625
+ #
3607
3626
  # @return [Types::PutStorageConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3608
3627
  #
3609
3628
  # * {Types::PutStorageConfigurationResponse#storage_type #storage_type} => String
3610
3629
  # * {Types::PutStorageConfigurationResponse#multi_layer_storage #multi_layer_storage} => Types::MultiLayerStorage
3611
3630
  # * {Types::PutStorageConfigurationResponse#disassociated_data_storage #disassociated_data_storage} => String
3631
+ # * {Types::PutStorageConfigurationResponse#retention_period #retention_period} => Types::RetentionPeriod
3612
3632
  # * {Types::PutStorageConfigurationResponse#configuration_status #configuration_status} => Types::ConfigurationStatus
3613
3633
  #
3614
3634
  # @example Request syntax with placeholder values
@@ -3622,6 +3642,10 @@ module Aws::IoTSiteWise
3622
3642
  # },
3623
3643
  # },
3624
3644
  # disassociated_data_storage: "ENABLED", # accepts ENABLED, DISABLED
3645
+ # retention_period: {
3646
+ # number_of_days: 1,
3647
+ # unlimited: false,
3648
+ # },
3625
3649
  # })
3626
3650
  #
3627
3651
  # @example Response structure
@@ -3630,6 +3654,8 @@ module Aws::IoTSiteWise
3630
3654
  # resp.multi_layer_storage.customer_managed_s3_storage.s3_resource_arn #=> String
3631
3655
  # resp.multi_layer_storage.customer_managed_s3_storage.role_arn #=> String
3632
3656
  # resp.disassociated_data_storage #=> String, one of "ENABLED", "DISABLED"
3657
+ # resp.retention_period.number_of_days #=> Integer
3658
+ # resp.retention_period.unlimited #=> Boolean
3633
3659
  # resp.configuration_status.state #=> String, one of "ACTIVE", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
3634
3660
  # resp.configuration_status.error.code #=> String, one of "VALIDATION_ERROR", "INTERNAL_FAILURE"
3635
3661
  # resp.configuration_status.error.message #=> String
@@ -4401,7 +4427,7 @@ module Aws::IoTSiteWise
4401
4427
  params: params,
4402
4428
  config: config)
4403
4429
  context[:gem_name] = 'aws-sdk-iotsitewise'
4404
- context[:gem_version] = '1.35.0'
4430
+ context[:gem_version] = '1.39.0'
4405
4431
  Seahorse::Client::Request.new(handlers, context)
4406
4432
  end
4407
4433
 
@@ -251,6 +251,7 @@ module Aws::IoTSiteWise
251
251
  MultiLayerStorage = Shapes::StructureShape.new(name: 'MultiLayerStorage')
252
252
  Name = Shapes::StringShape.new(name: 'Name')
253
253
  NextToken = Shapes::StringShape.new(name: 'NextToken')
254
+ NumberOfDays = Shapes::IntegerShape.new(name: 'NumberOfDays')
254
255
  Offset = Shapes::StringShape.new(name: 'Offset')
255
256
  OffsetInNanos = Shapes::IntegerShape.new(name: 'OffsetInNanos')
256
257
  Permission = Shapes::StringShape.new(name: 'Permission')
@@ -292,6 +293,7 @@ module Aws::IoTSiteWise
292
293
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
293
294
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
294
295
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
296
+ RetentionPeriod = Shapes::StructureShape.new(name: 'RetentionPeriod')
295
297
  SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
296
298
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
297
299
  StorageType = Shapes::StringShape.new(name: 'StorageType')
@@ -317,6 +319,7 @@ module Aws::IoTSiteWise
317
319
  TraversalType = Shapes::StringShape.new(name: 'TraversalType')
318
320
  TumblingWindow = Shapes::StructureShape.new(name: 'TumblingWindow')
319
321
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
322
+ Unlimited = Shapes::BooleanShape.new(name: 'Unlimited')
320
323
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
321
324
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
322
325
  UpdateAccessPolicyRequest = Shapes::StructureShape.new(name: 'UpdateAccessPolicyRequest')
@@ -871,6 +874,7 @@ module Aws::IoTSiteWise
871
874
  DescribeStorageConfigurationResponse.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
872
875
  DescribeStorageConfigurationResponse.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
873
876
  DescribeStorageConfigurationResponse.add_member(:disassociated_data_storage, Shapes::ShapeRef.new(shape: DisassociatedDataStorageState, location_name: "disassociatedDataStorage"))
877
+ DescribeStorageConfigurationResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
874
878
  DescribeStorageConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
875
879
  DescribeStorageConfigurationResponse.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateDate"))
876
880
  DescribeStorageConfigurationResponse.struct_class = Types::DescribeStorageConfigurationResponse
@@ -1267,11 +1271,13 @@ module Aws::IoTSiteWise
1267
1271
  PutStorageConfigurationRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
1268
1272
  PutStorageConfigurationRequest.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
1269
1273
  PutStorageConfigurationRequest.add_member(:disassociated_data_storage, Shapes::ShapeRef.new(shape: DisassociatedDataStorageState, location_name: "disassociatedDataStorage"))
1274
+ PutStorageConfigurationRequest.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
1270
1275
  PutStorageConfigurationRequest.struct_class = Types::PutStorageConfigurationRequest
1271
1276
 
1272
1277
  PutStorageConfigurationResponse.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
1273
1278
  PutStorageConfigurationResponse.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
1274
1279
  PutStorageConfigurationResponse.add_member(:disassociated_data_storage, Shapes::ShapeRef.new(shape: DisassociatedDataStorageState, location_name: "disassociatedDataStorage"))
1280
+ PutStorageConfigurationResponse.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "retentionPeriod"))
1275
1281
  PutStorageConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
1276
1282
  PutStorageConfigurationResponse.struct_class = Types::PutStorageConfigurationResponse
1277
1283
 
@@ -1289,6 +1295,10 @@ module Aws::IoTSiteWise
1289
1295
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
1290
1296
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1291
1297
 
1298
+ RetentionPeriod.add_member(:number_of_days, Shapes::ShapeRef.new(shape: NumberOfDays, location_name: "numberOfDays"))
1299
+ RetentionPeriod.add_member(:unlimited, Shapes::ShapeRef.new(shape: Unlimited, location_name: "unlimited"))
1300
+ RetentionPeriod.struct_class = Types::RetentionPeriod
1301
+
1292
1302
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
1293
1303
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
1294
1304
 
@@ -2090,8 +2090,7 @@ module Aws::IoTSiteWise
2090
2090
  # the China Regions.
2091
2091
  #
2092
2092
  # * `IAM` – The portal uses Identity and Access Management to
2093
- # authenticate users and manage user permissions. This option is
2094
- # only available in the China Regions.
2093
+ # authenticate users and manage user permissions.
2095
2094
  #
2096
2095
  # You can't change this value after you create a portal.
2097
2096
  #
@@ -3322,15 +3321,15 @@ module Aws::IoTSiteWise
3322
3321
  class DescribeStorageConfigurationRequest < Aws::EmptyStructure; end
3323
3322
 
3324
3323
  # @!attribute [rw] storage_type
3325
- # The type of storage that you specified for your data. The storage
3326
- # type can be one of the following values:
3324
+ # The storage tier that you specified for your data. The `storageType`
3325
+ # parameter can be one of the following values:
3327
3326
  #
3328
- # * `SITEWISE_DEFAULT_STORAGE` – IoT SiteWise replicates your data
3329
- # into a service managed database.
3327
+ # * `SITEWISE_DEFAULT_STORAGE` – IoT SiteWise saves your data into the
3328
+ # hot tier. The hot tier is a service-managed database.
3330
3329
  #
3331
- # * `MULTI_LAYER_STORAGE` – IoT SiteWise replicates your data into a
3332
- # service managed database and saves a copy of your raw data and
3333
- # metadata in an Amazon S3 object that you specified.
3330
+ # * `MULTI_LAYER_STORAGE` – IoT SiteWise saves your data in both the
3331
+ # cold tier and the cold tier. The cold tier is a customer-managed
3332
+ # Amazon S3 bucket.
3334
3333
  # @return [String]
3335
3334
  #
3336
3335
  # @!attribute [rw] multi_layer_storage
@@ -3359,6 +3358,11 @@ module Aws::IoTSiteWise
3359
3358
  # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/data-streams.html
3360
3359
  # @return [String]
3361
3360
  #
3361
+ # @!attribute [rw] retention_period
3362
+ # How many days your data is kept in the hot tier. By default, your
3363
+ # data is kept indefinitely in the hot tier.
3364
+ # @return [Types::RetentionPeriod]
3365
+ #
3362
3366
  # @!attribute [rw] configuration_status
3363
3367
  # Contains current status information for the configuration.
3364
3368
  # @return [Types::ConfigurationStatus]
@@ -3372,6 +3376,7 @@ module Aws::IoTSiteWise
3372
3376
  :storage_type,
3373
3377
  :multi_layer_storage,
3374
3378
  :disassociated_data_storage,
3379
+ :retention_period,
3375
3380
  :configuration_status,
3376
3381
  :last_update_date)
3377
3382
  SENSITIVE = []
@@ -5865,18 +5870,22 @@ module Aws::IoTSiteWise
5865
5870
  # },
5866
5871
  # },
5867
5872
  # disassociated_data_storage: "ENABLED", # accepts ENABLED, DISABLED
5873
+ # retention_period: {
5874
+ # number_of_days: 1,
5875
+ # unlimited: false,
5876
+ # },
5868
5877
  # }
5869
5878
  #
5870
5879
  # @!attribute [rw] storage_type
5871
- # The type of storage that you specified for your data. The storage
5872
- # type can be one of the following values:
5880
+ # The storage tier that you specified for your data. The `storageType`
5881
+ # parameter can be one of the following values:
5873
5882
  #
5874
- # * `SITEWISE_DEFAULT_STORAGE` – IoT SiteWise replicates your data
5875
- # into a service managed database.
5883
+ # * `SITEWISE_DEFAULT_STORAGE` – IoT SiteWise saves your data into the
5884
+ # hot tier. The hot tier is a service-managed database.
5876
5885
  #
5877
- # * `MULTI_LAYER_STORAGE` – IoT SiteWise replicates your data into a
5878
- # service managed database and saves a copy of your raw data and
5879
- # metadata in an Amazon S3 object that you specified.
5886
+ # * `MULTI_LAYER_STORAGE` – IoT SiteWise saves your data in both the
5887
+ # cold tier and the cold tier. The cold tier is a customer-managed
5888
+ # Amazon S3 bucket.
5880
5889
  # @return [String]
5881
5890
  #
5882
5891
  # @!attribute [rw] multi_layer_storage
@@ -5907,24 +5916,30 @@ module Aws::IoTSiteWise
5907
5916
  # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/data-streams.html
5908
5917
  # @return [String]
5909
5918
  #
5919
+ # @!attribute [rw] retention_period
5920
+ # How many days your data is kept in the hot tier. By default, your
5921
+ # data is kept indefinitely in the hot tier.
5922
+ # @return [Types::RetentionPeriod]
5923
+ #
5910
5924
  class PutStorageConfigurationRequest < Struct.new(
5911
5925
  :storage_type,
5912
5926
  :multi_layer_storage,
5913
- :disassociated_data_storage)
5927
+ :disassociated_data_storage,
5928
+ :retention_period)
5914
5929
  SENSITIVE = []
5915
5930
  include Aws::Structure
5916
5931
  end
5917
5932
 
5918
5933
  # @!attribute [rw] storage_type
5919
- # The type of storage that you specified for your data. The storage
5920
- # type can be one of the following values:
5934
+ # The storage tier that you specified for your data. The `storageType`
5935
+ # parameter can be one of the following values:
5921
5936
  #
5922
- # * `SITEWISE_DEFAULT_STORAGE` – IoT SiteWise replicates your data
5923
- # into a service managed database.
5937
+ # * `SITEWISE_DEFAULT_STORAGE` – IoT SiteWise saves your data into the
5938
+ # hot tier. The hot tier is a service-managed database.
5924
5939
  #
5925
- # * `MULTI_LAYER_STORAGE` – IoT SiteWise replicates your data into a
5926
- # service managed database and saves a copy of your raw data and
5927
- # metadata in an Amazon S3 object that you specified.
5940
+ # * `MULTI_LAYER_STORAGE` – IoT SiteWise saves your data in both the
5941
+ # cold tier and the cold tier. The cold tier is a customer-managed
5942
+ # Amazon S3 bucket.
5928
5943
  # @return [String]
5929
5944
  #
5930
5945
  # @!attribute [rw] multi_layer_storage
@@ -5953,6 +5968,11 @@ module Aws::IoTSiteWise
5953
5968
  # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/data-streams.html
5954
5969
  # @return [String]
5955
5970
  #
5971
+ # @!attribute [rw] retention_period
5972
+ # How many days your data is kept in the hot tier. By default, your
5973
+ # data is kept indefinitely in the hot tier.
5974
+ # @return [Types::RetentionPeriod]
5975
+ #
5956
5976
  # @!attribute [rw] configuration_status
5957
5977
  # Contains current status information for the configuration.
5958
5978
  # @return [Types::ConfigurationStatus]
@@ -5961,6 +5981,7 @@ module Aws::IoTSiteWise
5961
5981
  :storage_type,
5962
5982
  :multi_layer_storage,
5963
5983
  :disassociated_data_storage,
5984
+ :retention_period,
5964
5985
  :configuration_status)
5965
5986
  SENSITIVE = []
5966
5987
  include Aws::Structure
@@ -6027,6 +6048,42 @@ module Aws::IoTSiteWise
6027
6048
  include Aws::Structure
6028
6049
  end
6029
6050
 
6051
+ # How many days your data is kept in the hot tier. By default, your data
6052
+ # is kept indefinitely in the hot tier.
6053
+ #
6054
+ # @note When making an API call, you may pass RetentionPeriod
6055
+ # data as a hash:
6056
+ #
6057
+ # {
6058
+ # number_of_days: 1,
6059
+ # unlimited: false,
6060
+ # }
6061
+ #
6062
+ # @!attribute [rw] number_of_days
6063
+ # The number of days that your data is kept.
6064
+ #
6065
+ # <note markdown="1"> If you specified a value for this parameter, the `unlimited`
6066
+ # parameter must be `false`.
6067
+ #
6068
+ # </note>
6069
+ # @return [Integer]
6070
+ #
6071
+ # @!attribute [rw] unlimited
6072
+ # If true, your data is kept indefinitely.
6073
+ #
6074
+ # <note markdown="1"> If configured to `true`, you must not specify a value for the
6075
+ # `numberOfDays` parameter.
6076
+ #
6077
+ # </note>
6078
+ # @return [Boolean]
6079
+ #
6080
+ class RetentionPeriod < Struct.new(
6081
+ :number_of_days,
6082
+ :unlimited)
6083
+ SENSITIVE = []
6084
+ include Aws::Structure
6085
+ end
6086
+
6030
6087
  # The requested service is unavailable.
6031
6088
  #
6032
6089
  # @!attribute [rw] message
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-iotsitewise/customizations'
49
49
  # @!group service
50
50
  module Aws::IoTSiteWise
51
51
 
52
- GEM_VERSION = '1.35.0'
52
+ GEM_VERSION = '1.39.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotsitewise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.35.0
4
+ version: 1.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-24 00:00:00.000000000 Z
11
+ date: 2022-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.122.0
22
+ version: 3.126.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement