aws-sdk-apprunner 1.7.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,11 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
- require 'aws-sdk-core/plugins/signature_v4.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
+ require 'aws-sdk-core/plugins/request_compression.rb'
32
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
33
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
34
+ require 'aws-sdk-core/plugins/sign.rb'
31
35
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
36
 
33
37
  Aws::Plugins::GlobalConfiguration.add_identifier(:apprunner)
@@ -73,8 +77,13 @@ module Aws::AppRunner
73
77
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
78
  add_plugin(Aws::Plugins::TransferEncoding)
75
79
  add_plugin(Aws::Plugins::HttpChecksum)
76
- add_plugin(Aws::Plugins::SignatureV4)
80
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
81
+ add_plugin(Aws::Plugins::RequestCompression)
82
+ add_plugin(Aws::Plugins::DefaultsMode)
83
+ add_plugin(Aws::Plugins::RecursionDetection)
84
+ add_plugin(Aws::Plugins::Sign)
77
85
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
86
+ add_plugin(Aws::AppRunner::Plugins::Endpoints)
78
87
 
79
88
  # @overload initialize(options)
80
89
  # @param [Hash] options
@@ -175,10 +184,18 @@ module Aws::AppRunner
175
184
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
185
  # a clock skew correction and retry requests with skewed client clocks.
177
186
  #
187
+ # @option options [String] :defaults_mode ("legacy")
188
+ # See {Aws::DefaultsModeConfiguration} for a list of the
189
+ # accepted modes and the configuration defaults that are included.
190
+ #
178
191
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
192
  # Set to true to disable SDK automatically adding host prefix
180
193
  # to default service endpoint when available.
181
194
  #
195
+ # @option options [Boolean] :disable_request_compression (false)
196
+ # When set to 'true' the request body will not be compressed
197
+ # for supported operations.
198
+ #
182
199
  # @option options [String] :endpoint
183
200
  # The client endpoint is normally constructed from the `:region`
184
201
  # option. You should only configure an `:endpoint` when connecting
@@ -199,6 +216,10 @@ module Aws::AppRunner
199
216
  # @option options [Boolean] :endpoint_discovery (false)
200
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
201
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
202
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
203
224
  # The log formatter.
204
225
  #
@@ -219,6 +240,11 @@ module Aws::AppRunner
219
240
  # Used when loading credentials from the shared credentials file
220
241
  # at HOME/.aws/credentials. When not specified, 'default' is used.
221
242
  #
243
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
244
+ # The minimum size in bytes that triggers compression for request
245
+ # bodies. The value must be non-negative integer value between 0
246
+ # and 10485780 bytes inclusive.
247
+ #
222
248
  # @option options [Proc] :retry_backoff
223
249
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
224
250
  # This option is only used in the `legacy` retry mode.
@@ -264,6 +290,11 @@ module Aws::AppRunner
264
290
  # in the future.
265
291
  #
266
292
  #
293
+ # @option options [String] :sdk_ua_app_id
294
+ # A unique and opaque application ID that is appended to the
295
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
296
+ # maximum length of 50.
297
+ #
267
298
  # @option options [String] :secret_access_key
268
299
  #
269
300
  # @option options [String] :session_token
@@ -287,6 +318,19 @@ module Aws::AppRunner
287
318
  # ** Please note ** When response stubbing is enabled, no HTTP
288
319
  # requests are made, and retries are disabled.
289
320
  #
321
+ # @option options [Aws::TokenProvider] :token_provider
322
+ # A Bearer Token Provider. This can be an instance of any one of the
323
+ # following classes:
324
+ #
325
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
326
+ # tokens.
327
+ #
328
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
329
+ # access token generated from `aws login`.
330
+ #
331
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
332
+ # will be used to search for tokens configured for your profile in shared configuration files.
333
+ #
290
334
  # @option options [Boolean] :use_dualstack_endpoint
291
335
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
336
  # will be used if available.
@@ -300,6 +344,9 @@ module Aws::AppRunner
300
344
  # When `true`, request parameters are validated before
301
345
  # sending the request.
302
346
  #
347
+ # @option options [Aws::AppRunner::EndpointProvider] :endpoint_provider
348
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::AppRunner::EndpointParameters`
349
+ #
303
350
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
351
  # requests through. Formatted like 'http://proxy.com:123'.
305
352
  #
@@ -307,7 +354,7 @@ module Aws::AppRunner
307
354
  # seconds to wait when opening a HTTP session before raising a
308
355
  # `Timeout::Error`.
309
356
  #
310
- # @option options [Integer] :http_read_timeout (60) The default
357
+ # @option options [Float] :http_read_timeout (60) The default
311
358
  # number of seconds to wait for response data. This value can
312
359
  # safely be set per-request on the session.
313
360
  #
@@ -323,6 +370,9 @@ module Aws::AppRunner
323
370
  # disables this behaviour. This value can safely be set per
324
371
  # request on the session.
325
372
  #
373
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
+ # in seconds.
375
+ #
326
376
  # @option options [Boolean] :http_wire_trace (false) When `true`,
327
377
  # HTTP debug output will be sent to the `:logger`.
328
378
  #
@@ -385,6 +435,7 @@ module Aws::AppRunner
385
435
  # * {Types::AssociateCustomDomainResponse#dns_target #dns_target} => String
386
436
  # * {Types::AssociateCustomDomainResponse#service_arn #service_arn} => String
387
437
  # * {Types::AssociateCustomDomainResponse#custom_domain #custom_domain} => Types::CustomDomain
438
+ # * {Types::AssociateCustomDomainResponse#vpc_dns_targets #vpc_dns_targets} => Array&lt;Types::VpcDNSTarget&gt;
388
439
  #
389
440
  # @example Request syntax with placeholder values
390
441
  #
@@ -406,6 +457,10 @@ module Aws::AppRunner
406
457
  # resp.custom_domain.certificate_validation_records[0].value #=> String
407
458
  # resp.custom_domain.certificate_validation_records[0].status #=> String, one of "PENDING_VALIDATION", "SUCCESS", "FAILED"
408
459
  # resp.custom_domain.status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "PENDING_CERTIFICATE_DNS_VALIDATION", "BINDING_CERTIFICATE"
460
+ # resp.vpc_dns_targets #=> Array
461
+ # resp.vpc_dns_targets[0].vpc_ingress_connection_arn #=> String
462
+ # resp.vpc_dns_targets[0].vpc_id #=> String
463
+ # resp.vpc_dns_targets[0].domain_name #=> String
409
464
  #
410
465
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/AssociateCustomDomain AWS API Documentation
411
466
  #
@@ -417,15 +472,17 @@ module Aws::AppRunner
417
472
  end
418
473
 
419
474
  # Create an App Runner automatic scaling configuration resource. App
420
- # Runner requires this resource when you create App Runner services that
421
- # require non-default auto scaling settings. You can share an auto
422
- # scaling configuration across multiple services.
423
- #
424
- # Create multiple revisions of a configuration by using the same
425
- # `AutoScalingConfigurationName` and different
426
- # `AutoScalingConfigurationRevision` values. When you create a service,
427
- # you can set it to use the latest active revision of an auto scaling
428
- # configuration or a specific revision.
475
+ # Runner requires this resource when you create or update App Runner
476
+ # services and you require non-default auto scaling settings. You can
477
+ # share an auto scaling configuration across multiple services.
478
+ #
479
+ # Create multiple revisions of a configuration by calling this action
480
+ # multiple times using the same `AutoScalingConfigurationName`. The call
481
+ # returns incremental `AutoScalingConfigurationRevision` values. When
482
+ # you create a service and configure an auto scaling configuration
483
+ # resource, the service uses the latest active revision of the auto
484
+ # scaling configuration by default. You can optionally configure the
485
+ # service to use a specific revision.
429
486
  #
430
487
  # Configure a higher `MinSize` to increase the spread of your App Runner
431
488
  # service over more Availability Zones in the Amazon Web Services
@@ -441,6 +498,33 @@ module Aws::AppRunner
441
498
  # subsequent calls, App Runner creates incremental revisions of the
442
499
  # configuration.
443
500
  #
501
+ # <note markdown="1"> Prior to the release of [Auto scale configuration enhancements][1],
502
+ # the name `DefaultConfiguration` was reserved.
503
+ #
504
+ # This restriction is no longer in place. You can now manage
505
+ # `DefaultConfiguration` the same way you manage your custom auto
506
+ # scaling configurations. This means you can do the following with the
507
+ # `DefaultConfiguration` that App Runner provides:
508
+ #
509
+ # * Create new revisions of the `DefaultConfiguration`.
510
+ #
511
+ # * Delete the revisions of the `DefaultConfiguration`.
512
+ #
513
+ # * Delete the auto scaling configuration for which the App Runner
514
+ # `DefaultConfiguration` was created.
515
+ #
516
+ # * If you delete the auto scaling configuration you can create another
517
+ # custom auto scaling configuration with the same
518
+ # `DefaultConfiguration` name. The original `DefaultConfiguration`
519
+ # resource provided by App Runner remains in your account unless you
520
+ # make changes to it.
521
+ #
522
+ # </note>
523
+ #
524
+ #
525
+ #
526
+ # [1]: https://docs.aws.amazon.com/apprunner/latest/relnotes/release-2023-09-22-auto-scale-config.html
527
+ #
444
528
  # @option params [Integer] :max_concurrency
445
529
  # The maximum number of concurrent requests that you want an instance to
446
530
  # process. If the number of concurrent requests exceeds this limit, App
@@ -504,6 +588,8 @@ module Aws::AppRunner
504
588
  # resp.auto_scaling_configuration.max_size #=> Integer
505
589
  # resp.auto_scaling_configuration.created_at #=> Time
506
590
  # resp.auto_scaling_configuration.deleted_at #=> Time
591
+ # resp.auto_scaling_configuration.has_associated_service #=> Boolean
592
+ # resp.auto_scaling_configuration.is_default #=> Boolean
507
593
  #
508
594
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateAutoScalingConfiguration AWS API Documentation
509
595
  #
@@ -519,9 +605,9 @@ module Aws::AppRunner
519
605
  # private repositories from certain third-party providers. You can share
520
606
  # a connection across multiple services.
521
607
  #
522
- # A connection resource is needed to access GitHub repositories. GitHub
523
- # requires a user interface approval process through the App Runner
524
- # console before you can use the connection.
608
+ # A connection resource is needed to access GitHub and Bitbucket
609
+ # repositories. Both require a user interface approval process through
610
+ # the App Runner console before you can use the connection.
525
611
  #
526
612
  # @option params [required, String] :connection_name
527
613
  # A name for the new connection. It must be unique across all App Runner
@@ -543,7 +629,7 @@ module Aws::AppRunner
543
629
  #
544
630
  # resp = client.create_connection({
545
631
  # connection_name: "ConnectionName", # required
546
- # provider_type: "GITHUB", # required, accepts GITHUB
632
+ # provider_type: "GITHUB", # required, accepts GITHUB, BITBUCKET
547
633
  # tags: [
548
634
  # {
549
635
  # key: "TagKey",
@@ -556,7 +642,7 @@ module Aws::AppRunner
556
642
  #
557
643
  # resp.connection.connection_name #=> String
558
644
  # resp.connection.connection_arn #=> String
559
- # resp.connection.provider_type #=> String, one of "GITHUB"
645
+ # resp.connection.provider_type #=> String, one of "GITHUB", "BITBUCKET"
560
646
  # resp.connection.status #=> String, one of "PENDING_HANDSHAKE", "AVAILABLE", "ERROR", "DELETED"
561
647
  # resp.connection.created_at #=> Time
562
648
  #
@@ -569,6 +655,90 @@ module Aws::AppRunner
569
655
  req.send_request(options)
570
656
  end
571
657
 
658
+ # Create an App Runner observability configuration resource. App Runner
659
+ # requires this resource when you create or update App Runner services
660
+ # and you want to enable non-default observability features. You can
661
+ # share an observability configuration across multiple services.
662
+ #
663
+ # Create multiple revisions of a configuration by calling this action
664
+ # multiple times using the same `ObservabilityConfigurationName`. The
665
+ # call returns incremental `ObservabilityConfigurationRevision` values.
666
+ # When you create a service and configure an observability configuration
667
+ # resource, the service uses the latest active revision of the
668
+ # observability configuration by default. You can optionally configure
669
+ # the service to use a specific revision.
670
+ #
671
+ # The observability configuration resource is designed to configure
672
+ # multiple features (currently one feature, tracing). This action takes
673
+ # optional parameters that describe the configuration of these features
674
+ # (currently one parameter, `TraceConfiguration`). If you don't specify
675
+ # a feature parameter, App Runner doesn't enable the feature.
676
+ #
677
+ # @option params [required, String] :observability_configuration_name
678
+ # A name for the observability configuration. When you use it for the
679
+ # first time in an Amazon Web Services Region, App Runner creates
680
+ # revision number `1` of this name. When you use the same name in
681
+ # subsequent calls, App Runner creates incremental revisions of the
682
+ # configuration.
683
+ #
684
+ # <note markdown="1"> The name `DefaultConfiguration` is reserved. You can't use it to
685
+ # create a new observability configuration, and you can't create a
686
+ # revision of it.
687
+ #
688
+ # When you want to use your own observability configuration for your App
689
+ # Runner service, *create a configuration with a different name*, and
690
+ # then provide it when you create or update your service.
691
+ #
692
+ # </note>
693
+ #
694
+ # @option params [Types::TraceConfiguration] :trace_configuration
695
+ # The configuration of the tracing feature within this observability
696
+ # configuration. If you don't specify it, App Runner doesn't enable
697
+ # tracing.
698
+ #
699
+ # @option params [Array<Types::Tag>] :tags
700
+ # A list of metadata items that you can associate with your
701
+ # observability configuration resource. A tag is a key-value pair.
702
+ #
703
+ # @return [Types::CreateObservabilityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
704
+ #
705
+ # * {Types::CreateObservabilityConfigurationResponse#observability_configuration #observability_configuration} => Types::ObservabilityConfiguration
706
+ #
707
+ # @example Request syntax with placeholder values
708
+ #
709
+ # resp = client.create_observability_configuration({
710
+ # observability_configuration_name: "ObservabilityConfigurationName", # required
711
+ # trace_configuration: {
712
+ # vendor: "AWSXRAY", # required, accepts AWSXRAY
713
+ # },
714
+ # tags: [
715
+ # {
716
+ # key: "TagKey",
717
+ # value: "TagValue",
718
+ # },
719
+ # ],
720
+ # })
721
+ #
722
+ # @example Response structure
723
+ #
724
+ # resp.observability_configuration.observability_configuration_arn #=> String
725
+ # resp.observability_configuration.observability_configuration_name #=> String
726
+ # resp.observability_configuration.trace_configuration.vendor #=> String, one of "AWSXRAY"
727
+ # resp.observability_configuration.observability_configuration_revision #=> Integer
728
+ # resp.observability_configuration.latest #=> Boolean
729
+ # resp.observability_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
730
+ # resp.observability_configuration.created_at #=> Time
731
+ # resp.observability_configuration.deleted_at #=> Time
732
+ #
733
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfiguration AWS API Documentation
734
+ #
735
+ # @overload create_observability_configuration(params = {})
736
+ # @param [Hash] params ({})
737
+ def create_observability_configuration(params = {}, options = {})
738
+ req = build_request(:create_observability_configuration, params)
739
+ req.send_request(options)
740
+ end
741
+
572
742
  # Create an App Runner service. After the service is created, the action
573
743
  # also automatically starts a deployment.
574
744
  #
@@ -581,30 +751,30 @@ module Aws::AppRunner
581
751
  # [1]: https://docs.aws.amazon.com/apprunner/latest/api/API_ListOperations.html
582
752
  #
583
753
  # @option params [required, String] :service_name
584
- # A name for the new service. It must be unique across all the running
585
- # App Runner services in your Amazon Web Services account in the Amazon
586
- # Web Services Region.
754
+ # A name for the App Runner service. It must be unique across all the
755
+ # running App Runner services in your Amazon Web Services account in the
756
+ # Amazon Web Services Region.
587
757
  #
588
758
  # @option params [required, Types::SourceConfiguration] :source_configuration
589
759
  # The source to deploy to the App Runner service. It can be a code or an
590
760
  # image repository.
591
761
  #
592
762
  # @option params [Types::InstanceConfiguration] :instance_configuration
593
- # The runtime configuration of instances (scaling units) of the App
594
- # Runner service.
763
+ # The runtime configuration of instances (scaling units) of your
764
+ # service.
595
765
  #
596
766
  # @option params [Array<Types::Tag>] :tags
597
- # An optional list of metadata items that you can associate with your
598
- # service resource. A tag is a key-value pair.
767
+ # An optional list of metadata items that you can associate with the App
768
+ # Runner service resource. A tag is a key-value pair.
599
769
  #
600
770
  # @option params [Types::EncryptionConfiguration] :encryption_configuration
601
771
  # An optional custom encryption key that App Runner uses to encrypt the
602
772
  # copy of your source repository that it maintains and your service
603
- # logs. By default, App Runner uses an Amazon Web Services managed CMK.
773
+ # logs. By default, App Runner uses an Amazon Web Services managed key.
604
774
  #
605
775
  # @option params [Types::HealthCheckConfiguration] :health_check_configuration
606
776
  # The settings for the health check that App Runner performs to monitor
607
- # the health of your service.
777
+ # the health of the App Runner service.
608
778
  #
609
779
  # @option params [String] :auto_scaling_configuration_arn
610
780
  # The Amazon Resource Name (ARN) of an App Runner automatic scaling
@@ -612,6 +782,20 @@ module Aws::AppRunner
612
782
  # If not provided, App Runner associates the latest revision of a
613
783
  # default auto scaling configuration.
614
784
  #
785
+ # Specify an ARN with a name and a revision number to associate that
786
+ # revision. For example:
787
+ # `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3`
788
+ #
789
+ # Specify just the name to associate the latest revision. For example:
790
+ # `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability`
791
+ #
792
+ # @option params [Types::NetworkConfiguration] :network_configuration
793
+ # Configuration settings related to network traffic of the web
794
+ # application that the App Runner service runs.
795
+ #
796
+ # @option params [Types::ServiceObservabilityConfiguration] :observability_configuration
797
+ # The observability configuration of your service.
798
+ #
615
799
  # @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
616
800
  #
617
801
  # * {Types::CreateServiceResponse#service #service} => Types::Service
@@ -631,15 +815,19 @@ module Aws::AppRunner
631
815
  # code_configuration: {
632
816
  # configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
633
817
  # code_configuration_values: {
634
- # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
818
+ # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11, NODEJS_16, GO_1, DOTNET_6, PHP_81, RUBY_31
635
819
  # build_command: "BuildCommand",
636
820
  # start_command: "StartCommand",
637
821
  # port: "String",
638
822
  # runtime_environment_variables: {
639
823
  # "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
640
824
  # },
825
+ # runtime_environment_secrets: {
826
+ # "RuntimeEnvironmentSecretsName" => "RuntimeEnvironmentSecretsValue",
827
+ # },
641
828
  # },
642
829
  # },
830
+ # source_directory: "SourceDirectory",
643
831
  # },
644
832
  # image_repository: {
645
833
  # image_identifier: "ImageIdentifier", # required
@@ -647,8 +835,11 @@ module Aws::AppRunner
647
835
  # runtime_environment_variables: {
648
836
  # "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
649
837
  # },
650
- # start_command: "String",
838
+ # start_command: "StartCommand",
651
839
  # port: "String",
840
+ # runtime_environment_secrets: {
841
+ # "RuntimeEnvironmentSecretsName" => "RuntimeEnvironmentSecretsValue",
842
+ # },
652
843
  # },
653
844
  # image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
654
845
  # },
@@ -681,6 +872,20 @@ module Aws::AppRunner
681
872
  # unhealthy_threshold: 1,
682
873
  # },
683
874
  # auto_scaling_configuration_arn: "AppRunnerResourceArn",
875
+ # network_configuration: {
876
+ # egress_configuration: {
877
+ # egress_type: "DEFAULT", # accepts DEFAULT, VPC
878
+ # vpc_connector_arn: "AppRunnerResourceArn",
879
+ # },
880
+ # ingress_configuration: {
881
+ # is_publicly_accessible: false,
882
+ # },
883
+ # ip_address_type: "IPV4", # accepts IPV4, DUAL_STACK
884
+ # },
885
+ # observability_configuration: {
886
+ # observability_enabled: false, # required
887
+ # observability_configuration_arn: "AppRunnerResourceArn",
888
+ # },
684
889
  # })
685
890
  #
686
891
  # @example Response structure
@@ -697,17 +902,22 @@ module Aws::AppRunner
697
902
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
698
903
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
699
904
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
700
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
905
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11", "NODEJS_16", "GO_1", "DOTNET_6", "PHP_81", "RUBY_31"
701
906
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
702
907
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
703
908
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
704
909
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
705
910
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
911
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets #=> Hash
912
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
913
+ # resp.service.source_configuration.code_repository.source_directory #=> String
706
914
  # resp.service.source_configuration.image_repository.image_identifier #=> String
707
915
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
708
916
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
709
917
  # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
710
918
  # resp.service.source_configuration.image_repository.image_configuration.port #=> String
919
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets #=> Hash
920
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
711
921
  # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
712
922
  # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
713
923
  # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
@@ -725,6 +935,16 @@ module Aws::AppRunner
725
935
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
726
936
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
727
937
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
938
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
939
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
940
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
941
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
942
+ # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
943
+ # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
944
+ # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
945
+ # resp.service.network_configuration.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
946
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
947
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
728
948
  # resp.operation_id #=> String
729
949
  #
730
950
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateService AWS API Documentation
@@ -736,10 +956,143 @@ module Aws::AppRunner
736
956
  req.send_request(options)
737
957
  end
738
958
 
959
+ # Create an App Runner VPC connector resource. App Runner requires this
960
+ # resource when you want to associate your App Runner service to a
961
+ # custom Amazon Virtual Private Cloud (Amazon VPC).
962
+ #
963
+ # @option params [required, String] :vpc_connector_name
964
+ # A name for the VPC connector.
965
+ #
966
+ # @option params [required, Array<String>] :subnets
967
+ # A list of IDs of subnets that App Runner should use when it associates
968
+ # your service with a custom Amazon VPC. Specify IDs of subnets of a
969
+ # single Amazon VPC. App Runner determines the Amazon VPC from the
970
+ # subnets you specify.
971
+ #
972
+ # <note markdown="1"> App Runner currently only provides support for IPv4.
973
+ #
974
+ # </note>
975
+ #
976
+ # @option params [Array<String>] :security_groups
977
+ # A list of IDs of security groups that App Runner should use for access
978
+ # to Amazon Web Services resources under the specified subnets. If not
979
+ # specified, App Runner uses the default security group of the Amazon
980
+ # VPC. The default security group allows all outbound traffic.
981
+ #
982
+ # @option params [Array<Types::Tag>] :tags
983
+ # A list of metadata items that you can associate with your VPC
984
+ # connector resource. A tag is a key-value pair.
985
+ #
986
+ # @return [Types::CreateVpcConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
987
+ #
988
+ # * {Types::CreateVpcConnectorResponse#vpc_connector #vpc_connector} => Types::VpcConnector
989
+ #
990
+ # @example Request syntax with placeholder values
991
+ #
992
+ # resp = client.create_vpc_connector({
993
+ # vpc_connector_name: "VpcConnectorName", # required
994
+ # subnets: ["String"], # required
995
+ # security_groups: ["String"],
996
+ # tags: [
997
+ # {
998
+ # key: "TagKey",
999
+ # value: "TagValue",
1000
+ # },
1001
+ # ],
1002
+ # })
1003
+ #
1004
+ # @example Response structure
1005
+ #
1006
+ # resp.vpc_connector.vpc_connector_name #=> String
1007
+ # resp.vpc_connector.vpc_connector_arn #=> String
1008
+ # resp.vpc_connector.vpc_connector_revision #=> Integer
1009
+ # resp.vpc_connector.subnets #=> Array
1010
+ # resp.vpc_connector.subnets[0] #=> String
1011
+ # resp.vpc_connector.security_groups #=> Array
1012
+ # resp.vpc_connector.security_groups[0] #=> String
1013
+ # resp.vpc_connector.status #=> String, one of "ACTIVE", "INACTIVE"
1014
+ # resp.vpc_connector.created_at #=> Time
1015
+ # resp.vpc_connector.deleted_at #=> Time
1016
+ #
1017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcConnector AWS API Documentation
1018
+ #
1019
+ # @overload create_vpc_connector(params = {})
1020
+ # @param [Hash] params ({})
1021
+ def create_vpc_connector(params = {}, options = {})
1022
+ req = build_request(:create_vpc_connector, params)
1023
+ req.send_request(options)
1024
+ end
1025
+
1026
+ # Create an App Runner VPC Ingress Connection resource. App Runner
1027
+ # requires this resource when you want to associate your App Runner
1028
+ # service with an Amazon VPC endpoint.
1029
+ #
1030
+ # @option params [required, String] :service_arn
1031
+ # The Amazon Resource Name (ARN) for this App Runner service that is
1032
+ # used to create the VPC Ingress Connection resource.
1033
+ #
1034
+ # @option params [required, String] :vpc_ingress_connection_name
1035
+ # A name for the VPC Ingress Connection resource. It must be unique
1036
+ # across all the active VPC Ingress Connections in your Amazon Web
1037
+ # Services account in the Amazon Web Services Region.
1038
+ #
1039
+ # @option params [required, Types::IngressVpcConfiguration] :ingress_vpc_configuration
1040
+ # Specifications for the customer’s Amazon VPC and the related Amazon
1041
+ # Web Services PrivateLink VPC endpoint that are used to create the VPC
1042
+ # Ingress Connection resource.
1043
+ #
1044
+ # @option params [Array<Types::Tag>] :tags
1045
+ # An optional list of metadata items that you can associate with the VPC
1046
+ # Ingress Connection resource. A tag is a key-value pair.
1047
+ #
1048
+ # @return [Types::CreateVpcIngressConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1049
+ #
1050
+ # * {Types::CreateVpcIngressConnectionResponse#vpc_ingress_connection #vpc_ingress_connection} => Types::VpcIngressConnection
1051
+ #
1052
+ # @example Request syntax with placeholder values
1053
+ #
1054
+ # resp = client.create_vpc_ingress_connection({
1055
+ # service_arn: "AppRunnerResourceArn", # required
1056
+ # vpc_ingress_connection_name: "VpcIngressConnectionName", # required
1057
+ # ingress_vpc_configuration: { # required
1058
+ # vpc_id: "String",
1059
+ # vpc_endpoint_id: "String",
1060
+ # },
1061
+ # tags: [
1062
+ # {
1063
+ # key: "TagKey",
1064
+ # value: "TagValue",
1065
+ # },
1066
+ # ],
1067
+ # })
1068
+ #
1069
+ # @example Response structure
1070
+ #
1071
+ # resp.vpc_ingress_connection.vpc_ingress_connection_arn #=> String
1072
+ # resp.vpc_ingress_connection.vpc_ingress_connection_name #=> String
1073
+ # resp.vpc_ingress_connection.service_arn #=> String
1074
+ # resp.vpc_ingress_connection.status #=> String, one of "AVAILABLE", "PENDING_CREATION", "PENDING_UPDATE", "PENDING_DELETION", "FAILED_CREATION", "FAILED_UPDATE", "FAILED_DELETION", "DELETED"
1075
+ # resp.vpc_ingress_connection.account_id #=> String
1076
+ # resp.vpc_ingress_connection.domain_name #=> String
1077
+ # resp.vpc_ingress_connection.ingress_vpc_configuration.vpc_id #=> String
1078
+ # resp.vpc_ingress_connection.ingress_vpc_configuration.vpc_endpoint_id #=> String
1079
+ # resp.vpc_ingress_connection.created_at #=> Time
1080
+ # resp.vpc_ingress_connection.deleted_at #=> Time
1081
+ #
1082
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcIngressConnection AWS API Documentation
1083
+ #
1084
+ # @overload create_vpc_ingress_connection(params = {})
1085
+ # @param [Hash] params ({})
1086
+ def create_vpc_ingress_connection(params = {}, options = {})
1087
+ req = build_request(:create_vpc_ingress_connection, params)
1088
+ req.send_request(options)
1089
+ end
1090
+
739
1091
  # Delete an App Runner automatic scaling configuration resource. You can
740
- # delete a specific revision or the latest active revision. You can't
741
- # delete a configuration that's used by one or more App Runner
742
- # services.
1092
+ # delete a top level auto scaling configuration, a specific revision of
1093
+ # one, or all revisions associated with the top level configuration. You
1094
+ # can't delete the default auto scaling configuration or a
1095
+ # configuration that's used by one or more App Runner services.
743
1096
  #
744
1097
  # @option params [required, String] :auto_scaling_configuration_arn
745
1098
  # The Amazon Resource Name (ARN) of the App Runner auto scaling
@@ -749,6 +1102,14 @@ module Aws::AppRunner
749
1102
  # ending with either `.../name ` or `.../name/revision `. If a revision
750
1103
  # isn't specified, the latest active revision is deleted.
751
1104
  #
1105
+ # @option params [Boolean] :delete_all_revisions
1106
+ # Set to `true` to delete all of the revisions associated with the
1107
+ # `AutoScalingConfigurationArn` parameter value.
1108
+ #
1109
+ # When `DeleteAllRevisions` is set to `true`, the only valid value for
1110
+ # the Amazon Resource Name (ARN) is a partial ARN ending with:
1111
+ # `.../name`.
1112
+ #
752
1113
  # @return [Types::DeleteAutoScalingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
753
1114
  #
754
1115
  # * {Types::DeleteAutoScalingConfigurationResponse#auto_scaling_configuration #auto_scaling_configuration} => Types::AutoScalingConfiguration
@@ -757,6 +1118,7 @@ module Aws::AppRunner
757
1118
  #
758
1119
  # resp = client.delete_auto_scaling_configuration({
759
1120
  # auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
1121
+ # delete_all_revisions: false,
760
1122
  # })
761
1123
  #
762
1124
  # @example Response structure
@@ -771,6 +1133,8 @@ module Aws::AppRunner
771
1133
  # resp.auto_scaling_configuration.max_size #=> Integer
772
1134
  # resp.auto_scaling_configuration.created_at #=> Time
773
1135
  # resp.auto_scaling_configuration.deleted_at #=> Time
1136
+ # resp.auto_scaling_configuration.has_associated_service #=> Boolean
1137
+ # resp.auto_scaling_configuration.is_default #=> Boolean
774
1138
  #
775
1139
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteAutoScalingConfiguration AWS API Documentation
776
1140
  #
@@ -803,7 +1167,7 @@ module Aws::AppRunner
803
1167
  #
804
1168
  # resp.connection.connection_name #=> String
805
1169
  # resp.connection.connection_arn #=> String
806
- # resp.connection.provider_type #=> String, one of "GITHUB"
1170
+ # resp.connection.provider_type #=> String, one of "GITHUB", "BITBUCKET"
807
1171
  # resp.connection.status #=> String, one of "PENDING_HANDSHAKE", "AVAILABLE", "ERROR", "DELETED"
808
1172
  # resp.connection.created_at #=> Time
809
1173
  #
@@ -816,12 +1180,60 @@ module Aws::AppRunner
816
1180
  req.send_request(options)
817
1181
  end
818
1182
 
1183
+ # Delete an App Runner observability configuration resource. You can
1184
+ # delete a specific revision or the latest active revision. You can't
1185
+ # delete a configuration that's used by one or more App Runner
1186
+ # services.
1187
+ #
1188
+ # @option params [required, String] :observability_configuration_arn
1189
+ # The Amazon Resource Name (ARN) of the App Runner observability
1190
+ # configuration that you want to delete.
1191
+ #
1192
+ # The ARN can be a full observability configuration ARN, or a partial
1193
+ # ARN ending with either `.../name ` or `.../name/revision `. If a
1194
+ # revision isn't specified, the latest active revision is deleted.
1195
+ #
1196
+ # @return [Types::DeleteObservabilityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1197
+ #
1198
+ # * {Types::DeleteObservabilityConfigurationResponse#observability_configuration #observability_configuration} => Types::ObservabilityConfiguration
1199
+ #
1200
+ # @example Request syntax with placeholder values
1201
+ #
1202
+ # resp = client.delete_observability_configuration({
1203
+ # observability_configuration_arn: "AppRunnerResourceArn", # required
1204
+ # })
1205
+ #
1206
+ # @example Response structure
1207
+ #
1208
+ # resp.observability_configuration.observability_configuration_arn #=> String
1209
+ # resp.observability_configuration.observability_configuration_name #=> String
1210
+ # resp.observability_configuration.trace_configuration.vendor #=> String, one of "AWSXRAY"
1211
+ # resp.observability_configuration.observability_configuration_revision #=> Integer
1212
+ # resp.observability_configuration.latest #=> Boolean
1213
+ # resp.observability_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
1214
+ # resp.observability_configuration.created_at #=> Time
1215
+ # resp.observability_configuration.deleted_at #=> Time
1216
+ #
1217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfiguration AWS API Documentation
1218
+ #
1219
+ # @overload delete_observability_configuration(params = {})
1220
+ # @param [Hash] params ({})
1221
+ def delete_observability_configuration(params = {}, options = {})
1222
+ req = build_request(:delete_observability_configuration, params)
1223
+ req.send_request(options)
1224
+ end
1225
+
819
1226
  # Delete an App Runner service.
820
1227
  #
821
1228
  # This is an asynchronous operation. On a successful call, you can use
822
1229
  # the returned `OperationId` and the ListOperations call to track the
823
1230
  # operation's progress.
824
1231
  #
1232
+ # <note markdown="1"> Make sure that you don't have any active VPCIngressConnections
1233
+ # associated with the service you want to delete.
1234
+ #
1235
+ # </note>
1236
+ #
825
1237
  # @option params [required, String] :service_arn
826
1238
  # The Amazon Resource Name (ARN) of the App Runner service that you want
827
1239
  # to delete.
@@ -851,17 +1263,22 @@ module Aws::AppRunner
851
1263
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
852
1264
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
853
1265
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
854
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
1266
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11", "NODEJS_16", "GO_1", "DOTNET_6", "PHP_81", "RUBY_31"
855
1267
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
856
1268
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
857
1269
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
858
1270
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
859
1271
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1272
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets #=> Hash
1273
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
1274
+ # resp.service.source_configuration.code_repository.source_directory #=> String
860
1275
  # resp.service.source_configuration.image_repository.image_identifier #=> String
861
1276
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
862
1277
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
863
1278
  # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
864
1279
  # resp.service.source_configuration.image_repository.image_configuration.port #=> String
1280
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets #=> Hash
1281
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
865
1282
  # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
866
1283
  # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
867
1284
  # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
@@ -879,6 +1296,16 @@ module Aws::AppRunner
879
1296
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
880
1297
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
881
1298
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1299
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
1300
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
1301
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
1302
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
1303
+ # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
1304
+ # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
1305
+ # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
1306
+ # resp.service.network_configuration.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
1307
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
1308
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
882
1309
  # resp.operation_id #=> String
883
1310
  #
884
1311
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteService AWS API Documentation
@@ -890,6 +1317,95 @@ module Aws::AppRunner
890
1317
  req.send_request(options)
891
1318
  end
892
1319
 
1320
+ # Delete an App Runner VPC connector resource. You can't delete a
1321
+ # connector that's used by one or more App Runner services.
1322
+ #
1323
+ # @option params [required, String] :vpc_connector_arn
1324
+ # The Amazon Resource Name (ARN) of the App Runner VPC connector that
1325
+ # you want to delete.
1326
+ #
1327
+ # The ARN must be a full VPC connector ARN.
1328
+ #
1329
+ # @return [Types::DeleteVpcConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1330
+ #
1331
+ # * {Types::DeleteVpcConnectorResponse#vpc_connector #vpc_connector} => Types::VpcConnector
1332
+ #
1333
+ # @example Request syntax with placeholder values
1334
+ #
1335
+ # resp = client.delete_vpc_connector({
1336
+ # vpc_connector_arn: "AppRunnerResourceArn", # required
1337
+ # })
1338
+ #
1339
+ # @example Response structure
1340
+ #
1341
+ # resp.vpc_connector.vpc_connector_name #=> String
1342
+ # resp.vpc_connector.vpc_connector_arn #=> String
1343
+ # resp.vpc_connector.vpc_connector_revision #=> Integer
1344
+ # resp.vpc_connector.subnets #=> Array
1345
+ # resp.vpc_connector.subnets[0] #=> String
1346
+ # resp.vpc_connector.security_groups #=> Array
1347
+ # resp.vpc_connector.security_groups[0] #=> String
1348
+ # resp.vpc_connector.status #=> String, one of "ACTIVE", "INACTIVE"
1349
+ # resp.vpc_connector.created_at #=> Time
1350
+ # resp.vpc_connector.deleted_at #=> Time
1351
+ #
1352
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcConnector AWS API Documentation
1353
+ #
1354
+ # @overload delete_vpc_connector(params = {})
1355
+ # @param [Hash] params ({})
1356
+ def delete_vpc_connector(params = {}, options = {})
1357
+ req = build_request(:delete_vpc_connector, params)
1358
+ req.send_request(options)
1359
+ end
1360
+
1361
+ # Delete an App Runner VPC Ingress Connection resource that's
1362
+ # associated with an App Runner service. The VPC Ingress Connection must
1363
+ # be in one of the following states to be deleted:
1364
+ #
1365
+ # * `AVAILABLE`
1366
+ #
1367
+ # * `FAILED_CREATION`
1368
+ #
1369
+ # * `FAILED_UPDATE`
1370
+ #
1371
+ # * `FAILED_DELETION`
1372
+ #
1373
+ # @option params [required, String] :vpc_ingress_connection_arn
1374
+ # The Amazon Resource Name (ARN) of the App Runner VPC Ingress
1375
+ # Connection that you want to delete.
1376
+ #
1377
+ # @return [Types::DeleteVpcIngressConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1378
+ #
1379
+ # * {Types::DeleteVpcIngressConnectionResponse#vpc_ingress_connection #vpc_ingress_connection} => Types::VpcIngressConnection
1380
+ #
1381
+ # @example Request syntax with placeholder values
1382
+ #
1383
+ # resp = client.delete_vpc_ingress_connection({
1384
+ # vpc_ingress_connection_arn: "AppRunnerResourceArn", # required
1385
+ # })
1386
+ #
1387
+ # @example Response structure
1388
+ #
1389
+ # resp.vpc_ingress_connection.vpc_ingress_connection_arn #=> String
1390
+ # resp.vpc_ingress_connection.vpc_ingress_connection_name #=> String
1391
+ # resp.vpc_ingress_connection.service_arn #=> String
1392
+ # resp.vpc_ingress_connection.status #=> String, one of "AVAILABLE", "PENDING_CREATION", "PENDING_UPDATE", "PENDING_DELETION", "FAILED_CREATION", "FAILED_UPDATE", "FAILED_DELETION", "DELETED"
1393
+ # resp.vpc_ingress_connection.account_id #=> String
1394
+ # resp.vpc_ingress_connection.domain_name #=> String
1395
+ # resp.vpc_ingress_connection.ingress_vpc_configuration.vpc_id #=> String
1396
+ # resp.vpc_ingress_connection.ingress_vpc_configuration.vpc_endpoint_id #=> String
1397
+ # resp.vpc_ingress_connection.created_at #=> Time
1398
+ # resp.vpc_ingress_connection.deleted_at #=> Time
1399
+ #
1400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcIngressConnection AWS API Documentation
1401
+ #
1402
+ # @overload delete_vpc_ingress_connection(params = {})
1403
+ # @param [Hash] params ({})
1404
+ def delete_vpc_ingress_connection(params = {}, options = {})
1405
+ req = build_request(:delete_vpc_ingress_connection, params)
1406
+ req.send_request(options)
1407
+ end
1408
+
893
1409
  # Return a full description of an App Runner automatic scaling
894
1410
  # configuration resource.
895
1411
  #
@@ -923,6 +1439,8 @@ module Aws::AppRunner
923
1439
  # resp.auto_scaling_configuration.max_size #=> Integer
924
1440
  # resp.auto_scaling_configuration.created_at #=> Time
925
1441
  # resp.auto_scaling_configuration.deleted_at #=> Time
1442
+ # resp.auto_scaling_configuration.has_associated_service #=> Boolean
1443
+ # resp.auto_scaling_configuration.is_default #=> Boolean
926
1444
  #
927
1445
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeAutoScalingConfiguration AWS API Documentation
928
1446
  #
@@ -961,6 +1479,7 @@ module Aws::AppRunner
961
1479
  # * {Types::DescribeCustomDomainsResponse#dns_target #dns_target} => String
962
1480
  # * {Types::DescribeCustomDomainsResponse#service_arn #service_arn} => String
963
1481
  # * {Types::DescribeCustomDomainsResponse#custom_domains #custom_domains} => Array&lt;Types::CustomDomain&gt;
1482
+ # * {Types::DescribeCustomDomainsResponse#vpc_dns_targets #vpc_dns_targets} => Array&lt;Types::VpcDNSTarget&gt;
964
1483
  # * {Types::DescribeCustomDomainsResponse#next_token #next_token} => String
965
1484
  #
966
1485
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
@@ -986,6 +1505,10 @@ module Aws::AppRunner
986
1505
  # resp.custom_domains[0].certificate_validation_records[0].value #=> String
987
1506
  # resp.custom_domains[0].certificate_validation_records[0].status #=> String, one of "PENDING_VALIDATION", "SUCCESS", "FAILED"
988
1507
  # resp.custom_domains[0].status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "PENDING_CERTIFICATE_DNS_VALIDATION", "BINDING_CERTIFICATE"
1508
+ # resp.vpc_dns_targets #=> Array
1509
+ # resp.vpc_dns_targets[0].vpc_ingress_connection_arn #=> String
1510
+ # resp.vpc_dns_targets[0].vpc_id #=> String
1511
+ # resp.vpc_dns_targets[0].domain_name #=> String
989
1512
  # resp.next_token #=> String
990
1513
  #
991
1514
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeCustomDomains AWS API Documentation
@@ -997,6 +1520,47 @@ module Aws::AppRunner
997
1520
  req.send_request(options)
998
1521
  end
999
1522
 
1523
+ # Return a full description of an App Runner observability configuration
1524
+ # resource.
1525
+ #
1526
+ # @option params [required, String] :observability_configuration_arn
1527
+ # The Amazon Resource Name (ARN) of the App Runner observability
1528
+ # configuration that you want a description for.
1529
+ #
1530
+ # The ARN can be a full observability configuration ARN, or a partial
1531
+ # ARN ending with either `.../name ` or `.../name/revision `. If a
1532
+ # revision isn't specified, the latest active revision is described.
1533
+ #
1534
+ # @return [Types::DescribeObservabilityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1535
+ #
1536
+ # * {Types::DescribeObservabilityConfigurationResponse#observability_configuration #observability_configuration} => Types::ObservabilityConfiguration
1537
+ #
1538
+ # @example Request syntax with placeholder values
1539
+ #
1540
+ # resp = client.describe_observability_configuration({
1541
+ # observability_configuration_arn: "AppRunnerResourceArn", # required
1542
+ # })
1543
+ #
1544
+ # @example Response structure
1545
+ #
1546
+ # resp.observability_configuration.observability_configuration_arn #=> String
1547
+ # resp.observability_configuration.observability_configuration_name #=> String
1548
+ # resp.observability_configuration.trace_configuration.vendor #=> String, one of "AWSXRAY"
1549
+ # resp.observability_configuration.observability_configuration_revision #=> Integer
1550
+ # resp.observability_configuration.latest #=> Boolean
1551
+ # resp.observability_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
1552
+ # resp.observability_configuration.created_at #=> Time
1553
+ # resp.observability_configuration.deleted_at #=> Time
1554
+ #
1555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfiguration AWS API Documentation
1556
+ #
1557
+ # @overload describe_observability_configuration(params = {})
1558
+ # @param [Hash] params ({})
1559
+ def describe_observability_configuration(params = {}, options = {})
1560
+ req = build_request(:describe_observability_configuration, params)
1561
+ req.send_request(options)
1562
+ end
1563
+
1000
1564
  # Return a full description of an App Runner service.
1001
1565
  #
1002
1566
  # @option params [required, String] :service_arn
@@ -1027,17 +1591,22 @@ module Aws::AppRunner
1027
1591
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1028
1592
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1029
1593
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1030
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
1594
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11", "NODEJS_16", "GO_1", "DOTNET_6", "PHP_81", "RUBY_31"
1031
1595
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1032
1596
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1033
1597
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
1034
1598
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
1035
1599
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1600
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets #=> Hash
1601
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
1602
+ # resp.service.source_configuration.code_repository.source_directory #=> String
1036
1603
  # resp.service.source_configuration.image_repository.image_identifier #=> String
1037
1604
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
1038
1605
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1039
1606
  # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
1040
1607
  # resp.service.source_configuration.image_repository.image_configuration.port #=> String
1608
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets #=> Hash
1609
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
1041
1610
  # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
1042
1611
  # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
1043
1612
  # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
@@ -1055,6 +1624,16 @@ module Aws::AppRunner
1055
1624
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1056
1625
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1057
1626
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1627
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
1628
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
1629
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
1630
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
1631
+ # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
1632
+ # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
1633
+ # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
1634
+ # resp.service.network_configuration.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
1635
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
1636
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
1058
1637
  #
1059
1638
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeService AWS API Documentation
1060
1639
  #
@@ -1065,6 +1644,85 @@ module Aws::AppRunner
1065
1644
  req.send_request(options)
1066
1645
  end
1067
1646
 
1647
+ # Return a description of an App Runner VPC connector resource.
1648
+ #
1649
+ # @option params [required, String] :vpc_connector_arn
1650
+ # The Amazon Resource Name (ARN) of the App Runner VPC connector that
1651
+ # you want a description for.
1652
+ #
1653
+ # The ARN must be a full VPC connector ARN.
1654
+ #
1655
+ # @return [Types::DescribeVpcConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1656
+ #
1657
+ # * {Types::DescribeVpcConnectorResponse#vpc_connector #vpc_connector} => Types::VpcConnector
1658
+ #
1659
+ # @example Request syntax with placeholder values
1660
+ #
1661
+ # resp = client.describe_vpc_connector({
1662
+ # vpc_connector_arn: "AppRunnerResourceArn", # required
1663
+ # })
1664
+ #
1665
+ # @example Response structure
1666
+ #
1667
+ # resp.vpc_connector.vpc_connector_name #=> String
1668
+ # resp.vpc_connector.vpc_connector_arn #=> String
1669
+ # resp.vpc_connector.vpc_connector_revision #=> Integer
1670
+ # resp.vpc_connector.subnets #=> Array
1671
+ # resp.vpc_connector.subnets[0] #=> String
1672
+ # resp.vpc_connector.security_groups #=> Array
1673
+ # resp.vpc_connector.security_groups[0] #=> String
1674
+ # resp.vpc_connector.status #=> String, one of "ACTIVE", "INACTIVE"
1675
+ # resp.vpc_connector.created_at #=> Time
1676
+ # resp.vpc_connector.deleted_at #=> Time
1677
+ #
1678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcConnector AWS API Documentation
1679
+ #
1680
+ # @overload describe_vpc_connector(params = {})
1681
+ # @param [Hash] params ({})
1682
+ def describe_vpc_connector(params = {}, options = {})
1683
+ req = build_request(:describe_vpc_connector, params)
1684
+ req.send_request(options)
1685
+ end
1686
+
1687
+ # Return a full description of an App Runner VPC Ingress Connection
1688
+ # resource.
1689
+ #
1690
+ # @option params [required, String] :vpc_ingress_connection_arn
1691
+ # The Amazon Resource Name (ARN) of the App Runner VPC Ingress
1692
+ # Connection that you want a description for.
1693
+ #
1694
+ # @return [Types::DescribeVpcIngressConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1695
+ #
1696
+ # * {Types::DescribeVpcIngressConnectionResponse#vpc_ingress_connection #vpc_ingress_connection} => Types::VpcIngressConnection
1697
+ #
1698
+ # @example Request syntax with placeholder values
1699
+ #
1700
+ # resp = client.describe_vpc_ingress_connection({
1701
+ # vpc_ingress_connection_arn: "AppRunnerResourceArn", # required
1702
+ # })
1703
+ #
1704
+ # @example Response structure
1705
+ #
1706
+ # resp.vpc_ingress_connection.vpc_ingress_connection_arn #=> String
1707
+ # resp.vpc_ingress_connection.vpc_ingress_connection_name #=> String
1708
+ # resp.vpc_ingress_connection.service_arn #=> String
1709
+ # resp.vpc_ingress_connection.status #=> String, one of "AVAILABLE", "PENDING_CREATION", "PENDING_UPDATE", "PENDING_DELETION", "FAILED_CREATION", "FAILED_UPDATE", "FAILED_DELETION", "DELETED"
1710
+ # resp.vpc_ingress_connection.account_id #=> String
1711
+ # resp.vpc_ingress_connection.domain_name #=> String
1712
+ # resp.vpc_ingress_connection.ingress_vpc_configuration.vpc_id #=> String
1713
+ # resp.vpc_ingress_connection.ingress_vpc_configuration.vpc_endpoint_id #=> String
1714
+ # resp.vpc_ingress_connection.created_at #=> Time
1715
+ # resp.vpc_ingress_connection.deleted_at #=> Time
1716
+ #
1717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcIngressConnection AWS API Documentation
1718
+ #
1719
+ # @overload describe_vpc_ingress_connection(params = {})
1720
+ # @param [Hash] params ({})
1721
+ def describe_vpc_ingress_connection(params = {}, options = {})
1722
+ req = build_request(:describe_vpc_ingress_connection, params)
1723
+ req.send_request(options)
1724
+ end
1725
+
1068
1726
  # Disassociate a custom domain name from an App Runner service.
1069
1727
  #
1070
1728
  # Certificates tracking domain validity are associated with a custom
@@ -1090,6 +1748,7 @@ module Aws::AppRunner
1090
1748
  # * {Types::DisassociateCustomDomainResponse#dns_target #dns_target} => String
1091
1749
  # * {Types::DisassociateCustomDomainResponse#service_arn #service_arn} => String
1092
1750
  # * {Types::DisassociateCustomDomainResponse#custom_domain #custom_domain} => Types::CustomDomain
1751
+ # * {Types::DisassociateCustomDomainResponse#vpc_dns_targets #vpc_dns_targets} => Array&lt;Types::VpcDNSTarget&gt;
1093
1752
  #
1094
1753
  # @example Request syntax with placeholder values
1095
1754
  #
@@ -1110,6 +1769,10 @@ module Aws::AppRunner
1110
1769
  # resp.custom_domain.certificate_validation_records[0].value #=> String
1111
1770
  # resp.custom_domain.certificate_validation_records[0].status #=> String, one of "PENDING_VALIDATION", "SUCCESS", "FAILED"
1112
1771
  # resp.custom_domain.status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "PENDING_CERTIFICATE_DNS_VALIDATION", "BINDING_CERTIFICATE"
1772
+ # resp.vpc_dns_targets #=> Array
1773
+ # resp.vpc_dns_targets[0].vpc_ingress_connection_arn #=> String
1774
+ # resp.vpc_dns_targets[0].vpc_id #=> String
1775
+ # resp.vpc_dns_targets[0].domain_name #=> String
1113
1776
  #
1114
1777
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DisassociateCustomDomain AWS API Documentation
1115
1778
  #
@@ -1120,25 +1783,30 @@ module Aws::AppRunner
1120
1783
  req.send_request(options)
1121
1784
  end
1122
1785
 
1123
- # Returns a list of App Runner automatic scaling configurations in your
1124
- # Amazon Web Services account. You can query the revisions for a
1125
- # specific configuration name or the revisions for all configurations in
1126
- # your account. You can optionally query only the latest revision of
1127
- # each requested name.
1786
+ # Returns a list of active App Runner automatic scaling configurations
1787
+ # in your Amazon Web Services account. You can query the revisions for a
1788
+ # specific configuration name or the revisions for all active
1789
+ # configurations in your account. You can optionally query only the
1790
+ # latest revision of each requested name.
1791
+ #
1792
+ # To retrieve a full description of a particular configuration revision,
1793
+ # call and provide one of the ARNs returned by
1794
+ # `ListAutoScalingConfigurations`.
1128
1795
  #
1129
1796
  # @option params [String] :auto_scaling_configuration_name
1130
1797
  # The name of the App Runner auto scaling configuration that you want to
1131
1798
  # list. If specified, App Runner lists revisions that share this name.
1132
- # If not specified, App Runner returns revisions of all configurations.
1799
+ # If not specified, App Runner returns revisions of all active
1800
+ # configurations.
1133
1801
  #
1134
1802
  # @option params [Boolean] :latest_only
1135
1803
  # Set to `true` to list only the latest revision for each requested
1136
1804
  # configuration name.
1137
1805
  #
1138
- # Keep as `false` to list all revisions for each requested configuration
1806
+ # Set to `false` to list all revisions for each requested configuration
1139
1807
  # name.
1140
1808
  #
1141
- # Default: `false`
1809
+ # Default: `true`
1142
1810
  #
1143
1811
  # @option params [Integer] :max_results
1144
1812
  # The maximum number of results to include in each response (result
@@ -1178,6 +1846,10 @@ module Aws::AppRunner
1178
1846
  # resp.auto_scaling_configuration_summary_list[0].auto_scaling_configuration_arn #=> String
1179
1847
  # resp.auto_scaling_configuration_summary_list[0].auto_scaling_configuration_name #=> String
1180
1848
  # resp.auto_scaling_configuration_summary_list[0].auto_scaling_configuration_revision #=> Integer
1849
+ # resp.auto_scaling_configuration_summary_list[0].status #=> String, one of "ACTIVE", "INACTIVE"
1850
+ # resp.auto_scaling_configuration_summary_list[0].created_at #=> Time
1851
+ # resp.auto_scaling_configuration_summary_list[0].has_associated_service #=> Boolean
1852
+ # resp.auto_scaling_configuration_summary_list[0].is_default #=> Boolean
1181
1853
  # resp.next_token #=> String
1182
1854
  #
1183
1855
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListAutoScalingConfigurations AWS API Documentation
@@ -1231,7 +1903,7 @@ module Aws::AppRunner
1231
1903
  # resp.connection_summary_list #=> Array
1232
1904
  # resp.connection_summary_list[0].connection_name #=> String
1233
1905
  # resp.connection_summary_list[0].connection_arn #=> String
1234
- # resp.connection_summary_list[0].provider_type #=> String, one of "GITHUB"
1906
+ # resp.connection_summary_list[0].provider_type #=> String, one of "GITHUB", "BITBUCKET"
1235
1907
  # resp.connection_summary_list[0].status #=> String, one of "PENDING_HANDSHAKE", "AVAILABLE", "ERROR", "DELETED"
1236
1908
  # resp.connection_summary_list[0].created_at #=> Time
1237
1909
  # resp.next_token #=> String
@@ -1245,6 +1917,80 @@ module Aws::AppRunner
1245
1917
  req.send_request(options)
1246
1918
  end
1247
1919
 
1920
+ # Returns a list of active App Runner observability configurations in
1921
+ # your Amazon Web Services account. You can query the revisions for a
1922
+ # specific configuration name or the revisions for all active
1923
+ # configurations in your account. You can optionally query only the
1924
+ # latest revision of each requested name.
1925
+ #
1926
+ # To retrieve a full description of a particular configuration revision,
1927
+ # call and provide one of the ARNs returned by
1928
+ # `ListObservabilityConfigurations`.
1929
+ #
1930
+ # @option params [String] :observability_configuration_name
1931
+ # The name of the App Runner observability configuration that you want
1932
+ # to list. If specified, App Runner lists revisions that share this
1933
+ # name. If not specified, App Runner returns revisions of all active
1934
+ # configurations.
1935
+ #
1936
+ # @option params [Boolean] :latest_only
1937
+ # Set to `true` to list only the latest revision for each requested
1938
+ # configuration name.
1939
+ #
1940
+ # Set to `false` to list all revisions for each requested configuration
1941
+ # name.
1942
+ #
1943
+ # Default: `true`
1944
+ #
1945
+ # @option params [Integer] :max_results
1946
+ # The maximum number of results to include in each response (result
1947
+ # page). It's used for a paginated request.
1948
+ #
1949
+ # If you don't specify `MaxResults`, the request retrieves all
1950
+ # available results in a single response.
1951
+ #
1952
+ # @option params [String] :next_token
1953
+ # A token from a previous result page. It's used for a paginated
1954
+ # request. The request retrieves the next result page. All other
1955
+ # parameter values must be identical to the ones that are specified in
1956
+ # the initial request.
1957
+ #
1958
+ # If you don't specify `NextToken`, the request retrieves the first
1959
+ # result page.
1960
+ #
1961
+ # @return [Types::ListObservabilityConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1962
+ #
1963
+ # * {Types::ListObservabilityConfigurationsResponse#observability_configuration_summary_list #observability_configuration_summary_list} => Array&lt;Types::ObservabilityConfigurationSummary&gt;
1964
+ # * {Types::ListObservabilityConfigurationsResponse#next_token #next_token} => String
1965
+ #
1966
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1967
+ #
1968
+ # @example Request syntax with placeholder values
1969
+ #
1970
+ # resp = client.list_observability_configurations({
1971
+ # observability_configuration_name: "ObservabilityConfigurationName",
1972
+ # latest_only: false,
1973
+ # max_results: 1,
1974
+ # next_token: "NextToken",
1975
+ # })
1976
+ #
1977
+ # @example Response structure
1978
+ #
1979
+ # resp.observability_configuration_summary_list #=> Array
1980
+ # resp.observability_configuration_summary_list[0].observability_configuration_arn #=> String
1981
+ # resp.observability_configuration_summary_list[0].observability_configuration_name #=> String
1982
+ # resp.observability_configuration_summary_list[0].observability_configuration_revision #=> Integer
1983
+ # resp.next_token #=> String
1984
+ #
1985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurations AWS API Documentation
1986
+ #
1987
+ # @overload list_observability_configurations(params = {})
1988
+ # @param [Hash] params ({})
1989
+ def list_observability_configurations(params = {}, options = {})
1990
+ req = build_request(:list_observability_configurations, params)
1991
+ req.send_request(options)
1992
+ end
1993
+
1248
1994
  # Return a list of operations that occurred on an App Runner service.
1249
1995
  #
1250
1996
  # The resulting list of OperationSummary objects is sorted in reverse
@@ -1290,7 +2036,7 @@ module Aws::AppRunner
1290
2036
  #
1291
2037
  # resp.operation_summary_list #=> Array
1292
2038
  # resp.operation_summary_list[0].id #=> String
1293
- # resp.operation_summary_list[0].type #=> String, one of "START_DEPLOYMENT", "CREATE_SERVICE", "PAUSE_SERVICE", "RESUME_SERVICE", "DELETE_SERVICE"
2039
+ # resp.operation_summary_list[0].type #=> String, one of "START_DEPLOYMENT", "CREATE_SERVICE", "PAUSE_SERVICE", "RESUME_SERVICE", "DELETE_SERVICE", "UPDATE_SERVICE"
1294
2040
  # resp.operation_summary_list[0].status #=> String, one of "PENDING", "IN_PROGRESS", "FAILED", "SUCCEEDED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_SUCCEEDED"
1295
2041
  # resp.operation_summary_list[0].target_arn #=> String
1296
2042
  # resp.operation_summary_list[0].started_at #=> Time
@@ -1360,6 +2106,63 @@ module Aws::AppRunner
1360
2106
  req.send_request(options)
1361
2107
  end
1362
2108
 
2109
+ # Returns a list of the associated App Runner services using an auto
2110
+ # scaling configuration.
2111
+ #
2112
+ # @option params [required, String] :auto_scaling_configuration_arn
2113
+ # The Amazon Resource Name (ARN) of the App Runner auto scaling
2114
+ # configuration that you want to list the services for.
2115
+ #
2116
+ # The ARN can be a full auto scaling configuration ARN, or a partial ARN
2117
+ # ending with either `.../name ` or `.../name/revision `. If a revision
2118
+ # isn't specified, the latest active revision is used.
2119
+ #
2120
+ # @option params [Integer] :max_results
2121
+ # The maximum number of results to include in each response (result
2122
+ # page). It's used for a paginated request.
2123
+ #
2124
+ # If you don't specify `MaxResults`, the request retrieves all
2125
+ # available results in a single response.
2126
+ #
2127
+ # @option params [String] :next_token
2128
+ # A token from a previous result page. It's used for a paginated
2129
+ # request. The request retrieves the next result page. All other
2130
+ # parameter values must be identical to the ones specified in the
2131
+ # initial request.
2132
+ #
2133
+ # If you don't specify `NextToken`, the request retrieves the first
2134
+ # result page.
2135
+ #
2136
+ # @return [Types::ListServicesForAutoScalingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2137
+ #
2138
+ # * {Types::ListServicesForAutoScalingConfigurationResponse#service_arn_list #service_arn_list} => Array&lt;String&gt;
2139
+ # * {Types::ListServicesForAutoScalingConfigurationResponse#next_token #next_token} => String
2140
+ #
2141
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2142
+ #
2143
+ # @example Request syntax with placeholder values
2144
+ #
2145
+ # resp = client.list_services_for_auto_scaling_configuration({
2146
+ # auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
2147
+ # max_results: 1,
2148
+ # next_token: "NextToken",
2149
+ # })
2150
+ #
2151
+ # @example Response structure
2152
+ #
2153
+ # resp.service_arn_list #=> Array
2154
+ # resp.service_arn_list[0] #=> String
2155
+ # resp.next_token #=> String
2156
+ #
2157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListServicesForAutoScalingConfiguration AWS API Documentation
2158
+ #
2159
+ # @overload list_services_for_auto_scaling_configuration(params = {})
2160
+ # @param [Hash] params ({})
2161
+ def list_services_for_auto_scaling_configuration(params = {}, options = {})
2162
+ req = build_request(:list_services_for_auto_scaling_configuration, params)
2163
+ req.send_request(options)
2164
+ end
2165
+
1363
2166
  # List tags that are associated with for an App Runner resource. The
1364
2167
  # response contains a list of tag key-value pairs.
1365
2168
  #
@@ -1394,6 +2197,120 @@ module Aws::AppRunner
1394
2197
  req.send_request(options)
1395
2198
  end
1396
2199
 
2200
+ # Returns a list of App Runner VPC connectors in your Amazon Web
2201
+ # Services account.
2202
+ #
2203
+ # @option params [Integer] :max_results
2204
+ # The maximum number of results to include in each response (result
2205
+ # page). It's used for a paginated request.
2206
+ #
2207
+ # If you don't specify `MaxResults`, the request retrieves all
2208
+ # available results in a single response.
2209
+ #
2210
+ # @option params [String] :next_token
2211
+ # A token from a previous result page. It's used for a paginated
2212
+ # request. The request retrieves the next result page. All other
2213
+ # parameter values must be identical to the ones that are specified in
2214
+ # the initial request.
2215
+ #
2216
+ # If you don't specify `NextToken`, the request retrieves the first
2217
+ # result page.
2218
+ #
2219
+ # @return [Types::ListVpcConnectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2220
+ #
2221
+ # * {Types::ListVpcConnectorsResponse#vpc_connectors #vpc_connectors} => Array&lt;Types::VpcConnector&gt;
2222
+ # * {Types::ListVpcConnectorsResponse#next_token #next_token} => String
2223
+ #
2224
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2225
+ #
2226
+ # @example Request syntax with placeholder values
2227
+ #
2228
+ # resp = client.list_vpc_connectors({
2229
+ # max_results: 1,
2230
+ # next_token: "NextToken",
2231
+ # })
2232
+ #
2233
+ # @example Response structure
2234
+ #
2235
+ # resp.vpc_connectors #=> Array
2236
+ # resp.vpc_connectors[0].vpc_connector_name #=> String
2237
+ # resp.vpc_connectors[0].vpc_connector_arn #=> String
2238
+ # resp.vpc_connectors[0].vpc_connector_revision #=> Integer
2239
+ # resp.vpc_connectors[0].subnets #=> Array
2240
+ # resp.vpc_connectors[0].subnets[0] #=> String
2241
+ # resp.vpc_connectors[0].security_groups #=> Array
2242
+ # resp.vpc_connectors[0].security_groups[0] #=> String
2243
+ # resp.vpc_connectors[0].status #=> String, one of "ACTIVE", "INACTIVE"
2244
+ # resp.vpc_connectors[0].created_at #=> Time
2245
+ # resp.vpc_connectors[0].deleted_at #=> Time
2246
+ # resp.next_token #=> String
2247
+ #
2248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcConnectors AWS API Documentation
2249
+ #
2250
+ # @overload list_vpc_connectors(params = {})
2251
+ # @param [Hash] params ({})
2252
+ def list_vpc_connectors(params = {}, options = {})
2253
+ req = build_request(:list_vpc_connectors, params)
2254
+ req.send_request(options)
2255
+ end
2256
+
2257
+ # Return a list of App Runner VPC Ingress Connections in your Amazon Web
2258
+ # Services account.
2259
+ #
2260
+ # @option params [Types::ListVpcIngressConnectionsFilter] :filter
2261
+ # The VPC Ingress Connections to be listed based on either the Service
2262
+ # Arn or Vpc Endpoint Id, or both.
2263
+ #
2264
+ # @option params [Integer] :max_results
2265
+ # The maximum number of results to include in each response (result
2266
+ # page). It's used for a paginated request.
2267
+ #
2268
+ # If you don't specify `MaxResults`, the request retrieves all
2269
+ # available results in a single response.
2270
+ #
2271
+ # @option params [String] :next_token
2272
+ # A token from a previous result page. It's used for a paginated
2273
+ # request. The request retrieves the next result page. All other
2274
+ # parameter values must be identical to the ones that are specified in
2275
+ # the initial request.
2276
+ #
2277
+ # If you don't specify `NextToken`, the request retrieves the first
2278
+ # result page.
2279
+ #
2280
+ # @return [Types::ListVpcIngressConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2281
+ #
2282
+ # * {Types::ListVpcIngressConnectionsResponse#vpc_ingress_connection_summary_list #vpc_ingress_connection_summary_list} => Array&lt;Types::VpcIngressConnectionSummary&gt;
2283
+ # * {Types::ListVpcIngressConnectionsResponse#next_token #next_token} => String
2284
+ #
2285
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2286
+ #
2287
+ # @example Request syntax with placeholder values
2288
+ #
2289
+ # resp = client.list_vpc_ingress_connections({
2290
+ # filter: {
2291
+ # service_arn: "AppRunnerResourceArn",
2292
+ # vpc_endpoint_id: "String",
2293
+ # },
2294
+ # max_results: 1,
2295
+ # next_token: "NextToken",
2296
+ # })
2297
+ #
2298
+ # @example Response structure
2299
+ #
2300
+ # resp.vpc_ingress_connection_summary_list #=> Array
2301
+ # resp.vpc_ingress_connection_summary_list[0].vpc_ingress_connection_arn #=> String
2302
+ # resp.vpc_ingress_connection_summary_list[0].service_arn #=> String
2303
+ # resp.next_token #=> String
2304
+ #
2305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcIngressConnections AWS API Documentation
2306
+ #
2307
+ # @overload list_vpc_ingress_connections(params = {})
2308
+ # @param [Hash] params ({})
2309
+ def list_vpc_ingress_connections(params = {}, options = {})
2310
+ req = build_request(:list_vpc_ingress_connections, params)
2311
+ req.send_request(options)
2312
+ end
2313
+
1397
2314
  # Pause an active App Runner service. App Runner reduces compute
1398
2315
  # capacity for the service to zero and loses state (for example,
1399
2316
  # ephemeral storage is removed).
@@ -1431,17 +2348,22 @@ module Aws::AppRunner
1431
2348
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1432
2349
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1433
2350
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1434
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
2351
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11", "NODEJS_16", "GO_1", "DOTNET_6", "PHP_81", "RUBY_31"
1435
2352
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1436
2353
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1437
2354
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
1438
2355
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
1439
2356
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
2357
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets #=> Hash
2358
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
2359
+ # resp.service.source_configuration.code_repository.source_directory #=> String
1440
2360
  # resp.service.source_configuration.image_repository.image_identifier #=> String
1441
2361
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
1442
2362
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1443
2363
  # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
1444
2364
  # resp.service.source_configuration.image_repository.image_configuration.port #=> String
2365
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets #=> Hash
2366
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
1445
2367
  # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
1446
2368
  # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
1447
2369
  # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
@@ -1459,6 +2381,16 @@ module Aws::AppRunner
1459
2381
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1460
2382
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1461
2383
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
2384
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
2385
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
2386
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
2387
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
2388
+ # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
2389
+ # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
2390
+ # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
2391
+ # resp.service.network_configuration.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
2392
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
2393
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
1462
2394
  # resp.operation_id #=> String
1463
2395
  #
1464
2396
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/PauseService AWS API Documentation
@@ -1506,17 +2438,22 @@ module Aws::AppRunner
1506
2438
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1507
2439
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1508
2440
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1509
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
2441
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11", "NODEJS_16", "GO_1", "DOTNET_6", "PHP_81", "RUBY_31"
1510
2442
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1511
2443
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1512
2444
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
1513
2445
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
1514
2446
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
2447
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets #=> Hash
2448
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
2449
+ # resp.service.source_configuration.code_repository.source_directory #=> String
1515
2450
  # resp.service.source_configuration.image_repository.image_identifier #=> String
1516
2451
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
1517
2452
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1518
2453
  # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
1519
2454
  # resp.service.source_configuration.image_repository.image_configuration.port #=> String
2455
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets #=> Hash
2456
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
1520
2457
  # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
1521
2458
  # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
1522
2459
  # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
@@ -1534,6 +2471,16 @@ module Aws::AppRunner
1534
2471
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1535
2472
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1536
2473
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
2474
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
2475
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
2476
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
2477
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
2478
+ # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
2479
+ # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
2480
+ # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
2481
+ # resp.service.network_configuration.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
2482
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
2483
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
1537
2484
  # resp.operation_id #=> String
1538
2485
  #
1539
2486
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ResumeService AWS API Documentation
@@ -1652,6 +2599,52 @@ module Aws::AppRunner
1652
2599
  req.send_request(options)
1653
2600
  end
1654
2601
 
2602
+ # Update an auto scaling configuration to be the default. The existing
2603
+ # default auto scaling configuration will be set to non-default
2604
+ # automatically.
2605
+ #
2606
+ # @option params [required, String] :auto_scaling_configuration_arn
2607
+ # The Amazon Resource Name (ARN) of the App Runner auto scaling
2608
+ # configuration that you want to set as the default.
2609
+ #
2610
+ # The ARN can be a full auto scaling configuration ARN, or a partial ARN
2611
+ # ending with either `.../name ` or `.../name/revision `. If a revision
2612
+ # isn't specified, the latest active revision is set as the default.
2613
+ #
2614
+ # @return [Types::UpdateDefaultAutoScalingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2615
+ #
2616
+ # * {Types::UpdateDefaultAutoScalingConfigurationResponse#auto_scaling_configuration #auto_scaling_configuration} => Types::AutoScalingConfiguration
2617
+ #
2618
+ # @example Request syntax with placeholder values
2619
+ #
2620
+ # resp = client.update_default_auto_scaling_configuration({
2621
+ # auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
2622
+ # })
2623
+ #
2624
+ # @example Response structure
2625
+ #
2626
+ # resp.auto_scaling_configuration.auto_scaling_configuration_arn #=> String
2627
+ # resp.auto_scaling_configuration.auto_scaling_configuration_name #=> String
2628
+ # resp.auto_scaling_configuration.auto_scaling_configuration_revision #=> Integer
2629
+ # resp.auto_scaling_configuration.latest #=> Boolean
2630
+ # resp.auto_scaling_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
2631
+ # resp.auto_scaling_configuration.max_concurrency #=> Integer
2632
+ # resp.auto_scaling_configuration.min_size #=> Integer
2633
+ # resp.auto_scaling_configuration.max_size #=> Integer
2634
+ # resp.auto_scaling_configuration.created_at #=> Time
2635
+ # resp.auto_scaling_configuration.deleted_at #=> Time
2636
+ # resp.auto_scaling_configuration.has_associated_service #=> Boolean
2637
+ # resp.auto_scaling_configuration.is_default #=> Boolean
2638
+ #
2639
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateDefaultAutoScalingConfiguration AWS API Documentation
2640
+ #
2641
+ # @overload update_default_auto_scaling_configuration(params = {})
2642
+ # @param [Hash] params ({})
2643
+ def update_default_auto_scaling_configuration(params = {}, options = {})
2644
+ req = build_request(:update_default_auto_scaling_configuration, params)
2645
+ req.send_request(options)
2646
+ end
2647
+
1655
2648
  # Update an App Runner service. You can update the source configuration
1656
2649
  # and instance configuration of the service. You can also update the ARN
1657
2650
  # of the auto scaling configuration resource that's associated with the
@@ -1683,16 +2676,24 @@ module Aws::AppRunner
1683
2676
  # include.
1684
2677
  #
1685
2678
  # @option params [Types::InstanceConfiguration] :instance_configuration
1686
- # The runtime configuration to apply to instances (scaling units) of the
1687
- # App Runner service.
2679
+ # The runtime configuration to apply to instances (scaling units) of
2680
+ # your service.
1688
2681
  #
1689
2682
  # @option params [String] :auto_scaling_configuration_arn
1690
2683
  # The Amazon Resource Name (ARN) of an App Runner automatic scaling
1691
- # configuration resource that you want to associate with your service.
2684
+ # configuration resource that you want to associate with the App Runner
2685
+ # service.
1692
2686
  #
1693
2687
  # @option params [Types::HealthCheckConfiguration] :health_check_configuration
1694
2688
  # The settings for the health check that App Runner performs to monitor
1695
- # the health of your service.
2689
+ # the health of the App Runner service.
2690
+ #
2691
+ # @option params [Types::NetworkConfiguration] :network_configuration
2692
+ # Configuration settings related to network traffic of the web
2693
+ # application that the App Runner service runs.
2694
+ #
2695
+ # @option params [Types::ServiceObservabilityConfiguration] :observability_configuration
2696
+ # The observability configuration of your service.
1696
2697
  #
1697
2698
  # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1698
2699
  #
@@ -1713,15 +2714,19 @@ module Aws::AppRunner
1713
2714
  # code_configuration: {
1714
2715
  # configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
1715
2716
  # code_configuration_values: {
1716
- # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
2717
+ # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11, NODEJS_16, GO_1, DOTNET_6, PHP_81, RUBY_31
1717
2718
  # build_command: "BuildCommand",
1718
2719
  # start_command: "StartCommand",
1719
2720
  # port: "String",
1720
2721
  # runtime_environment_variables: {
1721
2722
  # "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
1722
2723
  # },
2724
+ # runtime_environment_secrets: {
2725
+ # "RuntimeEnvironmentSecretsName" => "RuntimeEnvironmentSecretsValue",
2726
+ # },
1723
2727
  # },
1724
2728
  # },
2729
+ # source_directory: "SourceDirectory",
1725
2730
  # },
1726
2731
  # image_repository: {
1727
2732
  # image_identifier: "ImageIdentifier", # required
@@ -1729,8 +2734,11 @@ module Aws::AppRunner
1729
2734
  # runtime_environment_variables: {
1730
2735
  # "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
1731
2736
  # },
1732
- # start_command: "String",
2737
+ # start_command: "StartCommand",
1733
2738
  # port: "String",
2739
+ # runtime_environment_secrets: {
2740
+ # "RuntimeEnvironmentSecretsName" => "RuntimeEnvironmentSecretsValue",
2741
+ # },
1734
2742
  # },
1735
2743
  # image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
1736
2744
  # },
@@ -1754,6 +2762,20 @@ module Aws::AppRunner
1754
2762
  # healthy_threshold: 1,
1755
2763
  # unhealthy_threshold: 1,
1756
2764
  # },
2765
+ # network_configuration: {
2766
+ # egress_configuration: {
2767
+ # egress_type: "DEFAULT", # accepts DEFAULT, VPC
2768
+ # vpc_connector_arn: "AppRunnerResourceArn",
2769
+ # },
2770
+ # ingress_configuration: {
2771
+ # is_publicly_accessible: false,
2772
+ # },
2773
+ # ip_address_type: "IPV4", # accepts IPV4, DUAL_STACK
2774
+ # },
2775
+ # observability_configuration: {
2776
+ # observability_enabled: false, # required
2777
+ # observability_configuration_arn: "AppRunnerResourceArn",
2778
+ # },
1757
2779
  # })
1758
2780
  #
1759
2781
  # @example Response structure
@@ -1770,17 +2792,22 @@ module Aws::AppRunner
1770
2792
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1771
2793
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1772
2794
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1773
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
2795
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11", "NODEJS_16", "GO_1", "DOTNET_6", "PHP_81", "RUBY_31"
1774
2796
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1775
2797
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1776
2798
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
1777
2799
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
1778
2800
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
2801
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets #=> Hash
2802
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
2803
+ # resp.service.source_configuration.code_repository.source_directory #=> String
1779
2804
  # resp.service.source_configuration.image_repository.image_identifier #=> String
1780
2805
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
1781
2806
  # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1782
2807
  # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
1783
2808
  # resp.service.source_configuration.image_repository.image_configuration.port #=> String
2809
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets #=> Hash
2810
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_secrets["RuntimeEnvironmentSecretsName"] #=> String
1784
2811
  # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
1785
2812
  # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
1786
2813
  # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
@@ -1798,6 +2825,16 @@ module Aws::AppRunner
1798
2825
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1799
2826
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1800
2827
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
2828
+ # resp.service.auto_scaling_configuration_summary.status #=> String, one of "ACTIVE", "INACTIVE"
2829
+ # resp.service.auto_scaling_configuration_summary.created_at #=> Time
2830
+ # resp.service.auto_scaling_configuration_summary.has_associated_service #=> Boolean
2831
+ # resp.service.auto_scaling_configuration_summary.is_default #=> Boolean
2832
+ # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
2833
+ # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
2834
+ # resp.service.network_configuration.ingress_configuration.is_publicly_accessible #=> Boolean
2835
+ # resp.service.network_configuration.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
2836
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
2837
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
1801
2838
  # resp.operation_id #=> String
1802
2839
  #
1803
2840
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateService AWS API Documentation
@@ -1809,6 +2846,61 @@ module Aws::AppRunner
1809
2846
  req.send_request(options)
1810
2847
  end
1811
2848
 
2849
+ # Update an existing App Runner VPC Ingress Connection resource. The VPC
2850
+ # Ingress Connection must be in one of the following states to be
2851
+ # updated:
2852
+ #
2853
+ # * AVAILABLE
2854
+ #
2855
+ # * FAILED\_CREATION
2856
+ #
2857
+ # * FAILED\_UPDATE
2858
+ #
2859
+ # @option params [required, String] :vpc_ingress_connection_arn
2860
+ # The Amazon Resource Name (Arn) for the App Runner VPC Ingress
2861
+ # Connection resource that you want to update.
2862
+ #
2863
+ # @option params [required, Types::IngressVpcConfiguration] :ingress_vpc_configuration
2864
+ # Specifications for the customer’s Amazon VPC and the related Amazon
2865
+ # Web Services PrivateLink VPC endpoint that are used to update the VPC
2866
+ # Ingress Connection resource.
2867
+ #
2868
+ # @return [Types::UpdateVpcIngressConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2869
+ #
2870
+ # * {Types::UpdateVpcIngressConnectionResponse#vpc_ingress_connection #vpc_ingress_connection} => Types::VpcIngressConnection
2871
+ #
2872
+ # @example Request syntax with placeholder values
2873
+ #
2874
+ # resp = client.update_vpc_ingress_connection({
2875
+ # vpc_ingress_connection_arn: "AppRunnerResourceArn", # required
2876
+ # ingress_vpc_configuration: { # required
2877
+ # vpc_id: "String",
2878
+ # vpc_endpoint_id: "String",
2879
+ # },
2880
+ # })
2881
+ #
2882
+ # @example Response structure
2883
+ #
2884
+ # resp.vpc_ingress_connection.vpc_ingress_connection_arn #=> String
2885
+ # resp.vpc_ingress_connection.vpc_ingress_connection_name #=> String
2886
+ # resp.vpc_ingress_connection.service_arn #=> String
2887
+ # resp.vpc_ingress_connection.status #=> String, one of "AVAILABLE", "PENDING_CREATION", "PENDING_UPDATE", "PENDING_DELETION", "FAILED_CREATION", "FAILED_UPDATE", "FAILED_DELETION", "DELETED"
2888
+ # resp.vpc_ingress_connection.account_id #=> String
2889
+ # resp.vpc_ingress_connection.domain_name #=> String
2890
+ # resp.vpc_ingress_connection.ingress_vpc_configuration.vpc_id #=> String
2891
+ # resp.vpc_ingress_connection.ingress_vpc_configuration.vpc_endpoint_id #=> String
2892
+ # resp.vpc_ingress_connection.created_at #=> Time
2893
+ # resp.vpc_ingress_connection.deleted_at #=> Time
2894
+ #
2895
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateVpcIngressConnection AWS API Documentation
2896
+ #
2897
+ # @overload update_vpc_ingress_connection(params = {})
2898
+ # @param [Hash] params ({})
2899
+ def update_vpc_ingress_connection(params = {}, options = {})
2900
+ req = build_request(:update_vpc_ingress_connection, params)
2901
+ req.send_request(options)
2902
+ end
2903
+
1812
2904
  # @!endgroup
1813
2905
 
1814
2906
  # @param params ({})
@@ -1822,7 +2914,7 @@ module Aws::AppRunner
1822
2914
  params: params,
1823
2915
  config: config)
1824
2916
  context[:gem_name] = 'aws-sdk-apprunner'
1825
- context[:gem_version] = '1.7.0'
2917
+ context[:gem_version] = '1.32.0'
1826
2918
  Seahorse::Client::Request.new(handlers, context)
1827
2919
  end
1828
2920