aws-sdk-iotsitewise 1.13.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iotsitewise.rb +1 -1
- data/lib/aws-sdk-iotsitewise/client.rb +358 -13
- data/lib/aws-sdk-iotsitewise/client_api.rb +194 -1
- data/lib/aws-sdk-iotsitewise/errors.rb +16 -0
- data/lib/aws-sdk-iotsitewise/types.rb +717 -38
- metadata +4 -4
@@ -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,6 +100,8 @@ 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')
|
103
|
+
CreatePresignedPortalUrlRequest = Shapes::StructureShape.new(name: 'CreatePresignedPortalUrlRequest')
|
104
|
+
CreatePresignedPortalUrlResponse = Shapes::StructureShape.new(name: 'CreatePresignedPortalUrlResponse')
|
89
105
|
CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
|
90
106
|
CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
|
91
107
|
DashboardDefinition = Shapes::StringShape.new(name: 'DashboardDefinition')
|
@@ -115,6 +131,8 @@ module Aws::IoTSiteWise
|
|
115
131
|
DescribeAssetResponse = Shapes::StructureShape.new(name: 'DescribeAssetResponse')
|
116
132
|
DescribeDashboardRequest = Shapes::StructureShape.new(name: 'DescribeDashboardRequest')
|
117
133
|
DescribeDashboardResponse = Shapes::StructureShape.new(name: 'DescribeDashboardResponse')
|
134
|
+
DescribeDefaultEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeDefaultEncryptionConfigurationRequest')
|
135
|
+
DescribeDefaultEncryptionConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeDefaultEncryptionConfigurationResponse')
|
118
136
|
DescribeGatewayCapabilityConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeGatewayCapabilityConfigurationRequest')
|
119
137
|
DescribeGatewayCapabilityConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeGatewayCapabilityConfigurationResponse')
|
120
138
|
DescribeGatewayRequest = Shapes::StructureShape.new(name: 'DescribeGatewayRequest')
|
@@ -128,6 +146,7 @@ module Aws::IoTSiteWise
|
|
128
146
|
Description = Shapes::StringShape.new(name: 'Description')
|
129
147
|
DisassociateAssetsRequest = Shapes::StructureShape.new(name: 'DisassociateAssetsRequest')
|
130
148
|
Email = Shapes::StringShape.new(name: 'Email')
|
149
|
+
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
131
150
|
EntryId = Shapes::StringShape.new(name: 'EntryId')
|
132
151
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
133
152
|
ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
|
@@ -149,6 +168,7 @@ module Aws::IoTSiteWise
|
|
149
168
|
GetAssetPropertyValueResponse = Shapes::StructureShape.new(name: 'GetAssetPropertyValueResponse')
|
150
169
|
Greengrass = Shapes::StructureShape.new(name: 'Greengrass')
|
151
170
|
GroupIdentity = Shapes::StructureShape.new(name: 'GroupIdentity')
|
171
|
+
IAMRoleIdentity = Shapes::StructureShape.new(name: 'IAMRoleIdentity')
|
152
172
|
IAMUserIdentity = Shapes::StructureShape.new(name: 'IAMUserIdentity')
|
153
173
|
ID = Shapes::StringShape.new(name: 'ID')
|
154
174
|
IDs = Shapes::ListShape.new(name: 'IDs')
|
@@ -163,11 +183,14 @@ module Aws::IoTSiteWise
|
|
163
183
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
164
184
|
Interval = Shapes::StringShape.new(name: 'Interval')
|
165
185
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
186
|
+
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
166
187
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
167
188
|
ListAccessPoliciesRequest = Shapes::StructureShape.new(name: 'ListAccessPoliciesRequest')
|
168
189
|
ListAccessPoliciesResponse = Shapes::StructureShape.new(name: 'ListAccessPoliciesResponse')
|
169
190
|
ListAssetModelsRequest = Shapes::StructureShape.new(name: 'ListAssetModelsRequest')
|
170
191
|
ListAssetModelsResponse = Shapes::StructureShape.new(name: 'ListAssetModelsResponse')
|
192
|
+
ListAssetRelationshipsRequest = Shapes::StructureShape.new(name: 'ListAssetRelationshipsRequest')
|
193
|
+
ListAssetRelationshipsResponse = Shapes::StructureShape.new(name: 'ListAssetRelationshipsResponse')
|
171
194
|
ListAssetsFilter = Shapes::StringShape.new(name: 'ListAssetsFilter')
|
172
195
|
ListAssetsRequest = Shapes::StructureShape.new(name: 'ListAssetsRequest')
|
173
196
|
ListAssetsResponse = Shapes::StructureShape.new(name: 'ListAssetsResponse')
|
@@ -222,6 +245,8 @@ module Aws::IoTSiteWise
|
|
222
245
|
PropertyValueStringValue = Shapes::StringShape.new(name: 'PropertyValueStringValue')
|
223
246
|
PutAssetPropertyValueEntries = Shapes::ListShape.new(name: 'PutAssetPropertyValueEntries')
|
224
247
|
PutAssetPropertyValueEntry = Shapes::StructureShape.new(name: 'PutAssetPropertyValueEntry')
|
248
|
+
PutDefaultEncryptionConfigurationRequest = Shapes::StructureShape.new(name: 'PutDefaultEncryptionConfigurationRequest')
|
249
|
+
PutDefaultEncryptionConfigurationResponse = Shapes::StructureShape.new(name: 'PutDefaultEncryptionConfigurationResponse')
|
225
250
|
PutLoggingOptionsRequest = Shapes::StructureShape.new(name: 'PutLoggingOptionsRequest')
|
226
251
|
PutLoggingOptionsResponse = Shapes::StructureShape.new(name: 'PutLoggingOptionsResponse')
|
227
252
|
Qualities = Shapes::ListShape.new(name: 'Qualities')
|
@@ -235,6 +260,7 @@ module Aws::IoTSiteWise
|
|
235
260
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
236
261
|
SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
|
237
262
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
263
|
+
SessionDurationSeconds = Shapes::IntegerShape.new(name: 'SessionDurationSeconds')
|
238
264
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
239
265
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
240
266
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
@@ -250,7 +276,9 @@ module Aws::IoTSiteWise
|
|
250
276
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
251
277
|
Transform = Shapes::StructureShape.new(name: 'Transform')
|
252
278
|
TraversalDirection = Shapes::StringShape.new(name: 'TraversalDirection')
|
279
|
+
TraversalType = Shapes::StringShape.new(name: 'TraversalType')
|
253
280
|
TumblingWindow = Shapes::StructureShape.new(name: 'TumblingWindow')
|
281
|
+
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
254
282
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
255
283
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
256
284
|
UpdateAccessPolicyRequest = Shapes::StructureShape.new(name: 'UpdateAccessPolicyRequest')
|
@@ -274,6 +302,7 @@ module Aws::IoTSiteWise
|
|
274
302
|
VariableName = Shapes::StringShape.new(name: 'VariableName')
|
275
303
|
VariableValue = Shapes::StructureShape.new(name: 'VariableValue')
|
276
304
|
Variant = Shapes::StructureShape.new(name: 'Variant')
|
305
|
+
state = Shapes::StringShape.new(name: 'state')
|
277
306
|
|
278
307
|
AccessPolicySummaries.member = Shapes::ShapeRef.new(shape: AccessPolicySummary)
|
279
308
|
|
@@ -302,6 +331,14 @@ module Aws::IoTSiteWise
|
|
302
331
|
Aggregates.add_member(:standard_deviation, Shapes::ShapeRef.new(shape: AggregatedDoubleValue, location_name: "standardDeviation"))
|
303
332
|
Aggregates.struct_class = Types::Aggregates
|
304
333
|
|
334
|
+
AssetCompositeModel.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
335
|
+
AssetCompositeModel.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
336
|
+
AssetCompositeModel.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
337
|
+
AssetCompositeModel.add_member(:properties, Shapes::ShapeRef.new(shape: AssetProperties, required: true, location_name: "properties"))
|
338
|
+
AssetCompositeModel.struct_class = Types::AssetCompositeModel
|
339
|
+
|
340
|
+
AssetCompositeModels.member = Shapes::ShapeRef.new(shape: AssetCompositeModel)
|
341
|
+
|
305
342
|
AssetErrorDetails.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetId"))
|
306
343
|
AssetErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: AssetErrorCode, required: true, location_name: "code"))
|
307
344
|
AssetErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: AssetErrorMessage, required: true, location_name: "message"))
|
@@ -313,8 +350,28 @@ module Aws::IoTSiteWise
|
|
313
350
|
AssetHierarchy.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
314
351
|
AssetHierarchy.struct_class = Types::AssetHierarchy
|
315
352
|
|
353
|
+
AssetHierarchyInfo.add_member(:parent_asset_id, Shapes::ShapeRef.new(shape: ID, location_name: "parentAssetId"))
|
354
|
+
AssetHierarchyInfo.add_member(:child_asset_id, Shapes::ShapeRef.new(shape: ID, location_name: "childAssetId"))
|
355
|
+
AssetHierarchyInfo.struct_class = Types::AssetHierarchyInfo
|
356
|
+
|
316
357
|
AssetIDs.member = Shapes::ShapeRef.new(shape: ID)
|
317
358
|
|
359
|
+
AssetModelCompositeModel.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
360
|
+
AssetModelCompositeModel.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
361
|
+
AssetModelCompositeModel.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
362
|
+
AssetModelCompositeModel.add_member(:properties, Shapes::ShapeRef.new(shape: AssetModelProperties, location_name: "properties"))
|
363
|
+
AssetModelCompositeModel.struct_class = Types::AssetModelCompositeModel
|
364
|
+
|
365
|
+
AssetModelCompositeModelDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
366
|
+
AssetModelCompositeModelDefinition.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
367
|
+
AssetModelCompositeModelDefinition.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
368
|
+
AssetModelCompositeModelDefinition.add_member(:properties, Shapes::ShapeRef.new(shape: AssetModelPropertyDefinitions, location_name: "properties"))
|
369
|
+
AssetModelCompositeModelDefinition.struct_class = Types::AssetModelCompositeModelDefinition
|
370
|
+
|
371
|
+
AssetModelCompositeModelDefinitions.member = Shapes::ShapeRef.new(shape: AssetModelCompositeModelDefinition)
|
372
|
+
|
373
|
+
AssetModelCompositeModels.member = Shapes::ShapeRef.new(shape: AssetModelCompositeModel)
|
374
|
+
|
318
375
|
AssetModelHierarchies.member = Shapes::ShapeRef.new(shape: AssetModelHierarchy)
|
319
376
|
|
320
377
|
AssetModelHierarchy.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
@@ -333,12 +390,14 @@ module Aws::IoTSiteWise
|
|
333
390
|
AssetModelProperty.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
334
391
|
AssetModelProperty.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
335
392
|
AssetModelProperty.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
393
|
+
AssetModelProperty.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
336
394
|
AssetModelProperty.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
337
395
|
AssetModelProperty.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
338
396
|
AssetModelProperty.struct_class = Types::AssetModelProperty
|
339
397
|
|
340
398
|
AssetModelPropertyDefinition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
341
399
|
AssetModelPropertyDefinition.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
400
|
+
AssetModelPropertyDefinition.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
342
401
|
AssetModelPropertyDefinition.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
343
402
|
AssetModelPropertyDefinition.add_member(:type, Shapes::ShapeRef.new(shape: PropertyType, required: true, location_name: "type"))
|
344
403
|
AssetModelPropertyDefinition.struct_class = Types::AssetModelPropertyDefinition
|
@@ -367,6 +426,7 @@ module Aws::IoTSiteWise
|
|
367
426
|
AssetProperty.add_member(:alias, Shapes::ShapeRef.new(shape: PropertyAlias, location_name: "alias"))
|
368
427
|
AssetProperty.add_member(:notification, Shapes::ShapeRef.new(shape: PropertyNotification, location_name: "notification"))
|
369
428
|
AssetProperty.add_member(:data_type, Shapes::ShapeRef.new(shape: PropertyDataType, required: true, location_name: "dataType"))
|
429
|
+
AssetProperty.add_member(:data_type_spec, Shapes::ShapeRef.new(shape: Name, location_name: "dataTypeSpec"))
|
370
430
|
AssetProperty.add_member(:unit, Shapes::ShapeRef.new(shape: PropertyUnit, location_name: "unit"))
|
371
431
|
AssetProperty.struct_class = Types::AssetProperty
|
372
432
|
|
@@ -379,6 +439,12 @@ module Aws::IoTSiteWise
|
|
379
439
|
|
380
440
|
AssetPropertyValues.member = Shapes::ShapeRef.new(shape: AssetPropertyValue)
|
381
441
|
|
442
|
+
AssetRelationshipSummaries.member = Shapes::ShapeRef.new(shape: AssetRelationshipSummary)
|
443
|
+
|
444
|
+
AssetRelationshipSummary.add_member(:hierarchy_info, Shapes::ShapeRef.new(shape: AssetHierarchyInfo, location_name: "hierarchyInfo"))
|
445
|
+
AssetRelationshipSummary.add_member(:relationship_type, Shapes::ShapeRef.new(shape: AssetRelationshipType, required: true, location_name: "relationshipType"))
|
446
|
+
AssetRelationshipSummary.struct_class = Types::AssetRelationshipSummary
|
447
|
+
|
382
448
|
AssetStatus.add_member(:state, Shapes::ShapeRef.new(shape: AssetState, required: true, location_name: "state"))
|
383
449
|
AssetStatus.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "error"))
|
384
450
|
AssetStatus.struct_class = Types::AssetStatus
|
@@ -455,6 +521,19 @@ module Aws::IoTSiteWise
|
|
455
521
|
BatchPutAssetPropertyValueResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchPutAssetPropertyErrorEntries, required: true, location_name: "errorEntries"))
|
456
522
|
BatchPutAssetPropertyValueResponse.struct_class = Types::BatchPutAssetPropertyValueResponse
|
457
523
|
|
524
|
+
CompositeModelProperty.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
525
|
+
CompositeModelProperty.add_member(:type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "type"))
|
526
|
+
CompositeModelProperty.add_member(:asset_property, Shapes::ShapeRef.new(shape: Property, required: true, location_name: "assetProperty"))
|
527
|
+
CompositeModelProperty.struct_class = Types::CompositeModelProperty
|
528
|
+
|
529
|
+
ConfigurationErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
|
530
|
+
ConfigurationErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
531
|
+
ConfigurationErrorDetails.struct_class = Types::ConfigurationErrorDetails
|
532
|
+
|
533
|
+
ConfigurationStatus.add_member(:state, Shapes::ShapeRef.new(shape: ConfigurationState, required: true, location_name: "state"))
|
534
|
+
ConfigurationStatus.add_member(:error, Shapes::ShapeRef.new(shape: ConfigurationErrorDetails, location_name: "error"))
|
535
|
+
ConfigurationStatus.struct_class = Types::ConfigurationStatus
|
536
|
+
|
458
537
|
ConflictingOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
459
538
|
ConflictingOperationException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
|
460
539
|
ConflictingOperationException.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
|
@@ -475,6 +554,7 @@ module Aws::IoTSiteWise
|
|
475
554
|
CreateAssetModelRequest.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelDescription"))
|
476
555
|
CreateAssetModelRequest.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelPropertyDefinitions, location_name: "assetModelProperties"))
|
477
556
|
CreateAssetModelRequest.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchyDefinitions, location_name: "assetModelHierarchies"))
|
557
|
+
CreateAssetModelRequest.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModelDefinitions, location_name: "assetModelCompositeModels"))
|
478
558
|
CreateAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
479
559
|
CreateAssetModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
480
560
|
CreateAssetModelRequest.struct_class = Types::CreateAssetModelRequest
|
@@ -533,6 +613,14 @@ module Aws::IoTSiteWise
|
|
533
613
|
CreatePortalResponse.add_member(:sso_application_id, Shapes::ShapeRef.new(shape: SSOApplicationId, required: true, location_name: "ssoApplicationId"))
|
534
614
|
CreatePortalResponse.struct_class = Types::CreatePortalResponse
|
535
615
|
|
616
|
+
CreatePresignedPortalUrlRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "portalId"))
|
617
|
+
CreatePresignedPortalUrlRequest.add_member(:session_duration_seconds, Shapes::ShapeRef.new(shape: SessionDurationSeconds, location_name: "sessionDurationSeconds"))
|
618
|
+
CreatePresignedPortalUrlRequest.add_member(:state, Shapes::ShapeRef.new(shape: state, location_name: "state"))
|
619
|
+
CreatePresignedPortalUrlRequest.struct_class = Types::CreatePresignedPortalUrlRequest
|
620
|
+
|
621
|
+
CreatePresignedPortalUrlResponse.add_member(:presigned_portal_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "presignedPortalUrl"))
|
622
|
+
CreatePresignedPortalUrlResponse.struct_class = Types::CreatePresignedPortalUrlResponse
|
623
|
+
|
536
624
|
CreateProjectRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "portalId"))
|
537
625
|
CreateProjectRequest.add_member(:project_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "projectName"))
|
538
626
|
CreateProjectRequest.add_member(:project_description, Shapes::ShapeRef.new(shape: Description, location_name: "projectDescription"))
|
@@ -616,6 +704,7 @@ module Aws::IoTSiteWise
|
|
616
704
|
DescribeAssetModelResponse.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "assetModelDescription"))
|
617
705
|
DescribeAssetModelResponse.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelProperties, required: true, location_name: "assetModelProperties"))
|
618
706
|
DescribeAssetModelResponse.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchies, required: true, location_name: "assetModelHierarchies"))
|
707
|
+
DescribeAssetModelResponse.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModels, location_name: "assetModelCompositeModels"))
|
619
708
|
DescribeAssetModelResponse.add_member(:asset_model_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetModelCreationDate"))
|
620
709
|
DescribeAssetModelResponse.add_member(:asset_model_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetModelLastUpdateDate"))
|
621
710
|
DescribeAssetModelResponse.add_member(:asset_model_status, Shapes::ShapeRef.new(shape: AssetModelStatus, required: true, location_name: "assetModelStatus"))
|
@@ -628,7 +717,8 @@ module Aws::IoTSiteWise
|
|
628
717
|
DescribeAssetPropertyResponse.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetId"))
|
629
718
|
DescribeAssetPropertyResponse.add_member(:asset_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "assetName"))
|
630
719
|
DescribeAssetPropertyResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
631
|
-
DescribeAssetPropertyResponse.add_member(:asset_property, Shapes::ShapeRef.new(shape: Property,
|
720
|
+
DescribeAssetPropertyResponse.add_member(:asset_property, Shapes::ShapeRef.new(shape: Property, location_name: "assetProperty"))
|
721
|
+
DescribeAssetPropertyResponse.add_member(:composite_model, Shapes::ShapeRef.new(shape: CompositeModelProperty, location_name: "compositeModel"))
|
632
722
|
DescribeAssetPropertyResponse.struct_class = Types::DescribeAssetPropertyResponse
|
633
723
|
|
634
724
|
DescribeAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
|
@@ -640,6 +730,7 @@ module Aws::IoTSiteWise
|
|
640
730
|
DescribeAssetResponse.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "assetModelId"))
|
641
731
|
DescribeAssetResponse.add_member(:asset_properties, Shapes::ShapeRef.new(shape: AssetProperties, required: true, location_name: "assetProperties"))
|
642
732
|
DescribeAssetResponse.add_member(:asset_hierarchies, Shapes::ShapeRef.new(shape: AssetHierarchies, required: true, location_name: "assetHierarchies"))
|
733
|
+
DescribeAssetResponse.add_member(:asset_composite_models, Shapes::ShapeRef.new(shape: AssetCompositeModels, location_name: "assetCompositeModels"))
|
643
734
|
DescribeAssetResponse.add_member(:asset_creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetCreationDate"))
|
644
735
|
DescribeAssetResponse.add_member(:asset_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "assetLastUpdateDate"))
|
645
736
|
DescribeAssetResponse.add_member(:asset_status, Shapes::ShapeRef.new(shape: AssetStatus, required: true, location_name: "assetStatus"))
|
@@ -658,6 +749,13 @@ module Aws::IoTSiteWise
|
|
658
749
|
DescribeDashboardResponse.add_member(:dashboard_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "dashboardLastUpdateDate"))
|
659
750
|
DescribeDashboardResponse.struct_class = Types::DescribeDashboardResponse
|
660
751
|
|
752
|
+
DescribeDefaultEncryptionConfigurationRequest.struct_class = Types::DescribeDefaultEncryptionConfigurationRequest
|
753
|
+
|
754
|
+
DescribeDefaultEncryptionConfigurationResponse.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
|
755
|
+
DescribeDefaultEncryptionConfigurationResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "kmsKeyArn"))
|
756
|
+
DescribeDefaultEncryptionConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
|
757
|
+
DescribeDefaultEncryptionConfigurationResponse.struct_class = Types::DescribeDefaultEncryptionConfigurationResponse
|
758
|
+
|
661
759
|
DescribeGatewayCapabilityConfigurationRequest.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "gatewayId"))
|
662
760
|
DescribeGatewayCapabilityConfigurationRequest.add_member(:capability_namespace, Shapes::ShapeRef.new(shape: CapabilityNamespace, required: true, location: "uri", location_name: "capabilityNamespace"))
|
663
761
|
DescribeGatewayCapabilityConfigurationRequest.struct_class = Types::DescribeGatewayCapabilityConfigurationRequest
|
@@ -795,6 +893,9 @@ module Aws::IoTSiteWise
|
|
795
893
|
GroupIdentity.add_member(:id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "id"))
|
796
894
|
GroupIdentity.struct_class = Types::GroupIdentity
|
797
895
|
|
896
|
+
IAMRoleIdentity.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "arn"))
|
897
|
+
IAMRoleIdentity.struct_class = Types::IAMRoleIdentity
|
898
|
+
|
798
899
|
IAMUserIdentity.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "arn"))
|
799
900
|
IAMUserIdentity.struct_class = Types::IAMUserIdentity
|
800
901
|
|
@@ -803,6 +904,7 @@ module Aws::IoTSiteWise
|
|
803
904
|
Identity.add_member(:user, Shapes::ShapeRef.new(shape: UserIdentity, location_name: "user"))
|
804
905
|
Identity.add_member(:group, Shapes::ShapeRef.new(shape: GroupIdentity, location_name: "group"))
|
805
906
|
Identity.add_member(:iam_user, Shapes::ShapeRef.new(shape: IAMUserIdentity, location_name: "iamUser"))
|
907
|
+
Identity.add_member(:iam_role, Shapes::ShapeRef.new(shape: IAMRoleIdentity, location_name: "iamRole"))
|
806
908
|
Identity.struct_class = Types::Identity
|
807
909
|
|
808
910
|
Image.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "id"))
|
@@ -847,6 +949,16 @@ module Aws::IoTSiteWise
|
|
847
949
|
ListAssetModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
848
950
|
ListAssetModelsResponse.struct_class = Types::ListAssetModelsResponse
|
849
951
|
|
952
|
+
ListAssetRelationshipsRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
|
953
|
+
ListAssetRelationshipsRequest.add_member(:traversal_type, Shapes::ShapeRef.new(shape: TraversalType, required: true, location: "querystring", location_name: "traversalType"))
|
954
|
+
ListAssetRelationshipsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
955
|
+
ListAssetRelationshipsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
956
|
+
ListAssetRelationshipsRequest.struct_class = Types::ListAssetRelationshipsRequest
|
957
|
+
|
958
|
+
ListAssetRelationshipsResponse.add_member(:asset_relationship_summaries, Shapes::ShapeRef.new(shape: AssetRelationshipSummaries, required: true, location_name: "assetRelationshipSummaries"))
|
959
|
+
ListAssetRelationshipsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
960
|
+
ListAssetRelationshipsResponse.struct_class = Types::ListAssetRelationshipsResponse
|
961
|
+
|
850
962
|
ListAssetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
851
963
|
ListAssetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
852
964
|
ListAssetsRequest.add_member(:asset_model_id, Shapes::ShapeRef.new(shape: ID, location: "querystring", location_name: "assetModelId"))
|
@@ -993,6 +1105,15 @@ module Aws::IoTSiteWise
|
|
993
1105
|
PutAssetPropertyValueEntry.add_member(:property_values, Shapes::ShapeRef.new(shape: AssetPropertyValues, required: true, location_name: "propertyValues"))
|
994
1106
|
PutAssetPropertyValueEntry.struct_class = Types::PutAssetPropertyValueEntry
|
995
1107
|
|
1108
|
+
PutDefaultEncryptionConfigurationRequest.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
|
1109
|
+
PutDefaultEncryptionConfigurationRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
1110
|
+
PutDefaultEncryptionConfigurationRequest.struct_class = Types::PutDefaultEncryptionConfigurationRequest
|
1111
|
+
|
1112
|
+
PutDefaultEncryptionConfigurationResponse.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
|
1113
|
+
PutDefaultEncryptionConfigurationResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "kmsKeyArn"))
|
1114
|
+
PutDefaultEncryptionConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
|
1115
|
+
PutDefaultEncryptionConfigurationResponse.struct_class = Types::PutDefaultEncryptionConfigurationResponse
|
1116
|
+
|
996
1117
|
PutLoggingOptionsRequest.add_member(:logging_options, Shapes::ShapeRef.new(shape: LoggingOptions, required: true, location_name: "loggingOptions"))
|
997
1118
|
PutLoggingOptionsRequest.struct_class = Types::PutLoggingOptionsRequest
|
998
1119
|
|
@@ -1046,6 +1167,9 @@ module Aws::IoTSiteWise
|
|
1046
1167
|
TumblingWindow.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, required: true, location_name: "interval"))
|
1047
1168
|
TumblingWindow.struct_class = Types::TumblingWindow
|
1048
1169
|
|
1170
|
+
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
1171
|
+
UnauthorizedException.struct_class = Types::UnauthorizedException
|
1172
|
+
|
1049
1173
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "querystring", location_name: "resourceArn"))
|
1050
1174
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
1051
1175
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -1066,6 +1190,7 @@ module Aws::IoTSiteWise
|
|
1066
1190
|
UpdateAssetModelRequest.add_member(:asset_model_description, Shapes::ShapeRef.new(shape: Description, location_name: "assetModelDescription"))
|
1067
1191
|
UpdateAssetModelRequest.add_member(:asset_model_properties, Shapes::ShapeRef.new(shape: AssetModelProperties, location_name: "assetModelProperties"))
|
1068
1192
|
UpdateAssetModelRequest.add_member(:asset_model_hierarchies, Shapes::ShapeRef.new(shape: AssetModelHierarchies, location_name: "assetModelHierarchies"))
|
1193
|
+
UpdateAssetModelRequest.add_member(:asset_model_composite_models, Shapes::ShapeRef.new(shape: AssetModelCompositeModels, location_name: "assetModelCompositeModels"))
|
1069
1194
|
UpdateAssetModelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1070
1195
|
UpdateAssetModelRequest.struct_class = Types::UpdateAssetModelRequest
|
1071
1196
|
|
@@ -1326,6 +1451,20 @@ module Aws::IoTSiteWise
|
|
1326
1451
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1327
1452
|
end)
|
1328
1453
|
|
1454
|
+
api.add_operation(:create_presigned_portal_url, Seahorse::Model::Operation.new.tap do |o|
|
1455
|
+
o.name = "CreatePresignedPortalUrl"
|
1456
|
+
o.http_method = "POST"
|
1457
|
+
o.http_request_uri = "/portals/{portalId}/presigned-url"
|
1458
|
+
o.endpoint_pattern = {
|
1459
|
+
"hostPrefix" => "monitor.",
|
1460
|
+
}
|
1461
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePresignedPortalUrlRequest)
|
1462
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePresignedPortalUrlResponse)
|
1463
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1464
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1465
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1466
|
+
end)
|
1467
|
+
|
1329
1468
|
api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o|
|
1330
1469
|
o.name = "CreateProject"
|
1331
1470
|
o.http_method = "POST"
|
@@ -1525,6 +1664,17 @@ module Aws::IoTSiteWise
|
|
1525
1664
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1526
1665
|
end)
|
1527
1666
|
|
1667
|
+
api.add_operation(:describe_default_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1668
|
+
o.name = "DescribeDefaultEncryptionConfiguration"
|
1669
|
+
o.http_method = "GET"
|
1670
|
+
o.http_request_uri = "/configuration/account/encryption"
|
1671
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationRequest)
|
1672
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationResponse)
|
1673
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1674
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1675
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1676
|
+
end)
|
1677
|
+
|
1528
1678
|
api.add_operation(:describe_gateway, Seahorse::Model::Operation.new.tap do |o|
|
1529
1679
|
o.name = "DescribeGateway"
|
1530
1680
|
o.http_method = "GET"
|
@@ -1716,6 +1866,27 @@ module Aws::IoTSiteWise
|
|
1716
1866
|
)
|
1717
1867
|
end)
|
1718
1868
|
|
1869
|
+
api.add_operation(:list_asset_relationships, Seahorse::Model::Operation.new.tap do |o|
|
1870
|
+
o.name = "ListAssetRelationships"
|
1871
|
+
o.http_method = "GET"
|
1872
|
+
o.http_request_uri = "/assets/{assetId}/assetRelationships"
|
1873
|
+
o.endpoint_pattern = {
|
1874
|
+
"hostPrefix" => "model.",
|
1875
|
+
}
|
1876
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssetRelationshipsRequest)
|
1877
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssetRelationshipsResponse)
|
1878
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1879
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1880
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1881
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1882
|
+
o[:pager] = Aws::Pager.new(
|
1883
|
+
limit_key: "max_results",
|
1884
|
+
tokens: {
|
1885
|
+
"next_token" => "next_token"
|
1886
|
+
}
|
1887
|
+
)
|
1888
|
+
end)
|
1889
|
+
|
1719
1890
|
api.add_operation(:list_assets, Seahorse::Model::Operation.new.tap do |o|
|
1720
1891
|
o.name = "ListAssets"
|
1721
1892
|
o.http_method = "GET"
|
@@ -1868,6 +2039,22 @@ module Aws::IoTSiteWise
|
|
1868
2039
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1869
2040
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1870
2041
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2042
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2043
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2044
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2045
|
+
end)
|
2046
|
+
|
2047
|
+
api.add_operation(:put_default_encryption_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2048
|
+
o.name = "PutDefaultEncryptionConfiguration"
|
2049
|
+
o.http_method = "POST"
|
2050
|
+
o.http_request_uri = "/configuration/account/encryption"
|
2051
|
+
o.input = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationRequest)
|
2052
|
+
o.output = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationResponse)
|
2053
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2054
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
2055
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2056
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2057
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
1871
2058
|
end)
|
1872
2059
|
|
1873
2060
|
api.add_operation(:put_logging_options, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1896,6 +2083,9 @@ module Aws::IoTSiteWise
|
|
1896
2083
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1897
2084
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1898
2085
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2086
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2087
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2088
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1899
2089
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1900
2090
|
end)
|
1901
2091
|
|
@@ -1909,6 +2099,9 @@ module Aws::IoTSiteWise
|
|
1909
2099
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1910
2100
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1911
2101
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2102
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
|
2103
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2104
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1912
2105
|
end)
|
1913
2106
|
|
1914
2107
|
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
|