aws-sdk-proton 1.22.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -39,6 +41,7 @@ module Aws::Proton
39
41
  ComponentSummary = Shapes::StructureShape.new(name: 'ComponentSummary')
40
42
  ComponentSummaryList = Shapes::ListShape.new(name: 'ComponentSummaryList')
41
43
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
44
+ CountsSummary = Shapes::StructureShape.new(name: 'CountsSummary')
42
45
  CreateComponentInput = Shapes::StructureShape.new(name: 'CreateComponentInput')
43
46
  CreateComponentOutput = Shapes::StructureShape.new(name: 'CreateComponentOutput')
44
47
  CreateEnvironmentAccountConnectionInput = Shapes::StructureShape.new(name: 'CreateEnvironmentAccountConnectionInput')
@@ -52,7 +55,11 @@ module Aws::Proton
52
55
  CreateRepositoryInput = Shapes::StructureShape.new(name: 'CreateRepositoryInput')
53
56
  CreateRepositoryOutput = Shapes::StructureShape.new(name: 'CreateRepositoryOutput')
54
57
  CreateServiceInput = Shapes::StructureShape.new(name: 'CreateServiceInput')
58
+ CreateServiceInstanceInput = Shapes::StructureShape.new(name: 'CreateServiceInstanceInput')
59
+ CreateServiceInstanceOutput = Shapes::StructureShape.new(name: 'CreateServiceInstanceOutput')
55
60
  CreateServiceOutput = Shapes::StructureShape.new(name: 'CreateServiceOutput')
61
+ CreateServiceSyncConfigInput = Shapes::StructureShape.new(name: 'CreateServiceSyncConfigInput')
62
+ CreateServiceSyncConfigOutput = Shapes::StructureShape.new(name: 'CreateServiceSyncConfigOutput')
56
63
  CreateServiceTemplateInput = Shapes::StructureShape.new(name: 'CreateServiceTemplateInput')
57
64
  CreateServiceTemplateOutput = Shapes::StructureShape.new(name: 'CreateServiceTemplateOutput')
58
65
  CreateServiceTemplateVersionInput = Shapes::StructureShape.new(name: 'CreateServiceTemplateVersionInput')
@@ -73,6 +80,8 @@ module Aws::Proton
73
80
  DeleteRepositoryOutput = Shapes::StructureShape.new(name: 'DeleteRepositoryOutput')
74
81
  DeleteServiceInput = Shapes::StructureShape.new(name: 'DeleteServiceInput')
75
82
  DeleteServiceOutput = Shapes::StructureShape.new(name: 'DeleteServiceOutput')
83
+ DeleteServiceSyncConfigInput = Shapes::StructureShape.new(name: 'DeleteServiceSyncConfigInput')
84
+ DeleteServiceSyncConfigOutput = Shapes::StructureShape.new(name: 'DeleteServiceSyncConfigOutput')
76
85
  DeleteServiceTemplateInput = Shapes::StructureShape.new(name: 'DeleteServiceTemplateInput')
77
86
  DeleteServiceTemplateOutput = Shapes::StructureShape.new(name: 'DeleteServiceTemplateOutput')
78
87
  DeleteServiceTemplateVersionInput = Shapes::StructureShape.new(name: 'DeleteServiceTemplateVersionInput')
@@ -125,10 +134,18 @@ module Aws::Proton
125
134
  GetRepositoryOutput = Shapes::StructureShape.new(name: 'GetRepositoryOutput')
126
135
  GetRepositorySyncStatusInput = Shapes::StructureShape.new(name: 'GetRepositorySyncStatusInput')
127
136
  GetRepositorySyncStatusOutput = Shapes::StructureShape.new(name: 'GetRepositorySyncStatusOutput')
137
+ GetResourcesSummaryInput = Shapes::StructureShape.new(name: 'GetResourcesSummaryInput')
138
+ GetResourcesSummaryOutput = Shapes::StructureShape.new(name: 'GetResourcesSummaryOutput')
128
139
  GetServiceInput = Shapes::StructureShape.new(name: 'GetServiceInput')
129
140
  GetServiceInstanceInput = Shapes::StructureShape.new(name: 'GetServiceInstanceInput')
130
141
  GetServiceInstanceOutput = Shapes::StructureShape.new(name: 'GetServiceInstanceOutput')
142
+ GetServiceInstanceSyncStatusInput = Shapes::StructureShape.new(name: 'GetServiceInstanceSyncStatusInput')
143
+ GetServiceInstanceSyncStatusOutput = Shapes::StructureShape.new(name: 'GetServiceInstanceSyncStatusOutput')
131
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')
132
149
  GetServiceTemplateInput = Shapes::StructureShape.new(name: 'GetServiceTemplateInput')
133
150
  GetServiceTemplateOutput = Shapes::StructureShape.new(name: 'GetServiceTemplateOutput')
134
151
  GetServiceTemplateVersionInput = Shapes::StructureShape.new(name: 'GetServiceTemplateVersionInput')
@@ -138,7 +155,9 @@ module Aws::Proton
138
155
  GetTemplateSyncStatusInput = Shapes::StructureShape.new(name: 'GetTemplateSyncStatusInput')
139
156
  GetTemplateSyncStatusOutput = Shapes::StructureShape.new(name: 'GetTemplateSyncStatusOutput')
140
157
  GitBranchName = Shapes::StringShape.new(name: 'GitBranchName')
158
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
141
159
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
160
+ LatestSyncBlockers = Shapes::ListShape.new(name: 'LatestSyncBlockers')
142
161
  ListComponentOutputsInput = Shapes::StructureShape.new(name: 'ListComponentOutputsInput')
143
162
  ListComponentOutputsOutput = Shapes::StructureShape.new(name: 'ListComponentOutputsOutput')
144
163
  ListComponentProvisionedResourcesInput = Shapes::StructureShape.new(name: 'ListComponentProvisionedResourcesInput')
@@ -190,6 +209,7 @@ module Aws::Proton
190
209
  NotifyResourceDeploymentStatusChangeInputOutputsList = Shapes::ListShape.new(name: 'NotifyResourceDeploymentStatusChangeInputOutputsList')
191
210
  NotifyResourceDeploymentStatusChangeInputStatusMessageString = Shapes::StringShape.new(name: 'NotifyResourceDeploymentStatusChangeInputStatusMessageString')
192
211
  NotifyResourceDeploymentStatusChangeOutput = Shapes::StructureShape.new(name: 'NotifyResourceDeploymentStatusChangeOutput')
212
+ OpsFilePath = Shapes::StringShape.new(name: 'OpsFilePath')
193
213
  Output = Shapes::StructureShape.new(name: 'Output')
194
214
  OutputKey = Shapes::StringShape.new(name: 'OutputKey')
195
215
  OutputValueString = Shapes::StringShape.new(name: 'OutputValueString')
@@ -217,6 +237,7 @@ module Aws::Proton
217
237
  RepositorySyncEvent = Shapes::StructureShape.new(name: 'RepositorySyncEvent')
218
238
  RepositorySyncEvents = Shapes::ListShape.new(name: 'RepositorySyncEvents')
219
239
  RepositorySyncStatus = Shapes::StringShape.new(name: 'RepositorySyncStatus')
240
+ ResourceCountsSummary = Shapes::StructureShape.new(name: 'ResourceCountsSummary')
220
241
  ResourceDeploymentStatus = Shapes::StringShape.new(name: 'ResourceDeploymentStatus')
221
242
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
222
243
  ResourceNameOrEmpty = Shapes::StringShape.new(name: 'ResourceNameOrEmpty')
@@ -243,6 +264,8 @@ module Aws::Proton
243
264
  ServiceStatus = Shapes::StringShape.new(name: 'ServiceStatus')
244
265
  ServiceSummary = Shapes::StructureShape.new(name: 'ServiceSummary')
245
266
  ServiceSummaryList = Shapes::ListShape.new(name: 'ServiceSummaryList')
267
+ ServiceSyncBlockerSummary = Shapes::StructureShape.new(name: 'ServiceSyncBlockerSummary')
268
+ ServiceSyncConfig = Shapes::StructureShape.new(name: 'ServiceSyncConfig')
246
269
  ServiceTemplate = Shapes::StructureShape.new(name: 'ServiceTemplate')
247
270
  ServiceTemplateArn = Shapes::StringShape.new(name: 'ServiceTemplateArn')
248
271
  ServiceTemplateSummary = Shapes::StructureShape.new(name: 'ServiceTemplateSummary')
@@ -258,6 +281,9 @@ module Aws::Proton
258
281
  StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
259
282
  String = Shapes::StringShape.new(name: 'String')
260
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')
261
287
  SyncType = Shapes::StringShape.new(name: 'SyncType')
262
288
  Tag = Shapes::StructureShape.new(name: 'Tag')
263
289
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -296,6 +322,10 @@ module Aws::Proton
296
322
  UpdateServiceOutput = Shapes::StructureShape.new(name: 'UpdateServiceOutput')
297
323
  UpdateServicePipelineInput = Shapes::StructureShape.new(name: 'UpdateServicePipelineInput')
298
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')
299
329
  UpdateServiceTemplateInput = Shapes::StructureShape.new(name: 'UpdateServiceTemplateInput')
300
330
  UpdateServiceTemplateOutput = Shapes::StructureShape.new(name: 'UpdateServiceTemplateOutput')
301
331
  UpdateServiceTemplateVersionInput = Shapes::StructureShape.new(name: 'UpdateServiceTemplateVersionInput')
@@ -361,6 +391,7 @@ module Aws::Proton
361
391
  Component.add_member(:deployment_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "deploymentStatusMessage"))
362
392
  Component.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
363
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"))
364
395
  Component.add_member(:last_deployment_attempted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastDeploymentAttemptedAt"))
365
396
  Component.add_member(:last_deployment_succeeded_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastDeploymentSucceededAt"))
366
397
  Component.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedAt"))
@@ -388,6 +419,16 @@ module Aws::Proton
388
419
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
389
420
  ConflictException.struct_class = Types::ConflictException
390
421
 
422
+ CountsSummary.add_member(:components, Shapes::ShapeRef.new(shape: ResourceCountsSummary, location_name: "components"))
423
+ CountsSummary.add_member(:environment_templates, Shapes::ShapeRef.new(shape: ResourceCountsSummary, location_name: "environmentTemplates"))
424
+ CountsSummary.add_member(:environments, Shapes::ShapeRef.new(shape: ResourceCountsSummary, location_name: "environments"))
425
+ CountsSummary.add_member(:pipelines, Shapes::ShapeRef.new(shape: ResourceCountsSummary, location_name: "pipelines"))
426
+ CountsSummary.add_member(:service_instances, Shapes::ShapeRef.new(shape: ResourceCountsSummary, location_name: "serviceInstances"))
427
+ CountsSummary.add_member(:service_templates, Shapes::ShapeRef.new(shape: ResourceCountsSummary, location_name: "serviceTemplates"))
428
+ CountsSummary.add_member(:services, Shapes::ShapeRef.new(shape: ResourceCountsSummary, location_name: "services"))
429
+ CountsSummary.struct_class = Types::CountsSummary
430
+
431
+ CreateComponentInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
391
432
  CreateComponentInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
392
433
  CreateComponentInput.add_member(:environment_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "environmentName"))
393
434
  CreateComponentInput.add_member(:manifest, Shapes::ShapeRef.new(shape: TemplateManifestContents, required: true, location_name: "manifest"))
@@ -475,9 +516,31 @@ module Aws::Proton
475
516
  CreateServiceInput.add_member(:template_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "templateName"))
476
517
  CreateServiceInput.struct_class = Types::CreateServiceInput
477
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
+
478
531
  CreateServiceOutput.add_member(:service, Shapes::ShapeRef.new(shape: Service, required: true, location_name: "service"))
479
532
  CreateServiceOutput.struct_class = Types::CreateServiceOutput
480
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
+
481
544
  CreateServiceTemplateInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
482
545
  CreateServiceTemplateInput.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
483
546
  CreateServiceTemplateInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: Arn, location_name: "encryptionKey"))
@@ -558,6 +621,12 @@ module Aws::Proton
558
621
  DeleteServiceOutput.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
559
622
  DeleteServiceOutput.struct_class = Types::DeleteServiceOutput
560
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
+
561
630
  DeleteServiceTemplateInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
562
631
  DeleteServiceTemplateInput.struct_class = Types::DeleteServiceTemplateInput
563
632
 
@@ -758,6 +827,11 @@ module Aws::Proton
758
827
  GetRepositorySyncStatusOutput.add_member(:latest_sync, Shapes::ShapeRef.new(shape: RepositorySyncAttempt, location_name: "latestSync"))
759
828
  GetRepositorySyncStatusOutput.struct_class = Types::GetRepositorySyncStatusOutput
760
829
 
830
+ GetResourcesSummaryInput.struct_class = Types::GetResourcesSummaryInput
831
+
832
+ GetResourcesSummaryOutput.add_member(:counts, Shapes::ShapeRef.new(shape: CountsSummary, required: true, location_name: "counts"))
833
+ GetResourcesSummaryOutput.struct_class = Types::GetResourcesSummaryOutput
834
+
761
835
  GetServiceInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
762
836
  GetServiceInput.struct_class = Types::GetServiceInput
763
837
 
@@ -768,9 +842,31 @@ module Aws::Proton
768
842
  GetServiceInstanceOutput.add_member(:service_instance, Shapes::ShapeRef.new(shape: ServiceInstance, required: true, location_name: "serviceInstance"))
769
843
  GetServiceInstanceOutput.struct_class = Types::GetServiceInstanceOutput
770
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
+
771
854
  GetServiceOutput.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
772
855
  GetServiceOutput.struct_class = Types::GetServiceOutput
773
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
+
774
870
  GetServiceTemplateInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
775
871
  GetServiceTemplateInput.struct_class = Types::GetServiceTemplateInput
776
872
 
@@ -805,6 +901,8 @@ module Aws::Proton
805
901
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
806
902
  InternalServerException.struct_class = Types::InternalServerException
807
903
 
904
+ LatestSyncBlockers.member = Shapes::ShapeRef.new(shape: SyncBlocker)
905
+
808
906
  ListComponentOutputsInput.add_member(:component_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "componentName"))
809
907
  ListComponentOutputsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: EmptyNextToken, location_name: "nextToken"))
810
908
  ListComponentOutputsInput.struct_class = Types::ListComponentOutputsInput
@@ -1040,6 +1138,7 @@ module Aws::Proton
1040
1138
  RepositoryBranchInput.struct_class = Types::RepositoryBranchInput
1041
1139
 
1042
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"))
1043
1142
  RepositorySummary.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "name"))
1044
1143
  RepositorySummary.add_member(:provider, Shapes::ShapeRef.new(shape: RepositoryProvider, required: true, location_name: "provider"))
1045
1144
  RepositorySummary.struct_class = Types::RepositorySummary
@@ -1067,6 +1166,13 @@ module Aws::Proton
1067
1166
 
1068
1167
  RepositorySyncEvents.member = Shapes::ShapeRef.new(shape: RepositorySyncEvent)
1069
1168
 
1169
+ ResourceCountsSummary.add_member(:behind_major, Shapes::ShapeRef.new(shape: Integer, location_name: "behindMajor"))
1170
+ ResourceCountsSummary.add_member(:behind_minor, Shapes::ShapeRef.new(shape: Integer, location_name: "behindMinor"))
1171
+ ResourceCountsSummary.add_member(:failed, Shapes::ShapeRef.new(shape: Integer, location_name: "failed"))
1172
+ ResourceCountsSummary.add_member(:total, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "total"))
1173
+ ResourceCountsSummary.add_member(:up_to_date, Shapes::ShapeRef.new(shape: Integer, location_name: "upToDate"))
1174
+ ResourceCountsSummary.struct_class = Types::ResourceCountsSummary
1175
+
1070
1176
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
1071
1177
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1072
1178
 
@@ -1117,6 +1223,7 @@ module Aws::Proton
1117
1223
  ServiceInstance.add_member(:deployment_status, Shapes::ShapeRef.new(shape: DeploymentStatus, required: true, location_name: "deploymentStatus"))
1118
1224
  ServiceInstance.add_member(:deployment_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "deploymentStatusMessage"))
1119
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"))
1120
1227
  ServiceInstance.add_member(:last_deployment_attempted_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastDeploymentAttemptedAt"))
1121
1228
  ServiceInstance.add_member(:last_deployment_succeeded_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastDeploymentSucceededAt"))
1122
1229
  ServiceInstance.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
@@ -1170,6 +1277,18 @@ module Aws::Proton
1170
1277
 
1171
1278
  ServiceSummaryList.member = Shapes::ShapeRef.new(shape: ServiceSummary)
1172
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
+
1173
1292
  ServiceTemplate.add_member(:arn, Shapes::ShapeRef.new(shape: ServiceTemplateArn, required: true, location_name: "arn"))
1174
1293
  ServiceTemplate.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1175
1294
  ServiceTemplate.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -1224,6 +1343,22 @@ module Aws::Proton
1224
1343
 
1225
1344
  ServiceTemplateVersionSummaryList.member = Shapes::ShapeRef.new(shape: ServiceTemplateVersionSummary)
1226
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
+
1227
1362
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
1228
1363
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
1229
1364
  Tag.struct_class = Types::Tag
@@ -1270,6 +1405,7 @@ module Aws::Proton
1270
1405
  UpdateAccountSettingsOutput.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, required: true, location_name: "accountSettings"))
1271
1406
  UpdateAccountSettingsOutput.struct_class = Types::UpdateAccountSettingsOutput
1272
1407
 
1408
+ UpdateComponentInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1273
1409
  UpdateComponentInput.add_member(:deployment_type, Shapes::ShapeRef.new(shape: ComponentDeploymentUpdateType, required: true, location_name: "deploymentType"))
1274
1410
  UpdateComponentInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1275
1411
  UpdateComponentInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
@@ -1330,6 +1466,7 @@ module Aws::Proton
1330
1466
  UpdateServiceInput.add_member(:spec, Shapes::ShapeRef.new(shape: SpecContents, location_name: "spec"))
1331
1467
  UpdateServiceInput.struct_class = Types::UpdateServiceInput
1332
1468
 
1469
+ UpdateServiceInstanceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1333
1470
  UpdateServiceInstanceInput.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentUpdateType, required: true, location_name: "deploymentType"))
1334
1471
  UpdateServiceInstanceInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
1335
1472
  UpdateServiceInstanceInput.add_member(:service_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "serviceName"))
@@ -1354,6 +1491,25 @@ module Aws::Proton
1354
1491
  UpdateServicePipelineOutput.add_member(:pipeline, Shapes::ShapeRef.new(shape: ServicePipeline, required: true, location_name: "pipeline"))
1355
1492
  UpdateServicePipelineOutput.struct_class = Types::UpdateServicePipelineOutput
1356
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
+
1357
1513
  UpdateServiceTemplateInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1358
1514
  UpdateServiceTemplateInput.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
1359
1515
  UpdateServiceTemplateInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
@@ -1579,6 +1735,34 @@ module Aws::Proton
1579
1735
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1580
1736
  end)
1581
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
+
1582
1766
  api.add_operation(:create_service_template, Seahorse::Model::Operation.new.tap do |o|
1583
1767
  o.name = "CreateServiceTemplate"
1584
1768
  o.http_method = "POST"
@@ -1720,6 +1904,20 @@ module Aws::Proton
1720
1904
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1721
1905
  end)
1722
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
+
1723
1921
  api.add_operation(:delete_service_template, Seahorse::Model::Operation.new.tap do |o|
1724
1922
  o.name = "DeleteServiceTemplate"
1725
1923
  o.http_method = "POST"
@@ -1866,6 +2064,18 @@ module Aws::Proton
1866
2064
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1867
2065
  end)
1868
2066
 
2067
+ api.add_operation(:get_resources_summary, Seahorse::Model::Operation.new.tap do |o|
2068
+ o.name = "GetResourcesSummary"
2069
+ o.http_method = "POST"
2070
+ o.http_request_uri = "/"
2071
+ o.input = Shapes::ShapeRef.new(shape: GetResourcesSummaryInput)
2072
+ o.output = Shapes::ShapeRef.new(shape: GetResourcesSummaryOutput)
2073
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2074
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2075
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2076
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2077
+ end)
2078
+
1869
2079
  api.add_operation(:get_service, Seahorse::Model::Operation.new.tap do |o|
1870
2080
  o.name = "GetService"
1871
2081
  o.http_method = "POST"
@@ -1892,6 +2102,45 @@ module Aws::Proton
1892
2102
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1893
2103
  end)
1894
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
+
1895
2144
  api.add_operation(:get_service_template, Seahorse::Model::Operation.new.tap do |o|
1896
2145
  o.name = "GetServiceTemplate"
1897
2146
  o.http_method = "POST"
@@ -2493,6 +2742,34 @@ module Aws::Proton
2493
2742
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2494
2743
  end)
2495
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
+
2496
2773
  api.add_operation(:update_service_template, Seahorse::Model::Operation.new.tap do |o|
2497
2774
  o.name = "UpdateServiceTemplate"
2498
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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://proton.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
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