aws-sdk-supplychain 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-supplychain/client.rb +468 -1
- data/lib/aws-sdk-supplychain/client_api.rb +162 -0
- data/lib/aws-sdk-supplychain/endpoints.rb +55 -0
- data/lib/aws-sdk-supplychain/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-supplychain/types.rb +260 -0
- data/lib/aws-sdk-supplychain.rb +1 -1
- data/sig/client.rbs +60 -0
- data/sig/types.rbs +74 -0
- metadata +2 -2
@@ -16,6 +16,7 @@ module Aws::SupplyChain
|
|
16
16
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
18
|
AscResourceArn = Shapes::StringShape.new(name: 'AscResourceArn')
|
19
|
+
AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
|
19
20
|
BillOfMaterialsImportJob = Shapes::StructureShape.new(name: 'BillOfMaterialsImportJob')
|
20
21
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
21
22
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
@@ -28,6 +29,8 @@ module Aws::SupplyChain
|
|
28
29
|
CreateDataIntegrationFlowResponse = Shapes::StructureShape.new(name: 'CreateDataIntegrationFlowResponse')
|
29
30
|
CreateDataLakeDatasetRequest = Shapes::StructureShape.new(name: 'CreateDataLakeDatasetRequest')
|
30
31
|
CreateDataLakeDatasetResponse = Shapes::StructureShape.new(name: 'CreateDataLakeDatasetResponse')
|
32
|
+
CreateInstanceRequest = Shapes::StructureShape.new(name: 'CreateInstanceRequest')
|
33
|
+
CreateInstanceResponse = Shapes::StructureShape.new(name: 'CreateInstanceResponse')
|
31
34
|
DataIntegrationEventData = Shapes::StringShape.new(name: 'DataIntegrationEventData')
|
32
35
|
DataIntegrationEventGroupId = Shapes::StringShape.new(name: 'DataIntegrationEventGroupId')
|
33
36
|
DataIntegrationEventType = Shapes::StringShape.new(name: 'DataIntegrationEventType')
|
@@ -73,17 +76,35 @@ module Aws::SupplyChain
|
|
73
76
|
DeleteDataIntegrationFlowResponse = Shapes::StructureShape.new(name: 'DeleteDataIntegrationFlowResponse')
|
74
77
|
DeleteDataLakeDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDataLakeDatasetRequest')
|
75
78
|
DeleteDataLakeDatasetResponse = Shapes::StructureShape.new(name: 'DeleteDataLakeDatasetResponse')
|
79
|
+
DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
|
80
|
+
DeleteInstanceResponse = Shapes::StructureShape.new(name: 'DeleteInstanceResponse')
|
81
|
+
Double = Shapes::FloatShape.new(name: 'Double')
|
76
82
|
GetBillOfMaterialsImportJobRequest = Shapes::StructureShape.new(name: 'GetBillOfMaterialsImportJobRequest')
|
77
83
|
GetBillOfMaterialsImportJobResponse = Shapes::StructureShape.new(name: 'GetBillOfMaterialsImportJobResponse')
|
78
84
|
GetDataIntegrationFlowRequest = Shapes::StructureShape.new(name: 'GetDataIntegrationFlowRequest')
|
79
85
|
GetDataIntegrationFlowResponse = Shapes::StructureShape.new(name: 'GetDataIntegrationFlowResponse')
|
80
86
|
GetDataLakeDatasetRequest = Shapes::StructureShape.new(name: 'GetDataLakeDatasetRequest')
|
81
87
|
GetDataLakeDatasetResponse = Shapes::StructureShape.new(name: 'GetDataLakeDatasetResponse')
|
88
|
+
GetInstanceRequest = Shapes::StructureShape.new(name: 'GetInstanceRequest')
|
89
|
+
GetInstanceResponse = Shapes::StructureShape.new(name: 'GetInstanceResponse')
|
90
|
+
Instance = Shapes::StructureShape.new(name: 'Instance')
|
91
|
+
InstanceDescription = Shapes::StringShape.new(name: 'InstanceDescription')
|
92
|
+
InstanceList = Shapes::ListShape.new(name: 'InstanceList')
|
93
|
+
InstanceMaxResults = Shapes::IntegerShape.new(name: 'InstanceMaxResults')
|
94
|
+
InstanceName = Shapes::StringShape.new(name: 'InstanceName')
|
95
|
+
InstanceNameList = Shapes::ListShape.new(name: 'InstanceNameList')
|
96
|
+
InstanceNextToken = Shapes::StringShape.new(name: 'InstanceNextToken')
|
97
|
+
InstanceState = Shapes::StringShape.new(name: 'InstanceState')
|
98
|
+
InstanceStateList = Shapes::ListShape.new(name: 'InstanceStateList')
|
99
|
+
InstanceWebAppDnsDomain = Shapes::StringShape.new(name: 'InstanceWebAppDnsDomain')
|
82
100
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
101
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
83
102
|
ListDataIntegrationFlowsRequest = Shapes::StructureShape.new(name: 'ListDataIntegrationFlowsRequest')
|
84
103
|
ListDataIntegrationFlowsResponse = Shapes::StructureShape.new(name: 'ListDataIntegrationFlowsResponse')
|
85
104
|
ListDataLakeDatasetsRequest = Shapes::StructureShape.new(name: 'ListDataLakeDatasetsRequest')
|
86
105
|
ListDataLakeDatasetsResponse = Shapes::StructureShape.new(name: 'ListDataLakeDatasetsResponse')
|
106
|
+
ListInstancesRequest = Shapes::StructureShape.new(name: 'ListInstancesRequest')
|
107
|
+
ListInstancesResponse = Shapes::StructureShape.new(name: 'ListInstancesResponse')
|
87
108
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
88
109
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
89
110
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -108,6 +129,8 @@ module Aws::SupplyChain
|
|
108
129
|
UpdateDataIntegrationFlowResponse = Shapes::StructureShape.new(name: 'UpdateDataIntegrationFlowResponse')
|
109
130
|
UpdateDataLakeDatasetRequest = Shapes::StructureShape.new(name: 'UpdateDataLakeDatasetRequest')
|
110
131
|
UpdateDataLakeDatasetResponse = Shapes::StructureShape.new(name: 'UpdateDataLakeDatasetResponse')
|
132
|
+
UpdateInstanceRequest = Shapes::StructureShape.new(name: 'UpdateInstanceRequest')
|
133
|
+
UpdateInstanceResponse = Shapes::StructureShape.new(name: 'UpdateInstanceResponse')
|
111
134
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
112
135
|
|
113
136
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -154,6 +177,16 @@ module Aws::SupplyChain
|
|
154
177
|
CreateDataLakeDatasetResponse.add_member(:dataset, Shapes::ShapeRef.new(shape: DataLakeDataset, required: true, location_name: "dataset"))
|
155
178
|
CreateDataLakeDatasetResponse.struct_class = Types::CreateDataLakeDatasetResponse
|
156
179
|
|
180
|
+
CreateInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: InstanceName, location_name: "instanceName"))
|
181
|
+
CreateInstanceRequest.add_member(:instance_description, Shapes::ShapeRef.new(shape: InstanceDescription, location_name: "instanceDescription"))
|
182
|
+
CreateInstanceRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
183
|
+
CreateInstanceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
184
|
+
CreateInstanceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
185
|
+
CreateInstanceRequest.struct_class = Types::CreateInstanceRequest
|
186
|
+
|
187
|
+
CreateInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, required: true, location_name: "instance"))
|
188
|
+
CreateInstanceResponse.struct_class = Types::CreateInstanceResponse
|
189
|
+
|
157
190
|
DataIntegrationFlow.add_member(:instance_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "instanceId"))
|
158
191
|
DataIntegrationFlow.add_member(:name, Shapes::ShapeRef.new(shape: DataIntegrationFlowName, required: true, location_name: "name"))
|
159
192
|
DataIntegrationFlow.add_member(:sources, Shapes::ShapeRef.new(shape: DataIntegrationFlowSourceList, required: true, location_name: "sources"))
|
@@ -251,6 +284,12 @@ module Aws::SupplyChain
|
|
251
284
|
DeleteDataLakeDatasetResponse.add_member(:name, Shapes::ShapeRef.new(shape: DataLakeDatasetName, required: true, location_name: "name"))
|
252
285
|
DeleteDataLakeDatasetResponse.struct_class = Types::DeleteDataLakeDatasetResponse
|
253
286
|
|
287
|
+
DeleteInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "instanceId"))
|
288
|
+
DeleteInstanceRequest.struct_class = Types::DeleteInstanceRequest
|
289
|
+
|
290
|
+
DeleteInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, required: true, location_name: "instance"))
|
291
|
+
DeleteInstanceResponse.struct_class = Types::DeleteInstanceResponse
|
292
|
+
|
254
293
|
GetBillOfMaterialsImportJobRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "instanceId"))
|
255
294
|
GetBillOfMaterialsImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "jobId"))
|
256
295
|
GetBillOfMaterialsImportJobRequest.struct_class = Types::GetBillOfMaterialsImportJobRequest
|
@@ -273,6 +312,30 @@ module Aws::SupplyChain
|
|
273
312
|
GetDataLakeDatasetResponse.add_member(:dataset, Shapes::ShapeRef.new(shape: DataLakeDataset, required: true, location_name: "dataset"))
|
274
313
|
GetDataLakeDatasetResponse.struct_class = Types::GetDataLakeDatasetResponse
|
275
314
|
|
315
|
+
GetInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "instanceId"))
|
316
|
+
GetInstanceRequest.struct_class = Types::GetInstanceRequest
|
317
|
+
|
318
|
+
GetInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, required: true, location_name: "instance"))
|
319
|
+
GetInstanceResponse.struct_class = Types::GetInstanceResponse
|
320
|
+
|
321
|
+
Instance.add_member(:instance_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "instanceId"))
|
322
|
+
Instance.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "awsAccountId"))
|
323
|
+
Instance.add_member(:state, Shapes::ShapeRef.new(shape: InstanceState, required: true, location_name: "state"))
|
324
|
+
Instance.add_member(:web_app_dns_domain, Shapes::ShapeRef.new(shape: InstanceWebAppDnsDomain, location_name: "webAppDnsDomain"))
|
325
|
+
Instance.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTime"))
|
326
|
+
Instance.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
327
|
+
Instance.add_member(:instance_name, Shapes::ShapeRef.new(shape: InstanceName, location_name: "instanceName"))
|
328
|
+
Instance.add_member(:instance_description, Shapes::ShapeRef.new(shape: InstanceDescription, location_name: "instanceDescription"))
|
329
|
+
Instance.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
330
|
+
Instance.add_member(:version_number, Shapes::ShapeRef.new(shape: Double, location_name: "versionNumber"))
|
331
|
+
Instance.struct_class = Types::Instance
|
332
|
+
|
333
|
+
InstanceList.member = Shapes::ShapeRef.new(shape: Instance)
|
334
|
+
|
335
|
+
InstanceNameList.member = Shapes::ShapeRef.new(shape: InstanceName)
|
336
|
+
|
337
|
+
InstanceStateList.member = Shapes::ShapeRef.new(shape: InstanceState)
|
338
|
+
|
276
339
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
277
340
|
InternalServerException.struct_class = Types::InternalServerException
|
278
341
|
|
@@ -295,6 +358,16 @@ module Aws::SupplyChain
|
|
295
358
|
ListDataLakeDatasetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: DataLakeDatasetNextToken, location_name: "nextToken"))
|
296
359
|
ListDataLakeDatasetsResponse.struct_class = Types::ListDataLakeDatasetsResponse
|
297
360
|
|
361
|
+
ListInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: InstanceNextToken, location: "querystring", location_name: "nextToken"))
|
362
|
+
ListInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: InstanceMaxResults, location: "querystring", location_name: "maxResults"))
|
363
|
+
ListInstancesRequest.add_member(:instance_name_filter, Shapes::ShapeRef.new(shape: InstanceNameList, location: "querystring", location_name: "instanceNameFilter"))
|
364
|
+
ListInstancesRequest.add_member(:instance_state_filter, Shapes::ShapeRef.new(shape: InstanceStateList, location: "querystring", location_name: "instanceStateFilter"))
|
365
|
+
ListInstancesRequest.struct_class = Types::ListInstancesRequest
|
366
|
+
|
367
|
+
ListInstancesResponse.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceList, required: true, location_name: "instances"))
|
368
|
+
ListInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: InstanceNextToken, location_name: "nextToken"))
|
369
|
+
ListInstancesResponse.struct_class = Types::ListInstancesResponse
|
370
|
+
|
298
371
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AscResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
299
372
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
300
373
|
|
@@ -357,6 +430,14 @@ module Aws::SupplyChain
|
|
357
430
|
UpdateDataLakeDatasetResponse.add_member(:dataset, Shapes::ShapeRef.new(shape: DataLakeDataset, required: true, location_name: "dataset"))
|
358
431
|
UpdateDataLakeDatasetResponse.struct_class = Types::UpdateDataLakeDatasetResponse
|
359
432
|
|
433
|
+
UpdateInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "instanceId"))
|
434
|
+
UpdateInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: InstanceName, location_name: "instanceName"))
|
435
|
+
UpdateInstanceRequest.add_member(:instance_description, Shapes::ShapeRef.new(shape: InstanceDescription, location_name: "instanceDescription"))
|
436
|
+
UpdateInstanceRequest.struct_class = Types::UpdateInstanceRequest
|
437
|
+
|
438
|
+
UpdateInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, required: true, location_name: "instance"))
|
439
|
+
UpdateInstanceResponse.struct_class = Types::UpdateInstanceResponse
|
440
|
+
|
360
441
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
361
442
|
ValidationException.struct_class = Types::ValidationException
|
362
443
|
|
@@ -424,6 +505,21 @@ module Aws::SupplyChain
|
|
424
505
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
425
506
|
end)
|
426
507
|
|
508
|
+
api.add_operation(:create_instance, Seahorse::Model::Operation.new.tap do |o|
|
509
|
+
o.name = "CreateInstance"
|
510
|
+
o.http_method = "POST"
|
511
|
+
o.http_request_uri = "/api/instance"
|
512
|
+
o.input = Shapes::ShapeRef.new(shape: CreateInstanceRequest)
|
513
|
+
o.output = Shapes::ShapeRef.new(shape: CreateInstanceResponse)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
521
|
+
end)
|
522
|
+
|
427
523
|
api.add_operation(:delete_data_integration_flow, Seahorse::Model::Operation.new.tap do |o|
|
428
524
|
o.name = "DeleteDataIntegrationFlow"
|
429
525
|
o.http_method = "DELETE"
|
@@ -454,6 +550,21 @@ module Aws::SupplyChain
|
|
454
550
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
455
551
|
end)
|
456
552
|
|
553
|
+
api.add_operation(:delete_instance, Seahorse::Model::Operation.new.tap do |o|
|
554
|
+
o.name = "DeleteInstance"
|
555
|
+
o.http_method = "DELETE"
|
556
|
+
o.http_request_uri = "/api/instance/{instanceId}"
|
557
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteInstanceRequest)
|
558
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteInstanceResponse)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
566
|
+
end)
|
567
|
+
|
457
568
|
api.add_operation(:get_bill_of_materials_import_job, Seahorse::Model::Operation.new.tap do |o|
|
458
569
|
o.name = "GetBillOfMaterialsImportJob"
|
459
570
|
o.http_method = "GET"
|
@@ -499,6 +610,21 @@ module Aws::SupplyChain
|
|
499
610
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
500
611
|
end)
|
501
612
|
|
613
|
+
api.add_operation(:get_instance, Seahorse::Model::Operation.new.tap do |o|
|
614
|
+
o.name = "GetInstance"
|
615
|
+
o.http_method = "GET"
|
616
|
+
o.http_request_uri = "/api/instance/{instanceId}"
|
617
|
+
o.input = Shapes::ShapeRef.new(shape: GetInstanceRequest)
|
618
|
+
o.output = Shapes::ShapeRef.new(shape: GetInstanceResponse)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
621
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
623
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
626
|
+
end)
|
627
|
+
|
502
628
|
api.add_operation(:list_data_integration_flows, Seahorse::Model::Operation.new.tap do |o|
|
503
629
|
o.name = "ListDataIntegrationFlows"
|
504
630
|
o.http_method = "GET"
|
@@ -541,6 +667,27 @@ module Aws::SupplyChain
|
|
541
667
|
)
|
542
668
|
end)
|
543
669
|
|
670
|
+
api.add_operation(:list_instances, Seahorse::Model::Operation.new.tap do |o|
|
671
|
+
o.name = "ListInstances"
|
672
|
+
o.http_method = "GET"
|
673
|
+
o.http_request_uri = "/api/instance"
|
674
|
+
o.input = Shapes::ShapeRef.new(shape: ListInstancesRequest)
|
675
|
+
o.output = Shapes::ShapeRef.new(shape: ListInstancesResponse)
|
676
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
683
|
+
o[:pager] = Aws::Pager.new(
|
684
|
+
limit_key: "max_results",
|
685
|
+
tokens: {
|
686
|
+
"next_token" => "next_token"
|
687
|
+
}
|
688
|
+
)
|
689
|
+
end)
|
690
|
+
|
544
691
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
545
692
|
o.name = "ListTagsForResource"
|
546
693
|
o.http_method = "GET"
|
@@ -630,6 +777,21 @@ module Aws::SupplyChain
|
|
630
777
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
631
778
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
632
779
|
end)
|
780
|
+
|
781
|
+
api.add_operation(:update_instance, Seahorse::Model::Operation.new.tap do |o|
|
782
|
+
o.name = "UpdateInstance"
|
783
|
+
o.http_method = "PATCH"
|
784
|
+
o.http_request_uri = "/api/instance/{instanceId}"
|
785
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateInstanceRequest)
|
786
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateInstanceResponse)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
789
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
790
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
791
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
794
|
+
end)
|
633
795
|
end
|
634
796
|
|
635
797
|
end
|
@@ -45,6 +45,17 @@ module Aws::SupplyChain
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
class CreateInstance
|
49
|
+
def self.build(context)
|
50
|
+
Aws::SupplyChain::EndpointParameters.new(
|
51
|
+
region: context.config.region,
|
52
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
53
|
+
use_fips: context.config.use_fips_endpoint,
|
54
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
|
+
)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
48
59
|
class DeleteDataIntegrationFlow
|
49
60
|
def self.build(context)
|
50
61
|
Aws::SupplyChain::EndpointParameters.new(
|
@@ -67,6 +78,17 @@ module Aws::SupplyChain
|
|
67
78
|
end
|
68
79
|
end
|
69
80
|
|
81
|
+
class DeleteInstance
|
82
|
+
def self.build(context)
|
83
|
+
Aws::SupplyChain::EndpointParameters.new(
|
84
|
+
region: context.config.region,
|
85
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
86
|
+
use_fips: context.config.use_fips_endpoint,
|
87
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
88
|
+
)
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
70
92
|
class GetBillOfMaterialsImportJob
|
71
93
|
def self.build(context)
|
72
94
|
Aws::SupplyChain::EndpointParameters.new(
|
@@ -100,6 +122,17 @@ module Aws::SupplyChain
|
|
100
122
|
end
|
101
123
|
end
|
102
124
|
|
125
|
+
class GetInstance
|
126
|
+
def self.build(context)
|
127
|
+
Aws::SupplyChain::EndpointParameters.new(
|
128
|
+
region: context.config.region,
|
129
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
130
|
+
use_fips: context.config.use_fips_endpoint,
|
131
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
132
|
+
)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
103
136
|
class ListDataIntegrationFlows
|
104
137
|
def self.build(context)
|
105
138
|
Aws::SupplyChain::EndpointParameters.new(
|
@@ -122,6 +155,17 @@ module Aws::SupplyChain
|
|
122
155
|
end
|
123
156
|
end
|
124
157
|
|
158
|
+
class ListInstances
|
159
|
+
def self.build(context)
|
160
|
+
Aws::SupplyChain::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
125
169
|
class ListTagsForResource
|
126
170
|
def self.build(context)
|
127
171
|
Aws::SupplyChain::EndpointParameters.new(
|
@@ -188,5 +232,16 @@ module Aws::SupplyChain
|
|
188
232
|
end
|
189
233
|
end
|
190
234
|
|
235
|
+
class UpdateInstance
|
236
|
+
def self.build(context)
|
237
|
+
Aws::SupplyChain::EndpointParameters.new(
|
238
|
+
region: context.config.region,
|
239
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
240
|
+
use_fips: context.config.use_fips_endpoint,
|
241
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
242
|
+
)
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
191
246
|
end
|
192
247
|
end
|
@@ -76,20 +76,28 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
76
76
|
Aws::SupplyChain::Endpoints::CreateDataIntegrationFlow.build(context)
|
77
77
|
when :create_data_lake_dataset
|
78
78
|
Aws::SupplyChain::Endpoints::CreateDataLakeDataset.build(context)
|
79
|
+
when :create_instance
|
80
|
+
Aws::SupplyChain::Endpoints::CreateInstance.build(context)
|
79
81
|
when :delete_data_integration_flow
|
80
82
|
Aws::SupplyChain::Endpoints::DeleteDataIntegrationFlow.build(context)
|
81
83
|
when :delete_data_lake_dataset
|
82
84
|
Aws::SupplyChain::Endpoints::DeleteDataLakeDataset.build(context)
|
85
|
+
when :delete_instance
|
86
|
+
Aws::SupplyChain::Endpoints::DeleteInstance.build(context)
|
83
87
|
when :get_bill_of_materials_import_job
|
84
88
|
Aws::SupplyChain::Endpoints::GetBillOfMaterialsImportJob.build(context)
|
85
89
|
when :get_data_integration_flow
|
86
90
|
Aws::SupplyChain::Endpoints::GetDataIntegrationFlow.build(context)
|
87
91
|
when :get_data_lake_dataset
|
88
92
|
Aws::SupplyChain::Endpoints::GetDataLakeDataset.build(context)
|
93
|
+
when :get_instance
|
94
|
+
Aws::SupplyChain::Endpoints::GetInstance.build(context)
|
89
95
|
when :list_data_integration_flows
|
90
96
|
Aws::SupplyChain::Endpoints::ListDataIntegrationFlows.build(context)
|
91
97
|
when :list_data_lake_datasets
|
92
98
|
Aws::SupplyChain::Endpoints::ListDataLakeDatasets.build(context)
|
99
|
+
when :list_instances
|
100
|
+
Aws::SupplyChain::Endpoints::ListInstances.build(context)
|
93
101
|
when :list_tags_for_resource
|
94
102
|
Aws::SupplyChain::Endpoints::ListTagsForResource.build(context)
|
95
103
|
when :send_data_integration_event
|
@@ -102,6 +110,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
102
110
|
Aws::SupplyChain::Endpoints::UpdateDataIntegrationFlow.build(context)
|
103
111
|
when :update_data_lake_dataset
|
104
112
|
Aws::SupplyChain::Endpoints::UpdateDataLakeDataset.build(context)
|
113
|
+
when :update_instance
|
114
|
+
Aws::SupplyChain::Endpoints::UpdateInstance.build(context)
|
105
115
|
end
|
106
116
|
end
|
107
117
|
end
|