aws-sdk-apprunner 1.8.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apprunner/client.rb +275 -28
- data/lib/aws-sdk-apprunner/client_api.rb +119 -1
- data/lib/aws-sdk-apprunner/types.rb +395 -31
- data/lib/aws-sdk-apprunner.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e233ea2c1fd5539a809c55104f685012779f44b7fadd487d74d8016fce4cefb1
|
4
|
+
data.tar.gz: a273d90816bee855b66e72dccdc80e24c4a7b60c6e484d76f27808e4a82cba58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b962778e31d2e607e0f4f259f3ed3964317fd41f0ed51b44db6ee8455535ce88737d29529f479431b7260158e7e2f1eb7a0db8b4f02c305fb265938fcd9182bf
|
7
|
+
data.tar.gz: a420b838a155d4ca6cb584e688f080fa91901fcd40ca166edc038a9d2fa0472f7c7e97a833045a5fab15b7de00fb5f54c1abf8d97db37c50977993105457e805
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2022-02-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS App Runner adds a Java platform (Corretto 8, Corretto 11 runtimes) and a Node.js 14 runtime.
|
8
|
+
|
9
|
+
1.10.0 (2022-02-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for App Runner to route outbound network traffic of a service through an Amazon VPC. New API: CreateVpcConnector, DescribeVpcConnector, ListVpcConnectors, and DeleteVpcConnector. Updated API: CreateService, DescribeService, and UpdateService.
|
13
|
+
|
14
|
+
1.9.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.8.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -28,6 +28,7 @@ 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
30
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
33
34
|
|
@@ -75,6 +76,7 @@ module Aws::AppRunner
|
|
75
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
78
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
80
82
|
|
@@ -430,11 +432,11 @@ module Aws::AppRunner
|
|
430
432
|
# require non-default auto scaling settings. You can share an auto
|
431
433
|
# scaling configuration across multiple services.
|
432
434
|
#
|
433
|
-
# Create multiple revisions of a configuration by
|
434
|
-
# `AutoScalingConfigurationName
|
435
|
-
# `AutoScalingConfigurationRevision` values. When
|
436
|
-
# you can set it to use the latest active revision
|
437
|
-
# configuration or a specific revision.
|
435
|
+
# Create multiple revisions of a configuration by calling this action
|
436
|
+
# multiple times using the same `AutoScalingConfigurationName`. The call
|
437
|
+
# returns incremental `AutoScalingConfigurationRevision` values. When
|
438
|
+
# you create a service, you can set it to use the latest active revision
|
439
|
+
# of an auto scaling configuration or a specific revision.
|
438
440
|
#
|
439
441
|
# Configure a higher `MinSize` to increase the spread of your App Runner
|
440
442
|
# service over more Availability Zones in the Amazon Web Services
|
@@ -450,6 +452,17 @@ module Aws::AppRunner
|
|
450
452
|
# subsequent calls, App Runner creates incremental revisions of the
|
451
453
|
# configuration.
|
452
454
|
#
|
455
|
+
# <note markdown="1"> The name `DefaultConfiguration` is reserved (it's the configuration
|
456
|
+
# that App Runner uses if you don't provide a custome one). You can't
|
457
|
+
# use it to create a new auto scaling configuration, and you can't
|
458
|
+
# create a revision of it.
|
459
|
+
#
|
460
|
+
# When you want to use your own auto scaling configuration for your App
|
461
|
+
# Runner service, *create a configuration with a different name*, and
|
462
|
+
# then provide it when you create or update your service.
|
463
|
+
#
|
464
|
+
# </note>
|
465
|
+
#
|
453
466
|
# @option params [Integer] :max_concurrency
|
454
467
|
# The maximum number of concurrent requests that you want an instance to
|
455
468
|
# process. If the number of concurrent requests exceeds this limit, App
|
@@ -590,9 +603,9 @@ module Aws::AppRunner
|
|
590
603
|
# [1]: https://docs.aws.amazon.com/apprunner/latest/api/API_ListOperations.html
|
591
604
|
#
|
592
605
|
# @option params [required, String] :service_name
|
593
|
-
# A name for the
|
594
|
-
# App Runner services in your Amazon Web Services account in the
|
595
|
-
# Web Services Region.
|
606
|
+
# A name for the App Runner service. It must be unique across all the
|
607
|
+
# running App Runner services in your Amazon Web Services account in the
|
608
|
+
# Amazon Web Services Region.
|
596
609
|
#
|
597
610
|
# @option params [required, Types::SourceConfiguration] :source_configuration
|
598
611
|
# The source to deploy to the App Runner service. It can be a code or an
|
@@ -603,23 +616,27 @@ module Aws::AppRunner
|
|
603
616
|
# Runner service.
|
604
617
|
#
|
605
618
|
# @option params [Array<Types::Tag>] :tags
|
606
|
-
# An optional list of metadata items that you can associate with
|
607
|
-
# service resource. A tag is a key-value pair.
|
619
|
+
# An optional list of metadata items that you can associate with the App
|
620
|
+
# Runner service resource. A tag is a key-value pair.
|
608
621
|
#
|
609
622
|
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
610
623
|
# An optional custom encryption key that App Runner uses to encrypt the
|
611
624
|
# copy of your source repository that it maintains and your service
|
612
|
-
# logs. By default, App Runner uses an Amazon Web Services managed
|
625
|
+
# logs. By default, App Runner uses an Amazon Web Services managed key.
|
613
626
|
#
|
614
627
|
# @option params [Types::HealthCheckConfiguration] :health_check_configuration
|
615
628
|
# The settings for the health check that App Runner performs to monitor
|
616
|
-
# the health of
|
629
|
+
# the health of the App Runner service.
|
617
630
|
#
|
618
631
|
# @option params [String] :auto_scaling_configuration_arn
|
619
632
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
620
|
-
# configuration resource that you want to associate with
|
621
|
-
# If not provided, App Runner associates the latest revision of
|
622
|
-
# default auto scaling configuration.
|
633
|
+
# configuration resource that you want to associate with the App Runner
|
634
|
+
# service. If not provided, App Runner associates the latest revision of
|
635
|
+
# a default auto scaling configuration.
|
636
|
+
#
|
637
|
+
# @option params [Types::NetworkConfiguration] :network_configuration
|
638
|
+
# Configuration settings related to network traffic of the web
|
639
|
+
# application that the App Runner service runs.
|
623
640
|
#
|
624
641
|
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
625
642
|
#
|
@@ -640,7 +657,7 @@ module Aws::AppRunner
|
|
640
657
|
# code_configuration: {
|
641
658
|
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
642
659
|
# code_configuration_values: {
|
643
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
660
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
644
661
|
# build_command: "BuildCommand",
|
645
662
|
# start_command: "StartCommand",
|
646
663
|
# port: "String",
|
@@ -656,7 +673,7 @@ module Aws::AppRunner
|
|
656
673
|
# runtime_environment_variables: {
|
657
674
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
658
675
|
# },
|
659
|
-
# start_command: "
|
676
|
+
# start_command: "StartCommand",
|
660
677
|
# port: "String",
|
661
678
|
# },
|
662
679
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -690,6 +707,12 @@ module Aws::AppRunner
|
|
690
707
|
# unhealthy_threshold: 1,
|
691
708
|
# },
|
692
709
|
# auto_scaling_configuration_arn: "AppRunnerResourceArn",
|
710
|
+
# network_configuration: {
|
711
|
+
# egress_configuration: {
|
712
|
+
# egress_type: "DEFAULT", # accepts DEFAULT, VPC
|
713
|
+
# vpc_connector_arn: "AppRunnerResourceArn",
|
714
|
+
# },
|
715
|
+
# },
|
693
716
|
# })
|
694
717
|
#
|
695
718
|
# @example Response structure
|
@@ -706,7 +729,7 @@ module Aws::AppRunner
|
|
706
729
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
707
730
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
708
731
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
709
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
732
|
+
# 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"
|
710
733
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
711
734
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
712
735
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -734,6 +757,8 @@ module Aws::AppRunner
|
|
734
757
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
735
758
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
736
759
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
760
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
761
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
737
762
|
# resp.operation_id #=> String
|
738
763
|
#
|
739
764
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateService AWS API Documentation
|
@@ -745,6 +770,69 @@ module Aws::AppRunner
|
|
745
770
|
req.send_request(options)
|
746
771
|
end
|
747
772
|
|
773
|
+
# Create an App Runner VPC connector resource. App Runner requires this
|
774
|
+
# resource when you want to associate your App Runner service to a
|
775
|
+
# custom Amazon Virtual Private Cloud (Amazon VPC).
|
776
|
+
#
|
777
|
+
# @option params [required, String] :vpc_connector_name
|
778
|
+
# A name for the VPC connector.
|
779
|
+
#
|
780
|
+
# @option params [required, Array<String>] :subnets
|
781
|
+
# A list of IDs of subnets that App Runner should use when it associates
|
782
|
+
# your service with a custom Amazon VPC. Specify IDs of subnets of a
|
783
|
+
# single Amazon VPC. App Runner determines the Amazon VPC from the
|
784
|
+
# subnets you specify.
|
785
|
+
#
|
786
|
+
# @option params [Array<String>] :security_groups
|
787
|
+
# A list of IDs of security groups that App Runner should use for access
|
788
|
+
# to Amazon Web Services resources under the specified subnets. If not
|
789
|
+
# specified, App Runner uses the default security group of the Amazon
|
790
|
+
# VPC. The default security group allows all outbound traffic.
|
791
|
+
#
|
792
|
+
# @option params [Array<Types::Tag>] :tags
|
793
|
+
# A list of metadata items that you can associate with your VPC
|
794
|
+
# connector resource. A tag is a key-value pair.
|
795
|
+
#
|
796
|
+
# @return [Types::CreateVpcConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
797
|
+
#
|
798
|
+
# * {Types::CreateVpcConnectorResponse#vpc_connector #vpc_connector} => Types::VpcConnector
|
799
|
+
#
|
800
|
+
# @example Request syntax with placeholder values
|
801
|
+
#
|
802
|
+
# resp = client.create_vpc_connector({
|
803
|
+
# vpc_connector_name: "VpcConnectorName", # required
|
804
|
+
# subnets: ["String"], # required
|
805
|
+
# security_groups: ["String"],
|
806
|
+
# tags: [
|
807
|
+
# {
|
808
|
+
# key: "TagKey",
|
809
|
+
# value: "TagValue",
|
810
|
+
# },
|
811
|
+
# ],
|
812
|
+
# })
|
813
|
+
#
|
814
|
+
# @example Response structure
|
815
|
+
#
|
816
|
+
# resp.vpc_connector.vpc_connector_name #=> String
|
817
|
+
# resp.vpc_connector.vpc_connector_arn #=> String
|
818
|
+
# resp.vpc_connector.vpc_connector_revision #=> Integer
|
819
|
+
# resp.vpc_connector.subnets #=> Array
|
820
|
+
# resp.vpc_connector.subnets[0] #=> String
|
821
|
+
# resp.vpc_connector.security_groups #=> Array
|
822
|
+
# resp.vpc_connector.security_groups[0] #=> String
|
823
|
+
# resp.vpc_connector.status #=> String, one of "ACTIVE", "INACTIVE"
|
824
|
+
# resp.vpc_connector.created_at #=> Time
|
825
|
+
# resp.vpc_connector.deleted_at #=> Time
|
826
|
+
#
|
827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcConnector AWS API Documentation
|
828
|
+
#
|
829
|
+
# @overload create_vpc_connector(params = {})
|
830
|
+
# @param [Hash] params ({})
|
831
|
+
def create_vpc_connector(params = {}, options = {})
|
832
|
+
req = build_request(:create_vpc_connector, params)
|
833
|
+
req.send_request(options)
|
834
|
+
end
|
835
|
+
|
748
836
|
# Delete an App Runner automatic scaling configuration resource. You can
|
749
837
|
# delete a specific revision or the latest active revision. You can't
|
750
838
|
# delete a configuration that's used by one or more App Runner
|
@@ -860,7 +948,7 @@ module Aws::AppRunner
|
|
860
948
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
861
949
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
862
950
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
863
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
951
|
+
# 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"
|
864
952
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
865
953
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
866
954
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -888,6 +976,8 @@ module Aws::AppRunner
|
|
888
976
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
889
977
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
890
978
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
979
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
980
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
891
981
|
# resp.operation_id #=> String
|
892
982
|
#
|
893
983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteService AWS API Documentation
|
@@ -899,6 +989,47 @@ module Aws::AppRunner
|
|
899
989
|
req.send_request(options)
|
900
990
|
end
|
901
991
|
|
992
|
+
# Delete an App Runner VPC connector resource. You can't delete a
|
993
|
+
# connector that's used by one or more App Runner services.
|
994
|
+
#
|
995
|
+
# @option params [required, String] :vpc_connector_arn
|
996
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
997
|
+
# you want to delete.
|
998
|
+
#
|
999
|
+
# The ARN must be a full VPC connector ARN.
|
1000
|
+
#
|
1001
|
+
# @return [Types::DeleteVpcConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1002
|
+
#
|
1003
|
+
# * {Types::DeleteVpcConnectorResponse#vpc_connector #vpc_connector} => Types::VpcConnector
|
1004
|
+
#
|
1005
|
+
# @example Request syntax with placeholder values
|
1006
|
+
#
|
1007
|
+
# resp = client.delete_vpc_connector({
|
1008
|
+
# vpc_connector_arn: "AppRunnerResourceArn", # required
|
1009
|
+
# })
|
1010
|
+
#
|
1011
|
+
# @example Response structure
|
1012
|
+
#
|
1013
|
+
# resp.vpc_connector.vpc_connector_name #=> String
|
1014
|
+
# resp.vpc_connector.vpc_connector_arn #=> String
|
1015
|
+
# resp.vpc_connector.vpc_connector_revision #=> Integer
|
1016
|
+
# resp.vpc_connector.subnets #=> Array
|
1017
|
+
# resp.vpc_connector.subnets[0] #=> String
|
1018
|
+
# resp.vpc_connector.security_groups #=> Array
|
1019
|
+
# resp.vpc_connector.security_groups[0] #=> String
|
1020
|
+
# resp.vpc_connector.status #=> String, one of "ACTIVE", "INACTIVE"
|
1021
|
+
# resp.vpc_connector.created_at #=> Time
|
1022
|
+
# resp.vpc_connector.deleted_at #=> Time
|
1023
|
+
#
|
1024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcConnector AWS API Documentation
|
1025
|
+
#
|
1026
|
+
# @overload delete_vpc_connector(params = {})
|
1027
|
+
# @param [Hash] params ({})
|
1028
|
+
def delete_vpc_connector(params = {}, options = {})
|
1029
|
+
req = build_request(:delete_vpc_connector, params)
|
1030
|
+
req.send_request(options)
|
1031
|
+
end
|
1032
|
+
|
902
1033
|
# Return a full description of an App Runner automatic scaling
|
903
1034
|
# configuration resource.
|
904
1035
|
#
|
@@ -1036,7 +1167,7 @@ module Aws::AppRunner
|
|
1036
1167
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
1037
1168
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
1038
1169
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
1039
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
1170
|
+
# 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"
|
1040
1171
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
1041
1172
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
1042
1173
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -1064,6 +1195,8 @@ module Aws::AppRunner
|
|
1064
1195
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1065
1196
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1066
1197
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
1198
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
1199
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1067
1200
|
#
|
1068
1201
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeService AWS API Documentation
|
1069
1202
|
#
|
@@ -1074,6 +1207,46 @@ module Aws::AppRunner
|
|
1074
1207
|
req.send_request(options)
|
1075
1208
|
end
|
1076
1209
|
|
1210
|
+
# Return a description of an App Runner VPC connector resource.
|
1211
|
+
#
|
1212
|
+
# @option params [required, String] :vpc_connector_arn
|
1213
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
1214
|
+
# you want a description for.
|
1215
|
+
#
|
1216
|
+
# The ARN must be a full VPC connector ARN.
|
1217
|
+
#
|
1218
|
+
# @return [Types::DescribeVpcConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1219
|
+
#
|
1220
|
+
# * {Types::DescribeVpcConnectorResponse#vpc_connector #vpc_connector} => Types::VpcConnector
|
1221
|
+
#
|
1222
|
+
# @example Request syntax with placeholder values
|
1223
|
+
#
|
1224
|
+
# resp = client.describe_vpc_connector({
|
1225
|
+
# vpc_connector_arn: "AppRunnerResourceArn", # required
|
1226
|
+
# })
|
1227
|
+
#
|
1228
|
+
# @example Response structure
|
1229
|
+
#
|
1230
|
+
# resp.vpc_connector.vpc_connector_name #=> String
|
1231
|
+
# resp.vpc_connector.vpc_connector_arn #=> String
|
1232
|
+
# resp.vpc_connector.vpc_connector_revision #=> Integer
|
1233
|
+
# resp.vpc_connector.subnets #=> Array
|
1234
|
+
# resp.vpc_connector.subnets[0] #=> String
|
1235
|
+
# resp.vpc_connector.security_groups #=> Array
|
1236
|
+
# resp.vpc_connector.security_groups[0] #=> String
|
1237
|
+
# resp.vpc_connector.status #=> String, one of "ACTIVE", "INACTIVE"
|
1238
|
+
# resp.vpc_connector.created_at #=> Time
|
1239
|
+
# resp.vpc_connector.deleted_at #=> Time
|
1240
|
+
#
|
1241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcConnector AWS API Documentation
|
1242
|
+
#
|
1243
|
+
# @overload describe_vpc_connector(params = {})
|
1244
|
+
# @param [Hash] params ({})
|
1245
|
+
def describe_vpc_connector(params = {}, options = {})
|
1246
|
+
req = build_request(:describe_vpc_connector, params)
|
1247
|
+
req.send_request(options)
|
1248
|
+
end
|
1249
|
+
|
1077
1250
|
# Disassociate a custom domain name from an App Runner service.
|
1078
1251
|
#
|
1079
1252
|
# Certificates tracking domain validity are associated with a custom
|
@@ -1403,6 +1576,63 @@ module Aws::AppRunner
|
|
1403
1576
|
req.send_request(options)
|
1404
1577
|
end
|
1405
1578
|
|
1579
|
+
# Returns a list of App Runner VPC connectors in your Amazon Web
|
1580
|
+
# Services account.
|
1581
|
+
#
|
1582
|
+
# @option params [Integer] :max_results
|
1583
|
+
# The maximum number of results to include in each response (result
|
1584
|
+
# page). It's used for a paginated request.
|
1585
|
+
#
|
1586
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
1587
|
+
# available results in a single response.
|
1588
|
+
#
|
1589
|
+
# @option params [String] :next_token
|
1590
|
+
# A token from a previous result page. It's used for a paginated
|
1591
|
+
# request. The request retrieves the next result page. All other
|
1592
|
+
# parameter values must be identical to the ones that are specified in
|
1593
|
+
# the initial request.
|
1594
|
+
#
|
1595
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
1596
|
+
# result page.
|
1597
|
+
#
|
1598
|
+
# @return [Types::ListVpcConnectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1599
|
+
#
|
1600
|
+
# * {Types::ListVpcConnectorsResponse#vpc_connectors #vpc_connectors} => Array<Types::VpcConnector>
|
1601
|
+
# * {Types::ListVpcConnectorsResponse#next_token #next_token} => String
|
1602
|
+
#
|
1603
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1604
|
+
#
|
1605
|
+
# @example Request syntax with placeholder values
|
1606
|
+
#
|
1607
|
+
# resp = client.list_vpc_connectors({
|
1608
|
+
# max_results: 1,
|
1609
|
+
# next_token: "NextToken",
|
1610
|
+
# })
|
1611
|
+
#
|
1612
|
+
# @example Response structure
|
1613
|
+
#
|
1614
|
+
# resp.vpc_connectors #=> Array
|
1615
|
+
# resp.vpc_connectors[0].vpc_connector_name #=> String
|
1616
|
+
# resp.vpc_connectors[0].vpc_connector_arn #=> String
|
1617
|
+
# resp.vpc_connectors[0].vpc_connector_revision #=> Integer
|
1618
|
+
# resp.vpc_connectors[0].subnets #=> Array
|
1619
|
+
# resp.vpc_connectors[0].subnets[0] #=> String
|
1620
|
+
# resp.vpc_connectors[0].security_groups #=> Array
|
1621
|
+
# resp.vpc_connectors[0].security_groups[0] #=> String
|
1622
|
+
# resp.vpc_connectors[0].status #=> String, one of "ACTIVE", "INACTIVE"
|
1623
|
+
# resp.vpc_connectors[0].created_at #=> Time
|
1624
|
+
# resp.vpc_connectors[0].deleted_at #=> Time
|
1625
|
+
# resp.next_token #=> String
|
1626
|
+
#
|
1627
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcConnectors AWS API Documentation
|
1628
|
+
#
|
1629
|
+
# @overload list_vpc_connectors(params = {})
|
1630
|
+
# @param [Hash] params ({})
|
1631
|
+
def list_vpc_connectors(params = {}, options = {})
|
1632
|
+
req = build_request(:list_vpc_connectors, params)
|
1633
|
+
req.send_request(options)
|
1634
|
+
end
|
1635
|
+
|
1406
1636
|
# Pause an active App Runner service. App Runner reduces compute
|
1407
1637
|
# capacity for the service to zero and loses state (for example,
|
1408
1638
|
# ephemeral storage is removed).
|
@@ -1440,7 +1670,7 @@ module Aws::AppRunner
|
|
1440
1670
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
1441
1671
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
1442
1672
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
1443
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
1673
|
+
# 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"
|
1444
1674
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
1445
1675
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
1446
1676
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -1468,6 +1698,8 @@ module Aws::AppRunner
|
|
1468
1698
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1469
1699
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1470
1700
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
1701
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
1702
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1471
1703
|
# resp.operation_id #=> String
|
1472
1704
|
#
|
1473
1705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/PauseService AWS API Documentation
|
@@ -1515,7 +1747,7 @@ module Aws::AppRunner
|
|
1515
1747
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
1516
1748
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
1517
1749
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
1518
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
1750
|
+
# 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"
|
1519
1751
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
1520
1752
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
1521
1753
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -1543,6 +1775,8 @@ module Aws::AppRunner
|
|
1543
1775
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1544
1776
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1545
1777
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
1778
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
1779
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1546
1780
|
# resp.operation_id #=> String
|
1547
1781
|
#
|
1548
1782
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ResumeService AWS API Documentation
|
@@ -1697,11 +1931,16 @@ module Aws::AppRunner
|
|
1697
1931
|
#
|
1698
1932
|
# @option params [String] :auto_scaling_configuration_arn
|
1699
1933
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
1700
|
-
# configuration resource that you want to associate with
|
1934
|
+
# configuration resource that you want to associate with the App Runner
|
1935
|
+
# service.
|
1701
1936
|
#
|
1702
1937
|
# @option params [Types::HealthCheckConfiguration] :health_check_configuration
|
1703
1938
|
# The settings for the health check that App Runner performs to monitor
|
1704
|
-
# the health of
|
1939
|
+
# the health of the App Runner service.
|
1940
|
+
#
|
1941
|
+
# @option params [Types::NetworkConfiguration] :network_configuration
|
1942
|
+
# Configuration settings related to network traffic of the web
|
1943
|
+
# application that the App Runner service runs.
|
1705
1944
|
#
|
1706
1945
|
# @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1707
1946
|
#
|
@@ -1722,7 +1961,7 @@ module Aws::AppRunner
|
|
1722
1961
|
# code_configuration: {
|
1723
1962
|
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
1724
1963
|
# code_configuration_values: {
|
1725
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
1964
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
1726
1965
|
# build_command: "BuildCommand",
|
1727
1966
|
# start_command: "StartCommand",
|
1728
1967
|
# port: "String",
|
@@ -1738,7 +1977,7 @@ module Aws::AppRunner
|
|
1738
1977
|
# runtime_environment_variables: {
|
1739
1978
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
1740
1979
|
# },
|
1741
|
-
# start_command: "
|
1980
|
+
# start_command: "StartCommand",
|
1742
1981
|
# port: "String",
|
1743
1982
|
# },
|
1744
1983
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -1763,6 +2002,12 @@ module Aws::AppRunner
|
|
1763
2002
|
# healthy_threshold: 1,
|
1764
2003
|
# unhealthy_threshold: 1,
|
1765
2004
|
# },
|
2005
|
+
# network_configuration: {
|
2006
|
+
# egress_configuration: {
|
2007
|
+
# egress_type: "DEFAULT", # accepts DEFAULT, VPC
|
2008
|
+
# vpc_connector_arn: "AppRunnerResourceArn",
|
2009
|
+
# },
|
2010
|
+
# },
|
1766
2011
|
# })
|
1767
2012
|
#
|
1768
2013
|
# @example Response structure
|
@@ -1779,7 +2024,7 @@ module Aws::AppRunner
|
|
1779
2024
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
1780
2025
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
1781
2026
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
1782
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
2027
|
+
# 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"
|
1783
2028
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
1784
2029
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
1785
2030
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -1807,6 +2052,8 @@ module Aws::AppRunner
|
|
1807
2052
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1808
2053
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1809
2054
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
2055
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
2056
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1810
2057
|
# resp.operation_id #=> String
|
1811
2058
|
#
|
1812
2059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateService AWS API Documentation
|
@@ -1831,7 +2078,7 @@ module Aws::AppRunner
|
|
1831
2078
|
params: params,
|
1832
2079
|
config: config)
|
1833
2080
|
context[:gem_name] = 'aws-sdk-apprunner'
|
1834
|
-
context[:gem_version] = '1.
|
2081
|
+
context[:gem_version] = '1.11.0'
|
1835
2082
|
Seahorse::Client::Request.new(handlers, context)
|
1836
2083
|
end
|
1837
2084
|
|