aws-sdk-iotsitewise 1.14.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,12 +23,19 @@ module Aws::IoTSiteWise
23
23
  AggregatedValues = Shapes::ListShape.new(name: 'AggregatedValues')
24
24
  Aggregates = Shapes::StructureShape.new(name: 'Aggregates')
25
25
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
26
+ AssetCompositeModel = Shapes::StructureShape.new(name: 'AssetCompositeModel')
27
+ AssetCompositeModels = Shapes::ListShape.new(name: 'AssetCompositeModels')
26
28
  AssetErrorCode = Shapes::StringShape.new(name: 'AssetErrorCode')
27
29
  AssetErrorDetails = Shapes::StructureShape.new(name: 'AssetErrorDetails')
28
30
  AssetErrorMessage = Shapes::StringShape.new(name: 'AssetErrorMessage')
29
31
  AssetHierarchies = Shapes::ListShape.new(name: 'AssetHierarchies')
30
32
  AssetHierarchy = Shapes::StructureShape.new(name: 'AssetHierarchy')
33
+ AssetHierarchyInfo = Shapes::StructureShape.new(name: 'AssetHierarchyInfo')
31
34
  AssetIDs = Shapes::ListShape.new(name: 'AssetIDs')
35
+ AssetModelCompositeModel = Shapes::StructureShape.new(name: 'AssetModelCompositeModel')
36
+ AssetModelCompositeModelDefinition = Shapes::StructureShape.new(name: 'AssetModelCompositeModelDefinition')
37
+ AssetModelCompositeModelDefinitions = Shapes::ListShape.new(name: 'AssetModelCompositeModelDefinitions')
38
+ AssetModelCompositeModels = Shapes::ListShape.new(name: 'AssetModelCompositeModels')
32
39
  AssetModelHierarchies = Shapes::ListShape.new(name: 'AssetModelHierarchies')
33
40
  AssetModelHierarchy = Shapes::StructureShape.new(name: 'AssetModelHierarchy')
34
41
  AssetModelHierarchyDefinition = Shapes::StructureShape.new(name: 'AssetModelHierarchyDefinition')
@@ -47,6 +54,9 @@ module Aws::IoTSiteWise
47
54
  AssetPropertyValue = Shapes::StructureShape.new(name: 'AssetPropertyValue')
48
55
  AssetPropertyValueHistory = Shapes::ListShape.new(name: 'AssetPropertyValueHistory')
49
56
  AssetPropertyValues = Shapes::ListShape.new(name: 'AssetPropertyValues')
57
+ AssetRelationshipSummaries = Shapes::ListShape.new(name: 'AssetRelationshipSummaries')
58
+ AssetRelationshipSummary = Shapes::StructureShape.new(name: 'AssetRelationshipSummary')
59
+ AssetRelationshipType = Shapes::StringShape.new(name: 'AssetRelationshipType')
50
60
  AssetState = Shapes::StringShape.new(name: 'AssetState')
51
61
  AssetStatus = Shapes::StructureShape.new(name: 'AssetStatus')
52
62
  AssetSummaries = Shapes::ListShape.new(name: 'AssetSummaries')
@@ -73,6 +83,10 @@ module Aws::IoTSiteWise
73
83
  CapabilityNamespace = Shapes::StringShape.new(name: 'CapabilityNamespace')
74
84
  CapabilitySyncStatus = Shapes::StringShape.new(name: 'CapabilitySyncStatus')
75
85
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
86
+ CompositeModelProperty = Shapes::StructureShape.new(name: 'CompositeModelProperty')
87
+ ConfigurationErrorDetails = Shapes::StructureShape.new(name: 'ConfigurationErrorDetails')
88
+ ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
89
+ ConfigurationStatus = Shapes::StructureShape.new(name: 'ConfigurationStatus')
76
90
  ConflictingOperationException = Shapes::StructureShape.new(name: 'ConflictingOperationException')
77
91
  CreateAccessPolicyRequest = Shapes::StructureShape.new(name: 'CreateAccessPolicyRequest')
78
92
  CreateAccessPolicyResponse = Shapes::StructureShape.new(name: 'CreateAccessPolicyResponse')
@@ -86,8 +100,6 @@ module Aws::IoTSiteWise
86
100
  CreateGatewayResponse = Shapes::StructureShape.new(name: 'CreateGatewayResponse')
87
101
  CreatePortalRequest = Shapes::StructureShape.new(name: 'CreatePortalRequest')
88
102
  CreatePortalResponse = Shapes::StructureShape.new(name: 'CreatePortalResponse')
89
- CreatePresignedPortalUrlRequest = Shapes::StructureShape.new(name: 'CreatePresignedPortalUrlRequest')
90
- CreatePresignedPortalUrlResponse = Shapes::StructureShape.new(name: 'CreatePresignedPortalUrlResponse')
91
103
  CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
92
104
  CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
93
105
  DashboardDefinition = Shapes::StringShape.new(name: 'DashboardDefinition')
@@ -117,6 +129,8 @@ module Aws::IoTSiteWise
117
129
  DescribeAssetResponse = Shapes::StructureShape.new(name: 'DescribeAssetResponse')
118
130
  DescribeDashboardRequest = Shapes::StructureShape.new(name: 'DescribeDashboardRequest')
119
131
  DescribeDashboardResponse = Shapes::StructureShape.new(name: 'DescribeDashboardResponse')
132
+ DescribeDefaultEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeDefaultEncryptionConfigurationRequest')
133
+ DescribeDefaultEncryptionConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeDefaultEncryptionConfigurationResponse')
120
134
  DescribeGatewayCapabilityConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeGatewayCapabilityConfigurationRequest')
121
135
  DescribeGatewayCapabilityConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeGatewayCapabilityConfigurationResponse')
122
136
  DescribeGatewayRequest = Shapes::StructureShape.new(name: 'DescribeGatewayRequest')
@@ -130,6 +144,7 @@ module Aws::IoTSiteWise
130
144
  Description = Shapes::StringShape.new(name: 'Description')
131
145
  DisassociateAssetsRequest = Shapes::StructureShape.new(name: 'DisassociateAssetsRequest')
132
146
  Email = Shapes::StringShape.new(name: 'Email')
147
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
133
148
  EntryId = Shapes::StringShape.new(name: 'EntryId')
134
149
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
135
150
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
@@ -151,6 +166,7 @@ module Aws::IoTSiteWise
151
166
  GetAssetPropertyValueResponse = Shapes::StructureShape.new(name: 'GetAssetPropertyValueResponse')
152
167
  Greengrass = Shapes::StructureShape.new(name: 'Greengrass')
153
168
  GroupIdentity = Shapes::StructureShape.new(name: 'GroupIdentity')
169
+ IAMRoleIdentity = Shapes::StructureShape.new(name: 'IAMRoleIdentity')
154
170
  IAMUserIdentity = Shapes::StructureShape.new(name: 'IAMUserIdentity')
155
171
  ID = Shapes::StringShape.new(name: 'ID')
156
172
  IDs = Shapes::ListShape.new(name: 'IDs')
@@ -165,11 +181,14 @@ module Aws::IoTSiteWise
165
181
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
166
182
  Interval = Shapes::StringShape.new(name: 'Interval')
167
183
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
184
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
168
185
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
169
186
  ListAccessPoliciesRequest = Shapes::StructureShape.new(name: 'ListAccessPoliciesRequest')
170
187
  ListAccessPoliciesResponse = Shapes::StructureShape.new(name: 'ListAccessPoliciesResponse')
171
188
  ListAssetModelsRequest = Shapes::StructureShape.new(name: 'ListAssetModelsRequest')
172
189
  ListAssetModelsResponse = Shapes::StructureShape.new(name: 'ListAssetModelsResponse')
190
+ ListAssetRelationshipsRequest = Shapes::StructureShape.new(name: 'ListAssetRelationshipsRequest')
191
+ ListAssetRelationshipsResponse = Shapes::StructureShape.new(name: 'ListAssetRelationshipsResponse')
173
192
  ListAssetsFilter = Shapes::StringShape.new(name: 'ListAssetsFilter')
174
193
  ListAssetsRequest = Shapes::StructureShape.new(name: 'ListAssetsRequest')
175
194
  ListAssetsResponse = Shapes::StructureShape.new(name: 'ListAssetsResponse')
@@ -224,6 +243,8 @@ module Aws::IoTSiteWise
224
243
  PropertyValueStringValue = Shapes::StringShape.new(name: 'PropertyValueStringValue')
225
244
  PutAssetPropertyValueEntries = Shapes::ListShape.new(name: 'PutAssetPropertyValueEntries')
226
245
  PutAssetPropertyValueEntry = Shapes::StructureShape.new(name: 'PutAssetPropertyValueEntry')
246
+ PutDefaultEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'PutDefaultEncryptionConfigurationRequest')
247
+ PutDefaultEncryptionConfigurationResponse = Shapes::StructureShape.new(name: 'PutDefaultEncryptionConfigurationResponse')
227
248
  PutLoggingOptionsRequest = Shapes::StructureShape.new(name: 'PutLoggingOptionsRequest')
228
249
  PutLoggingOptionsResponse = Shapes::StructureShape.new(name: 'PutLoggingOptionsResponse')
229
250
  Qualities = Shapes::ListShape.new(name: 'Qualities')
@@ -237,7 +258,6 @@ module Aws::IoTSiteWise
237
258
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
238
259
  SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
239
260
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
240
- SessionDurationSeconds = Shapes::IntegerShape.new(name: 'SessionDurationSeconds')
241
261
  TagKey = Shapes::StringShape.new(name: 'TagKey')
242
262
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
243
263
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -253,7 +273,9 @@ module Aws::IoTSiteWise
253
273
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
254
274
  Transform = Shapes::StructureShape.new(name: 'Transform')
255
275
  TraversalDirection = Shapes::StringShape.new(name: 'TraversalDirection')
276
+ TraversalType = Shapes::StringShape.new(name: 'TraversalType')
256
277
  TumblingWindow = Shapes::StructureShape.new(name: 'TumblingWindow')
278
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
257
279
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
258
280
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
259
281
  UpdateAccessPolicyRequest = Shapes::StructureShape.new(name: 'UpdateAccessPolicyRequest')
@@ -305,6 +327,14 @@ module Aws::IoTSiteWise
305
327
  Aggregates.add_member(:standard_deviation, Shapes::ShapeRef.new(shape: AggregatedDoubleValue, location_name: "standardDeviation"))
306
328
  Aggregates.struct_class = Types::Aggregates
307
329
 
330
+ AssetCompositeModel.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
331
+ AssetCompositeModel.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
332
+ AssetCompositeModel.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
333
+ AssetCompositeModel.add_member(:properties, Shapes::ShapeRef.new(shape: AssetProperties, required: true, location_name: "properties"))
334
+ AssetCompositeModel.struct_class = Types::AssetCompositeModel
335
+
336
+ AssetCompositeModels.member = Shapes::ShapeRef.new(shape: AssetCompositeModel)
337
+
308
338
  AssetErrorDetails.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetId"))
309
339
  AssetErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: AssetErrorCode, required: true, location_name: "code"))
310
340
  AssetErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: AssetErrorMessage, required: true, location_name: "message"))
@@ -316,8 +346,28 @@ module Aws::IoTSiteWise
316
346
  AssetHierarchy.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
317
347
  AssetHierarchy.struct_class = Types::AssetHierarchy
318
348
 
349
+ AssetHierarchyInfo.add_member(:parent_asset_id, Shapes::ShapeRef.new(shape: ID, location_name: "parentAssetId"))
350
+ AssetHierarchyInfo.add_member(:child_asset_id, Shapes::ShapeRef.new(shape: ID, location_name: "childAssetId"))
351
+ AssetHierarchyInfo.struct_class = Types::AssetHierarchyInfo
352
+
319
353
  AssetIDs.member = Shapes::ShapeRef.new(shape: ID)
320
354
 
355
+ AssetModelCompositeModel.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
356
+ AssetModelCompositeModel.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
357
+ AssetModelCompositeModel.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
358
+ AssetModelCompositeModel.add_member(:properties, Shapes::ShapeRef.new(shape: AssetModelProperties, location_name: "properties"))
359
+ AssetModelCompositeModel.struct_class = Types::AssetModelCompositeModel
360
+
361
+ AssetModelCompositeModelDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
362
+ AssetModelCompositeModelDefinition.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
363
+ AssetModelCompositeModelDefinition.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
364
+ AssetModelCompositeModelDefinition.add_member(:properties, Shapes::ShapeRef.new(shape: AssetModelPropertyDefinitions, location_name: "properties"))
365
+ AssetModelCompositeModelDefinition.struct_class = Types::AssetModelCompositeModelDefinition
366
+
367
+ AssetModelCompositeModelDefinitions.member = Shapes::ShapeRef.new(shape: AssetModelCompositeModelDefinition)
368
+
369
+ AssetModelCompositeModels.member = Shapes::ShapeRef.new(shape: AssetModelCompositeModel)
370
+
321
371
  AssetModelHierarchies.member = Shapes::ShapeRef.new(shape: AssetModelHierarchy)
322
372
 
323
373
  AssetModelHierarchy.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
@@ -336,12 +386,14 @@ module Aws::IoTSiteWise
336
386
  AssetModelProperty.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
337
387
  AssetModelProperty.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
338
388
  AssetModelProperty.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
389
+ AssetModelProperty.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
339
390
  AssetModelProperty.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
340
391
  AssetModelProperty.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
341
392
  AssetModelProperty.struct_class = Types::AssetModelProperty
342
393
 
343
394
  AssetModelPropertyDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
344
395
  AssetModelPropertyDefinition.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
396
+ AssetModelPropertyDefinition.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
345
397
  AssetModelPropertyDefinition.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
346
398
  AssetModelPropertyDefinition.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
347
399
  AssetModelPropertyDefinition.struct_class = Types::AssetModelPropertyDefinition
@@ -370,6 +422,7 @@ module Aws::IoTSiteWise
370
422
  AssetProperty.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location_name: "alias"))
371
423
  AssetProperty.add_member(:notification, Shapes::ShapeRef.new(shape: PropertyNotification, location_name: "notification"))
372
424
  AssetProperty.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
425
+ AssetProperty.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
373
426
  AssetProperty.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
374
427
  AssetProperty.struct_class = Types::AssetProperty
375
428
 
@@ -382,6 +435,12 @@ module Aws::IoTSiteWise
382
435
 
383
436
  AssetPropertyValues.member = Shapes::ShapeRef.new(shape: AssetPropertyValue)
384
437
 
438
+ AssetRelationshipSummaries.member = Shapes::ShapeRef.new(shape: AssetRelationshipSummary)
439
+
440
+ AssetRelationshipSummary.add_member(:hierarchy_info, Shapes::ShapeRef.new(shape: AssetHierarchyInfo, location_name: "hierarchyInfo"))
441
+ AssetRelationshipSummary.add_member(:relationship_type, Shapes::ShapeRef.new(shape: AssetRelationshipType, required: true, location_name: "relationshipType"))
442
+ AssetRelationshipSummary.struct_class = Types::AssetRelationshipSummary
443
+
385
444
  AssetStatus.add_member(:state, Shapes::ShapeRef.new(shape: AssetState, required: true, location_name: "state"))
386
445
  AssetStatus.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "error"))
387
446
  AssetStatus.struct_class = Types::AssetStatus
@@ -458,6 +517,19 @@ module Aws::IoTSiteWise
458
517
  BatchPutAssetPropertyValueResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchPutAssetPropertyErrorEntries, required: true, location_name: "errorEntries"))
459
518
  BatchPutAssetPropertyValueResponse.struct_class = Types::BatchPutAssetPropertyValueResponse
460
519
 
520
+ CompositeModelProperty.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
521
+ CompositeModelProperty.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
522
+ CompositeModelProperty.add_member(:asset_property, Shapes::ShapeRef.new(shape: Property, required: true, location_name: "assetProperty"))
523
+ CompositeModelProperty.struct_class = Types::CompositeModelProperty
524
+
525
+ ConfigurationErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
526
+ ConfigurationErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
527
+ ConfigurationErrorDetails.struct_class = Types::ConfigurationErrorDetails
528
+
529
+ ConfigurationStatus.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, required: true, location_name: "state"))
530
+ ConfigurationStatus.add_member(:error, Shapes::ShapeRef.new(shape: ConfigurationErrorDetails, location_name: "error"))
531
+ ConfigurationStatus.struct_class = Types::ConfigurationStatus
532
+
461
533
  ConflictingOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
462
534
  ConflictingOperationException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
463
535
  ConflictingOperationException.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
@@ -478,6 +550,7 @@ module Aws::IoTSiteWise
478
550
  CreateAssetModelRequest.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelDescription"))
479
551
  CreateAssetModelRequest.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelPropertyDefinitions, location_name: "assetModelProperties"))
480
552
  CreateAssetModelRequest.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchyDefinitions, location_name: "assetModelHierarchies"))
553
+ CreateAssetModelRequest.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModelDefinitions, location_name: "assetModelCompositeModels"))
481
554
  CreateAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
482
555
  CreateAssetModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
483
556
  CreateAssetModelRequest.struct_class = Types::CreateAssetModelRequest
@@ -536,13 +609,6 @@ module Aws::IoTSiteWise
536
609
  CreatePortalResponse.add_member(:sso_application_id, Shapes::ShapeRef.new(shape: SSOApplicationId, required: true, location_name: "ssoApplicationId"))
537
610
  CreatePortalResponse.struct_class = Types::CreatePortalResponse
538
611
 
539
- CreatePresignedPortalUrlRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "portalId"))
540
- CreatePresignedPortalUrlRequest.add_member(:session_duration_seconds, Shapes::ShapeRef.new(shape: SessionDurationSeconds, location: "querystring", location_name: "sessionDurationSeconds"))
541
- CreatePresignedPortalUrlRequest.struct_class = Types::CreatePresignedPortalUrlRequest
542
-
543
- CreatePresignedPortalUrlResponse.add_member(:presigned_portal_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "presignedPortalUrl"))
544
- CreatePresignedPortalUrlResponse.struct_class = Types::CreatePresignedPortalUrlResponse
545
-
546
612
  CreateProjectRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "portalId"))
547
613
  CreateProjectRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "projectName"))
548
614
  CreateProjectRequest.add_member(:project_description, Shapes::ShapeRef.new(shape: Description, location_name: "projectDescription"))
@@ -626,6 +692,7 @@ module Aws::IoTSiteWise
626
692
  DescribeAssetModelResponse.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "assetModelDescription"))
627
693
  DescribeAssetModelResponse.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelProperties, required: true, location_name: "assetModelProperties"))
628
694
  DescribeAssetModelResponse.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchies, required: true, location_name: "assetModelHierarchies"))
695
+ DescribeAssetModelResponse.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModels, location_name: "assetModelCompositeModels"))
629
696
  DescribeAssetModelResponse.add_member(:asset_model_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetModelCreationDate"))
630
697
  DescribeAssetModelResponse.add_member(:asset_model_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetModelLastUpdateDate"))
631
698
  DescribeAssetModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
@@ -638,7 +705,8 @@ module Aws::IoTSiteWise
638
705
  DescribeAssetPropertyResponse.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetId"))
639
706
  DescribeAssetPropertyResponse.add_member(:asset_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetName"))
640
707
  DescribeAssetPropertyResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
641
- DescribeAssetPropertyResponse.add_member(:asset_property, Shapes::ShapeRef.new(shape: Property, required: true, location_name: "assetProperty"))
708
+ DescribeAssetPropertyResponse.add_member(:asset_property, Shapes::ShapeRef.new(shape: Property, location_name: "assetProperty"))
709
+ DescribeAssetPropertyResponse.add_member(:composite_model, Shapes::ShapeRef.new(shape: CompositeModelProperty, location_name: "compositeModel"))
642
710
  DescribeAssetPropertyResponse.struct_class = Types::DescribeAssetPropertyResponse
643
711
 
644
712
  DescribeAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
@@ -650,6 +718,7 @@ module Aws::IoTSiteWise
650
718
  DescribeAssetResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
651
719
  DescribeAssetResponse.add_member(:asset_properties, Shapes::ShapeRef.new(shape: AssetProperties, required: true, location_name: "assetProperties"))
652
720
  DescribeAssetResponse.add_member(:asset_hierarchies, Shapes::ShapeRef.new(shape: AssetHierarchies, required: true, location_name: "assetHierarchies"))
721
+ DescribeAssetResponse.add_member(:asset_composite_models, Shapes::ShapeRef.new(shape: AssetCompositeModels, location_name: "assetCompositeModels"))
653
722
  DescribeAssetResponse.add_member(:asset_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetCreationDate"))
654
723
  DescribeAssetResponse.add_member(:asset_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetLastUpdateDate"))
655
724
  DescribeAssetResponse.add_member(:asset_status, Shapes::ShapeRef.new(shape: AssetStatus, required: true, location_name: "assetStatus"))
@@ -668,6 +737,13 @@ module Aws::IoTSiteWise
668
737
  DescribeDashboardResponse.add_member(:dashboard_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "dashboardLastUpdateDate"))
669
738
  DescribeDashboardResponse.struct_class = Types::DescribeDashboardResponse
670
739
 
740
+ DescribeDefaultEncryptionConfigurationRequest.struct_class = Types::DescribeDefaultEncryptionConfigurationRequest
741
+
742
+ DescribeDefaultEncryptionConfigurationResponse.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
743
+ DescribeDefaultEncryptionConfigurationResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "kmsKeyArn"))
744
+ DescribeDefaultEncryptionConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
745
+ DescribeDefaultEncryptionConfigurationResponse.struct_class = Types::DescribeDefaultEncryptionConfigurationResponse
746
+
671
747
  DescribeGatewayCapabilityConfigurationRequest.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "gatewayId"))
672
748
  DescribeGatewayCapabilityConfigurationRequest.add_member(:capability_namespace, Shapes::ShapeRef.new(shape: CapabilityNamespace, required: true, location: "uri", location_name: "capabilityNamespace"))
673
749
  DescribeGatewayCapabilityConfigurationRequest.struct_class = Types::DescribeGatewayCapabilityConfigurationRequest
@@ -805,6 +881,9 @@ module Aws::IoTSiteWise
805
881
  GroupIdentity.add_member(:id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "id"))
806
882
  GroupIdentity.struct_class = Types::GroupIdentity
807
883
 
884
+ IAMRoleIdentity.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "arn"))
885
+ IAMRoleIdentity.struct_class = Types::IAMRoleIdentity
886
+
808
887
  IAMUserIdentity.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "arn"))
809
888
  IAMUserIdentity.struct_class = Types::IAMUserIdentity
810
889
 
@@ -813,6 +892,7 @@ module Aws::IoTSiteWise
813
892
  Identity.add_member(:user, Shapes::ShapeRef.new(shape: UserIdentity, location_name: "user"))
814
893
  Identity.add_member(:group, Shapes::ShapeRef.new(shape: GroupIdentity, location_name: "group"))
815
894
  Identity.add_member(:iam_user, Shapes::ShapeRef.new(shape: IAMUserIdentity, location_name: "iamUser"))
895
+ Identity.add_member(:iam_role, Shapes::ShapeRef.new(shape: IAMRoleIdentity, location_name: "iamRole"))
816
896
  Identity.struct_class = Types::Identity
817
897
 
818
898
  Image.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
@@ -857,6 +937,16 @@ module Aws::IoTSiteWise
857
937
  ListAssetModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
858
938
  ListAssetModelsResponse.struct_class = Types::ListAssetModelsResponse
859
939
 
940
+ ListAssetRelationshipsRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
941
+ ListAssetRelationshipsRequest.add_member(:traversal_type, Shapes::ShapeRef.new(shape: TraversalType, required: true, location: "querystring", location_name: "traversalType"))
942
+ ListAssetRelationshipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
943
+ ListAssetRelationshipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
944
+ ListAssetRelationshipsRequest.struct_class = Types::ListAssetRelationshipsRequest
945
+
946
+ ListAssetRelationshipsResponse.add_member(:asset_relationship_summaries, Shapes::ShapeRef.new(shape: AssetRelationshipSummaries, required: true, location_name: "assetRelationshipSummaries"))
947
+ ListAssetRelationshipsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
948
+ ListAssetRelationshipsResponse.struct_class = Types::ListAssetRelationshipsResponse
949
+
860
950
  ListAssetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
861
951
  ListAssetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
862
952
  ListAssetsRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetModelId"))
@@ -1003,6 +1093,15 @@ module Aws::IoTSiteWise
1003
1093
  PutAssetPropertyValueEntry.add_member(:property_values, Shapes::ShapeRef.new(shape: AssetPropertyValues, required: true, location_name: "propertyValues"))
1004
1094
  PutAssetPropertyValueEntry.struct_class = Types::PutAssetPropertyValueEntry
1005
1095
 
1096
+ PutDefaultEncryptionConfigurationRequest.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
1097
+ PutDefaultEncryptionConfigurationRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
1098
+ PutDefaultEncryptionConfigurationRequest.struct_class = Types::PutDefaultEncryptionConfigurationRequest
1099
+
1100
+ PutDefaultEncryptionConfigurationResponse.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
1101
+ PutDefaultEncryptionConfigurationResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "kmsKeyArn"))
1102
+ PutDefaultEncryptionConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
1103
+ PutDefaultEncryptionConfigurationResponse.struct_class = Types::PutDefaultEncryptionConfigurationResponse
1104
+
1006
1105
  PutLoggingOptionsRequest.add_member(:logging_options, Shapes::ShapeRef.new(shape: LoggingOptions, required: true, location_name: "loggingOptions"))
1007
1106
  PutLoggingOptionsRequest.struct_class = Types::PutLoggingOptionsRequest
1008
1107
 
@@ -1056,6 +1155,9 @@ module Aws::IoTSiteWise
1056
1155
  TumblingWindow.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, required: true, location_name: "interval"))
1057
1156
  TumblingWindow.struct_class = Types::TumblingWindow
1058
1157
 
1158
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
1159
+ UnauthorizedException.struct_class = Types::UnauthorizedException
1160
+
1059
1161
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "querystring", location_name: "resourceArn"))
1060
1162
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1061
1163
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1076,6 +1178,7 @@ module Aws::IoTSiteWise
1076
1178
  UpdateAssetModelRequest.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelDescription"))
1077
1179
  UpdateAssetModelRequest.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelProperties, location_name: "assetModelProperties"))
1078
1180
  UpdateAssetModelRequest.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchies, location_name: "assetModelHierarchies"))
1181
+ UpdateAssetModelRequest.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModels, location_name: "assetModelCompositeModels"))
1079
1182
  UpdateAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1080
1183
  UpdateAssetModelRequest.struct_class = Types::UpdateAssetModelRequest
1081
1184
 
@@ -1336,20 +1439,6 @@ module Aws::IoTSiteWise
1336
1439
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1337
1440
  end)
1338
1441
 
1339
- api.add_operation(:create_presigned_portal_url, Seahorse::Model::Operation.new.tap do |o|
1340
- o.name = "CreatePresignedPortalUrl"
1341
- o.http_method = "GET"
1342
- o.http_request_uri = "/portals/{portalId}/presigned-url"
1343
- o.endpoint_pattern = {
1344
- "hostPrefix" => "monitor.",
1345
- }
1346
- o.input = Shapes::ShapeRef.new(shape: CreatePresignedPortalUrlRequest)
1347
- o.output = Shapes::ShapeRef.new(shape: CreatePresignedPortalUrlResponse)
1348
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1349
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1350
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1351
- end)
1352
-
1353
1442
  api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o|
1354
1443
  o.name = "CreateProject"
1355
1444
  o.http_method = "POST"
@@ -1549,6 +1638,17 @@ module Aws::IoTSiteWise
1549
1638
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1550
1639
  end)
1551
1640
 
1641
+ api.add_operation(:describe_default_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
1642
+ o.name = "DescribeDefaultEncryptionConfiguration"
1643
+ o.http_method = "GET"
1644
+ o.http_request_uri = "/configuration/account/encryption"
1645
+ o.input = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationRequest)
1646
+ o.output = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationResponse)
1647
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1648
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1649
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1650
+ end)
1651
+
1552
1652
  api.add_operation(:describe_gateway, Seahorse::Model::Operation.new.tap do |o|
1553
1653
  o.name = "DescribeGateway"
1554
1654
  o.http_method = "GET"
@@ -1740,6 +1840,27 @@ module Aws::IoTSiteWise
1740
1840
  )
1741
1841
  end)
1742
1842
 
1843
+ api.add_operation(:list_asset_relationships, Seahorse::Model::Operation.new.tap do |o|
1844
+ o.name = "ListAssetRelationships"
1845
+ o.http_method = "GET"
1846
+ o.http_request_uri = "/assets/{assetId}/assetRelationships"
1847
+ o.endpoint_pattern = {
1848
+ "hostPrefix" => "model.",
1849
+ }
1850
+ o.input = Shapes::ShapeRef.new(shape: ListAssetRelationshipsRequest)
1851
+ o.output = Shapes::ShapeRef.new(shape: ListAssetRelationshipsResponse)
1852
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1853
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1854
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1856
+ o[:pager] = Aws::Pager.new(
1857
+ limit_key: "max_results",
1858
+ tokens: {
1859
+ "next_token" => "next_token"
1860
+ }
1861
+ )
1862
+ end)
1863
+
1743
1864
  api.add_operation(:list_assets, Seahorse::Model::Operation.new.tap do |o|
1744
1865
  o.name = "ListAssets"
1745
1866
  o.http_method = "GET"
@@ -1892,6 +2013,22 @@ module Aws::IoTSiteWise
1892
2013
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1893
2014
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1894
2015
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2016
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
2017
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2018
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2019
+ end)
2020
+
2021
+ api.add_operation(:put_default_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
2022
+ o.name = "PutDefaultEncryptionConfiguration"
2023
+ o.http_method = "POST"
2024
+ o.http_request_uri = "/configuration/account/encryption"
2025
+ o.input = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationRequest)
2026
+ o.output = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationResponse)
2027
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2028
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2029
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2030
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2031
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
1895
2032
  end)
1896
2033
 
1897
2034
  api.add_operation(:put_logging_options, Seahorse::Model::Operation.new.tap do |o|
@@ -1920,6 +2057,9 @@ module Aws::IoTSiteWise
1920
2057
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1921
2058
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1922
2059
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2060
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
2061
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2062
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1923
2063
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1924
2064
  end)
1925
2065
 
@@ -1933,6 +2073,9 @@ module Aws::IoTSiteWise
1933
2073
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1934
2074
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1935
2075
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2076
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
2077
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2078
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1936
2079
  end)
1937
2080
 
1938
2081
  api.add_operation(:update_access_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -36,6 +36,7 @@ module Aws::IoTSiteWise
36
36
  # * {ServiceUnavailableException}
37
37
  # * {ThrottlingException}
38
38
  # * {TooManyTagsException}
39
+ # * {UnauthorizedException}
39
40
  #
40
41
  # Additionally, error classes are dynamically generated for service errors based on the error code
41
42
  # if they are not defined above.
@@ -203,5 +204,20 @@ module Aws::IoTSiteWise
203
204
  end
204
205
  end
205
206
 
207
+ class UnauthorizedException < ServiceError
208
+
209
+ # @param [Seahorse::Client::RequestContext] context
210
+ # @param [String] message
211
+ # @param [Aws::IoTSiteWise::Types::UnauthorizedException] data
212
+ def initialize(context, message, data = Aws::EmptyStructure.new)
213
+ super(context, message, data)
214
+ end
215
+
216
+ # @return [String]
217
+ def message
218
+ @message || @data[:message]
219
+ end
220
+ end
221
+
206
222
  end
207
223
  end