aws-sdk-iotsitewise 1.41.0 → 1.44.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: f6afa0a452deb9c4bfde5615b47def5a60c2b174a0562a6f0b9af209931d99bf
4
- data.tar.gz: a322656a746fbe2a654d8333d43fb9697bd49e02c9dbb0a84d7e929f6046f3ae
3
+ metadata.gz: 9b83c01623728415379ec2b529b21bb3d1126ee77e5c7f0a60a802220a0a4d7e
4
+ data.tar.gz: 8362d436596dc66e936e1742cf215a91bad77aa523b660c074783ee561d1334b
5
5
  SHA512:
6
- metadata.gz: 5b2184114c2a717a1cfa7054e22100844a291a32d035c54740d57c47196846f965e4594d53d9a8e5da45db6d4535b0e39bcd335a0ff43d5e3e1132509a766849
7
- data.tar.gz: 5505ff7f6df8e193ea2b438440c764451c322e4f4b94d2d008435b025f865fb0c8e1564db75e380eab0bfa042bf3eafc422795d9aeb30871f2b3d6a94628a498
6
+ metadata.gz: 782bdbe73aeabbffef33fe28e31967344ecf689a8dfdef67a5423156b85e8b6f87c6f07b70f3c4a1b32c39bc8f7df7785f5a1fdf0c48acc3e0a524089a26bff4
7
+ data.tar.gz: b76f06252e715279156e0f0d761bb0a2202e447a4ecfdbca6782758a90819c274311e061a86ab3864d06968074a3a28249bfb1ca6fc5e7de053b960df7435d6b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2022-08-22)
5
+ ------------------
6
+
7
+ * Feature - Enable non-unique asset names under different hierarchies
8
+
9
+ 1.43.0 (2022-07-21)
10
+ ------------------
11
+
12
+ * Feature - Added asynchronous API to ingest bulk historical and current data into IoT SiteWise.
13
+
14
+ 1.42.0 (2022-05-31)
15
+ ------------------
16
+
17
+ * Feature - This release adds the following new optional field to the IoT SiteWise asset resource: assetDescription.
18
+
4
19
  1.41.0 (2022-04-21)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.41.0
1
+ 1.44.0
@@ -959,6 +959,9 @@ module Aws::IoTSiteWise
959
959
  #
960
960
  # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html
961
961
  #
962
+ # @option params [String] :asset_description
963
+ # A description for the asset.
964
+ #
962
965
  # @return [Types::CreateAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
963
966
  #
964
967
  # * {Types::CreateAssetResponse#asset_id #asset_id} => String
@@ -974,6 +977,7 @@ module Aws::IoTSiteWise
974
977
  # tags: {
975
978
  # "TagKey" => "TagValue",
976
979
  # },
980
+ # asset_description: "Description",
977
981
  # })
978
982
  #
979
983
  # @example Response structure
@@ -1227,6 +1231,91 @@ module Aws::IoTSiteWise
1227
1231
  req.send_request(options)
1228
1232
  end
1229
1233
 
1234
+ # <note markdown="1"> This API operation is in preview release for IoT SiteWise and is
1235
+ # subject to change. We recommend that you use this operation only with
1236
+ # test data, and not in production environments.
1237
+ #
1238
+ # </note>
1239
+ #
1240
+ # Defines a job to ingest data to IoT SiteWise from Amazon S3. For more
1241
+ # information, see [Create a bulk import job (CLI)][1] in the *Amazon
1242
+ # Simple Storage Service User Guide*.
1243
+ #
1244
+ # You must enable IoT SiteWise to export data to Amazon S3 before you
1245
+ # create a bulk import job. For more information about how to configure
1246
+ # storage settings, see [PutStorageConfiguration][2].
1247
+ #
1248
+ #
1249
+ #
1250
+ # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/CreateBulkImportJob.html
1251
+ # [2]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_PutStorageConfiguration.html
1252
+ #
1253
+ # @option params [required, String] :job_name
1254
+ # The unique name that helps identify the job request.
1255
+ #
1256
+ # @option params [required, String] :job_role_arn
1257
+ # The [ARN][1] of the IAM role that allows IoT SiteWise to read Amazon
1258
+ # S3 data.
1259
+ #
1260
+ #
1261
+ #
1262
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1263
+ #
1264
+ # @option params [required, Array<Types::File>] :files
1265
+ # The files in the specified Amazon S3 bucket that contain your data.
1266
+ #
1267
+ # @option params [required, Types::ErrorReportLocation] :error_report_location
1268
+ # The Amazon S3 destination where errors associated with the job
1269
+ # creation request are saved.
1270
+ #
1271
+ # @option params [required, Types::JobConfiguration] :job_configuration
1272
+ # Contains the configuration information of a job, such as the file
1273
+ # format used to save data in Amazon S3.
1274
+ #
1275
+ # @return [Types::CreateBulkImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1276
+ #
1277
+ # * {Types::CreateBulkImportJobResponse#job_id #job_id} => String
1278
+ # * {Types::CreateBulkImportJobResponse#job_name #job_name} => String
1279
+ # * {Types::CreateBulkImportJobResponse#job_status #job_status} => String
1280
+ #
1281
+ # @example Request syntax with placeholder values
1282
+ #
1283
+ # resp = client.create_bulk_import_job({
1284
+ # job_name: "Name", # required
1285
+ # job_role_arn: "ARN", # required
1286
+ # files: [ # required
1287
+ # {
1288
+ # bucket: "Bucket", # required
1289
+ # key: "String", # required
1290
+ # version_id: "String",
1291
+ # },
1292
+ # ],
1293
+ # error_report_location: { # required
1294
+ # bucket: "Bucket", # required
1295
+ # prefix: "String", # required
1296
+ # },
1297
+ # job_configuration: { # required
1298
+ # file_format: { # required
1299
+ # csv: {
1300
+ # column_names: ["ALIAS"], # accepts ALIAS, ASSET_ID, PROPERTY_ID, DATA_TYPE, TIMESTAMP_SECONDS, TIMESTAMP_NANO_OFFSET, QUALITY, VALUE
1301
+ # },
1302
+ # },
1303
+ # },
1304
+ # })
1305
+ #
1306
+ # @example Response structure
1307
+ #
1308
+ # resp.job_id #=> String
1309
+ # resp.job_name #=> String
1310
+ # resp.job_status #=> String, one of "PENDING", "CANCELLED", "RUNNING", "COMPLETED", "FAILED", "COMPLETED_WITH_FAILURES"
1311
+ #
1312
+ # @overload create_bulk_import_job(params = {})
1313
+ # @param [Hash] params ({})
1314
+ def create_bulk_import_job(params = {}, options = {})
1315
+ req = build_request(:create_bulk_import_job, params)
1316
+ req.send_request(options)
1317
+ end
1318
+
1230
1319
  # Creates a dashboard in an IoT SiteWise Monitor project.
1231
1320
  #
1232
1321
  # @option params [required, String] :project_id
@@ -1922,6 +2011,7 @@ module Aws::IoTSiteWise
1922
2011
  # * {Types::DescribeAssetResponse#asset_creation_date #asset_creation_date} => Time
1923
2012
  # * {Types::DescribeAssetResponse#asset_last_update_date #asset_last_update_date} => Time
1924
2013
  # * {Types::DescribeAssetResponse#asset_status #asset_status} => Types::AssetStatus
2014
+ # * {Types::DescribeAssetResponse#asset_description #asset_description} => String
1925
2015
  #
1926
2016
  # @example Request syntax with placeholder values
1927
2017
  #
@@ -1968,6 +2058,7 @@ module Aws::IoTSiteWise
1968
2058
  # resp.asset_status.error.details #=> Array
1969
2059
  # resp.asset_status.error.details[0].code #=> String, one of "INCOMPATIBLE_COMPUTE_LOCATION", "INCOMPATIBLE_FORWARDING_CONFIGURATION"
1970
2060
  # resp.asset_status.error.details[0].message #=> String
2061
+ # resp.asset_description #=> String
1971
2062
  #
1972
2063
  #
1973
2064
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2188,6 +2279,65 @@ module Aws::IoTSiteWise
2188
2279
  req.send_request(options)
2189
2280
  end
2190
2281
 
2282
+ # <note markdown="1"> This API operation is in preview release for IoT SiteWise and is
2283
+ # subject to change. We recommend that you use this operation only with
2284
+ # test data, and not in production environments.
2285
+ #
2286
+ # </note>
2287
+ #
2288
+ # Retrieves information about a bulk import job request. For more
2289
+ # information, see [Describe a bulk import job (CLI)][1] in the *Amazon
2290
+ # Simple Storage Service User Guide*.
2291
+ #
2292
+ #
2293
+ #
2294
+ # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/DescribeBulkImportJob.html
2295
+ #
2296
+ # @option params [required, String] :job_id
2297
+ # The ID of the job.
2298
+ #
2299
+ # @return [Types::DescribeBulkImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2300
+ #
2301
+ # * {Types::DescribeBulkImportJobResponse#job_id #job_id} => String
2302
+ # * {Types::DescribeBulkImportJobResponse#job_name #job_name} => String
2303
+ # * {Types::DescribeBulkImportJobResponse#job_status #job_status} => String
2304
+ # * {Types::DescribeBulkImportJobResponse#job_role_arn #job_role_arn} => String
2305
+ # * {Types::DescribeBulkImportJobResponse#files #files} => Array&lt;Types::File&gt;
2306
+ # * {Types::DescribeBulkImportJobResponse#error_report_location #error_report_location} => Types::ErrorReportLocation
2307
+ # * {Types::DescribeBulkImportJobResponse#job_configuration #job_configuration} => Types::JobConfiguration
2308
+ # * {Types::DescribeBulkImportJobResponse#job_creation_date #job_creation_date} => Time
2309
+ # * {Types::DescribeBulkImportJobResponse#job_last_update_date #job_last_update_date} => Time
2310
+ #
2311
+ # @example Request syntax with placeholder values
2312
+ #
2313
+ # resp = client.describe_bulk_import_job({
2314
+ # job_id: "ID", # required
2315
+ # })
2316
+ #
2317
+ # @example Response structure
2318
+ #
2319
+ # resp.job_id #=> String
2320
+ # resp.job_name #=> String
2321
+ # resp.job_status #=> String, one of "PENDING", "CANCELLED", "RUNNING", "COMPLETED", "FAILED", "COMPLETED_WITH_FAILURES"
2322
+ # resp.job_role_arn #=> String
2323
+ # resp.files #=> Array
2324
+ # resp.files[0].bucket #=> String
2325
+ # resp.files[0].key #=> String
2326
+ # resp.files[0].version_id #=> String
2327
+ # resp.error_report_location.bucket #=> String
2328
+ # resp.error_report_location.prefix #=> String
2329
+ # resp.job_configuration.file_format.csv.column_names #=> Array
2330
+ # resp.job_configuration.file_format.csv.column_names[0] #=> String, one of "ALIAS", "ASSET_ID", "PROPERTY_ID", "DATA_TYPE", "TIMESTAMP_SECONDS", "TIMESTAMP_NANO_OFFSET", "QUALITY", "VALUE"
2331
+ # resp.job_creation_date #=> Time
2332
+ # resp.job_last_update_date #=> Time
2333
+ #
2334
+ # @overload describe_bulk_import_job(params = {})
2335
+ # @param [Hash] params ({})
2336
+ def describe_bulk_import_job(params = {}, options = {})
2337
+ req = build_request(:describe_bulk_import_job, params)
2338
+ req.send_request(options)
2339
+ end
2340
+
2191
2341
  # Retrieves information about a dashboard.
2192
2342
  #
2193
2343
  # @option params [required, String] :dashboard_id
@@ -3335,6 +3485,7 @@ module Aws::IoTSiteWise
3335
3485
  # resp.asset_summaries[0].hierarchies #=> Array
3336
3486
  # resp.asset_summaries[0].hierarchies[0].id #=> String
3337
3487
  # resp.asset_summaries[0].hierarchies[0].name #=> String
3488
+ # resp.asset_summaries[0].description #=> String
3338
3489
  # resp.next_token #=> String
3339
3490
  #
3340
3491
  # @overload list_assets(params = {})
@@ -3426,6 +3577,7 @@ module Aws::IoTSiteWise
3426
3577
  # resp.asset_summaries[0].hierarchies #=> Array
3427
3578
  # resp.asset_summaries[0].hierarchies[0].id #=> String
3428
3579
  # resp.asset_summaries[0].hierarchies[0].name #=> String
3580
+ # resp.asset_summaries[0].description #=> String
3429
3581
  # resp.next_token #=> String
3430
3582
  #
3431
3583
  # @overload list_associated_assets(params = {})
@@ -3435,6 +3587,60 @@ module Aws::IoTSiteWise
3435
3587
  req.send_request(options)
3436
3588
  end
3437
3589
 
3590
+ # <note markdown="1"> This API operation is in preview release for IoT SiteWise and is
3591
+ # subject to change. We recommend that you use this operation only with
3592
+ # test data, and not in production environments.
3593
+ #
3594
+ # </note>
3595
+ #
3596
+ # Retrieves a paginated list of bulk import job requests. For more
3597
+ # information, see [List bulk import jobs (CLI)][1] in the *Amazon
3598
+ # Simple Storage Service User Guide*.
3599
+ #
3600
+ #
3601
+ #
3602
+ # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/ListBulkImportJobs.html
3603
+ #
3604
+ # @option params [String] :next_token
3605
+ # The token to be used for the next set of paginated results.
3606
+ #
3607
+ # @option params [Integer] :max_results
3608
+ # The maximum number of results to return for each paginated request.
3609
+ #
3610
+ # @option params [String] :filter
3611
+ # You can use a filter to select the bulk import jobs that you want to
3612
+ # retrieve.
3613
+ #
3614
+ # @return [Types::ListBulkImportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3615
+ #
3616
+ # * {Types::ListBulkImportJobsResponse#job_summaries #job_summaries} => Array&lt;Types::JobSummary&gt;
3617
+ # * {Types::ListBulkImportJobsResponse#next_token #next_token} => String
3618
+ #
3619
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3620
+ #
3621
+ # @example Request syntax with placeholder values
3622
+ #
3623
+ # resp = client.list_bulk_import_jobs({
3624
+ # next_token: "NextToken",
3625
+ # max_results: 1,
3626
+ # filter: "ALL", # accepts ALL, PENDING, RUNNING, CANCELLED, FAILED, COMPLETED_WITH_FAILURES, COMPLETED
3627
+ # })
3628
+ #
3629
+ # @example Response structure
3630
+ #
3631
+ # resp.job_summaries #=> Array
3632
+ # resp.job_summaries[0].id #=> String
3633
+ # resp.job_summaries[0].name #=> String
3634
+ # resp.job_summaries[0].status #=> String, one of "PENDING", "CANCELLED", "RUNNING", "COMPLETED", "FAILED", "COMPLETED_WITH_FAILURES"
3635
+ # resp.next_token #=> String
3636
+ #
3637
+ # @overload list_bulk_import_jobs(params = {})
3638
+ # @param [Hash] params ({})
3639
+ def list_bulk_import_jobs(params = {}, options = {})
3640
+ req = build_request(:list_bulk_import_jobs, params)
3641
+ req.send_request(options)
3642
+ end
3643
+
3438
3644
  # Retrieves a paginated list of dashboards for an IoT SiteWise Monitor
3439
3645
  # project.
3440
3646
  #
@@ -3826,7 +4032,7 @@ module Aws::IoTSiteWise
3826
4032
  # hot tier. The hot tier is a service-managed database.
3827
4033
  #
3828
4034
  # * `MULTI_LAYER_STORAGE` – IoT SiteWise saves your data in both the
3829
- # cold tier and the cold tier. The cold tier is a customer-managed
4035
+ # cold tier and the hot tier. The cold tier is a customer-managed
3830
4036
  # Amazon S3 bucket.
3831
4037
  #
3832
4038
  # @option params [Types::MultiLayerStorage] :multi_layer_storage
@@ -4054,6 +4260,9 @@ module Aws::IoTSiteWise
4054
4260
  # **A suitable default value is auto-generated.** You should normally
4055
4261
  # not need to pass this option.**
4056
4262
  #
4263
+ # @option params [String] :asset_description
4264
+ # A description for the asset.
4265
+ #
4057
4266
  # @return [Types::UpdateAssetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4058
4267
  #
4059
4268
  # * {Types::UpdateAssetResponse#asset_status #asset_status} => Types::AssetStatus
@@ -4064,6 +4273,7 @@ module Aws::IoTSiteWise
4064
4273
  # asset_id: "ID", # required
4065
4274
  # asset_name: "Name", # required
4066
4275
  # client_token: "ClientToken",
4276
+ # asset_description: "Description",
4067
4277
  # })
4068
4278
  #
4069
4279
  # @example Response structure
@@ -4663,7 +4873,7 @@ module Aws::IoTSiteWise
4663
4873
  params: params,
4664
4874
  config: config)
4665
4875
  context[:gem_name] = 'aws-sdk-iotsitewise'
4666
- context[:gem_version] = '1.41.0'
4876
+ context[:gem_version] = '1.44.0'
4667
4877
  Seahorse::Client::Request.new(handlers, context)
4668
4878
  end
4669
4879
 
@@ -120,10 +120,13 @@ module Aws::IoTSiteWise
120
120
  BatchPutAssetPropertyValueErrorCode = Shapes::StringShape.new(name: 'BatchPutAssetPropertyValueErrorCode')
121
121
  BatchPutAssetPropertyValueRequest = Shapes::StructureShape.new(name: 'BatchPutAssetPropertyValueRequest')
122
122
  BatchPutAssetPropertyValueResponse = Shapes::StructureShape.new(name: 'BatchPutAssetPropertyValueResponse')
123
+ Bucket = Shapes::StringShape.new(name: 'Bucket')
123
124
  CapabilityConfiguration = Shapes::StringShape.new(name: 'CapabilityConfiguration')
124
125
  CapabilityNamespace = Shapes::StringShape.new(name: 'CapabilityNamespace')
125
126
  CapabilitySyncStatus = Shapes::StringShape.new(name: 'CapabilitySyncStatus')
126
127
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
128
+ ColumnName = Shapes::StringShape.new(name: 'ColumnName')
129
+ ColumnNames = Shapes::ListShape.new(name: 'ColumnNames')
127
130
  CompositeModelProperty = Shapes::StructureShape.new(name: 'CompositeModelProperty')
128
131
  ComputeLocation = Shapes::StringShape.new(name: 'ComputeLocation')
129
132
  ConfigurationErrorDetails = Shapes::StructureShape.new(name: 'ConfigurationErrorDetails')
@@ -137,6 +140,8 @@ module Aws::IoTSiteWise
137
140
  CreateAssetModelResponse = Shapes::StructureShape.new(name: 'CreateAssetModelResponse')
138
141
  CreateAssetRequest = Shapes::StructureShape.new(name: 'CreateAssetRequest')
139
142
  CreateAssetResponse = Shapes::StructureShape.new(name: 'CreateAssetResponse')
143
+ CreateBulkImportJobRequest = Shapes::StructureShape.new(name: 'CreateBulkImportJobRequest')
144
+ CreateBulkImportJobResponse = Shapes::StructureShape.new(name: 'CreateBulkImportJobResponse')
140
145
  CreateDashboardRequest = Shapes::StructureShape.new(name: 'CreateDashboardRequest')
141
146
  CreateDashboardResponse = Shapes::StructureShape.new(name: 'CreateDashboardResponse')
142
147
  CreateGatewayRequest = Shapes::StructureShape.new(name: 'CreateGatewayRequest')
@@ -145,6 +150,7 @@ module Aws::IoTSiteWise
145
150
  CreatePortalResponse = Shapes::StructureShape.new(name: 'CreatePortalResponse')
146
151
  CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
147
152
  CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
153
+ Csv = Shapes::StructureShape.new(name: 'Csv')
148
154
  CustomerManagedS3Storage = Shapes::StructureShape.new(name: 'CustomerManagedS3Storage')
149
155
  DashboardDefinition = Shapes::StringShape.new(name: 'DashboardDefinition')
150
156
  DashboardSummaries = Shapes::ListShape.new(name: 'DashboardSummaries')
@@ -172,6 +178,8 @@ module Aws::IoTSiteWise
172
178
  DescribeAssetPropertyResponse = Shapes::StructureShape.new(name: 'DescribeAssetPropertyResponse')
173
179
  DescribeAssetRequest = Shapes::StructureShape.new(name: 'DescribeAssetRequest')
174
180
  DescribeAssetResponse = Shapes::StructureShape.new(name: 'DescribeAssetResponse')
181
+ DescribeBulkImportJobRequest = Shapes::StructureShape.new(name: 'DescribeBulkImportJobRequest')
182
+ DescribeBulkImportJobResponse = Shapes::StructureShape.new(name: 'DescribeBulkImportJobResponse')
175
183
  DescribeDashboardRequest = Shapes::StructureShape.new(name: 'DescribeDashboardRequest')
176
184
  DescribeDashboardResponse = Shapes::StructureShape.new(name: 'DescribeDashboardResponse')
177
185
  DescribeDefaultEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeDefaultEncryptionConfigurationRequest')
@@ -204,10 +212,14 @@ module Aws::IoTSiteWise
204
212
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
205
213
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
206
214
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
215
+ ErrorReportLocation = Shapes::StructureShape.new(name: 'ErrorReportLocation')
207
216
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
208
217
  Expression = Shapes::StringShape.new(name: 'Expression')
209
218
  ExpressionVariable = Shapes::StructureShape.new(name: 'ExpressionVariable')
210
219
  ExpressionVariables = Shapes::ListShape.new(name: 'ExpressionVariables')
220
+ File = Shapes::StructureShape.new(name: 'File')
221
+ FileFormat = Shapes::StructureShape.new(name: 'FileFormat')
222
+ Files = Shapes::ListShape.new(name: 'Files')
211
223
  ForwardingConfig = Shapes::StructureShape.new(name: 'ForwardingConfig')
212
224
  ForwardingConfigState = Shapes::StringShape.new(name: 'ForwardingConfigState')
213
225
  GatewayCapabilitySummaries = Shapes::ListShape.new(name: 'GatewayCapabilitySummaries')
@@ -246,6 +258,10 @@ module Aws::IoTSiteWise
246
258
  IntervalInSeconds = Shapes::IntegerShape.new(name: 'IntervalInSeconds')
247
259
  IntervalWindowInSeconds = Shapes::IntegerShape.new(name: 'IntervalWindowInSeconds')
248
260
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
261
+ JobConfiguration = Shapes::StructureShape.new(name: 'JobConfiguration')
262
+ JobStatus = Shapes::StringShape.new(name: 'JobStatus')
263
+ JobSummaries = Shapes::ListShape.new(name: 'JobSummaries')
264
+ JobSummary = Shapes::StructureShape.new(name: 'JobSummary')
249
265
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
250
266
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
251
267
  ListAccessPoliciesRequest = Shapes::StructureShape.new(name: 'ListAccessPoliciesRequest')
@@ -259,6 +275,9 @@ module Aws::IoTSiteWise
259
275
  ListAssetsResponse = Shapes::StructureShape.new(name: 'ListAssetsResponse')
260
276
  ListAssociatedAssetsRequest = Shapes::StructureShape.new(name: 'ListAssociatedAssetsRequest')
261
277
  ListAssociatedAssetsResponse = Shapes::StructureShape.new(name: 'ListAssociatedAssetsResponse')
278
+ ListBulkImportJobsFilter = Shapes::StringShape.new(name: 'ListBulkImportJobsFilter')
279
+ ListBulkImportJobsRequest = Shapes::StructureShape.new(name: 'ListBulkImportJobsRequest')
280
+ ListBulkImportJobsResponse = Shapes::StructureShape.new(name: 'ListBulkImportJobsResponse')
262
281
  ListDashboardsRequest = Shapes::StructureShape.new(name: 'ListDashboardsRequest')
263
282
  ListDashboardsResponse = Shapes::StructureShape.new(name: 'ListDashboardsResponse')
264
283
  ListGatewaysRequest = Shapes::StructureShape.new(name: 'ListGatewaysRequest')
@@ -336,6 +355,7 @@ module Aws::IoTSiteWise
336
355
  SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
337
356
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
338
357
  StorageType = Shapes::StringShape.new(name: 'StorageType')
358
+ String = Shapes::StringShape.new(name: 'String')
339
359
  TagKey = Shapes::StringShape.new(name: 'TagKey')
340
360
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
341
361
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -542,6 +562,7 @@ module Aws::IoTSiteWise
542
562
  AssetSummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
543
563
  AssetSummary.add_member(:status, Shapes::ShapeRef.new(shape: AssetStatus, required: true, location_name: "status"))
544
564
  AssetSummary.add_member(:hierarchies, Shapes::ShapeRef.new(shape: AssetHierarchies, required: true, location_name: "hierarchies"))
565
+ AssetSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
545
566
  AssetSummary.struct_class = Types::AssetSummary
546
567
 
547
568
  AssociateAssetsRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
@@ -566,6 +587,7 @@ module Aws::IoTSiteWise
566
587
  AssociatedAssetsSummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
567
588
  AssociatedAssetsSummary.add_member(:status, Shapes::ShapeRef.new(shape: AssetStatus, required: true, location_name: "status"))
568
589
  AssociatedAssetsSummary.add_member(:hierarchies, Shapes::ShapeRef.new(shape: AssetHierarchies, required: true, location_name: "hierarchies"))
590
+ AssociatedAssetsSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
569
591
  AssociatedAssetsSummary.struct_class = Types::AssociatedAssetsSummary
570
592
 
571
593
  Attribute.add_member(:default_value, Shapes::ShapeRef.new(shape: DefaultValue, location_name: "defaultValue"))
@@ -748,6 +770,8 @@ module Aws::IoTSiteWise
748
770
  BatchPutAssetPropertyValueResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchPutAssetPropertyErrorEntries, required: true, location_name: "errorEntries"))
749
771
  BatchPutAssetPropertyValueResponse.struct_class = Types::BatchPutAssetPropertyValueResponse
750
772
 
773
+ ColumnNames.member = Shapes::ShapeRef.new(shape: ColumnName)
774
+
751
775
  CompositeModelProperty.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
752
776
  CompositeModelProperty.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
753
777
  CompositeModelProperty.add_member(:asset_property, Shapes::ShapeRef.new(shape: Property, required: true, location_name: "assetProperty"))
@@ -795,6 +819,7 @@ module Aws::IoTSiteWise
795
819
  CreateAssetRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
796
820
  CreateAssetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
797
821
  CreateAssetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
822
+ CreateAssetRequest.add_member(:asset_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetDescription"))
798
823
  CreateAssetRequest.struct_class = Types::CreateAssetRequest
799
824
 
800
825
  CreateAssetResponse.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetId"))
@@ -802,6 +827,18 @@ module Aws::IoTSiteWise
802
827
  CreateAssetResponse.add_member(:asset_status, Shapes::ShapeRef.new(shape: AssetStatus, required: true, location_name: "assetStatus"))
803
828
  CreateAssetResponse.struct_class = Types::CreateAssetResponse
804
829
 
830
+ CreateBulkImportJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "jobName"))
831
+ CreateBulkImportJobRequest.add_member(:job_role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "jobRoleArn"))
832
+ CreateBulkImportJobRequest.add_member(:files, Shapes::ShapeRef.new(shape: Files, required: true, location_name: "files"))
833
+ CreateBulkImportJobRequest.add_member(:error_report_location, Shapes::ShapeRef.new(shape: ErrorReportLocation, required: true, location_name: "errorReportLocation"))
834
+ CreateBulkImportJobRequest.add_member(:job_configuration, Shapes::ShapeRef.new(shape: JobConfiguration, required: true, location_name: "jobConfiguration"))
835
+ CreateBulkImportJobRequest.struct_class = Types::CreateBulkImportJobRequest
836
+
837
+ CreateBulkImportJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "jobId"))
838
+ CreateBulkImportJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "jobName"))
839
+ CreateBulkImportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "jobStatus"))
840
+ CreateBulkImportJobResponse.struct_class = Types::CreateBulkImportJobResponse
841
+
805
842
  CreateDashboardRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "projectId"))
806
843
  CreateDashboardRequest.add_member(:dashboard_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "dashboardName"))
807
844
  CreateDashboardRequest.add_member(:dashboard_description, Shapes::ShapeRef.new(shape: Description, location_name: "dashboardDescription"))
@@ -853,6 +890,9 @@ module Aws::IoTSiteWise
853
890
  CreateProjectResponse.add_member(:project_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "projectArn"))
854
891
  CreateProjectResponse.struct_class = Types::CreateProjectResponse
855
892
 
893
+ Csv.add_member(:column_names, Shapes::ShapeRef.new(shape: ColumnNames, location_name: "columnNames"))
894
+ Csv.struct_class = Types::Csv
895
+
856
896
  CustomerManagedS3Storage.add_member(:s3_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "s3ResourceArn"))
857
897
  CustomerManagedS3Storage.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "roleArn"))
858
898
  CustomerManagedS3Storage.struct_class = Types::CustomerManagedS3Storage
@@ -965,8 +1005,23 @@ module Aws::IoTSiteWise
965
1005
  DescribeAssetResponse.add_member(:asset_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetCreationDate"))
966
1006
  DescribeAssetResponse.add_member(:asset_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetLastUpdateDate"))
967
1007
  DescribeAssetResponse.add_member(:asset_status, Shapes::ShapeRef.new(shape: AssetStatus, required: true, location_name: "assetStatus"))
1008
+ DescribeAssetResponse.add_member(:asset_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetDescription"))
968
1009
  DescribeAssetResponse.struct_class = Types::DescribeAssetResponse
969
1010
 
1011
+ DescribeBulkImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "jobId"))
1012
+ DescribeBulkImportJobRequest.struct_class = Types::DescribeBulkImportJobRequest
1013
+
1014
+ DescribeBulkImportJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "jobId"))
1015
+ DescribeBulkImportJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "jobName"))
1016
+ DescribeBulkImportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "jobStatus"))
1017
+ DescribeBulkImportJobResponse.add_member(:job_role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "jobRoleArn"))
1018
+ DescribeBulkImportJobResponse.add_member(:files, Shapes::ShapeRef.new(shape: Files, required: true, location_name: "files"))
1019
+ DescribeBulkImportJobResponse.add_member(:error_report_location, Shapes::ShapeRef.new(shape: ErrorReportLocation, required: true, location_name: "errorReportLocation"))
1020
+ DescribeBulkImportJobResponse.add_member(:job_configuration, Shapes::ShapeRef.new(shape: JobConfiguration, required: true, location_name: "jobConfiguration"))
1021
+ DescribeBulkImportJobResponse.add_member(:job_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "jobCreationDate"))
1022
+ DescribeBulkImportJobResponse.add_member(:job_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "jobLastUpdateDate"))
1023
+ DescribeBulkImportJobResponse.struct_class = Types::DescribeBulkImportJobResponse
1024
+
970
1025
  DescribeDashboardRequest.add_member(:dashboard_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "dashboardId"))
971
1026
  DescribeDashboardRequest.struct_class = Types::DescribeDashboardRequest
972
1027
 
@@ -1094,12 +1149,26 @@ module Aws::IoTSiteWise
1094
1149
  ErrorDetails.add_member(:details, Shapes::ShapeRef.new(shape: DetailedErrors, location_name: "details"))
1095
1150
  ErrorDetails.struct_class = Types::ErrorDetails
1096
1151
 
1152
+ ErrorReportLocation.add_member(:bucket, Shapes::ShapeRef.new(shape: Bucket, required: true, location_name: "bucket"))
1153
+ ErrorReportLocation.add_member(:prefix, Shapes::ShapeRef.new(shape: String, required: true, location_name: "prefix"))
1154
+ ErrorReportLocation.struct_class = Types::ErrorReportLocation
1155
+
1097
1156
  ExpressionVariable.add_member(:name, Shapes::ShapeRef.new(shape: VariableName, required: true, location_name: "name"))
1098
1157
  ExpressionVariable.add_member(:value, Shapes::ShapeRef.new(shape: VariableValue, required: true, location_name: "value"))
1099
1158
  ExpressionVariable.struct_class = Types::ExpressionVariable
1100
1159
 
1101
1160
  ExpressionVariables.member = Shapes::ShapeRef.new(shape: ExpressionVariable)
1102
1161
 
1162
+ File.add_member(:bucket, Shapes::ShapeRef.new(shape: Bucket, required: true, location_name: "bucket"))
1163
+ File.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
1164
+ File.add_member(:version_id, Shapes::ShapeRef.new(shape: String, location_name: "versionId"))
1165
+ File.struct_class = Types::File
1166
+
1167
+ FileFormat.add_member(:csv, Shapes::ShapeRef.new(shape: Csv, location_name: "csv"))
1168
+ FileFormat.struct_class = Types::FileFormat
1169
+
1170
+ Files.member = Shapes::ShapeRef.new(shape: File)
1171
+
1103
1172
  ForwardingConfig.add_member(:state, Shapes::ShapeRef.new(shape: ForwardingConfigState, required: true, location_name: "state"))
1104
1173
  ForwardingConfig.struct_class = Types::ForwardingConfig
1105
1174
 
@@ -1229,6 +1298,16 @@ module Aws::IoTSiteWise
1229
1298
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
1230
1299
  InvalidRequestException.struct_class = Types::InvalidRequestException
1231
1300
 
1301
+ JobConfiguration.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, required: true, location_name: "fileFormat"))
1302
+ JobConfiguration.struct_class = Types::JobConfiguration
1303
+
1304
+ JobSummaries.member = Shapes::ShapeRef.new(shape: JobSummary)
1305
+
1306
+ JobSummary.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
1307
+ JobSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
1308
+ JobSummary.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "status"))
1309
+ JobSummary.struct_class = Types::JobSummary
1310
+
1232
1311
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
1233
1312
  LimitExceededException.struct_class = Types::LimitExceededException
1234
1313
 
@@ -1284,6 +1363,15 @@ module Aws::IoTSiteWise
1284
1363
  ListAssociatedAssetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1285
1364
  ListAssociatedAssetsResponse.struct_class = Types::ListAssociatedAssetsResponse
1286
1365
 
1366
+ ListBulkImportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1367
+ ListBulkImportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1368
+ ListBulkImportJobsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ListBulkImportJobsFilter, location: "querystring", location_name: "filter"))
1369
+ ListBulkImportJobsRequest.struct_class = Types::ListBulkImportJobsRequest
1370
+
1371
+ ListBulkImportJobsResponse.add_member(:job_summaries, Shapes::ShapeRef.new(shape: JobSummaries, required: true, location_name: "jobSummaries"))
1372
+ ListBulkImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1373
+ ListBulkImportJobsResponse.struct_class = Types::ListBulkImportJobsResponse
1374
+
1287
1375
  ListDashboardsRequest.add_member(:project_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "querystring", location_name: "projectId"))
1288
1376
  ListDashboardsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1289
1377
  ListDashboardsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -1568,6 +1656,7 @@ module Aws::IoTSiteWise
1568
1656
  UpdateAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
1569
1657
  UpdateAssetRequest.add_member(:asset_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetName"))
1570
1658
  UpdateAssetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1659
+ UpdateAssetRequest.add_member(:asset_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetDescription"))
1571
1660
  UpdateAssetRequest.struct_class = Types::UpdateAssetRequest
1572
1661
 
1573
1662
  UpdateAssetResponse.add_member(:asset_status, Shapes::ShapeRef.new(shape: AssetStatus, required: true, location_name: "assetStatus"))
@@ -1658,6 +1747,7 @@ module Aws::IoTSiteWise
1658
1747
  o.input = Shapes::ShapeRef.new(shape: AssociateAssetsRequest)
1659
1748
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1660
1749
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1750
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1661
1751
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1662
1752
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1663
1753
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
@@ -1844,6 +1934,24 @@ module Aws::IoTSiteWise
1844
1934
  o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
1845
1935
  end)
1846
1936
 
1937
+ api.add_operation(:create_bulk_import_job, Seahorse::Model::Operation.new.tap do |o|
1938
+ o.name = "CreateBulkImportJob"
1939
+ o.http_method = "POST"
1940
+ o.http_request_uri = "/jobs"
1941
+ o.endpoint_pattern = {
1942
+ "hostPrefix" => "data.",
1943
+ }
1944
+ o.input = Shapes::ShapeRef.new(shape: CreateBulkImportJobRequest)
1945
+ o.output = Shapes::ShapeRef.new(shape: CreateBulkImportJobResponse)
1946
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1947
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1948
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1949
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1950
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1951
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1952
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
1953
+ end)
1954
+
1847
1955
  api.add_operation(:create_dashboard, Seahorse::Model::Operation.new.tap do |o|
1848
1956
  o.name = "CreateDashboard"
1849
1957
  o.http_method = "POST"
@@ -2092,6 +2200,21 @@ module Aws::IoTSiteWise
2092
2200
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2093
2201
  end)
2094
2202
 
2203
+ api.add_operation(:describe_bulk_import_job, Seahorse::Model::Operation.new.tap do |o|
2204
+ o.name = "DescribeBulkImportJob"
2205
+ o.http_method = "GET"
2206
+ o.http_request_uri = "/jobs/{jobId}"
2207
+ o.endpoint_pattern = {
2208
+ "hostPrefix" => "data.",
2209
+ }
2210
+ o.input = Shapes::ShapeRef.new(shape: DescribeBulkImportJobRequest)
2211
+ o.output = Shapes::ShapeRef.new(shape: DescribeBulkImportJobResponse)
2212
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2213
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2214
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2215
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2216
+ end)
2217
+
2095
2218
  api.add_operation(:describe_dashboard, Seahorse::Model::Operation.new.tap do |o|
2096
2219
  o.name = "DescribeDashboard"
2097
2220
  o.http_method = "GET"
@@ -2445,6 +2568,27 @@ module Aws::IoTSiteWise
2445
2568
  )
2446
2569
  end)
2447
2570
 
2571
+ api.add_operation(:list_bulk_import_jobs, Seahorse::Model::Operation.new.tap do |o|
2572
+ o.name = "ListBulkImportJobs"
2573
+ o.http_method = "GET"
2574
+ o.http_request_uri = "/jobs"
2575
+ o.endpoint_pattern = {
2576
+ "hostPrefix" => "data.",
2577
+ }
2578
+ o.input = Shapes::ShapeRef.new(shape: ListBulkImportJobsRequest)
2579
+ o.output = Shapes::ShapeRef.new(shape: ListBulkImportJobsResponse)
2580
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2581
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2582
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2583
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2584
+ o[:pager] = Aws::Pager.new(
2585
+ limit_key: "max_results",
2586
+ tokens: {
2587
+ "next_token" => "next_token"
2588
+ }
2589
+ )
2590
+ end)
2591
+
2448
2592
  api.add_operation(:list_dashboards, Seahorse::Model::Operation.new.tap do |o|
2449
2593
  o.name = "ListDashboards"
2450
2594
  o.http_method = "GET"
@@ -982,6 +982,10 @@ module Aws::IoTSiteWise
982
982
  # hierarchy specifies allowed parent/child asset relationships.
983
983
  # @return [Array<Types::AssetHierarchy>]
984
984
  #
985
+ # @!attribute [rw] description
986
+ # A description for the asset.
987
+ # @return [String]
988
+ #
985
989
  class AssetSummary < Struct.new(
986
990
  :id,
987
991
  :arn,
@@ -990,7 +994,8 @@ module Aws::IoTSiteWise
990
994
  :creation_date,
991
995
  :last_update_date,
992
996
  :status,
993
- :hierarchies)
997
+ :hierarchies,
998
+ :description)
994
999
  SENSITIVE = []
995
1000
  include Aws::Structure
996
1001
  end
@@ -1123,6 +1128,10 @@ module Aws::IoTSiteWise
1123
1128
  # hierarchy specifies allowed parent/child asset relationships.
1124
1129
  # @return [Array<Types::AssetHierarchy>]
1125
1130
  #
1131
+ # @!attribute [rw] description
1132
+ # A description for the asset.
1133
+ # @return [String]
1134
+ #
1126
1135
  class AssociatedAssetsSummary < Struct.new(
1127
1136
  :id,
1128
1137
  :arn,
@@ -1131,7 +1140,8 @@ module Aws::IoTSiteWise
1131
1140
  :creation_date,
1132
1141
  :last_update_date,
1133
1142
  :status,
1134
- :hierarchies)
1143
+ :hierarchies,
1144
+ :description)
1135
1145
  SENSITIVE = []
1136
1146
  include Aws::Structure
1137
1147
  end
@@ -2550,6 +2560,7 @@ module Aws::IoTSiteWise
2550
2560
  # tags: {
2551
2561
  # "TagKey" => "TagValue",
2552
2562
  # },
2563
+ # asset_description: "Description",
2553
2564
  # }
2554
2565
  #
2555
2566
  # @!attribute [rw] asset_name
@@ -2579,11 +2590,16 @@ module Aws::IoTSiteWise
2579
2590
  # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html
2580
2591
  # @return [Hash<String,String>]
2581
2592
  #
2593
+ # @!attribute [rw] asset_description
2594
+ # A description for the asset.
2595
+ # @return [String]
2596
+ #
2582
2597
  class CreateAssetRequest < Struct.new(
2583
2598
  :asset_name,
2584
2599
  :asset_model_id,
2585
2600
  :client_token,
2586
- :tags)
2601
+ :tags,
2602
+ :asset_description)
2587
2603
  SENSITIVE = []
2588
2604
  include Aws::Structure
2589
2605
  end
@@ -2616,6 +2632,109 @@ module Aws::IoTSiteWise
2616
2632
  include Aws::Structure
2617
2633
  end
2618
2634
 
2635
+ # @note When making an API call, you may pass CreateBulkImportJobRequest
2636
+ # data as a hash:
2637
+ #
2638
+ # {
2639
+ # job_name: "Name", # required
2640
+ # job_role_arn: "ARN", # required
2641
+ # files: [ # required
2642
+ # {
2643
+ # bucket: "Bucket", # required
2644
+ # key: "String", # required
2645
+ # version_id: "String",
2646
+ # },
2647
+ # ],
2648
+ # error_report_location: { # required
2649
+ # bucket: "Bucket", # required
2650
+ # prefix: "String", # required
2651
+ # },
2652
+ # job_configuration: { # required
2653
+ # file_format: { # required
2654
+ # csv: {
2655
+ # column_names: ["ALIAS"], # accepts ALIAS, ASSET_ID, PROPERTY_ID, DATA_TYPE, TIMESTAMP_SECONDS, TIMESTAMP_NANO_OFFSET, QUALITY, VALUE
2656
+ # },
2657
+ # },
2658
+ # },
2659
+ # }
2660
+ #
2661
+ # @!attribute [rw] job_name
2662
+ # The unique name that helps identify the job request.
2663
+ # @return [String]
2664
+ #
2665
+ # @!attribute [rw] job_role_arn
2666
+ # The [ARN][1] of the IAM role that allows IoT SiteWise to read Amazon
2667
+ # S3 data.
2668
+ #
2669
+ #
2670
+ #
2671
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2672
+ # @return [String]
2673
+ #
2674
+ # @!attribute [rw] files
2675
+ # The files in the specified Amazon S3 bucket that contain your data.
2676
+ # @return [Array<Types::File>]
2677
+ #
2678
+ # @!attribute [rw] error_report_location
2679
+ # The Amazon S3 destination where errors associated with the job
2680
+ # creation request are saved.
2681
+ # @return [Types::ErrorReportLocation]
2682
+ #
2683
+ # @!attribute [rw] job_configuration
2684
+ # Contains the configuration information of a job, such as the file
2685
+ # format used to save data in Amazon S3.
2686
+ # @return [Types::JobConfiguration]
2687
+ #
2688
+ class CreateBulkImportJobRequest < Struct.new(
2689
+ :job_name,
2690
+ :job_role_arn,
2691
+ :files,
2692
+ :error_report_location,
2693
+ :job_configuration)
2694
+ SENSITIVE = []
2695
+ include Aws::Structure
2696
+ end
2697
+
2698
+ # @!attribute [rw] job_id
2699
+ # The ID of the job.
2700
+ # @return [String]
2701
+ #
2702
+ # @!attribute [rw] job_name
2703
+ # The unique name that helps identify the job request.
2704
+ # @return [String]
2705
+ #
2706
+ # @!attribute [rw] job_status
2707
+ # The status of the bulk import job can be one of following values.
2708
+ #
2709
+ # * `PENDING` – IoT SiteWise is waiting for the current bulk import
2710
+ # job to finish.
2711
+ #
2712
+ # * `CANCELLED` – The bulk import job has been canceled.
2713
+ #
2714
+ # * `RUNNING` – IoT SiteWise is processing your request to import your
2715
+ # data from Amazon S3.
2716
+ #
2717
+ # * `COMPLETED` – IoT SiteWise successfully completed your request to
2718
+ # import data from Amazon S3.
2719
+ #
2720
+ # * `FAILED` – IoT SiteWise couldn't process your request to import
2721
+ # data from Amazon S3. You can use logs saved in the specified error
2722
+ # report location in Amazon S3 to troubleshoot issues.
2723
+ #
2724
+ # * `COMPLETED_WITH_FAILURES` – IoT SiteWise completed your request to
2725
+ # import data from Amazon S3 with errors. You can use logs saved in
2726
+ # the specified error report location in Amazon S3 to troubleshoot
2727
+ # issues.
2728
+ # @return [String]
2729
+ #
2730
+ class CreateBulkImportJobResponse < Struct.new(
2731
+ :job_id,
2732
+ :job_name,
2733
+ :job_status)
2734
+ SENSITIVE = []
2735
+ include Aws::Structure
2736
+ end
2737
+
2619
2738
  # @note When making an API call, you may pass CreateDashboardRequest
2620
2739
  # data as a hash:
2621
2740
  #
@@ -3022,6 +3141,25 @@ module Aws::IoTSiteWise
3022
3141
  include Aws::Structure
3023
3142
  end
3024
3143
 
3144
+ # A .csv file.
3145
+ #
3146
+ # @note When making an API call, you may pass Csv
3147
+ # data as a hash:
3148
+ #
3149
+ # {
3150
+ # column_names: ["ALIAS"], # accepts ALIAS, ASSET_ID, PROPERTY_ID, DATA_TYPE, TIMESTAMP_SECONDS, TIMESTAMP_NANO_OFFSET, QUALITY, VALUE
3151
+ # }
3152
+ #
3153
+ # @!attribute [rw] column_names
3154
+ # The column names specified in the .csv file.
3155
+ # @return [Array<String>]
3156
+ #
3157
+ class Csv < Struct.new(
3158
+ :column_names)
3159
+ SENSITIVE = []
3160
+ include Aws::Structure
3161
+ end
3162
+
3025
3163
  # Contains information about a customer managed Amazon S3 bucket.
3026
3164
  #
3027
3165
  # @note When making an API call, you may pass CustomerManagedS3Storage
@@ -3634,6 +3772,10 @@ module Aws::IoTSiteWise
3634
3772
  # error message.
3635
3773
  # @return [Types::AssetStatus]
3636
3774
  #
3775
+ # @!attribute [rw] asset_description
3776
+ # A description for the asset.
3777
+ # @return [String]
3778
+ #
3637
3779
  class DescribeAssetResponse < Struct.new(
3638
3780
  :asset_id,
3639
3781
  :asset_arn,
@@ -3644,7 +3786,102 @@ module Aws::IoTSiteWise
3644
3786
  :asset_composite_models,
3645
3787
  :asset_creation_date,
3646
3788
  :asset_last_update_date,
3647
- :asset_status)
3789
+ :asset_status,
3790
+ :asset_description)
3791
+ SENSITIVE = []
3792
+ include Aws::Structure
3793
+ end
3794
+
3795
+ # @note When making an API call, you may pass DescribeBulkImportJobRequest
3796
+ # data as a hash:
3797
+ #
3798
+ # {
3799
+ # job_id: "ID", # required
3800
+ # }
3801
+ #
3802
+ # @!attribute [rw] job_id
3803
+ # The ID of the job.
3804
+ # @return [String]
3805
+ #
3806
+ class DescribeBulkImportJobRequest < Struct.new(
3807
+ :job_id)
3808
+ SENSITIVE = []
3809
+ include Aws::Structure
3810
+ end
3811
+
3812
+ # @!attribute [rw] job_id
3813
+ # The ID of the job.
3814
+ # @return [String]
3815
+ #
3816
+ # @!attribute [rw] job_name
3817
+ # The unique name that helps identify the job request.
3818
+ # @return [String]
3819
+ #
3820
+ # @!attribute [rw] job_status
3821
+ # The status of the bulk import job can be one of following values.
3822
+ #
3823
+ # * `PENDING` – IoT SiteWise is waiting for the current bulk import
3824
+ # job to finish.
3825
+ #
3826
+ # * `CANCELLED` – The bulk import job has been canceled.
3827
+ #
3828
+ # * `RUNNING` – IoT SiteWise is processing your request to import your
3829
+ # data from Amazon S3.
3830
+ #
3831
+ # * `COMPLETED` – IoT SiteWise successfully completed your request to
3832
+ # import data from Amazon S3.
3833
+ #
3834
+ # * `FAILED` – IoT SiteWise couldn't process your request to import
3835
+ # data from Amazon S3. You can use logs saved in the specified error
3836
+ # report location in Amazon S3 to troubleshoot issues.
3837
+ #
3838
+ # * `COMPLETED_WITH_FAILURES` – IoT SiteWise completed your request to
3839
+ # import data from Amazon S3 with errors. You can use logs saved in
3840
+ # the specified error report location in Amazon S3 to troubleshoot
3841
+ # issues.
3842
+ # @return [String]
3843
+ #
3844
+ # @!attribute [rw] job_role_arn
3845
+ # The [ARN][1] of the IAM role that allows IoT SiteWise to read Amazon
3846
+ # S3 data.
3847
+ #
3848
+ #
3849
+ #
3850
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3851
+ # @return [String]
3852
+ #
3853
+ # @!attribute [rw] files
3854
+ # The files in the specified Amazon S3 bucket that contain your data.
3855
+ # @return [Array<Types::File>]
3856
+ #
3857
+ # @!attribute [rw] error_report_location
3858
+ # The Amazon S3 destination where errors associated with the job
3859
+ # creation request are saved.
3860
+ # @return [Types::ErrorReportLocation]
3861
+ #
3862
+ # @!attribute [rw] job_configuration
3863
+ # Contains the configuration information of a job, such as the file
3864
+ # format used to save data in Amazon S3.
3865
+ # @return [Types::JobConfiguration]
3866
+ #
3867
+ # @!attribute [rw] job_creation_date
3868
+ # The date the job was created, in Unix epoch TIME.
3869
+ # @return [Time]
3870
+ #
3871
+ # @!attribute [rw] job_last_update_date
3872
+ # The date the job was last updated, in Unix epoch time.
3873
+ # @return [Time]
3874
+ #
3875
+ class DescribeBulkImportJobResponse < Struct.new(
3876
+ :job_id,
3877
+ :job_name,
3878
+ :job_status,
3879
+ :job_role_arn,
3880
+ :files,
3881
+ :error_report_location,
3882
+ :job_configuration,
3883
+ :job_creation_date,
3884
+ :job_last_update_date)
3648
3885
  SENSITIVE = []
3649
3886
  include Aws::Structure
3650
3887
  end
@@ -4093,7 +4330,7 @@ module Aws::IoTSiteWise
4093
4330
  # hot tier. The hot tier is a service-managed database.
4094
4331
  #
4095
4332
  # * `MULTI_LAYER_STORAGE` – IoT SiteWise saves your data in both the
4096
- # cold tier and the cold tier. The cold tier is a customer-managed
4333
+ # cold tier and the hot tier. The cold tier is a customer-managed
4097
4334
  # Amazon S3 bucket.
4098
4335
  # @return [String]
4099
4336
  #
@@ -4359,6 +4596,42 @@ module Aws::IoTSiteWise
4359
4596
  include Aws::Structure
4360
4597
  end
4361
4598
 
4599
+ # The Amazon S3 destination where errors associated with the job
4600
+ # creation request are saved.
4601
+ #
4602
+ # @note When making an API call, you may pass ErrorReportLocation
4603
+ # data as a hash:
4604
+ #
4605
+ # {
4606
+ # bucket: "Bucket", # required
4607
+ # prefix: "String", # required
4608
+ # }
4609
+ #
4610
+ # @!attribute [rw] bucket
4611
+ # The name of the Amazon S3 bucket to which errors associated with the
4612
+ # bulk import job are sent.
4613
+ # @return [String]
4614
+ #
4615
+ # @!attribute [rw] prefix
4616
+ # Amazon S3 uses the prefix as a folder name to organize data in the
4617
+ # bucket. Each Amazon S3 object has a key that is its unique
4618
+ # identifier in the bucket. Each object in a bucket has exactly one
4619
+ # key. The prefix must end with a forward slash (/). For more
4620
+ # information, see [Organizing objects using prefixes][1] in the
4621
+ # *Amazon Simple Storage Service User Guide*.
4622
+ #
4623
+ #
4624
+ #
4625
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html
4626
+ # @return [String]
4627
+ #
4628
+ class ErrorReportLocation < Struct.new(
4629
+ :bucket,
4630
+ :prefix)
4631
+ SENSITIVE = []
4632
+ include Aws::Structure
4633
+ end
4634
+
4362
4635
  # Contains expression variable information.
4363
4636
  #
4364
4637
  # @note When making an API call, you may pass ExpressionVariable
@@ -4388,6 +4661,61 @@ module Aws::IoTSiteWise
4388
4661
  include Aws::Structure
4389
4662
  end
4390
4663
 
4664
+ # The file in Amazon S3 where your data is saved.
4665
+ #
4666
+ # @note When making an API call, you may pass File
4667
+ # data as a hash:
4668
+ #
4669
+ # {
4670
+ # bucket: "Bucket", # required
4671
+ # key: "String", # required
4672
+ # version_id: "String",
4673
+ # }
4674
+ #
4675
+ # @!attribute [rw] bucket
4676
+ # The name of the Amazon S3 bucket from which data is imported.
4677
+ # @return [String]
4678
+ #
4679
+ # @!attribute [rw] key
4680
+ # The key of the Amazon S3 object that contains your data. Each object
4681
+ # has a key that is a unique identifier. Each object has exactly one
4682
+ # key.
4683
+ # @return [String]
4684
+ #
4685
+ # @!attribute [rw] version_id
4686
+ # The version ID to identify a specific version of the Amazon S3
4687
+ # object that contains your data.
4688
+ # @return [String]
4689
+ #
4690
+ class File < Struct.new(
4691
+ :bucket,
4692
+ :key,
4693
+ :version_id)
4694
+ SENSITIVE = []
4695
+ include Aws::Structure
4696
+ end
4697
+
4698
+ # The file format of the data.
4699
+ #
4700
+ # @note When making an API call, you may pass FileFormat
4701
+ # data as a hash:
4702
+ #
4703
+ # {
4704
+ # csv: {
4705
+ # column_names: ["ALIAS"], # accepts ALIAS, ASSET_ID, PROPERTY_ID, DATA_TYPE, TIMESTAMP_SECONDS, TIMESTAMP_NANO_OFFSET, QUALITY, VALUE
4706
+ # },
4707
+ # }
4708
+ #
4709
+ # @!attribute [rw] csv
4710
+ # The .csv file format.
4711
+ # @return [Types::Csv]
4712
+ #
4713
+ class FileFormat < Struct.new(
4714
+ :csv)
4715
+ SENSITIVE = []
4716
+ include Aws::Structure
4717
+ end
4718
+
4391
4719
  # The forwarding configuration for a given property.
4392
4720
  #
4393
4721
  # @note When making an API call, you may pass ForwardingConfig
@@ -5250,6 +5578,72 @@ module Aws::IoTSiteWise
5250
5578
  include Aws::Structure
5251
5579
  end
5252
5580
 
5581
+ # Contains the configuration information of a job, such as the file
5582
+ # format used to save data in Amazon S3.
5583
+ #
5584
+ # @note When making an API call, you may pass JobConfiguration
5585
+ # data as a hash:
5586
+ #
5587
+ # {
5588
+ # file_format: { # required
5589
+ # csv: {
5590
+ # column_names: ["ALIAS"], # accepts ALIAS, ASSET_ID, PROPERTY_ID, DATA_TYPE, TIMESTAMP_SECONDS, TIMESTAMP_NANO_OFFSET, QUALITY, VALUE
5591
+ # },
5592
+ # },
5593
+ # }
5594
+ #
5595
+ # @!attribute [rw] file_format
5596
+ # The file format of the data in Amazon S3.
5597
+ # @return [Types::FileFormat]
5598
+ #
5599
+ class JobConfiguration < Struct.new(
5600
+ :file_format)
5601
+ SENSITIVE = []
5602
+ include Aws::Structure
5603
+ end
5604
+
5605
+ # Contains a job summary information.
5606
+ #
5607
+ # @!attribute [rw] id
5608
+ # The ID of the job.
5609
+ # @return [String]
5610
+ #
5611
+ # @!attribute [rw] name
5612
+ # The unique name that helps identify the job request.
5613
+ # @return [String]
5614
+ #
5615
+ # @!attribute [rw] status
5616
+ # The status of the bulk import job can be one of following values.
5617
+ #
5618
+ # * `PENDING` – IoT SiteWise is waiting for the current bulk import
5619
+ # job to finish.
5620
+ #
5621
+ # * `CANCELLED` – The bulk import job has been canceled.
5622
+ #
5623
+ # * `RUNNING` – IoT SiteWise is processing your request to import your
5624
+ # data from Amazon S3.
5625
+ #
5626
+ # * `COMPLETED` – IoT SiteWise successfully completed your request to
5627
+ # import data from Amazon S3.
5628
+ #
5629
+ # * `FAILED` – IoT SiteWise couldn't process your request to import
5630
+ # data from Amazon S3. You can use logs saved in the specified error
5631
+ # report location in Amazon S3 to troubleshoot issues.
5632
+ #
5633
+ # * `COMPLETED_WITH_FAILURES` – IoT SiteWise completed your request to
5634
+ # import data from Amazon S3 with errors. You can use logs saved in
5635
+ # the specified error report location in Amazon S3 to troubleshoot
5636
+ # issues.
5637
+ # @return [String]
5638
+ #
5639
+ class JobSummary < Struct.new(
5640
+ :id,
5641
+ :name,
5642
+ :status)
5643
+ SENSITIVE = []
5644
+ include Aws::Structure
5645
+ end
5646
+
5253
5647
  # You've reached the limit for a resource. For example, this can occur
5254
5648
  # if you're trying to associate more than the allowed number of child
5255
5649
  # assets or attempting to create more than the allowed number of
@@ -5596,6 +5990,52 @@ module Aws::IoTSiteWise
5596
5990
  include Aws::Structure
5597
5991
  end
5598
5992
 
5993
+ # @note When making an API call, you may pass ListBulkImportJobsRequest
5994
+ # data as a hash:
5995
+ #
5996
+ # {
5997
+ # next_token: "NextToken",
5998
+ # max_results: 1,
5999
+ # filter: "ALL", # accepts ALL, PENDING, RUNNING, CANCELLED, FAILED, COMPLETED_WITH_FAILURES, COMPLETED
6000
+ # }
6001
+ #
6002
+ # @!attribute [rw] next_token
6003
+ # The token to be used for the next set of paginated results.
6004
+ # @return [String]
6005
+ #
6006
+ # @!attribute [rw] max_results
6007
+ # The maximum number of results to return for each paginated request.
6008
+ # @return [Integer]
6009
+ #
6010
+ # @!attribute [rw] filter
6011
+ # You can use a filter to select the bulk import jobs that you want to
6012
+ # retrieve.
6013
+ # @return [String]
6014
+ #
6015
+ class ListBulkImportJobsRequest < Struct.new(
6016
+ :next_token,
6017
+ :max_results,
6018
+ :filter)
6019
+ SENSITIVE = []
6020
+ include Aws::Structure
6021
+ end
6022
+
6023
+ # @!attribute [rw] job_summaries
6024
+ # One or more job summaries to list.
6025
+ # @return [Array<Types::JobSummary>]
6026
+ #
6027
+ # @!attribute [rw] next_token
6028
+ # The token for the next set of results, or null if there are no
6029
+ # additional results.
6030
+ # @return [String]
6031
+ #
6032
+ class ListBulkImportJobsResponse < Struct.new(
6033
+ :job_summaries,
6034
+ :next_token)
6035
+ SENSITIVE = []
6036
+ include Aws::Structure
6037
+ end
6038
+
5599
6039
  # @note When making an API call, you may pass ListDashboardsRequest
5600
6040
  # data as a hash:
5601
6041
  #
@@ -6649,7 +7089,7 @@ module Aws::IoTSiteWise
6649
7089
  # hot tier. The hot tier is a service-managed database.
6650
7090
  #
6651
7091
  # * `MULTI_LAYER_STORAGE` – IoT SiteWise saves your data in both the
6652
- # cold tier and the cold tier. The cold tier is a customer-managed
7092
+ # cold tier and the hot tier. The cold tier is a customer-managed
6653
7093
  # Amazon S3 bucket.
6654
7094
  # @return [String]
6655
7095
  #
@@ -6703,7 +7143,7 @@ module Aws::IoTSiteWise
6703
7143
  # hot tier. The hot tier is a service-managed database.
6704
7144
  #
6705
7145
  # * `MULTI_LAYER_STORAGE` – IoT SiteWise saves your data in both the
6706
- # cold tier and the cold tier. The cold tier is a customer-managed
7146
+ # cold tier and the hot tier. The cold tier is a customer-managed
6707
7147
  # Amazon S3 bucket.
6708
7148
  # @return [String]
6709
7149
  #
@@ -7628,6 +8068,7 @@ module Aws::IoTSiteWise
7628
8068
  # asset_id: "ID", # required
7629
8069
  # asset_name: "Name", # required
7630
8070
  # client_token: "ClientToken",
8071
+ # asset_description: "Description",
7631
8072
  # }
7632
8073
  #
7633
8074
  # @!attribute [rw] asset_id
@@ -7647,10 +8088,15 @@ module Aws::IoTSiteWise
7647
8088
  # not need to pass this option.
7648
8089
  # @return [String]
7649
8090
  #
8091
+ # @!attribute [rw] asset_description
8092
+ # A description for the asset.
8093
+ # @return [String]
8094
+ #
7650
8095
  class UpdateAssetRequest < Struct.new(
7651
8096
  :asset_id,
7652
8097
  :asset_name,
7653
- :client_token)
8098
+ :client_token,
8099
+ :asset_description)
7654
8100
  SENSITIVE = []
7655
8101
  include Aws::Structure
7656
8102
  end
@@ -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.41.0'
52
+ GEM_VERSION = '1.44.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.41.0
4
+ version: 1.44.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: 2022-04-21 00:00:00.000000000 Z
11
+ date: 2022-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core