aws-sdk-proton 1.23.0 → 1.25.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-proton/client.rb +457 -7
- data/lib/aws-sdk-proton/client_api.rb +239 -0
- data/lib/aws-sdk-proton/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-proton/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-proton/endpoints.rb +112 -0
- data/lib/aws-sdk-proton/plugins/endpoints.rb +16 -0
- data/lib/aws-sdk-proton/types.rb +515 -3
- data/lib/aws-sdk-proton.rb +1 -1
- metadata +4 -4
@@ -19,6 +19,8 @@ module Aws::Proton
|
|
19
19
|
AccountSettings = Shapes::StructureShape.new(name: 'AccountSettings')
|
20
20
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
21
21
|
AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
|
22
|
+
BlockerStatus = Shapes::StringShape.new(name: 'BlockerStatus')
|
23
|
+
BlockerType = Shapes::StringShape.new(name: 'BlockerType')
|
22
24
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
23
25
|
CancelComponentDeploymentInput = Shapes::StructureShape.new(name: 'CancelComponentDeploymentInput')
|
24
26
|
CancelComponentDeploymentOutput = Shapes::StructureShape.new(name: 'CancelComponentDeploymentOutput')
|
@@ -53,7 +55,11 @@ module Aws::Proton
|
|
53
55
|
CreateRepositoryInput = Shapes::StructureShape.new(name: 'CreateRepositoryInput')
|
54
56
|
CreateRepositoryOutput = Shapes::StructureShape.new(name: 'CreateRepositoryOutput')
|
55
57
|
CreateServiceInput = Shapes::StructureShape.new(name: 'CreateServiceInput')
|
58
|
+
CreateServiceInstanceInput = Shapes::StructureShape.new(name: 'CreateServiceInstanceInput')
|
59
|
+
CreateServiceInstanceOutput = Shapes::StructureShape.new(name: 'CreateServiceInstanceOutput')
|
56
60
|
CreateServiceOutput = Shapes::StructureShape.new(name: 'CreateServiceOutput')
|
61
|
+
CreateServiceSyncConfigInput = Shapes::StructureShape.new(name: 'CreateServiceSyncConfigInput')
|
62
|
+
CreateServiceSyncConfigOutput = Shapes::StructureShape.new(name: 'CreateServiceSyncConfigOutput')
|
57
63
|
CreateServiceTemplateInput = Shapes::StructureShape.new(name: 'CreateServiceTemplateInput')
|
58
64
|
CreateServiceTemplateOutput = Shapes::StructureShape.new(name: 'CreateServiceTemplateOutput')
|
59
65
|
CreateServiceTemplateVersionInput = Shapes::StructureShape.new(name: 'CreateServiceTemplateVersionInput')
|
@@ -74,6 +80,8 @@ module Aws::Proton
|
|
74
80
|
DeleteRepositoryOutput = Shapes::StructureShape.new(name: 'DeleteRepositoryOutput')
|
75
81
|
DeleteServiceInput = Shapes::StructureShape.new(name: 'DeleteServiceInput')
|
76
82
|
DeleteServiceOutput = Shapes::StructureShape.new(name: 'DeleteServiceOutput')
|
83
|
+
DeleteServiceSyncConfigInput = Shapes::StructureShape.new(name: 'DeleteServiceSyncConfigInput')
|
84
|
+
DeleteServiceSyncConfigOutput = Shapes::StructureShape.new(name: 'DeleteServiceSyncConfigOutput')
|
77
85
|
DeleteServiceTemplateInput = Shapes::StructureShape.new(name: 'DeleteServiceTemplateInput')
|
78
86
|
DeleteServiceTemplateOutput = Shapes::StructureShape.new(name: 'DeleteServiceTemplateOutput')
|
79
87
|
DeleteServiceTemplateVersionInput = Shapes::StructureShape.new(name: 'DeleteServiceTemplateVersionInput')
|
@@ -131,7 +139,13 @@ module Aws::Proton
|
|
131
139
|
GetServiceInput = Shapes::StructureShape.new(name: 'GetServiceInput')
|
132
140
|
GetServiceInstanceInput = Shapes::StructureShape.new(name: 'GetServiceInstanceInput')
|
133
141
|
GetServiceInstanceOutput = Shapes::StructureShape.new(name: 'GetServiceInstanceOutput')
|
142
|
+
GetServiceInstanceSyncStatusInput = Shapes::StructureShape.new(name: 'GetServiceInstanceSyncStatusInput')
|
143
|
+
GetServiceInstanceSyncStatusOutput = Shapes::StructureShape.new(name: 'GetServiceInstanceSyncStatusOutput')
|
134
144
|
GetServiceOutput = Shapes::StructureShape.new(name: 'GetServiceOutput')
|
145
|
+
GetServiceSyncBlockerSummaryInput = Shapes::StructureShape.new(name: 'GetServiceSyncBlockerSummaryInput')
|
146
|
+
GetServiceSyncBlockerSummaryOutput = Shapes::StructureShape.new(name: 'GetServiceSyncBlockerSummaryOutput')
|
147
|
+
GetServiceSyncConfigInput = Shapes::StructureShape.new(name: 'GetServiceSyncConfigInput')
|
148
|
+
GetServiceSyncConfigOutput = Shapes::StructureShape.new(name: 'GetServiceSyncConfigOutput')
|
135
149
|
GetServiceTemplateInput = Shapes::StructureShape.new(name: 'GetServiceTemplateInput')
|
136
150
|
GetServiceTemplateOutput = Shapes::StructureShape.new(name: 'GetServiceTemplateOutput')
|
137
151
|
GetServiceTemplateVersionInput = Shapes::StructureShape.new(name: 'GetServiceTemplateVersionInput')
|
@@ -143,6 +157,7 @@ module Aws::Proton
|
|
143
157
|
GitBranchName = Shapes::StringShape.new(name: 'GitBranchName')
|
144
158
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
145
159
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
160
|
+
LatestSyncBlockers = Shapes::ListShape.new(name: 'LatestSyncBlockers')
|
146
161
|
ListComponentOutputsInput = Shapes::StructureShape.new(name: 'ListComponentOutputsInput')
|
147
162
|
ListComponentOutputsOutput = Shapes::StructureShape.new(name: 'ListComponentOutputsOutput')
|
148
163
|
ListComponentProvisionedResourcesInput = Shapes::StructureShape.new(name: 'ListComponentProvisionedResourcesInput')
|
@@ -194,6 +209,7 @@ module Aws::Proton
|
|
194
209
|
NotifyResourceDeploymentStatusChangeInputOutputsList = Shapes::ListShape.new(name: 'NotifyResourceDeploymentStatusChangeInputOutputsList')
|
195
210
|
NotifyResourceDeploymentStatusChangeInputStatusMessageString = Shapes::StringShape.new(name: 'NotifyResourceDeploymentStatusChangeInputStatusMessageString')
|
196
211
|
NotifyResourceDeploymentStatusChangeOutput = Shapes::StructureShape.new(name: 'NotifyResourceDeploymentStatusChangeOutput')
|
212
|
+
OpsFilePath = Shapes::StringShape.new(name: 'OpsFilePath')
|
197
213
|
Output = Shapes::StructureShape.new(name: 'Output')
|
198
214
|
OutputKey = Shapes::StringShape.new(name: 'OutputKey')
|
199
215
|
OutputValueString = Shapes::StringShape.new(name: 'OutputValueString')
|
@@ -248,6 +264,8 @@ module Aws::Proton
|
|
248
264
|
ServiceStatus = Shapes::StringShape.new(name: 'ServiceStatus')
|
249
265
|
ServiceSummary = Shapes::StructureShape.new(name: 'ServiceSummary')
|
250
266
|
ServiceSummaryList = Shapes::ListShape.new(name: 'ServiceSummaryList')
|
267
|
+
ServiceSyncBlockerSummary = Shapes::StructureShape.new(name: 'ServiceSyncBlockerSummary')
|
268
|
+
ServiceSyncConfig = Shapes::StructureShape.new(name: 'ServiceSyncConfig')
|
251
269
|
ServiceTemplate = Shapes::StructureShape.new(name: 'ServiceTemplate')
|
252
270
|
ServiceTemplateArn = Shapes::StringShape.new(name: 'ServiceTemplateArn')
|
253
271
|
ServiceTemplateSummary = Shapes::StructureShape.new(name: 'ServiceTemplateSummary')
|
@@ -263,6 +281,9 @@ module Aws::Proton
|
|
263
281
|
StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
|
264
282
|
String = Shapes::StringShape.new(name: 'String')
|
265
283
|
Subdirectory = Shapes::StringShape.new(name: 'Subdirectory')
|
284
|
+
SyncBlocker = Shapes::StructureShape.new(name: 'SyncBlocker')
|
285
|
+
SyncBlockerContext = Shapes::StructureShape.new(name: 'SyncBlockerContext')
|
286
|
+
SyncBlockerContexts = Shapes::ListShape.new(name: 'SyncBlockerContexts')
|
266
287
|
SyncType = Shapes::StringShape.new(name: 'SyncType')
|
267
288
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
268
289
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -301,6 +322,10 @@ module Aws::Proton
|
|
301
322
|
UpdateServiceOutput = Shapes::StructureShape.new(name: 'UpdateServiceOutput')
|
302
323
|
UpdateServicePipelineInput = Shapes::StructureShape.new(name: 'UpdateServicePipelineInput')
|
303
324
|
UpdateServicePipelineOutput = Shapes::StructureShape.new(name: 'UpdateServicePipelineOutput')
|
325
|
+
UpdateServiceSyncBlockerInput = Shapes::StructureShape.new(name: 'UpdateServiceSyncBlockerInput')
|
326
|
+
UpdateServiceSyncBlockerOutput = Shapes::StructureShape.new(name: 'UpdateServiceSyncBlockerOutput')
|
327
|
+
UpdateServiceSyncConfigInput = Shapes::StructureShape.new(name: 'UpdateServiceSyncConfigInput')
|
328
|
+
UpdateServiceSyncConfigOutput = Shapes::StructureShape.new(name: 'UpdateServiceSyncConfigOutput')
|
304
329
|
UpdateServiceTemplateInput = Shapes::StructureShape.new(name: 'UpdateServiceTemplateInput')
|
305
330
|
UpdateServiceTemplateOutput = Shapes::StructureShape.new(name: 'UpdateServiceTemplateOutput')
|
306
331
|
UpdateServiceTemplateVersionInput = Shapes::StructureShape.new(name: 'UpdateServiceTemplateVersionInput')
|
@@ -366,6 +391,7 @@ module Aws::Proton
|
|
366
391
|
Component.add_member(:deployment_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "deploymentStatusMessage"))
|
367
392
|
Component.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
368
393
|
Component.add_member(:environment_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "environmentName"))
|
394
|
+
Component.add_member(:last_client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "lastClientRequestToken"))
|
369
395
|
Component.add_member(:last_deployment_attempted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastDeploymentAttemptedAt"))
|
370
396
|
Component.add_member(:last_deployment_succeeded_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastDeploymentSucceededAt"))
|
371
397
|
Component.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedAt"))
|
@@ -402,6 +428,7 @@ module Aws::Proton
|
|
402
428
|
CountsSummary.add_member(:services, Shapes::ShapeRef.new(shape: ResourceCountsSummary, location_name: "services"))
|
403
429
|
CountsSummary.struct_class = Types::CountsSummary
|
404
430
|
|
431
|
+
CreateComponentInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
405
432
|
CreateComponentInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
406
433
|
CreateComponentInput.add_member(:environment_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "environmentName"))
|
407
434
|
CreateComponentInput.add_member(:manifest, Shapes::ShapeRef.new(shape: TemplateManifestContents, required: true, location_name: "manifest"))
|
@@ -489,9 +516,31 @@ module Aws::Proton
|
|
489
516
|
CreateServiceInput.add_member(:template_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "templateName"))
|
490
517
|
CreateServiceInput.struct_class = Types::CreateServiceInput
|
491
518
|
|
519
|
+
CreateServiceInstanceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
520
|
+
CreateServiceInstanceInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
521
|
+
CreateServiceInstanceInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
522
|
+
CreateServiceInstanceInput.add_member(:spec, Shapes::ShapeRef.new(shape: SpecContents, required: true, location_name: "spec"))
|
523
|
+
CreateServiceInstanceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
524
|
+
CreateServiceInstanceInput.add_member(:template_major_version, Shapes::ShapeRef.new(shape: TemplateVersionPart, location_name: "templateMajorVersion"))
|
525
|
+
CreateServiceInstanceInput.add_member(:template_minor_version, Shapes::ShapeRef.new(shape: TemplateVersionPart, location_name: "templateMinorVersion"))
|
526
|
+
CreateServiceInstanceInput.struct_class = Types::CreateServiceInstanceInput
|
527
|
+
|
528
|
+
CreateServiceInstanceOutput.add_member(:service_instance, Shapes::ShapeRef.new(shape: ServiceInstance, required: true, location_name: "serviceInstance"))
|
529
|
+
CreateServiceInstanceOutput.struct_class = Types::CreateServiceInstanceOutput
|
530
|
+
|
492
531
|
CreateServiceOutput.add_member(:service, Shapes::ShapeRef.new(shape: Service, required: true, location_name: "service"))
|
493
532
|
CreateServiceOutput.struct_class = Types::CreateServiceOutput
|
494
533
|
|
534
|
+
CreateServiceSyncConfigInput.add_member(:branch, Shapes::ShapeRef.new(shape: GitBranchName, required: true, location_name: "branch"))
|
535
|
+
CreateServiceSyncConfigInput.add_member(:file_path, Shapes::ShapeRef.new(shape: OpsFilePath, required: true, location_name: "filePath"))
|
536
|
+
CreateServiceSyncConfigInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
537
|
+
CreateServiceSyncConfigInput.add_member(:repository_provider, Shapes::ShapeRef.new(shape: RepositoryProvider, required: true, location_name: "repositoryProvider"))
|
538
|
+
CreateServiceSyncConfigInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
539
|
+
CreateServiceSyncConfigInput.struct_class = Types::CreateServiceSyncConfigInput
|
540
|
+
|
541
|
+
CreateServiceSyncConfigOutput.add_member(:service_sync_config, Shapes::ShapeRef.new(shape: ServiceSyncConfig, location_name: "serviceSyncConfig"))
|
542
|
+
CreateServiceSyncConfigOutput.struct_class = Types::CreateServiceSyncConfigOutput
|
543
|
+
|
495
544
|
CreateServiceTemplateInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
496
545
|
CreateServiceTemplateInput.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
497
546
|
CreateServiceTemplateInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: Arn, location_name: "encryptionKey"))
|
@@ -572,6 +621,12 @@ module Aws::Proton
|
|
572
621
|
DeleteServiceOutput.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
573
622
|
DeleteServiceOutput.struct_class = Types::DeleteServiceOutput
|
574
623
|
|
624
|
+
DeleteServiceSyncConfigInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
625
|
+
DeleteServiceSyncConfigInput.struct_class = Types::DeleteServiceSyncConfigInput
|
626
|
+
|
627
|
+
DeleteServiceSyncConfigOutput.add_member(:service_sync_config, Shapes::ShapeRef.new(shape: ServiceSyncConfig, location_name: "serviceSyncConfig"))
|
628
|
+
DeleteServiceSyncConfigOutput.struct_class = Types::DeleteServiceSyncConfigOutput
|
629
|
+
|
575
630
|
DeleteServiceTemplateInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
576
631
|
DeleteServiceTemplateInput.struct_class = Types::DeleteServiceTemplateInput
|
577
632
|
|
@@ -787,9 +842,31 @@ module Aws::Proton
|
|
787
842
|
GetServiceInstanceOutput.add_member(:service_instance, Shapes::ShapeRef.new(shape: ServiceInstance, required: true, location_name: "serviceInstance"))
|
788
843
|
GetServiceInstanceOutput.struct_class = Types::GetServiceInstanceOutput
|
789
844
|
|
845
|
+
GetServiceInstanceSyncStatusInput.add_member(:service_instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceInstanceName"))
|
846
|
+
GetServiceInstanceSyncStatusInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
847
|
+
GetServiceInstanceSyncStatusInput.struct_class = Types::GetServiceInstanceSyncStatusInput
|
848
|
+
|
849
|
+
GetServiceInstanceSyncStatusOutput.add_member(:desired_state, Shapes::ShapeRef.new(shape: Revision, location_name: "desiredState"))
|
850
|
+
GetServiceInstanceSyncStatusOutput.add_member(:latest_successful_sync, Shapes::ShapeRef.new(shape: ResourceSyncAttempt, location_name: "latestSuccessfulSync"))
|
851
|
+
GetServiceInstanceSyncStatusOutput.add_member(:latest_sync, Shapes::ShapeRef.new(shape: ResourceSyncAttempt, location_name: "latestSync"))
|
852
|
+
GetServiceInstanceSyncStatusOutput.struct_class = Types::GetServiceInstanceSyncStatusOutput
|
853
|
+
|
790
854
|
GetServiceOutput.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
791
855
|
GetServiceOutput.struct_class = Types::GetServiceOutput
|
792
856
|
|
857
|
+
GetServiceSyncBlockerSummaryInput.add_member(:service_instance_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "serviceInstanceName"))
|
858
|
+
GetServiceSyncBlockerSummaryInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
859
|
+
GetServiceSyncBlockerSummaryInput.struct_class = Types::GetServiceSyncBlockerSummaryInput
|
860
|
+
|
861
|
+
GetServiceSyncBlockerSummaryOutput.add_member(:service_sync_blocker_summary, Shapes::ShapeRef.new(shape: ServiceSyncBlockerSummary, location_name: "serviceSyncBlockerSummary"))
|
862
|
+
GetServiceSyncBlockerSummaryOutput.struct_class = Types::GetServiceSyncBlockerSummaryOutput
|
863
|
+
|
864
|
+
GetServiceSyncConfigInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
865
|
+
GetServiceSyncConfigInput.struct_class = Types::GetServiceSyncConfigInput
|
866
|
+
|
867
|
+
GetServiceSyncConfigOutput.add_member(:service_sync_config, Shapes::ShapeRef.new(shape: ServiceSyncConfig, location_name: "serviceSyncConfig"))
|
868
|
+
GetServiceSyncConfigOutput.struct_class = Types::GetServiceSyncConfigOutput
|
869
|
+
|
793
870
|
GetServiceTemplateInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
794
871
|
GetServiceTemplateInput.struct_class = Types::GetServiceTemplateInput
|
795
872
|
|
@@ -824,6 +901,8 @@ module Aws::Proton
|
|
824
901
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
|
825
902
|
InternalServerException.struct_class = Types::InternalServerException
|
826
903
|
|
904
|
+
LatestSyncBlockers.member = Shapes::ShapeRef.new(shape: SyncBlocker)
|
905
|
+
|
827
906
|
ListComponentOutputsInput.add_member(:component_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "componentName"))
|
828
907
|
ListComponentOutputsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: EmptyNextToken, location_name: "nextToken"))
|
829
908
|
ListComponentOutputsInput.struct_class = Types::ListComponentOutputsInput
|
@@ -1059,6 +1138,7 @@ module Aws::Proton
|
|
1059
1138
|
RepositoryBranchInput.struct_class = Types::RepositoryBranchInput
|
1060
1139
|
|
1061
1140
|
RepositorySummary.add_member(:arn, Shapes::ShapeRef.new(shape: RepositoryArn, required: true, location_name: "arn"))
|
1141
|
+
RepositorySummary.add_member(:connection_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "connectionArn"))
|
1062
1142
|
RepositorySummary.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "name"))
|
1063
1143
|
RepositorySummary.add_member(:provider, Shapes::ShapeRef.new(shape: RepositoryProvider, required: true, location_name: "provider"))
|
1064
1144
|
RepositorySummary.struct_class = Types::RepositorySummary
|
@@ -1143,6 +1223,7 @@ module Aws::Proton
|
|
1143
1223
|
ServiceInstance.add_member(:deployment_status, Shapes::ShapeRef.new(shape: DeploymentStatus, required: true, location_name: "deploymentStatus"))
|
1144
1224
|
ServiceInstance.add_member(:deployment_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "deploymentStatusMessage"))
|
1145
1225
|
ServiceInstance.add_member(:environment_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "environmentName"))
|
1226
|
+
ServiceInstance.add_member(:last_client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "lastClientRequestToken"))
|
1146
1227
|
ServiceInstance.add_member(:last_deployment_attempted_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastDeploymentAttemptedAt"))
|
1147
1228
|
ServiceInstance.add_member(:last_deployment_succeeded_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastDeploymentSucceededAt"))
|
1148
1229
|
ServiceInstance.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
@@ -1196,6 +1277,18 @@ module Aws::Proton
|
|
1196
1277
|
|
1197
1278
|
ServiceSummaryList.member = Shapes::ShapeRef.new(shape: ServiceSummary)
|
1198
1279
|
|
1280
|
+
ServiceSyncBlockerSummary.add_member(:latest_blockers, Shapes::ShapeRef.new(shape: LatestSyncBlockers, location_name: "latestBlockers"))
|
1281
|
+
ServiceSyncBlockerSummary.add_member(:service_instance_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceInstanceName"))
|
1282
|
+
ServiceSyncBlockerSummary.add_member(:service_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceName"))
|
1283
|
+
ServiceSyncBlockerSummary.struct_class = Types::ServiceSyncBlockerSummary
|
1284
|
+
|
1285
|
+
ServiceSyncConfig.add_member(:branch, Shapes::ShapeRef.new(shape: GitBranchName, required: true, location_name: "branch"))
|
1286
|
+
ServiceSyncConfig.add_member(:file_path, Shapes::ShapeRef.new(shape: OpsFilePath, required: true, location_name: "filePath"))
|
1287
|
+
ServiceSyncConfig.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
1288
|
+
ServiceSyncConfig.add_member(:repository_provider, Shapes::ShapeRef.new(shape: RepositoryProvider, required: true, location_name: "repositoryProvider"))
|
1289
|
+
ServiceSyncConfig.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
1290
|
+
ServiceSyncConfig.struct_class = Types::ServiceSyncConfig
|
1291
|
+
|
1199
1292
|
ServiceTemplate.add_member(:arn, Shapes::ShapeRef.new(shape: ServiceTemplateArn, required: true, location_name: "arn"))
|
1200
1293
|
ServiceTemplate.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
1201
1294
|
ServiceTemplate.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
@@ -1250,6 +1343,22 @@ module Aws::Proton
|
|
1250
1343
|
|
1251
1344
|
ServiceTemplateVersionSummaryList.member = Shapes::ShapeRef.new(shape: ServiceTemplateVersionSummary)
|
1252
1345
|
|
1346
|
+
SyncBlocker.add_member(:contexts, Shapes::ShapeRef.new(shape: SyncBlockerContexts, location_name: "contexts"))
|
1347
|
+
SyncBlocker.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
1348
|
+
SyncBlocker.add_member(:created_reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "createdReason"))
|
1349
|
+
SyncBlocker.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
1350
|
+
SyncBlocker.add_member(:resolved_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "resolvedAt"))
|
1351
|
+
SyncBlocker.add_member(:resolved_reason, Shapes::ShapeRef.new(shape: String, location_name: "resolvedReason"))
|
1352
|
+
SyncBlocker.add_member(:status, Shapes::ShapeRef.new(shape: BlockerStatus, required: true, location_name: "status"))
|
1353
|
+
SyncBlocker.add_member(:type, Shapes::ShapeRef.new(shape: BlockerType, required: true, location_name: "type"))
|
1354
|
+
SyncBlocker.struct_class = Types::SyncBlocker
|
1355
|
+
|
1356
|
+
SyncBlockerContext.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
|
1357
|
+
SyncBlockerContext.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
|
1358
|
+
SyncBlockerContext.struct_class = Types::SyncBlockerContext
|
1359
|
+
|
1360
|
+
SyncBlockerContexts.member = Shapes::ShapeRef.new(shape: SyncBlockerContext)
|
1361
|
+
|
1253
1362
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
1254
1363
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
1255
1364
|
Tag.struct_class = Types::Tag
|
@@ -1296,6 +1405,7 @@ module Aws::Proton
|
|
1296
1405
|
UpdateAccountSettingsOutput.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, required: true, location_name: "accountSettings"))
|
1297
1406
|
UpdateAccountSettingsOutput.struct_class = Types::UpdateAccountSettingsOutput
|
1298
1407
|
|
1408
|
+
UpdateComponentInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1299
1409
|
UpdateComponentInput.add_member(:deployment_type, Shapes::ShapeRef.new(shape: ComponentDeploymentUpdateType, required: true, location_name: "deploymentType"))
|
1300
1410
|
UpdateComponentInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
1301
1411
|
UpdateComponentInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
@@ -1356,6 +1466,7 @@ module Aws::Proton
|
|
1356
1466
|
UpdateServiceInput.add_member(:spec, Shapes::ShapeRef.new(shape: SpecContents, location_name: "spec"))
|
1357
1467
|
UpdateServiceInput.struct_class = Types::UpdateServiceInput
|
1358
1468
|
|
1469
|
+
UpdateServiceInstanceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1359
1470
|
UpdateServiceInstanceInput.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentUpdateType, required: true, location_name: "deploymentType"))
|
1360
1471
|
UpdateServiceInstanceInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
1361
1472
|
UpdateServiceInstanceInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
@@ -1380,6 +1491,25 @@ module Aws::Proton
|
|
1380
1491
|
UpdateServicePipelineOutput.add_member(:pipeline, Shapes::ShapeRef.new(shape: ServicePipeline, required: true, location_name: "pipeline"))
|
1381
1492
|
UpdateServicePipelineOutput.struct_class = Types::UpdateServicePipelineOutput
|
1382
1493
|
|
1494
|
+
UpdateServiceSyncBlockerInput.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
1495
|
+
UpdateServiceSyncBlockerInput.add_member(:resolved_reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resolvedReason"))
|
1496
|
+
UpdateServiceSyncBlockerInput.struct_class = Types::UpdateServiceSyncBlockerInput
|
1497
|
+
|
1498
|
+
UpdateServiceSyncBlockerOutput.add_member(:service_instance_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "serviceInstanceName"))
|
1499
|
+
UpdateServiceSyncBlockerOutput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
1500
|
+
UpdateServiceSyncBlockerOutput.add_member(:service_sync_blocker, Shapes::ShapeRef.new(shape: SyncBlocker, required: true, location_name: "serviceSyncBlocker"))
|
1501
|
+
UpdateServiceSyncBlockerOutput.struct_class = Types::UpdateServiceSyncBlockerOutput
|
1502
|
+
|
1503
|
+
UpdateServiceSyncConfigInput.add_member(:branch, Shapes::ShapeRef.new(shape: GitBranchName, required: true, location_name: "branch"))
|
1504
|
+
UpdateServiceSyncConfigInput.add_member(:file_path, Shapes::ShapeRef.new(shape: OpsFilePath, required: true, location_name: "filePath"))
|
1505
|
+
UpdateServiceSyncConfigInput.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
1506
|
+
UpdateServiceSyncConfigInput.add_member(:repository_provider, Shapes::ShapeRef.new(shape: RepositoryProvider, required: true, location_name: "repositoryProvider"))
|
1507
|
+
UpdateServiceSyncConfigInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
|
1508
|
+
UpdateServiceSyncConfigInput.struct_class = Types::UpdateServiceSyncConfigInput
|
1509
|
+
|
1510
|
+
UpdateServiceSyncConfigOutput.add_member(:service_sync_config, Shapes::ShapeRef.new(shape: ServiceSyncConfig, location_name: "serviceSyncConfig"))
|
1511
|
+
UpdateServiceSyncConfigOutput.struct_class = Types::UpdateServiceSyncConfigOutput
|
1512
|
+
|
1383
1513
|
UpdateServiceTemplateInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
1384
1514
|
UpdateServiceTemplateInput.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
1385
1515
|
UpdateServiceTemplateInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
@@ -1605,6 +1735,34 @@ module Aws::Proton
|
|
1605
1735
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1606
1736
|
end)
|
1607
1737
|
|
1738
|
+
api.add_operation(:create_service_instance, Seahorse::Model::Operation.new.tap do |o|
|
1739
|
+
o.name = "CreateServiceInstance"
|
1740
|
+
o.http_method = "POST"
|
1741
|
+
o.http_request_uri = "/"
|
1742
|
+
o.input = Shapes::ShapeRef.new(shape: CreateServiceInstanceInput)
|
1743
|
+
o.output = Shapes::ShapeRef.new(shape: CreateServiceInstanceOutput)
|
1744
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1745
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1746
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1747
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1748
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1749
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1750
|
+
end)
|
1751
|
+
|
1752
|
+
api.add_operation(:create_service_sync_config, Seahorse::Model::Operation.new.tap do |o|
|
1753
|
+
o.name = "CreateServiceSyncConfig"
|
1754
|
+
o.http_method = "POST"
|
1755
|
+
o.http_request_uri = "/"
|
1756
|
+
o.input = Shapes::ShapeRef.new(shape: CreateServiceSyncConfigInput)
|
1757
|
+
o.output = Shapes::ShapeRef.new(shape: CreateServiceSyncConfigOutput)
|
1758
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1759
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1760
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1761
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1762
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1763
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1764
|
+
end)
|
1765
|
+
|
1608
1766
|
api.add_operation(:create_service_template, Seahorse::Model::Operation.new.tap do |o|
|
1609
1767
|
o.name = "CreateServiceTemplate"
|
1610
1768
|
o.http_method = "POST"
|
@@ -1746,6 +1904,20 @@ module Aws::Proton
|
|
1746
1904
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1747
1905
|
end)
|
1748
1906
|
|
1907
|
+
api.add_operation(:delete_service_sync_config, Seahorse::Model::Operation.new.tap do |o|
|
1908
|
+
o.name = "DeleteServiceSyncConfig"
|
1909
|
+
o.http_method = "POST"
|
1910
|
+
o.http_request_uri = "/"
|
1911
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteServiceSyncConfigInput)
|
1912
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteServiceSyncConfigOutput)
|
1913
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1914
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1915
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1916
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1917
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1918
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1919
|
+
end)
|
1920
|
+
|
1749
1921
|
api.add_operation(:delete_service_template, Seahorse::Model::Operation.new.tap do |o|
|
1750
1922
|
o.name = "DeleteServiceTemplate"
|
1751
1923
|
o.http_method = "POST"
|
@@ -1930,6 +2102,45 @@ module Aws::Proton
|
|
1930
2102
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1931
2103
|
end)
|
1932
2104
|
|
2105
|
+
api.add_operation(:get_service_instance_sync_status, Seahorse::Model::Operation.new.tap do |o|
|
2106
|
+
o.name = "GetServiceInstanceSyncStatus"
|
2107
|
+
o.http_method = "POST"
|
2108
|
+
o.http_request_uri = "/"
|
2109
|
+
o.input = Shapes::ShapeRef.new(shape: GetServiceInstanceSyncStatusInput)
|
2110
|
+
o.output = Shapes::ShapeRef.new(shape: GetServiceInstanceSyncStatusOutput)
|
2111
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2112
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2113
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2114
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2115
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2116
|
+
end)
|
2117
|
+
|
2118
|
+
api.add_operation(:get_service_sync_blocker_summary, Seahorse::Model::Operation.new.tap do |o|
|
2119
|
+
o.name = "GetServiceSyncBlockerSummary"
|
2120
|
+
o.http_method = "POST"
|
2121
|
+
o.http_request_uri = "/"
|
2122
|
+
o.input = Shapes::ShapeRef.new(shape: GetServiceSyncBlockerSummaryInput)
|
2123
|
+
o.output = Shapes::ShapeRef.new(shape: GetServiceSyncBlockerSummaryOutput)
|
2124
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2125
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2126
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2127
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2128
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2129
|
+
end)
|
2130
|
+
|
2131
|
+
api.add_operation(:get_service_sync_config, Seahorse::Model::Operation.new.tap do |o|
|
2132
|
+
o.name = "GetServiceSyncConfig"
|
2133
|
+
o.http_method = "POST"
|
2134
|
+
o.http_request_uri = "/"
|
2135
|
+
o.input = Shapes::ShapeRef.new(shape: GetServiceSyncConfigInput)
|
2136
|
+
o.output = Shapes::ShapeRef.new(shape: GetServiceSyncConfigOutput)
|
2137
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2138
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2139
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2140
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2141
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2142
|
+
end)
|
2143
|
+
|
1933
2144
|
api.add_operation(:get_service_template, Seahorse::Model::Operation.new.tap do |o|
|
1934
2145
|
o.name = "GetServiceTemplate"
|
1935
2146
|
o.http_method = "POST"
|
@@ -2531,6 +2742,34 @@ module Aws::Proton
|
|
2531
2742
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2532
2743
|
end)
|
2533
2744
|
|
2745
|
+
api.add_operation(:update_service_sync_blocker, Seahorse::Model::Operation.new.tap do |o|
|
2746
|
+
o.name = "UpdateServiceSyncBlocker"
|
2747
|
+
o.http_method = "POST"
|
2748
|
+
o.http_request_uri = "/"
|
2749
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateServiceSyncBlockerInput)
|
2750
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateServiceSyncBlockerOutput)
|
2751
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2752
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2753
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2754
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2755
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2756
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2757
|
+
end)
|
2758
|
+
|
2759
|
+
api.add_operation(:update_service_sync_config, Seahorse::Model::Operation.new.tap do |o|
|
2760
|
+
o.name = "UpdateServiceSyncConfig"
|
2761
|
+
o.http_method = "POST"
|
2762
|
+
o.http_request_uri = "/"
|
2763
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateServiceSyncConfigInput)
|
2764
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateServiceSyncConfigOutput)
|
2765
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2766
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2767
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2768
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2769
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2770
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2771
|
+
end)
|
2772
|
+
|
2534
2773
|
api.add_operation(:update_service_template, Seahorse::Model::Operation.new.tap do |o|
|
2535
2774
|
o.name = "UpdateServiceTemplate"
|
2536
2775
|
o.http_method = "POST"
|
@@ -50,9 +50,6 @@ module Aws::Proton
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::Proton
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://proton-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://proton-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://proton-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://proton-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://proton.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://proton.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://proton.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -179,6 +179,34 @@ module Aws::Proton
|
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
182
|
+
class CreateServiceInstance
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::Proton::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class CreateServiceSyncConfig
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::Proton::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
182
210
|
class CreateServiceTemplate
|
183
211
|
def self.build(context)
|
184
212
|
unless context.config.regional_endpoint
|
@@ -319,6 +347,20 @@ module Aws::Proton
|
|
319
347
|
end
|
320
348
|
end
|
321
349
|
|
350
|
+
class DeleteServiceSyncConfig
|
351
|
+
def self.build(context)
|
352
|
+
unless context.config.regional_endpoint
|
353
|
+
endpoint = context.config.endpoint.to_s
|
354
|
+
end
|
355
|
+
Aws::Proton::EndpointParameters.new(
|
356
|
+
region: context.config.region,
|
357
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
358
|
+
use_fips: context.config.use_fips_endpoint,
|
359
|
+
endpoint: endpoint,
|
360
|
+
)
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
322
364
|
class DeleteServiceTemplate
|
323
365
|
def self.build(context)
|
324
366
|
unless context.config.regional_endpoint
|
@@ -515,6 +557,48 @@ module Aws::Proton
|
|
515
557
|
end
|
516
558
|
end
|
517
559
|
|
560
|
+
class GetServiceInstanceSyncStatus
|
561
|
+
def self.build(context)
|
562
|
+
unless context.config.regional_endpoint
|
563
|
+
endpoint = context.config.endpoint.to_s
|
564
|
+
end
|
565
|
+
Aws::Proton::EndpointParameters.new(
|
566
|
+
region: context.config.region,
|
567
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
568
|
+
use_fips: context.config.use_fips_endpoint,
|
569
|
+
endpoint: endpoint,
|
570
|
+
)
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
class GetServiceSyncBlockerSummary
|
575
|
+
def self.build(context)
|
576
|
+
unless context.config.regional_endpoint
|
577
|
+
endpoint = context.config.endpoint.to_s
|
578
|
+
end
|
579
|
+
Aws::Proton::EndpointParameters.new(
|
580
|
+
region: context.config.region,
|
581
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
582
|
+
use_fips: context.config.use_fips_endpoint,
|
583
|
+
endpoint: endpoint,
|
584
|
+
)
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
class GetServiceSyncConfig
|
589
|
+
def self.build(context)
|
590
|
+
unless context.config.regional_endpoint
|
591
|
+
endpoint = context.config.endpoint.to_s
|
592
|
+
end
|
593
|
+
Aws::Proton::EndpointParameters.new(
|
594
|
+
region: context.config.region,
|
595
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
596
|
+
use_fips: context.config.use_fips_endpoint,
|
597
|
+
endpoint: endpoint,
|
598
|
+
)
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
518
602
|
class GetServiceTemplate
|
519
603
|
def self.build(context)
|
520
604
|
unless context.config.regional_endpoint
|
@@ -1033,6 +1117,34 @@ module Aws::Proton
|
|
1033
1117
|
end
|
1034
1118
|
end
|
1035
1119
|
|
1120
|
+
class UpdateServiceSyncBlocker
|
1121
|
+
def self.build(context)
|
1122
|
+
unless context.config.regional_endpoint
|
1123
|
+
endpoint = context.config.endpoint.to_s
|
1124
|
+
end
|
1125
|
+
Aws::Proton::EndpointParameters.new(
|
1126
|
+
region: context.config.region,
|
1127
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1128
|
+
use_fips: context.config.use_fips_endpoint,
|
1129
|
+
endpoint: endpoint,
|
1130
|
+
)
|
1131
|
+
end
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
class UpdateServiceSyncConfig
|
1135
|
+
def self.build(context)
|
1136
|
+
unless context.config.regional_endpoint
|
1137
|
+
endpoint = context.config.endpoint.to_s
|
1138
|
+
end
|
1139
|
+
Aws::Proton::EndpointParameters.new(
|
1140
|
+
region: context.config.region,
|
1141
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1142
|
+
use_fips: context.config.use_fips_endpoint,
|
1143
|
+
endpoint: endpoint,
|
1144
|
+
)
|
1145
|
+
end
|
1146
|
+
end
|
1147
|
+
|
1036
1148
|
class UpdateServiceTemplate
|
1037
1149
|
def self.build(context)
|
1038
1150
|
unless context.config.regional_endpoint
|