aws-sdk-iotsitewise 1.23.0 → 1.27.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -85,10 +85,12 @@ module Aws::IoTSiteWise
85
85
  CapabilitySyncStatus = Shapes::StringShape.new(name: 'CapabilitySyncStatus')
86
86
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
87
87
  CompositeModelProperty = Shapes::StructureShape.new(name: 'CompositeModelProperty')
88
+ ComputeLocation = Shapes::StringShape.new(name: 'ComputeLocation')
88
89
  ConfigurationErrorDetails = Shapes::StructureShape.new(name: 'ConfigurationErrorDetails')
89
90
  ConfigurationState = Shapes::StringShape.new(name: 'ConfigurationState')
90
91
  ConfigurationStatus = Shapes::StructureShape.new(name: 'ConfigurationStatus')
91
92
  ConflictingOperationException = Shapes::StructureShape.new(name: 'ConflictingOperationException')
93
+ CoreDeviceThingName = Shapes::StringShape.new(name: 'CoreDeviceThingName')
92
94
  CreateAccessPolicyRequest = Shapes::StructureShape.new(name: 'CreateAccessPolicyRequest')
93
95
  CreateAccessPolicyResponse = Shapes::StructureShape.new(name: 'CreateAccessPolicyResponse')
94
96
  CreateAssetModelRequest = Shapes::StructureShape.new(name: 'CreateAssetModelRequest')
@@ -103,6 +105,7 @@ module Aws::IoTSiteWise
103
105
  CreatePortalResponse = Shapes::StructureShape.new(name: 'CreatePortalResponse')
104
106
  CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
105
107
  CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
108
+ CustomerManagedS3Storage = Shapes::StructureShape.new(name: 'CustomerManagedS3Storage')
106
109
  DashboardDefinition = Shapes::StringShape.new(name: 'DashboardDefinition')
107
110
  DashboardSummaries = Shapes::ListShape.new(name: 'DashboardSummaries')
108
111
  DashboardSummary = Shapes::StructureShape.new(name: 'DashboardSummary')
@@ -142,7 +145,13 @@ module Aws::IoTSiteWise
142
145
  DescribePortalResponse = Shapes::StructureShape.new(name: 'DescribePortalResponse')
143
146
  DescribeProjectRequest = Shapes::StructureShape.new(name: 'DescribeProjectRequest')
144
147
  DescribeProjectResponse = Shapes::StructureShape.new(name: 'DescribeProjectResponse')
148
+ DescribeStorageConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeStorageConfigurationRequest')
149
+ DescribeStorageConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeStorageConfigurationResponse')
145
150
  Description = Shapes::StringShape.new(name: 'Description')
151
+ DetailedError = Shapes::StructureShape.new(name: 'DetailedError')
152
+ DetailedErrorCode = Shapes::StringShape.new(name: 'DetailedErrorCode')
153
+ DetailedErrorMessage = Shapes::StringShape.new(name: 'DetailedErrorMessage')
154
+ DetailedErrors = Shapes::ListShape.new(name: 'DetailedErrors')
146
155
  DisassociateAssetsRequest = Shapes::StructureShape.new(name: 'DisassociateAssetsRequest')
147
156
  Email = Shapes::StringShape.new(name: 'Email')
148
157
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
@@ -154,6 +163,8 @@ module Aws::IoTSiteWise
154
163
  Expression = Shapes::StringShape.new(name: 'Expression')
155
164
  ExpressionVariable = Shapes::StructureShape.new(name: 'ExpressionVariable')
156
165
  ExpressionVariables = Shapes::ListShape.new(name: 'ExpressionVariables')
166
+ ForwardingConfig = Shapes::StructureShape.new(name: 'ForwardingConfig')
167
+ ForwardingConfigState = Shapes::StringShape.new(name: 'ForwardingConfigState')
157
168
  GatewayCapabilitySummaries = Shapes::ListShape.new(name: 'GatewayCapabilitySummaries')
158
169
  GatewayCapabilitySummary = Shapes::StructureShape.new(name: 'GatewayCapabilitySummary')
159
170
  GatewayPlatform = Shapes::StructureShape.new(name: 'GatewayPlatform')
@@ -168,6 +179,7 @@ module Aws::IoTSiteWise
168
179
  GetInterpolatedAssetPropertyValuesRequest = Shapes::StructureShape.new(name: 'GetInterpolatedAssetPropertyValuesRequest')
169
180
  GetInterpolatedAssetPropertyValuesResponse = Shapes::StructureShape.new(name: 'GetInterpolatedAssetPropertyValuesResponse')
170
181
  Greengrass = Shapes::StructureShape.new(name: 'Greengrass')
182
+ GreengrassV2 = Shapes::StructureShape.new(name: 'GreengrassV2')
171
183
  GroupIdentity = Shapes::StructureShape.new(name: 'GroupIdentity')
172
184
  IAMRoleIdentity = Shapes::StructureShape.new(name: 'IAMRoleIdentity')
173
185
  IAMUserIdentity = Shapes::StructureShape.new(name: 'IAMUserIdentity')
@@ -219,11 +231,14 @@ module Aws::IoTSiteWise
219
231
  MaxInterpolatedResults = Shapes::IntegerShape.new(name: 'MaxInterpolatedResults')
220
232
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
221
233
  Measurement = Shapes::StructureShape.new(name: 'Measurement')
234
+ MeasurementProcessingConfig = Shapes::StructureShape.new(name: 'MeasurementProcessingConfig')
222
235
  Metric = Shapes::StructureShape.new(name: 'Metric')
236
+ MetricProcessingConfig = Shapes::StructureShape.new(name: 'MetricProcessingConfig')
223
237
  MetricWindow = Shapes::StructureShape.new(name: 'MetricWindow')
224
238
  MonitorErrorCode = Shapes::StringShape.new(name: 'MonitorErrorCode')
225
239
  MonitorErrorDetails = Shapes::StructureShape.new(name: 'MonitorErrorDetails')
226
240
  MonitorErrorMessage = Shapes::StringShape.new(name: 'MonitorErrorMessage')
241
+ MultiLayerStorage = Shapes::StructureShape.new(name: 'MultiLayerStorage')
227
242
  Name = Shapes::StringShape.new(name: 'Name')
228
243
  NextToken = Shapes::StringShape.new(name: 'NextToken')
229
244
  OffsetInNanos = Shapes::IntegerShape.new(name: 'OffsetInNanos')
@@ -255,6 +270,8 @@ module Aws::IoTSiteWise
255
270
  PutDefaultEncryptionConfigurationResponse = Shapes::StructureShape.new(name: 'PutDefaultEncryptionConfigurationResponse')
256
271
  PutLoggingOptionsRequest = Shapes::StructureShape.new(name: 'PutLoggingOptionsRequest')
257
272
  PutLoggingOptionsResponse = Shapes::StructureShape.new(name: 'PutLoggingOptionsResponse')
273
+ PutStorageConfigurationRequest = Shapes::StructureShape.new(name: 'PutStorageConfigurationRequest')
274
+ PutStorageConfigurationResponse = Shapes::StructureShape.new(name: 'PutStorageConfigurationResponse')
258
275
  Qualities = Shapes::ListShape.new(name: 'Qualities')
259
276
  Quality = Shapes::StringShape.new(name: 'Quality')
260
277
  Resolution = Shapes::StringShape.new(name: 'Resolution')
@@ -266,6 +283,7 @@ module Aws::IoTSiteWise
266
283
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
267
284
  SSOApplicationId = Shapes::StringShape.new(name: 'SSOApplicationId')
268
285
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
286
+ StorageType = Shapes::StringShape.new(name: 'StorageType')
269
287
  TagKey = Shapes::StringShape.new(name: 'TagKey')
270
288
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
271
289
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -280,6 +298,7 @@ module Aws::IoTSiteWise
280
298
  Timestamps = Shapes::ListShape.new(name: 'Timestamps')
281
299
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
282
300
  Transform = Shapes::StructureShape.new(name: 'Transform')
301
+ TransformProcessingConfig = Shapes::StructureShape.new(name: 'TransformProcessingConfig')
283
302
  TraversalDirection = Shapes::StringShape.new(name: 'TraversalDirection')
284
303
  TraversalType = Shapes::StringShape.new(name: 'TraversalType')
285
304
  TumblingWindow = Shapes::StructureShape.new(name: 'TumblingWindow')
@@ -634,6 +653,10 @@ module Aws::IoTSiteWise
634
653
  CreateProjectResponse.add_member(:project_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "projectArn"))
635
654
  CreateProjectResponse.struct_class = Types::CreateProjectResponse
636
655
 
656
+ CustomerManagedS3Storage.add_member(:s3_resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "s3ResourceArn"))
657
+ CustomerManagedS3Storage.add_member(:role_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "roleArn"))
658
+ CustomerManagedS3Storage.struct_class = Types::CustomerManagedS3Storage
659
+
637
660
  DashboardSummaries.member = Shapes::ShapeRef.new(shape: DashboardSummary)
638
661
 
639
662
  DashboardSummary.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
@@ -817,6 +840,20 @@ module Aws::IoTSiteWise
817
840
  DescribeProjectResponse.add_member(:project_last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "projectLastUpdateDate"))
818
841
  DescribeProjectResponse.struct_class = Types::DescribeProjectResponse
819
842
 
843
+ DescribeStorageConfigurationRequest.struct_class = Types::DescribeStorageConfigurationRequest
844
+
845
+ DescribeStorageConfigurationResponse.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
846
+ DescribeStorageConfigurationResponse.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
847
+ DescribeStorageConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
848
+ DescribeStorageConfigurationResponse.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateDate"))
849
+ DescribeStorageConfigurationResponse.struct_class = Types::DescribeStorageConfigurationResponse
850
+
851
+ DetailedError.add_member(:code, Shapes::ShapeRef.new(shape: DetailedErrorCode, required: true, location_name: "code"))
852
+ DetailedError.add_member(:message, Shapes::ShapeRef.new(shape: DetailedErrorMessage, required: true, location_name: "message"))
853
+ DetailedError.struct_class = Types::DetailedError
854
+
855
+ DetailedErrors.member = Shapes::ShapeRef.new(shape: DetailedError)
856
+
820
857
  DisassociateAssetsRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location: "uri", location_name: "assetId"))
821
858
  DisassociateAssetsRequest.add_member(:hierarchy_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "hierarchyId"))
822
859
  DisassociateAssetsRequest.add_member(:child_asset_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "childAssetId"))
@@ -825,6 +862,7 @@ module Aws::IoTSiteWise
825
862
 
826
863
  ErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "code"))
827
864
  ErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
865
+ ErrorDetails.add_member(:details, Shapes::ShapeRef.new(shape: DetailedErrors, location_name: "details"))
828
866
  ErrorDetails.struct_class = Types::ErrorDetails
829
867
 
830
868
  ExpressionVariable.add_member(:name, Shapes::ShapeRef.new(shape: VariableName, required: true, location_name: "name"))
@@ -833,19 +871,24 @@ module Aws::IoTSiteWise
833
871
 
834
872
  ExpressionVariables.member = Shapes::ShapeRef.new(shape: ExpressionVariable)
835
873
 
874
+ ForwardingConfig.add_member(:state, Shapes::ShapeRef.new(shape: ForwardingConfigState, required: true, location_name: "state"))
875
+ ForwardingConfig.struct_class = Types::ForwardingConfig
876
+
836
877
  GatewayCapabilitySummaries.member = Shapes::ShapeRef.new(shape: GatewayCapabilitySummary)
837
878
 
838
879
  GatewayCapabilitySummary.add_member(:capability_namespace, Shapes::ShapeRef.new(shape: CapabilityNamespace, required: true, location_name: "capabilityNamespace"))
839
880
  GatewayCapabilitySummary.add_member(:capability_sync_status, Shapes::ShapeRef.new(shape: CapabilitySyncStatus, required: true, location_name: "capabilitySyncStatus"))
840
881
  GatewayCapabilitySummary.struct_class = Types::GatewayCapabilitySummary
841
882
 
842
- GatewayPlatform.add_member(:greengrass, Shapes::ShapeRef.new(shape: Greengrass, required: true, location_name: "greengrass"))
883
+ GatewayPlatform.add_member(:greengrass, Shapes::ShapeRef.new(shape: Greengrass, location_name: "greengrass"))
884
+ GatewayPlatform.add_member(:greengrass_v2, Shapes::ShapeRef.new(shape: GreengrassV2, location_name: "greengrassV2"))
843
885
  GatewayPlatform.struct_class = Types::GatewayPlatform
844
886
 
845
887
  GatewaySummaries.member = Shapes::ShapeRef.new(shape: GatewaySummary)
846
888
 
847
889
  GatewaySummary.add_member(:gateway_id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "gatewayId"))
848
890
  GatewaySummary.add_member(:gateway_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "gatewayName"))
891
+ GatewaySummary.add_member(:gateway_platform, Shapes::ShapeRef.new(shape: GatewayPlatform, location_name: "gatewayPlatform"))
849
892
  GatewaySummary.add_member(:gateway_capability_summaries, Shapes::ShapeRef.new(shape: GatewayCapabilitySummaries, location_name: "gatewayCapabilitySummaries"))
850
893
  GatewaySummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
851
894
  GatewaySummary.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateDate"))
@@ -912,6 +955,9 @@ module Aws::IoTSiteWise
912
955
  Greengrass.add_member(:group_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "groupArn"))
913
956
  Greengrass.struct_class = Types::Greengrass
914
957
 
958
+ GreengrassV2.add_member(:core_device_thing_name, Shapes::ShapeRef.new(shape: CoreDeviceThingName, required: true, location_name: "coreDeviceThingName"))
959
+ GreengrassV2.struct_class = Types::GreengrassV2
960
+
915
961
  GroupIdentity.add_member(:id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "id"))
916
962
  GroupIdentity.struct_class = Types::GroupIdentity
917
963
 
@@ -1060,13 +1106,21 @@ module Aws::IoTSiteWise
1060
1106
  LoggingOptions.add_member(:level, Shapes::ShapeRef.new(shape: LoggingLevel, required: true, location_name: "level"))
1061
1107
  LoggingOptions.struct_class = Types::LoggingOptions
1062
1108
 
1109
+ Measurement.add_member(:processing_config, Shapes::ShapeRef.new(shape: MeasurementProcessingConfig, location_name: "processingConfig"))
1063
1110
  Measurement.struct_class = Types::Measurement
1064
1111
 
1112
+ MeasurementProcessingConfig.add_member(:forwarding_config, Shapes::ShapeRef.new(shape: ForwardingConfig, required: true, location_name: "forwardingConfig"))
1113
+ MeasurementProcessingConfig.struct_class = Types::MeasurementProcessingConfig
1114
+
1065
1115
  Metric.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "expression"))
1066
1116
  Metric.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables, required: true, location_name: "variables"))
1067
1117
  Metric.add_member(:window, Shapes::ShapeRef.new(shape: MetricWindow, required: true, location_name: "window"))
1118
+ Metric.add_member(:processing_config, Shapes::ShapeRef.new(shape: MetricProcessingConfig, location_name: "processingConfig"))
1068
1119
  Metric.struct_class = Types::Metric
1069
1120
 
1121
+ MetricProcessingConfig.add_member(:compute_location, Shapes::ShapeRef.new(shape: ComputeLocation, required: true, location_name: "computeLocation"))
1122
+ MetricProcessingConfig.struct_class = Types::MetricProcessingConfig
1123
+
1070
1124
  MetricWindow.add_member(:tumbling, Shapes::ShapeRef.new(shape: TumblingWindow, location_name: "tumbling"))
1071
1125
  MetricWindow.struct_class = Types::MetricWindow
1072
1126
 
@@ -1074,6 +1128,9 @@ module Aws::IoTSiteWise
1074
1128
  MonitorErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: MonitorErrorMessage, location_name: "message"))
1075
1129
  MonitorErrorDetails.struct_class = Types::MonitorErrorDetails
1076
1130
 
1131
+ MultiLayerStorage.add_member(:customer_managed_s3_storage, Shapes::ShapeRef.new(shape: CustomerManagedS3Storage, required: true, location_name: "customerManagedS3Storage"))
1132
+ MultiLayerStorage.struct_class = Types::MultiLayerStorage
1133
+
1077
1134
  PortalResource.add_member(:id, Shapes::ShapeRef.new(shape: ID, required: true, location_name: "id"))
1078
1135
  PortalResource.struct_class = Types::PortalResource
1079
1136
 
@@ -1147,6 +1204,15 @@ module Aws::IoTSiteWise
1147
1204
 
1148
1205
  PutLoggingOptionsResponse.struct_class = Types::PutLoggingOptionsResponse
1149
1206
 
1207
+ PutStorageConfigurationRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
1208
+ PutStorageConfigurationRequest.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
1209
+ PutStorageConfigurationRequest.struct_class = Types::PutStorageConfigurationRequest
1210
+
1211
+ PutStorageConfigurationResponse.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, required: true, location_name: "storageType"))
1212
+ PutStorageConfigurationResponse.add_member(:multi_layer_storage, Shapes::ShapeRef.new(shape: MultiLayerStorage, location_name: "multiLayerStorage"))
1213
+ PutStorageConfigurationResponse.add_member(:configuration_status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "configurationStatus"))
1214
+ PutStorageConfigurationResponse.struct_class = Types::PutStorageConfigurationResponse
1215
+
1150
1216
  Qualities.member = Shapes::ShapeRef.new(shape: Quality)
1151
1217
 
1152
1218
  Resource.add_member(:portal, Shapes::ShapeRef.new(shape: PortalResource, location_name: "portal"))
@@ -1190,8 +1256,13 @@ module Aws::IoTSiteWise
1190
1256
 
1191
1257
  Transform.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "expression"))
1192
1258
  Transform.add_member(:variables, Shapes::ShapeRef.new(shape: ExpressionVariables, required: true, location_name: "variables"))
1259
+ Transform.add_member(:processing_config, Shapes::ShapeRef.new(shape: TransformProcessingConfig, location_name: "processingConfig"))
1193
1260
  Transform.struct_class = Types::Transform
1194
1261
 
1262
+ TransformProcessingConfig.add_member(:compute_location, Shapes::ShapeRef.new(shape: ComputeLocation, required: true, location_name: "computeLocation"))
1263
+ TransformProcessingConfig.add_member(:forwarding_config, Shapes::ShapeRef.new(shape: ForwardingConfig, location_name: "forwardingConfig"))
1264
+ TransformProcessingConfig.struct_class = Types::TransformProcessingConfig
1265
+
1195
1266
  TumblingWindow.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, required: true, location_name: "interval"))
1196
1267
  TumblingWindow.struct_class = Types::TumblingWindow
1197
1268
 
@@ -1320,7 +1391,7 @@ module Aws::IoTSiteWise
1320
1391
  o.http_method = "POST"
1321
1392
  o.http_request_uri = "/assets/{assetId}/associate"
1322
1393
  o.endpoint_pattern = {
1323
- "hostPrefix" => "model.",
1394
+ "hostPrefix" => "api.",
1324
1395
  }
1325
1396
  o.input = Shapes::ShapeRef.new(shape: AssociateAssetsRequest)
1326
1397
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
@@ -1402,7 +1473,7 @@ module Aws::IoTSiteWise
1402
1473
  o.http_method = "POST"
1403
1474
  o.http_request_uri = "/assets"
1404
1475
  o.endpoint_pattern = {
1405
- "hostPrefix" => "model.",
1476
+ "hostPrefix" => "api.",
1406
1477
  }
1407
1478
  o.input = Shapes::ShapeRef.new(shape: CreateAssetRequest)
1408
1479
  o.output = Shapes::ShapeRef.new(shape: CreateAssetResponse)
@@ -1420,7 +1491,7 @@ module Aws::IoTSiteWise
1420
1491
  o.http_method = "POST"
1421
1492
  o.http_request_uri = "/asset-models"
1422
1493
  o.endpoint_pattern = {
1423
- "hostPrefix" => "model.",
1494
+ "hostPrefix" => "api.",
1424
1495
  }
1425
1496
  o.input = Shapes::ShapeRef.new(shape: CreateAssetModelRequest)
1426
1497
  o.output = Shapes::ShapeRef.new(shape: CreateAssetModelResponse)
@@ -1454,7 +1525,7 @@ module Aws::IoTSiteWise
1454
1525
  o.http_method = "POST"
1455
1526
  o.http_request_uri = "/20200301/gateways"
1456
1527
  o.endpoint_pattern = {
1457
- "hostPrefix" => "edge.",
1528
+ "hostPrefix" => "api.",
1458
1529
  }
1459
1530
  o.input = Shapes::ShapeRef.new(shape: CreateGatewayRequest)
1460
1531
  o.output = Shapes::ShapeRef.new(shape: CreateGatewayResponse)
@@ -1517,7 +1588,7 @@ module Aws::IoTSiteWise
1517
1588
  o.http_method = "DELETE"
1518
1589
  o.http_request_uri = "/assets/{assetId}"
1519
1590
  o.endpoint_pattern = {
1520
- "hostPrefix" => "model.",
1591
+ "hostPrefix" => "api.",
1521
1592
  }
1522
1593
  o.input = Shapes::ShapeRef.new(shape: DeleteAssetRequest)
1523
1594
  o.output = Shapes::ShapeRef.new(shape: DeleteAssetResponse)
@@ -1533,7 +1604,7 @@ module Aws::IoTSiteWise
1533
1604
  o.http_method = "DELETE"
1534
1605
  o.http_request_uri = "/asset-models/{assetModelId}"
1535
1606
  o.endpoint_pattern = {
1536
- "hostPrefix" => "model.",
1607
+ "hostPrefix" => "api.",
1537
1608
  }
1538
1609
  o.input = Shapes::ShapeRef.new(shape: DeleteAssetModelRequest)
1539
1610
  o.output = Shapes::ShapeRef.new(shape: DeleteAssetModelResponse)
@@ -1564,7 +1635,7 @@ module Aws::IoTSiteWise
1564
1635
  o.http_method = "DELETE"
1565
1636
  o.http_request_uri = "/20200301/gateways/{gatewayId}"
1566
1637
  o.endpoint_pattern = {
1567
- "hostPrefix" => "edge.",
1638
+ "hostPrefix" => "api.",
1568
1639
  }
1569
1640
  o.input = Shapes::ShapeRef.new(shape: DeleteGatewayRequest)
1570
1641
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
@@ -1625,7 +1696,7 @@ module Aws::IoTSiteWise
1625
1696
  o.http_method = "GET"
1626
1697
  o.http_request_uri = "/assets/{assetId}"
1627
1698
  o.endpoint_pattern = {
1628
- "hostPrefix" => "model.",
1699
+ "hostPrefix" => "api.",
1629
1700
  }
1630
1701
  o.input = Shapes::ShapeRef.new(shape: DescribeAssetRequest)
1631
1702
  o.output = Shapes::ShapeRef.new(shape: DescribeAssetResponse)
@@ -1640,7 +1711,7 @@ module Aws::IoTSiteWise
1640
1711
  o.http_method = "GET"
1641
1712
  o.http_request_uri = "/asset-models/{assetModelId}"
1642
1713
  o.endpoint_pattern = {
1643
- "hostPrefix" => "model.",
1714
+ "hostPrefix" => "api.",
1644
1715
  }
1645
1716
  o.input = Shapes::ShapeRef.new(shape: DescribeAssetModelRequest)
1646
1717
  o.output = Shapes::ShapeRef.new(shape: DescribeAssetModelResponse)
@@ -1655,7 +1726,7 @@ module Aws::IoTSiteWise
1655
1726
  o.http_method = "GET"
1656
1727
  o.http_request_uri = "/assets/{assetId}/properties/{propertyId}"
1657
1728
  o.endpoint_pattern = {
1658
- "hostPrefix" => "model.",
1729
+ "hostPrefix" => "api.",
1659
1730
  }
1660
1731
  o.input = Shapes::ShapeRef.new(shape: DescribeAssetPropertyRequest)
1661
1732
  o.output = Shapes::ShapeRef.new(shape: DescribeAssetPropertyResponse)
@@ -1684,6 +1755,9 @@ module Aws::IoTSiteWise
1684
1755
  o.name = "DescribeDefaultEncryptionConfiguration"
1685
1756
  o.http_method = "GET"
1686
1757
  o.http_request_uri = "/configuration/account/encryption"
1758
+ o.endpoint_pattern = {
1759
+ "hostPrefix" => "api.",
1760
+ }
1687
1761
  o.input = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationRequest)
1688
1762
  o.output = Shapes::ShapeRef.new(shape: DescribeDefaultEncryptionConfigurationResponse)
1689
1763
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -1696,7 +1770,7 @@ module Aws::IoTSiteWise
1696
1770
  o.http_method = "GET"
1697
1771
  o.http_request_uri = "/20200301/gateways/{gatewayId}"
1698
1772
  o.endpoint_pattern = {
1699
- "hostPrefix" => "edge.",
1773
+ "hostPrefix" => "api.",
1700
1774
  }
1701
1775
  o.input = Shapes::ShapeRef.new(shape: DescribeGatewayRequest)
1702
1776
  o.output = Shapes::ShapeRef.new(shape: DescribeGatewayResponse)
@@ -1711,7 +1785,7 @@ module Aws::IoTSiteWise
1711
1785
  o.http_method = "GET"
1712
1786
  o.http_request_uri = "/20200301/gateways/{gatewayId}/capability/{capabilityNamespace}"
1713
1787
  o.endpoint_pattern = {
1714
- "hostPrefix" => "edge.",
1788
+ "hostPrefix" => "api.",
1715
1789
  }
1716
1790
  o.input = Shapes::ShapeRef.new(shape: DescribeGatewayCapabilityConfigurationRequest)
1717
1791
  o.output = Shapes::ShapeRef.new(shape: DescribeGatewayCapabilityConfigurationResponse)
@@ -1726,7 +1800,7 @@ module Aws::IoTSiteWise
1726
1800
  o.http_method = "GET"
1727
1801
  o.http_request_uri = "/logging"
1728
1802
  o.endpoint_pattern = {
1729
- "hostPrefix" => "model.",
1803
+ "hostPrefix" => "api.",
1730
1804
  }
1731
1805
  o.input = Shapes::ShapeRef.new(shape: DescribeLoggingOptionsRequest)
1732
1806
  o.output = Shapes::ShapeRef.new(shape: DescribeLoggingOptionsResponse)
@@ -1766,12 +1840,29 @@ module Aws::IoTSiteWise
1766
1840
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1767
1841
  end)
1768
1842
 
1843
+ api.add_operation(:describe_storage_configuration, Seahorse::Model::Operation.new.tap do |o|
1844
+ o.name = "DescribeStorageConfiguration"
1845
+ o.http_method = "GET"
1846
+ o.http_request_uri = "/configuration/account/storage"
1847
+ o.endpoint_pattern = {
1848
+ "hostPrefix" => "api.",
1849
+ }
1850
+ o.input = Shapes::ShapeRef.new(shape: DescribeStorageConfigurationRequest)
1851
+ o.output = Shapes::ShapeRef.new(shape: DescribeStorageConfigurationResponse)
1852
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1853
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1854
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
1858
+ end)
1859
+
1769
1860
  api.add_operation(:disassociate_assets, Seahorse::Model::Operation.new.tap do |o|
1770
1861
  o.name = "DisassociateAssets"
1771
1862
  o.http_method = "POST"
1772
1863
  o.http_request_uri = "/assets/{assetId}/disassociate"
1773
1864
  o.endpoint_pattern = {
1774
- "hostPrefix" => "model.",
1865
+ "hostPrefix" => "api.",
1775
1866
  }
1776
1867
  o.input = Shapes::ShapeRef.new(shape: DisassociateAssetsRequest)
1777
1868
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
@@ -1889,7 +1980,7 @@ module Aws::IoTSiteWise
1889
1980
  o.http_method = "GET"
1890
1981
  o.http_request_uri = "/asset-models"
1891
1982
  o.endpoint_pattern = {
1892
- "hostPrefix" => "model.",
1983
+ "hostPrefix" => "api.",
1893
1984
  }
1894
1985
  o.input = Shapes::ShapeRef.new(shape: ListAssetModelsRequest)
1895
1986
  o.output = Shapes::ShapeRef.new(shape: ListAssetModelsResponse)
@@ -1909,7 +2000,7 @@ module Aws::IoTSiteWise
1909
2000
  o.http_method = "GET"
1910
2001
  o.http_request_uri = "/assets/{assetId}/assetRelationships"
1911
2002
  o.endpoint_pattern = {
1912
- "hostPrefix" => "model.",
2003
+ "hostPrefix" => "api.",
1913
2004
  }
1914
2005
  o.input = Shapes::ShapeRef.new(shape: ListAssetRelationshipsRequest)
1915
2006
  o.output = Shapes::ShapeRef.new(shape: ListAssetRelationshipsResponse)
@@ -1930,7 +2021,7 @@ module Aws::IoTSiteWise
1930
2021
  o.http_method = "GET"
1931
2022
  o.http_request_uri = "/assets"
1932
2023
  o.endpoint_pattern = {
1933
- "hostPrefix" => "model.",
2024
+ "hostPrefix" => "api.",
1934
2025
  }
1935
2026
  o.input = Shapes::ShapeRef.new(shape: ListAssetsRequest)
1936
2027
  o.output = Shapes::ShapeRef.new(shape: ListAssetsResponse)
@@ -1951,7 +2042,7 @@ module Aws::IoTSiteWise
1951
2042
  o.http_method = "GET"
1952
2043
  o.http_request_uri = "/assets/{assetId}/hierarchies"
1953
2044
  o.endpoint_pattern = {
1954
- "hostPrefix" => "model.",
2045
+ "hostPrefix" => "api.",
1955
2046
  }
1956
2047
  o.input = Shapes::ShapeRef.new(shape: ListAssociatedAssetsRequest)
1957
2048
  o.output = Shapes::ShapeRef.new(shape: ListAssociatedAssetsResponse)
@@ -1992,7 +2083,7 @@ module Aws::IoTSiteWise
1992
2083
  o.http_method = "GET"
1993
2084
  o.http_request_uri = "/20200301/gateways"
1994
2085
  o.endpoint_pattern = {
1995
- "hostPrefix" => "edge.",
2086
+ "hostPrefix" => "api.",
1996
2087
  }
1997
2088
  o.input = Shapes::ShapeRef.new(shape: ListGatewaysRequest)
1998
2089
  o.output = Shapes::ShapeRef.new(shape: ListGatewaysResponse)
@@ -2071,6 +2162,9 @@ module Aws::IoTSiteWise
2071
2162
  o.name = "ListTagsForResource"
2072
2163
  o.http_method = "GET"
2073
2164
  o.http_request_uri = "/tags"
2165
+ o.endpoint_pattern = {
2166
+ "hostPrefix" => "api.",
2167
+ }
2074
2168
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
2075
2169
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
2076
2170
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -2086,6 +2180,9 @@ module Aws::IoTSiteWise
2086
2180
  o.name = "PutDefaultEncryptionConfiguration"
2087
2181
  o.http_method = "POST"
2088
2182
  o.http_request_uri = "/configuration/account/encryption"
2183
+ o.endpoint_pattern = {
2184
+ "hostPrefix" => "api.",
2185
+ }
2089
2186
  o.input = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationRequest)
2090
2187
  o.output = Shapes::ShapeRef.new(shape: PutDefaultEncryptionConfigurationResponse)
2091
2188
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -2100,7 +2197,7 @@ module Aws::IoTSiteWise
2100
2197
  o.http_method = "PUT"
2101
2198
  o.http_request_uri = "/logging"
2102
2199
  o.endpoint_pattern = {
2103
- "hostPrefix" => "model.",
2200
+ "hostPrefix" => "api.",
2104
2201
  }
2105
2202
  o.input = Shapes::ShapeRef.new(shape: PutLoggingOptionsRequest)
2106
2203
  o.output = Shapes::ShapeRef.new(shape: PutLoggingOptionsResponse)
@@ -2111,10 +2208,31 @@ module Aws::IoTSiteWise
2111
2208
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2112
2209
  end)
2113
2210
 
2211
+ api.add_operation(:put_storage_configuration, Seahorse::Model::Operation.new.tap do |o|
2212
+ o.name = "PutStorageConfiguration"
2213
+ o.http_method = "POST"
2214
+ o.http_request_uri = "/configuration/account/storage"
2215
+ o.endpoint_pattern = {
2216
+ "hostPrefix" => "api.",
2217
+ }
2218
+ o.input = Shapes::ShapeRef.new(shape: PutStorageConfigurationRequest)
2219
+ o.output = Shapes::ShapeRef.new(shape: PutStorageConfigurationResponse)
2220
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2221
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2222
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2223
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2224
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2225
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2226
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingOperationException)
2227
+ end)
2228
+
2114
2229
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2115
2230
  o.name = "TagResource"
2116
2231
  o.http_method = "POST"
2117
2232
  o.http_request_uri = "/tags"
2233
+ o.endpoint_pattern = {
2234
+ "hostPrefix" => "api.",
2235
+ }
2118
2236
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2119
2237
  o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
2120
2238
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -2131,6 +2249,9 @@ module Aws::IoTSiteWise
2131
2249
  o.name = "UntagResource"
2132
2250
  o.http_method = "DELETE"
2133
2251
  o.http_request_uri = "/tags"
2252
+ o.endpoint_pattern = {
2253
+ "hostPrefix" => "api.",
2254
+ }
2134
2255
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2135
2256
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
2136
2257
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -2162,7 +2283,7 @@ module Aws::IoTSiteWise
2162
2283
  o.http_method = "PUT"
2163
2284
  o.http_request_uri = "/assets/{assetId}"
2164
2285
  o.endpoint_pattern = {
2165
- "hostPrefix" => "model.",
2286
+ "hostPrefix" => "api.",
2166
2287
  }
2167
2288
  o.input = Shapes::ShapeRef.new(shape: UpdateAssetRequest)
2168
2289
  o.output = Shapes::ShapeRef.new(shape: UpdateAssetResponse)
@@ -2179,7 +2300,7 @@ module Aws::IoTSiteWise
2179
2300
  o.http_method = "PUT"
2180
2301
  o.http_request_uri = "/asset-models/{assetModelId}"
2181
2302
  o.endpoint_pattern = {
2182
- "hostPrefix" => "model.",
2303
+ "hostPrefix" => "api.",
2183
2304
  }
2184
2305
  o.input = Shapes::ShapeRef.new(shape: UpdateAssetModelRequest)
2185
2306
  o.output = Shapes::ShapeRef.new(shape: UpdateAssetModelResponse)
@@ -2197,7 +2318,7 @@ module Aws::IoTSiteWise
2197
2318
  o.http_method = "PUT"
2198
2319
  o.http_request_uri = "/assets/{assetId}/properties/{propertyId}"
2199
2320
  o.endpoint_pattern = {
2200
- "hostPrefix" => "model.",
2321
+ "hostPrefix" => "api.",
2201
2322
  }
2202
2323
  o.input = Shapes::ShapeRef.new(shape: UpdateAssetPropertyRequest)
2203
2324
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
@@ -2228,7 +2349,7 @@ module Aws::IoTSiteWise
2228
2349
  o.http_method = "PUT"
2229
2350
  o.http_request_uri = "/20200301/gateways/{gatewayId}"
2230
2351
  o.endpoint_pattern = {
2231
- "hostPrefix" => "edge.",
2352
+ "hostPrefix" => "api.",
2232
2353
  }
2233
2354
  o.input = Shapes::ShapeRef.new(shape: UpdateGatewayRequest)
2234
2355
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
@@ -2244,7 +2365,7 @@ module Aws::IoTSiteWise
2244
2365
  o.http_method = "POST"
2245
2366
  o.http_request_uri = "/20200301/gateways/{gatewayId}/capability"
2246
2367
  o.endpoint_pattern = {
2247
- "hostPrefix" => "edge.",
2368
+ "hostPrefix" => "api.",
2248
2369
  }
2249
2370
  o.input = Shapes::ShapeRef.new(shape: UpdateGatewayCapabilityConfigurationRequest)
2250
2371
  o.output = Shapes::ShapeRef.new(shape: UpdateGatewayCapabilityConfigurationResponse)