aws-sdk-iottwinmaker 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iottwinmaker/client.rb +751 -17
- data/lib/aws-sdk-iottwinmaker/client_api.rb +420 -4
- data/lib/aws-sdk-iottwinmaker/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-iottwinmaker/endpoints.rb +84 -0
- data/lib/aws-sdk-iottwinmaker/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-iottwinmaker/types.rb +971 -27
- data/lib/aws-sdk-iottwinmaker.rb +1 -1
- metadata +4 -4
@@ -32,7 +32,7 @@ module Aws::IoTTwinMaker
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://iottwinmaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -26,6 +26,20 @@ module Aws::IoTTwinMaker
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
+
class CancelMetadataTransferJob
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::IoTTwinMaker::EndpointParameters.new(
|
35
|
+
region: context.config.region,
|
36
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
37
|
+
use_fips: context.config.use_fips_endpoint,
|
38
|
+
endpoint: endpoint,
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
29
43
|
class CreateComponentType
|
30
44
|
def self.build(context)
|
31
45
|
unless context.config.regional_endpoint
|
@@ -54,6 +68,20 @@ module Aws::IoTTwinMaker
|
|
54
68
|
end
|
55
69
|
end
|
56
70
|
|
71
|
+
class CreateMetadataTransferJob
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::IoTTwinMaker::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
57
85
|
class CreateScene
|
58
86
|
def self.build(context)
|
59
87
|
unless context.config.regional_endpoint
|
@@ -208,6 +236,20 @@ module Aws::IoTTwinMaker
|
|
208
236
|
end
|
209
237
|
end
|
210
238
|
|
239
|
+
class GetMetadataTransferJob
|
240
|
+
def self.build(context)
|
241
|
+
unless context.config.regional_endpoint
|
242
|
+
endpoint = context.config.endpoint.to_s
|
243
|
+
end
|
244
|
+
Aws::IoTTwinMaker::EndpointParameters.new(
|
245
|
+
region: context.config.region,
|
246
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
247
|
+
use_fips: context.config.use_fips_endpoint,
|
248
|
+
endpoint: endpoint,
|
249
|
+
)
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
211
253
|
class GetPricingPlan
|
212
254
|
def self.build(context)
|
213
255
|
unless context.config.regional_endpoint
|
@@ -306,6 +348,20 @@ module Aws::IoTTwinMaker
|
|
306
348
|
end
|
307
349
|
end
|
308
350
|
|
351
|
+
class ListComponents
|
352
|
+
def self.build(context)
|
353
|
+
unless context.config.regional_endpoint
|
354
|
+
endpoint = context.config.endpoint.to_s
|
355
|
+
end
|
356
|
+
Aws::IoTTwinMaker::EndpointParameters.new(
|
357
|
+
region: context.config.region,
|
358
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
359
|
+
use_fips: context.config.use_fips_endpoint,
|
360
|
+
endpoint: endpoint,
|
361
|
+
)
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
309
365
|
class ListEntities
|
310
366
|
def self.build(context)
|
311
367
|
unless context.config.regional_endpoint
|
@@ -320,6 +376,34 @@ module Aws::IoTTwinMaker
|
|
320
376
|
end
|
321
377
|
end
|
322
378
|
|
379
|
+
class ListMetadataTransferJobs
|
380
|
+
def self.build(context)
|
381
|
+
unless context.config.regional_endpoint
|
382
|
+
endpoint = context.config.endpoint.to_s
|
383
|
+
end
|
384
|
+
Aws::IoTTwinMaker::EndpointParameters.new(
|
385
|
+
region: context.config.region,
|
386
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
387
|
+
use_fips: context.config.use_fips_endpoint,
|
388
|
+
endpoint: endpoint,
|
389
|
+
)
|
390
|
+
end
|
391
|
+
end
|
392
|
+
|
393
|
+
class ListProperties
|
394
|
+
def self.build(context)
|
395
|
+
unless context.config.regional_endpoint
|
396
|
+
endpoint = context.config.endpoint.to_s
|
397
|
+
end
|
398
|
+
Aws::IoTTwinMaker::EndpointParameters.new(
|
399
|
+
region: context.config.region,
|
400
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
401
|
+
use_fips: context.config.use_fips_endpoint,
|
402
|
+
endpoint: endpoint,
|
403
|
+
)
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
323
407
|
class ListScenes
|
324
408
|
def self.build(context)
|
325
409
|
unless context.config.regional_endpoint
|
@@ -58,10 +58,14 @@ module Aws::IoTTwinMaker
|
|
58
58
|
case context.operation_name
|
59
59
|
when :batch_put_property_values
|
60
60
|
Aws::IoTTwinMaker::Endpoints::BatchPutPropertyValues.build(context)
|
61
|
+
when :cancel_metadata_transfer_job
|
62
|
+
Aws::IoTTwinMaker::Endpoints::CancelMetadataTransferJob.build(context)
|
61
63
|
when :create_component_type
|
62
64
|
Aws::IoTTwinMaker::Endpoints::CreateComponentType.build(context)
|
63
65
|
when :create_entity
|
64
66
|
Aws::IoTTwinMaker::Endpoints::CreateEntity.build(context)
|
67
|
+
when :create_metadata_transfer_job
|
68
|
+
Aws::IoTTwinMaker::Endpoints::CreateMetadataTransferJob.build(context)
|
65
69
|
when :create_scene
|
66
70
|
Aws::IoTTwinMaker::Endpoints::CreateScene.build(context)
|
67
71
|
when :create_sync_job
|
@@ -84,6 +88,8 @@ module Aws::IoTTwinMaker
|
|
84
88
|
Aws::IoTTwinMaker::Endpoints::GetComponentType.build(context)
|
85
89
|
when :get_entity
|
86
90
|
Aws::IoTTwinMaker::Endpoints::GetEntity.build(context)
|
91
|
+
when :get_metadata_transfer_job
|
92
|
+
Aws::IoTTwinMaker::Endpoints::GetMetadataTransferJob.build(context)
|
87
93
|
when :get_pricing_plan
|
88
94
|
Aws::IoTTwinMaker::Endpoints::GetPricingPlan.build(context)
|
89
95
|
when :get_property_value
|
@@ -98,8 +104,14 @@ module Aws::IoTTwinMaker
|
|
98
104
|
Aws::IoTTwinMaker::Endpoints::GetWorkspace.build(context)
|
99
105
|
when :list_component_types
|
100
106
|
Aws::IoTTwinMaker::Endpoints::ListComponentTypes.build(context)
|
107
|
+
when :list_components
|
108
|
+
Aws::IoTTwinMaker::Endpoints::ListComponents.build(context)
|
101
109
|
when :list_entities
|
102
110
|
Aws::IoTTwinMaker::Endpoints::ListEntities.build(context)
|
111
|
+
when :list_metadata_transfer_jobs
|
112
|
+
Aws::IoTTwinMaker::Endpoints::ListMetadataTransferJobs.build(context)
|
113
|
+
when :list_properties
|
114
|
+
Aws::IoTTwinMaker::Endpoints::ListProperties.build(context)
|
103
115
|
when :list_scenes
|
104
116
|
Aws::IoTTwinMaker::Endpoints::ListScenes.build(context)
|
105
117
|
when :list_sync_jobs
|