aws-sdk-apprunner 1.9.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,6 +46,8 @@ module Aws::AppRunner
46
46
  CreateConnectionResponse = Shapes::StructureShape.new(name: 'CreateConnectionResponse')
47
47
  CreateServiceRequest = Shapes::StructureShape.new(name: 'CreateServiceRequest')
48
48
  CreateServiceResponse = Shapes::StructureShape.new(name: 'CreateServiceResponse')
49
+ CreateVpcConnectorRequest = Shapes::StructureShape.new(name: 'CreateVpcConnectorRequest')
50
+ CreateVpcConnectorResponse = Shapes::StructureShape.new(name: 'CreateVpcConnectorResponse')
49
51
  CustomDomain = Shapes::StructureShape.new(name: 'CustomDomain')
50
52
  CustomDomainAssociationStatus = Shapes::StringShape.new(name: 'CustomDomainAssociationStatus')
51
53
  CustomDomainList = Shapes::ListShape.new(name: 'CustomDomainList')
@@ -55,6 +57,8 @@ module Aws::AppRunner
55
57
  DeleteConnectionResponse = Shapes::StructureShape.new(name: 'DeleteConnectionResponse')
56
58
  DeleteServiceRequest = Shapes::StructureShape.new(name: 'DeleteServiceRequest')
57
59
  DeleteServiceResponse = Shapes::StructureShape.new(name: 'DeleteServiceResponse')
60
+ DeleteVpcConnectorRequest = Shapes::StructureShape.new(name: 'DeleteVpcConnectorRequest')
61
+ DeleteVpcConnectorResponse = Shapes::StructureShape.new(name: 'DeleteVpcConnectorResponse')
58
62
  DescribeAutoScalingConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAutoScalingConfigurationRequest')
59
63
  DescribeAutoScalingConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeAutoScalingConfigurationResponse')
60
64
  DescribeCustomDomainsMaxResults = Shapes::IntegerShape.new(name: 'DescribeCustomDomainsMaxResults')
@@ -62,9 +66,13 @@ module Aws::AppRunner
62
66
  DescribeCustomDomainsResponse = Shapes::StructureShape.new(name: 'DescribeCustomDomainsResponse')
63
67
  DescribeServiceRequest = Shapes::StructureShape.new(name: 'DescribeServiceRequest')
64
68
  DescribeServiceResponse = Shapes::StructureShape.new(name: 'DescribeServiceResponse')
69
+ DescribeVpcConnectorRequest = Shapes::StructureShape.new(name: 'DescribeVpcConnectorRequest')
70
+ DescribeVpcConnectorResponse = Shapes::StructureShape.new(name: 'DescribeVpcConnectorResponse')
65
71
  DisassociateCustomDomainRequest = Shapes::StructureShape.new(name: 'DisassociateCustomDomainRequest')
66
72
  DisassociateCustomDomainResponse = Shapes::StructureShape.new(name: 'DisassociateCustomDomainResponse')
67
73
  DomainName = Shapes::StringShape.new(name: 'DomainName')
74
+ EgressConfiguration = Shapes::StructureShape.new(name: 'EgressConfiguration')
75
+ EgressType = Shapes::StringShape.new(name: 'EgressType')
68
76
  EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
69
77
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
70
78
  HealthCheckConfiguration = Shapes::StructureShape.new(name: 'HealthCheckConfiguration')
@@ -95,8 +103,11 @@ module Aws::AppRunner
95
103
  ListServicesResponse = Shapes::StructureShape.new(name: 'ListServicesResponse')
96
104
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
97
105
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
106
+ ListVpcConnectorsRequest = Shapes::StructureShape.new(name: 'ListVpcConnectorsRequest')
107
+ ListVpcConnectorsResponse = Shapes::StructureShape.new(name: 'ListVpcConnectorsResponse')
98
108
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
99
109
  Memory = Shapes::StringShape.new(name: 'Memory')
110
+ NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
100
111
  NextToken = Shapes::StringShape.new(name: 'NextToken')
101
112
  NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
102
113
  OperationStatus = Shapes::StringShape.new(name: 'OperationStatus')
@@ -129,6 +140,7 @@ module Aws::AppRunner
129
140
  StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
130
141
  StartDeploymentResponse = Shapes::StructureShape.new(name: 'StartDeploymentResponse')
131
142
  String = Shapes::StringShape.new(name: 'String')
143
+ StringList = Shapes::ListShape.new(name: 'StringList')
132
144
  Tag = Shapes::StructureShape.new(name: 'Tag')
133
145
  TagKey = Shapes::StringShape.new(name: 'TagKey')
134
146
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -142,6 +154,10 @@ module Aws::AppRunner
142
154
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
143
155
  UpdateServiceRequest = Shapes::StructureShape.new(name: 'UpdateServiceRequest')
144
156
  UpdateServiceResponse = Shapes::StructureShape.new(name: 'UpdateServiceResponse')
157
+ VpcConnector = Shapes::StructureShape.new(name: 'VpcConnector')
158
+ VpcConnectorName = Shapes::StringShape.new(name: 'VpcConnectorName')
159
+ VpcConnectorStatus = Shapes::StringShape.new(name: 'VpcConnectorStatus')
160
+ VpcConnectors = Shapes::ListShape.new(name: 'VpcConnectors')
145
161
 
146
162
  AssociateCustomDomainRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, required: true, location_name: "ServiceArn"))
147
163
  AssociateCustomDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
@@ -241,12 +257,22 @@ module Aws::AppRunner
241
257
  CreateServiceRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
242
258
  CreateServiceRequest.add_member(:health_check_configuration, Shapes::ShapeRef.new(shape: HealthCheckConfiguration, location_name: "HealthCheckConfiguration"))
243
259
  CreateServiceRequest.add_member(:auto_scaling_configuration_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, location_name: "AutoScalingConfigurationArn"))
260
+ CreateServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "NetworkConfiguration"))
244
261
  CreateServiceRequest.struct_class = Types::CreateServiceRequest
245
262
 
246
263
  CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, required: true, location_name: "Service"))
247
264
  CreateServiceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "OperationId"))
248
265
  CreateServiceResponse.struct_class = Types::CreateServiceResponse
249
266
 
267
+ CreateVpcConnectorRequest.add_member(:vpc_connector_name, Shapes::ShapeRef.new(shape: VpcConnectorName, required: true, location_name: "VpcConnectorName"))
268
+ CreateVpcConnectorRequest.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "Subnets"))
269
+ CreateVpcConnectorRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "SecurityGroups"))
270
+ CreateVpcConnectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
271
+ CreateVpcConnectorRequest.struct_class = Types::CreateVpcConnectorRequest
272
+
273
+ CreateVpcConnectorResponse.add_member(:vpc_connector, Shapes::ShapeRef.new(shape: VpcConnector, required: true, location_name: "VpcConnector"))
274
+ CreateVpcConnectorResponse.struct_class = Types::CreateVpcConnectorResponse
275
+
250
276
  CustomDomain.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
251
277
  CustomDomain.add_member(:enable_www_subdomain, Shapes::ShapeRef.new(shape: NullableBoolean, required: true, location_name: "EnableWWWSubdomain"))
252
278
  CustomDomain.add_member(:certificate_validation_records, Shapes::ShapeRef.new(shape: CertificateValidationRecordList, location_name: "CertificateValidationRecords"))
@@ -274,6 +300,12 @@ module Aws::AppRunner
274
300
  DeleteServiceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "OperationId"))
275
301
  DeleteServiceResponse.struct_class = Types::DeleteServiceResponse
276
302
 
303
+ DeleteVpcConnectorRequest.add_member(:vpc_connector_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, required: true, location_name: "VpcConnectorArn"))
304
+ DeleteVpcConnectorRequest.struct_class = Types::DeleteVpcConnectorRequest
305
+
306
+ DeleteVpcConnectorResponse.add_member(:vpc_connector, Shapes::ShapeRef.new(shape: VpcConnector, required: true, location_name: "VpcConnector"))
307
+ DeleteVpcConnectorResponse.struct_class = Types::DeleteVpcConnectorResponse
308
+
277
309
  DescribeAutoScalingConfigurationRequest.add_member(:auto_scaling_configuration_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, required: true, location_name: "AutoScalingConfigurationArn"))
278
310
  DescribeAutoScalingConfigurationRequest.struct_class = Types::DescribeAutoScalingConfigurationRequest
279
311
 
@@ -297,6 +329,12 @@ module Aws::AppRunner
297
329
  DescribeServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, required: true, location_name: "Service"))
298
330
  DescribeServiceResponse.struct_class = Types::DescribeServiceResponse
299
331
 
332
+ DescribeVpcConnectorRequest.add_member(:vpc_connector_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, required: true, location_name: "VpcConnectorArn"))
333
+ DescribeVpcConnectorRequest.struct_class = Types::DescribeVpcConnectorRequest
334
+
335
+ DescribeVpcConnectorResponse.add_member(:vpc_connector, Shapes::ShapeRef.new(shape: VpcConnector, required: true, location_name: "VpcConnector"))
336
+ DescribeVpcConnectorResponse.struct_class = Types::DescribeVpcConnectorResponse
337
+
300
338
  DisassociateCustomDomainRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, required: true, location_name: "ServiceArn"))
301
339
  DisassociateCustomDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
302
340
  DisassociateCustomDomainRequest.struct_class = Types::DisassociateCustomDomainRequest
@@ -306,6 +344,10 @@ module Aws::AppRunner
306
344
  DisassociateCustomDomainResponse.add_member(:custom_domain, Shapes::ShapeRef.new(shape: CustomDomain, required: true, location_name: "CustomDomain"))
307
345
  DisassociateCustomDomainResponse.struct_class = Types::DisassociateCustomDomainResponse
308
346
 
347
+ EgressConfiguration.add_member(:egress_type, Shapes::ShapeRef.new(shape: EgressType, location_name: "EgressType"))
348
+ EgressConfiguration.add_member(:vpc_connector_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, location_name: "VpcConnectorArn"))
349
+ EgressConfiguration.struct_class = Types::EgressConfiguration
350
+
309
351
  EncryptionConfiguration.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKeyArn, required: true, location_name: "KmsKey"))
310
352
  EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
311
353
 
@@ -318,7 +360,7 @@ module Aws::AppRunner
318
360
  HealthCheckConfiguration.struct_class = Types::HealthCheckConfiguration
319
361
 
320
362
  ImageConfiguration.add_member(:runtime_environment_variables, Shapes::ShapeRef.new(shape: RuntimeEnvironmentVariables, location_name: "RuntimeEnvironmentVariables"))
321
- ImageConfiguration.add_member(:start_command, Shapes::ShapeRef.new(shape: String, location_name: "StartCommand"))
363
+ ImageConfiguration.add_member(:start_command, Shapes::ShapeRef.new(shape: StartCommand, location_name: "StartCommand"))
322
364
  ImageConfiguration.add_member(:port, Shapes::ShapeRef.new(shape: String, location_name: "Port"))
323
365
  ImageConfiguration.struct_class = Types::ImageConfiguration
324
366
 
@@ -383,6 +425,17 @@ module Aws::AppRunner
383
425
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
384
426
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
385
427
 
428
+ ListVpcConnectorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
429
+ ListVpcConnectorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
430
+ ListVpcConnectorsRequest.struct_class = Types::ListVpcConnectorsRequest
431
+
432
+ ListVpcConnectorsResponse.add_member(:vpc_connectors, Shapes::ShapeRef.new(shape: VpcConnectors, required: true, location_name: "VpcConnectors"))
433
+ ListVpcConnectorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
434
+ ListVpcConnectorsResponse.struct_class = Types::ListVpcConnectorsResponse
435
+
436
+ NetworkConfiguration.add_member(:egress_configuration, Shapes::ShapeRef.new(shape: EgressConfiguration, location_name: "EgressConfiguration"))
437
+ NetworkConfiguration.struct_class = Types::NetworkConfiguration
438
+
386
439
  OperationSummary.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
387
440
  OperationSummary.add_member(:type, Shapes::ShapeRef.new(shape: OperationType, location_name: "Type"))
388
441
  OperationSummary.add_member(:status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "Status"))
@@ -427,6 +480,7 @@ module Aws::AppRunner
427
480
  Service.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
428
481
  Service.add_member(:health_check_configuration, Shapes::ShapeRef.new(shape: HealthCheckConfiguration, location_name: "HealthCheckConfiguration"))
429
482
  Service.add_member(:auto_scaling_configuration_summary, Shapes::ShapeRef.new(shape: AutoScalingConfigurationSummary, required: true, location_name: "AutoScalingConfigurationSummary"))
483
+ Service.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, required: true, location_name: "NetworkConfiguration"))
430
484
  Service.struct_class = Types::Service
431
485
 
432
486
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -459,6 +513,8 @@ module Aws::AppRunner
459
513
  StartDeploymentResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "OperationId"))
460
514
  StartDeploymentResponse.struct_class = Types::StartDeploymentResponse
461
515
 
516
+ StringList.member = Shapes::ShapeRef.new(shape: String)
517
+
462
518
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
463
519
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
464
520
  Tag.struct_class = Types::Tag
@@ -484,12 +540,25 @@ module Aws::AppRunner
484
540
  UpdateServiceRequest.add_member(:instance_configuration, Shapes::ShapeRef.new(shape: InstanceConfiguration, location_name: "InstanceConfiguration"))
485
541
  UpdateServiceRequest.add_member(:auto_scaling_configuration_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, location_name: "AutoScalingConfigurationArn"))
486
542
  UpdateServiceRequest.add_member(:health_check_configuration, Shapes::ShapeRef.new(shape: HealthCheckConfiguration, location_name: "HealthCheckConfiguration"))
543
+ UpdateServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "NetworkConfiguration"))
487
544
  UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
488
545
 
489
546
  UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, required: true, location_name: "Service"))
490
547
  UpdateServiceResponse.add_member(:operation_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "OperationId"))
491
548
  UpdateServiceResponse.struct_class = Types::UpdateServiceResponse
492
549
 
550
+ VpcConnector.add_member(:vpc_connector_name, Shapes::ShapeRef.new(shape: VpcConnectorName, location_name: "VpcConnectorName"))
551
+ VpcConnector.add_member(:vpc_connector_arn, Shapes::ShapeRef.new(shape: AppRunnerResourceArn, location_name: "VpcConnectorArn"))
552
+ VpcConnector.add_member(:vpc_connector_revision, Shapes::ShapeRef.new(shape: Integer, location_name: "VpcConnectorRevision"))
553
+ VpcConnector.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, location_name: "Subnets"))
554
+ VpcConnector.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "SecurityGroups"))
555
+ VpcConnector.add_member(:status, Shapes::ShapeRef.new(shape: VpcConnectorStatus, location_name: "Status"))
556
+ VpcConnector.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
557
+ VpcConnector.add_member(:deleted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeletedAt"))
558
+ VpcConnector.struct_class = Types::VpcConnector
559
+
560
+ VpcConnectors.member = Shapes::ShapeRef.new(shape: VpcConnector)
561
+
493
562
 
494
563
  # @api private
495
564
  API = Seahorse::Model::Api.new.tap do |api|
@@ -553,6 +622,17 @@ module Aws::AppRunner
553
622
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
554
623
  end)
555
624
 
625
+ api.add_operation(:create_vpc_connector, Seahorse::Model::Operation.new.tap do |o|
626
+ o.name = "CreateVpcConnector"
627
+ o.http_method = "POST"
628
+ o.http_request_uri = "/"
629
+ o.input = Shapes::ShapeRef.new(shape: CreateVpcConnectorRequest)
630
+ o.output = Shapes::ShapeRef.new(shape: CreateVpcConnectorResponse)
631
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
632
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
633
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
634
+ end)
635
+
556
636
  api.add_operation(:delete_auto_scaling_configuration, Seahorse::Model::Operation.new.tap do |o|
557
637
  o.name = "DeleteAutoScalingConfiguration"
558
638
  o.http_method = "POST"
@@ -587,6 +667,17 @@ module Aws::AppRunner
587
667
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
588
668
  end)
589
669
 
670
+ api.add_operation(:delete_vpc_connector, Seahorse::Model::Operation.new.tap do |o|
671
+ o.name = "DeleteVpcConnector"
672
+ o.http_method = "POST"
673
+ o.http_request_uri = "/"
674
+ o.input = Shapes::ShapeRef.new(shape: DeleteVpcConnectorRequest)
675
+ o.output = Shapes::ShapeRef.new(shape: DeleteVpcConnectorResponse)
676
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
677
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
678
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
679
+ end)
680
+
590
681
  api.add_operation(:describe_auto_scaling_configuration, Seahorse::Model::Operation.new.tap do |o|
591
682
  o.name = "DescribeAutoScalingConfiguration"
592
683
  o.http_method = "POST"
@@ -626,6 +717,17 @@ module Aws::AppRunner
626
717
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
627
718
  end)
628
719
 
720
+ api.add_operation(:describe_vpc_connector, Seahorse::Model::Operation.new.tap do |o|
721
+ o.name = "DescribeVpcConnector"
722
+ o.http_method = "POST"
723
+ o.http_request_uri = "/"
724
+ o.input = Shapes::ShapeRef.new(shape: DescribeVpcConnectorRequest)
725
+ o.output = Shapes::ShapeRef.new(shape: DescribeVpcConnectorResponse)
726
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
727
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
728
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
729
+ end)
730
+
629
731
  api.add_operation(:disassociate_custom_domain, Seahorse::Model::Operation.new.tap do |o|
630
732
  o.name = "DisassociateCustomDomain"
631
733
  o.http_method = "POST"
@@ -715,6 +817,22 @@ module Aws::AppRunner
715
817
  o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
716
818
  end)
717
819
 
820
+ api.add_operation(:list_vpc_connectors, Seahorse::Model::Operation.new.tap do |o|
821
+ o.name = "ListVpcConnectors"
822
+ o.http_method = "POST"
823
+ o.http_request_uri = "/"
824
+ o.input = Shapes::ShapeRef.new(shape: ListVpcConnectorsRequest)
825
+ o.output = Shapes::ShapeRef.new(shape: ListVpcConnectorsResponse)
826
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
827
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
828
+ o[:pager] = Aws::Pager.new(
829
+ limit_key: "max_results",
830
+ tokens: {
831
+ "next_token" => "next_token"
832
+ }
833
+ )
834
+ end)
835
+
718
836
  api.add_operation(:pause_service, Seahorse::Model::Operation.new.tap do |o|
719
837
  o.name = "PauseService"
720
838
  o.http_method = "POST"