aws-sdk-apprunner 1.9.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- 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: e9797bfbe31f7e396efd3d7260bfcd43545a767a13d90365ddfdb3572b686c31
|
4
|
+
data.tar.gz: b0a58accdbe01a62bc303fad6a624743a3cdb267e5300754348a3507bb75bd2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd26aa567e4a1a89485c9ce1e9851cf03be9c92cbfb5ff1531f26f050bba4d1fe61635169a8c6e8442d081c3d8dc55c7d3a3c828a2d588a270882ee094dcef1e
|
7
|
+
data.tar.gz: 9b0e239b8a3ba32fb4670d739e90111aa926f13839e07b6b93cef6be0adc455509a14494c74648207f2da082c9ff299c3db617ba886ee5be1d02df0fa614e2c3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.11.0 (2022-02-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS App Runner adds a Java platform (Corretto 8, Corretto 11 runtimes) and a Node.js 14 runtime.
|
13
|
+
|
14
|
+
1.10.0 (2022-02-08)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
4
19
|
1.9.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
@@ -27,6 +27,7 @@ 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/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::AppRunner
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -432,11 +434,11 @@ module Aws::AppRunner
|
|
432
434
|
# require non-default auto scaling settings. You can share an auto
|
433
435
|
# scaling configuration across multiple services.
|
434
436
|
#
|
435
|
-
# Create multiple revisions of a configuration by
|
436
|
-
# `AutoScalingConfigurationName
|
437
|
-
# `AutoScalingConfigurationRevision` values. When
|
438
|
-
# you can set it to use the latest active revision
|
439
|
-
# configuration or a specific revision.
|
437
|
+
# Create multiple revisions of a configuration by calling this action
|
438
|
+
# multiple times using the same `AutoScalingConfigurationName`. The call
|
439
|
+
# returns incremental `AutoScalingConfigurationRevision` values. When
|
440
|
+
# you create a service, you can set it to use the latest active revision
|
441
|
+
# of an auto scaling configuration or a specific revision.
|
440
442
|
#
|
441
443
|
# Configure a higher `MinSize` to increase the spread of your App Runner
|
442
444
|
# service over more Availability Zones in the Amazon Web Services
|
@@ -452,6 +454,17 @@ module Aws::AppRunner
|
|
452
454
|
# subsequent calls, App Runner creates incremental revisions of the
|
453
455
|
# configuration.
|
454
456
|
#
|
457
|
+
# <note markdown="1"> The name `DefaultConfiguration` is reserved (it's the configuration
|
458
|
+
# that App Runner uses if you don't provide a custome one). You can't
|
459
|
+
# use it to create a new auto scaling configuration, and you can't
|
460
|
+
# create a revision of it.
|
461
|
+
#
|
462
|
+
# When you want to use your own auto scaling configuration for your App
|
463
|
+
# Runner service, *create a configuration with a different name*, and
|
464
|
+
# then provide it when you create or update your service.
|
465
|
+
#
|
466
|
+
# </note>
|
467
|
+
#
|
455
468
|
# @option params [Integer] :max_concurrency
|
456
469
|
# The maximum number of concurrent requests that you want an instance to
|
457
470
|
# process. If the number of concurrent requests exceeds this limit, App
|
@@ -592,9 +605,9 @@ module Aws::AppRunner
|
|
592
605
|
# [1]: https://docs.aws.amazon.com/apprunner/latest/api/API_ListOperations.html
|
593
606
|
#
|
594
607
|
# @option params [required, String] :service_name
|
595
|
-
# A name for the
|
596
|
-
# App Runner services in your Amazon Web Services account in the
|
597
|
-
# Web Services Region.
|
608
|
+
# A name for the App Runner service. It must be unique across all the
|
609
|
+
# running App Runner services in your Amazon Web Services account in the
|
610
|
+
# Amazon Web Services Region.
|
598
611
|
#
|
599
612
|
# @option params [required, Types::SourceConfiguration] :source_configuration
|
600
613
|
# The source to deploy to the App Runner service. It can be a code or an
|
@@ -605,23 +618,27 @@ module Aws::AppRunner
|
|
605
618
|
# Runner service.
|
606
619
|
#
|
607
620
|
# @option params [Array<Types::Tag>] :tags
|
608
|
-
# An optional list of metadata items that you can associate with
|
609
|
-
# service resource. A tag is a key-value pair.
|
621
|
+
# An optional list of metadata items that you can associate with the App
|
622
|
+
# Runner service resource. A tag is a key-value pair.
|
610
623
|
#
|
611
624
|
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
612
625
|
# An optional custom encryption key that App Runner uses to encrypt the
|
613
626
|
# copy of your source repository that it maintains and your service
|
614
|
-
# logs. By default, App Runner uses an Amazon Web Services managed
|
627
|
+
# logs. By default, App Runner uses an Amazon Web Services managed key.
|
615
628
|
#
|
616
629
|
# @option params [Types::HealthCheckConfiguration] :health_check_configuration
|
617
630
|
# The settings for the health check that App Runner performs to monitor
|
618
|
-
# the health of
|
631
|
+
# the health of the App Runner service.
|
619
632
|
#
|
620
633
|
# @option params [String] :auto_scaling_configuration_arn
|
621
634
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
622
|
-
# configuration resource that you want to associate with
|
623
|
-
# If not provided, App Runner associates the latest revision of
|
624
|
-
# default auto scaling configuration.
|
635
|
+
# configuration resource that you want to associate with the App Runner
|
636
|
+
# service. If not provided, App Runner associates the latest revision of
|
637
|
+
# a default auto scaling configuration.
|
638
|
+
#
|
639
|
+
# @option params [Types::NetworkConfiguration] :network_configuration
|
640
|
+
# Configuration settings related to network traffic of the web
|
641
|
+
# application that the App Runner service runs.
|
625
642
|
#
|
626
643
|
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
627
644
|
#
|
@@ -642,7 +659,7 @@ module Aws::AppRunner
|
|
642
659
|
# code_configuration: {
|
643
660
|
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
644
661
|
# code_configuration_values: {
|
645
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
662
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
646
663
|
# build_command: "BuildCommand",
|
647
664
|
# start_command: "StartCommand",
|
648
665
|
# port: "String",
|
@@ -658,7 +675,7 @@ module Aws::AppRunner
|
|
658
675
|
# runtime_environment_variables: {
|
659
676
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
660
677
|
# },
|
661
|
-
# start_command: "
|
678
|
+
# start_command: "StartCommand",
|
662
679
|
# port: "String",
|
663
680
|
# },
|
664
681
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -692,6 +709,12 @@ module Aws::AppRunner
|
|
692
709
|
# unhealthy_threshold: 1,
|
693
710
|
# },
|
694
711
|
# auto_scaling_configuration_arn: "AppRunnerResourceArn",
|
712
|
+
# network_configuration: {
|
713
|
+
# egress_configuration: {
|
714
|
+
# egress_type: "DEFAULT", # accepts DEFAULT, VPC
|
715
|
+
# vpc_connector_arn: "AppRunnerResourceArn",
|
716
|
+
# },
|
717
|
+
# },
|
695
718
|
# })
|
696
719
|
#
|
697
720
|
# @example Response structure
|
@@ -708,7 +731,7 @@ module Aws::AppRunner
|
|
708
731
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
709
732
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
710
733
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
711
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
734
|
+
# 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"
|
712
735
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
713
736
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
714
737
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -736,6 +759,8 @@ module Aws::AppRunner
|
|
736
759
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
737
760
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
738
761
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
762
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
763
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
739
764
|
# resp.operation_id #=> String
|
740
765
|
#
|
741
766
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateService AWS API Documentation
|
@@ -747,6 +772,69 @@ module Aws::AppRunner
|
|
747
772
|
req.send_request(options)
|
748
773
|
end
|
749
774
|
|
775
|
+
# Create an App Runner VPC connector resource. App Runner requires this
|
776
|
+
# resource when you want to associate your App Runner service to a
|
777
|
+
# custom Amazon Virtual Private Cloud (Amazon VPC).
|
778
|
+
#
|
779
|
+
# @option params [required, String] :vpc_connector_name
|
780
|
+
# A name for the VPC connector.
|
781
|
+
#
|
782
|
+
# @option params [required, Array<String>] :subnets
|
783
|
+
# A list of IDs of subnets that App Runner should use when it associates
|
784
|
+
# your service with a custom Amazon VPC. Specify IDs of subnets of a
|
785
|
+
# single Amazon VPC. App Runner determines the Amazon VPC from the
|
786
|
+
# subnets you specify.
|
787
|
+
#
|
788
|
+
# @option params [Array<String>] :security_groups
|
789
|
+
# A list of IDs of security groups that App Runner should use for access
|
790
|
+
# to Amazon Web Services resources under the specified subnets. If not
|
791
|
+
# specified, App Runner uses the default security group of the Amazon
|
792
|
+
# VPC. The default security group allows all outbound traffic.
|
793
|
+
#
|
794
|
+
# @option params [Array<Types::Tag>] :tags
|
795
|
+
# A list of metadata items that you can associate with your VPC
|
796
|
+
# connector resource. A tag is a key-value pair.
|
797
|
+
#
|
798
|
+
# @return [Types::CreateVpcConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
799
|
+
#
|
800
|
+
# * {Types::CreateVpcConnectorResponse#vpc_connector #vpc_connector} => Types::VpcConnector
|
801
|
+
#
|
802
|
+
# @example Request syntax with placeholder values
|
803
|
+
#
|
804
|
+
# resp = client.create_vpc_connector({
|
805
|
+
# vpc_connector_name: "VpcConnectorName", # required
|
806
|
+
# subnets: ["String"], # required
|
807
|
+
# security_groups: ["String"],
|
808
|
+
# tags: [
|
809
|
+
# {
|
810
|
+
# key: "TagKey",
|
811
|
+
# value: "TagValue",
|
812
|
+
# },
|
813
|
+
# ],
|
814
|
+
# })
|
815
|
+
#
|
816
|
+
# @example Response structure
|
817
|
+
#
|
818
|
+
# resp.vpc_connector.vpc_connector_name #=> String
|
819
|
+
# resp.vpc_connector.vpc_connector_arn #=> String
|
820
|
+
# resp.vpc_connector.vpc_connector_revision #=> Integer
|
821
|
+
# resp.vpc_connector.subnets #=> Array
|
822
|
+
# resp.vpc_connector.subnets[0] #=> String
|
823
|
+
# resp.vpc_connector.security_groups #=> Array
|
824
|
+
# resp.vpc_connector.security_groups[0] #=> String
|
825
|
+
# resp.vpc_connector.status #=> String, one of "ACTIVE", "INACTIVE"
|
826
|
+
# resp.vpc_connector.created_at #=> Time
|
827
|
+
# resp.vpc_connector.deleted_at #=> Time
|
828
|
+
#
|
829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcConnector AWS API Documentation
|
830
|
+
#
|
831
|
+
# @overload create_vpc_connector(params = {})
|
832
|
+
# @param [Hash] params ({})
|
833
|
+
def create_vpc_connector(params = {}, options = {})
|
834
|
+
req = build_request(:create_vpc_connector, params)
|
835
|
+
req.send_request(options)
|
836
|
+
end
|
837
|
+
|
750
838
|
# Delete an App Runner automatic scaling configuration resource. You can
|
751
839
|
# delete a specific revision or the latest active revision. You can't
|
752
840
|
# delete a configuration that's used by one or more App Runner
|
@@ -862,7 +950,7 @@ module Aws::AppRunner
|
|
862
950
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
863
951
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
864
952
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
865
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
953
|
+
# 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"
|
866
954
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
867
955
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
868
956
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -890,6 +978,8 @@ module Aws::AppRunner
|
|
890
978
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
891
979
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
892
980
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
981
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
982
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
893
983
|
# resp.operation_id #=> String
|
894
984
|
#
|
895
985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteService AWS API Documentation
|
@@ -901,6 +991,47 @@ module Aws::AppRunner
|
|
901
991
|
req.send_request(options)
|
902
992
|
end
|
903
993
|
|
994
|
+
# Delete an App Runner VPC connector resource. You can't delete a
|
995
|
+
# connector that's used by one or more App Runner services.
|
996
|
+
#
|
997
|
+
# @option params [required, String] :vpc_connector_arn
|
998
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
999
|
+
# you want to delete.
|
1000
|
+
#
|
1001
|
+
# The ARN must be a full VPC connector ARN.
|
1002
|
+
#
|
1003
|
+
# @return [Types::DeleteVpcConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1004
|
+
#
|
1005
|
+
# * {Types::DeleteVpcConnectorResponse#vpc_connector #vpc_connector} => Types::VpcConnector
|
1006
|
+
#
|
1007
|
+
# @example Request syntax with placeholder values
|
1008
|
+
#
|
1009
|
+
# resp = client.delete_vpc_connector({
|
1010
|
+
# vpc_connector_arn: "AppRunnerResourceArn", # required
|
1011
|
+
# })
|
1012
|
+
#
|
1013
|
+
# @example Response structure
|
1014
|
+
#
|
1015
|
+
# resp.vpc_connector.vpc_connector_name #=> String
|
1016
|
+
# resp.vpc_connector.vpc_connector_arn #=> String
|
1017
|
+
# resp.vpc_connector.vpc_connector_revision #=> Integer
|
1018
|
+
# resp.vpc_connector.subnets #=> Array
|
1019
|
+
# resp.vpc_connector.subnets[0] #=> String
|
1020
|
+
# resp.vpc_connector.security_groups #=> Array
|
1021
|
+
# resp.vpc_connector.security_groups[0] #=> String
|
1022
|
+
# resp.vpc_connector.status #=> String, one of "ACTIVE", "INACTIVE"
|
1023
|
+
# resp.vpc_connector.created_at #=> Time
|
1024
|
+
# resp.vpc_connector.deleted_at #=> Time
|
1025
|
+
#
|
1026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcConnector AWS API Documentation
|
1027
|
+
#
|
1028
|
+
# @overload delete_vpc_connector(params = {})
|
1029
|
+
# @param [Hash] params ({})
|
1030
|
+
def delete_vpc_connector(params = {}, options = {})
|
1031
|
+
req = build_request(:delete_vpc_connector, params)
|
1032
|
+
req.send_request(options)
|
1033
|
+
end
|
1034
|
+
|
904
1035
|
# Return a full description of an App Runner automatic scaling
|
905
1036
|
# configuration resource.
|
906
1037
|
#
|
@@ -1038,7 +1169,7 @@ module Aws::AppRunner
|
|
1038
1169
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
1039
1170
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
1040
1171
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
1041
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
1172
|
+
# 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"
|
1042
1173
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
1043
1174
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
1044
1175
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -1066,6 +1197,8 @@ module Aws::AppRunner
|
|
1066
1197
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1067
1198
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1068
1199
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
1200
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
1201
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1069
1202
|
#
|
1070
1203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeService AWS API Documentation
|
1071
1204
|
#
|
@@ -1076,6 +1209,46 @@ module Aws::AppRunner
|
|
1076
1209
|
req.send_request(options)
|
1077
1210
|
end
|
1078
1211
|
|
1212
|
+
# Return a description of an App Runner VPC connector resource.
|
1213
|
+
#
|
1214
|
+
# @option params [required, String] :vpc_connector_arn
|
1215
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
1216
|
+
# you want a description for.
|
1217
|
+
#
|
1218
|
+
# The ARN must be a full VPC connector ARN.
|
1219
|
+
#
|
1220
|
+
# @return [Types::DescribeVpcConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1221
|
+
#
|
1222
|
+
# * {Types::DescribeVpcConnectorResponse#vpc_connector #vpc_connector} => Types::VpcConnector
|
1223
|
+
#
|
1224
|
+
# @example Request syntax with placeholder values
|
1225
|
+
#
|
1226
|
+
# resp = client.describe_vpc_connector({
|
1227
|
+
# vpc_connector_arn: "AppRunnerResourceArn", # required
|
1228
|
+
# })
|
1229
|
+
#
|
1230
|
+
# @example Response structure
|
1231
|
+
#
|
1232
|
+
# resp.vpc_connector.vpc_connector_name #=> String
|
1233
|
+
# resp.vpc_connector.vpc_connector_arn #=> String
|
1234
|
+
# resp.vpc_connector.vpc_connector_revision #=> Integer
|
1235
|
+
# resp.vpc_connector.subnets #=> Array
|
1236
|
+
# resp.vpc_connector.subnets[0] #=> String
|
1237
|
+
# resp.vpc_connector.security_groups #=> Array
|
1238
|
+
# resp.vpc_connector.security_groups[0] #=> String
|
1239
|
+
# resp.vpc_connector.status #=> String, one of "ACTIVE", "INACTIVE"
|
1240
|
+
# resp.vpc_connector.created_at #=> Time
|
1241
|
+
# resp.vpc_connector.deleted_at #=> Time
|
1242
|
+
#
|
1243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcConnector AWS API Documentation
|
1244
|
+
#
|
1245
|
+
# @overload describe_vpc_connector(params = {})
|
1246
|
+
# @param [Hash] params ({})
|
1247
|
+
def describe_vpc_connector(params = {}, options = {})
|
1248
|
+
req = build_request(:describe_vpc_connector, params)
|
1249
|
+
req.send_request(options)
|
1250
|
+
end
|
1251
|
+
|
1079
1252
|
# Disassociate a custom domain name from an App Runner service.
|
1080
1253
|
#
|
1081
1254
|
# Certificates tracking domain validity are associated with a custom
|
@@ -1405,6 +1578,63 @@ module Aws::AppRunner
|
|
1405
1578
|
req.send_request(options)
|
1406
1579
|
end
|
1407
1580
|
|
1581
|
+
# Returns a list of App Runner VPC connectors in your Amazon Web
|
1582
|
+
# Services account.
|
1583
|
+
#
|
1584
|
+
# @option params [Integer] :max_results
|
1585
|
+
# The maximum number of results to include in each response (result
|
1586
|
+
# page). It's used for a paginated request.
|
1587
|
+
#
|
1588
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
1589
|
+
# available results in a single response.
|
1590
|
+
#
|
1591
|
+
# @option params [String] :next_token
|
1592
|
+
# A token from a previous result page. It's used for a paginated
|
1593
|
+
# request. The request retrieves the next result page. All other
|
1594
|
+
# parameter values must be identical to the ones that are specified in
|
1595
|
+
# the initial request.
|
1596
|
+
#
|
1597
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
1598
|
+
# result page.
|
1599
|
+
#
|
1600
|
+
# @return [Types::ListVpcConnectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1601
|
+
#
|
1602
|
+
# * {Types::ListVpcConnectorsResponse#vpc_connectors #vpc_connectors} => Array<Types::VpcConnector>
|
1603
|
+
# * {Types::ListVpcConnectorsResponse#next_token #next_token} => String
|
1604
|
+
#
|
1605
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1606
|
+
#
|
1607
|
+
# @example Request syntax with placeholder values
|
1608
|
+
#
|
1609
|
+
# resp = client.list_vpc_connectors({
|
1610
|
+
# max_results: 1,
|
1611
|
+
# next_token: "NextToken",
|
1612
|
+
# })
|
1613
|
+
#
|
1614
|
+
# @example Response structure
|
1615
|
+
#
|
1616
|
+
# resp.vpc_connectors #=> Array
|
1617
|
+
# resp.vpc_connectors[0].vpc_connector_name #=> String
|
1618
|
+
# resp.vpc_connectors[0].vpc_connector_arn #=> String
|
1619
|
+
# resp.vpc_connectors[0].vpc_connector_revision #=> Integer
|
1620
|
+
# resp.vpc_connectors[0].subnets #=> Array
|
1621
|
+
# resp.vpc_connectors[0].subnets[0] #=> String
|
1622
|
+
# resp.vpc_connectors[0].security_groups #=> Array
|
1623
|
+
# resp.vpc_connectors[0].security_groups[0] #=> String
|
1624
|
+
# resp.vpc_connectors[0].status #=> String, one of "ACTIVE", "INACTIVE"
|
1625
|
+
# resp.vpc_connectors[0].created_at #=> Time
|
1626
|
+
# resp.vpc_connectors[0].deleted_at #=> Time
|
1627
|
+
# resp.next_token #=> String
|
1628
|
+
#
|
1629
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcConnectors AWS API Documentation
|
1630
|
+
#
|
1631
|
+
# @overload list_vpc_connectors(params = {})
|
1632
|
+
# @param [Hash] params ({})
|
1633
|
+
def list_vpc_connectors(params = {}, options = {})
|
1634
|
+
req = build_request(:list_vpc_connectors, params)
|
1635
|
+
req.send_request(options)
|
1636
|
+
end
|
1637
|
+
|
1408
1638
|
# Pause an active App Runner service. App Runner reduces compute
|
1409
1639
|
# capacity for the service to zero and loses state (for example,
|
1410
1640
|
# ephemeral storage is removed).
|
@@ -1442,7 +1672,7 @@ module Aws::AppRunner
|
|
1442
1672
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
1443
1673
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
1444
1674
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
1445
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
1675
|
+
# 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"
|
1446
1676
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
1447
1677
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
1448
1678
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -1470,6 +1700,8 @@ module Aws::AppRunner
|
|
1470
1700
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1471
1701
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1472
1702
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
1703
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
1704
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1473
1705
|
# resp.operation_id #=> String
|
1474
1706
|
#
|
1475
1707
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/PauseService AWS API Documentation
|
@@ -1517,7 +1749,7 @@ module Aws::AppRunner
|
|
1517
1749
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
1518
1750
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
1519
1751
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
1520
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
1752
|
+
# 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"
|
1521
1753
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
1522
1754
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
1523
1755
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -1545,6 +1777,8 @@ module Aws::AppRunner
|
|
1545
1777
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1546
1778
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1547
1779
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
1780
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
1781
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1548
1782
|
# resp.operation_id #=> String
|
1549
1783
|
#
|
1550
1784
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ResumeService AWS API Documentation
|
@@ -1699,11 +1933,16 @@ module Aws::AppRunner
|
|
1699
1933
|
#
|
1700
1934
|
# @option params [String] :auto_scaling_configuration_arn
|
1701
1935
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
1702
|
-
# configuration resource that you want to associate with
|
1936
|
+
# configuration resource that you want to associate with the App Runner
|
1937
|
+
# service.
|
1703
1938
|
#
|
1704
1939
|
# @option params [Types::HealthCheckConfiguration] :health_check_configuration
|
1705
1940
|
# The settings for the health check that App Runner performs to monitor
|
1706
|
-
# the health of
|
1941
|
+
# the health of the App Runner service.
|
1942
|
+
#
|
1943
|
+
# @option params [Types::NetworkConfiguration] :network_configuration
|
1944
|
+
# Configuration settings related to network traffic of the web
|
1945
|
+
# application that the App Runner service runs.
|
1707
1946
|
#
|
1708
1947
|
# @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1709
1948
|
#
|
@@ -1724,7 +1963,7 @@ module Aws::AppRunner
|
|
1724
1963
|
# code_configuration: {
|
1725
1964
|
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
1726
1965
|
# code_configuration_values: {
|
1727
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
1966
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
1728
1967
|
# build_command: "BuildCommand",
|
1729
1968
|
# start_command: "StartCommand",
|
1730
1969
|
# port: "String",
|
@@ -1740,7 +1979,7 @@ module Aws::AppRunner
|
|
1740
1979
|
# runtime_environment_variables: {
|
1741
1980
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
1742
1981
|
# },
|
1743
|
-
# start_command: "
|
1982
|
+
# start_command: "StartCommand",
|
1744
1983
|
# port: "String",
|
1745
1984
|
# },
|
1746
1985
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -1765,6 +2004,12 @@ module Aws::AppRunner
|
|
1765
2004
|
# healthy_threshold: 1,
|
1766
2005
|
# unhealthy_threshold: 1,
|
1767
2006
|
# },
|
2007
|
+
# network_configuration: {
|
2008
|
+
# egress_configuration: {
|
2009
|
+
# egress_type: "DEFAULT", # accepts DEFAULT, VPC
|
2010
|
+
# vpc_connector_arn: "AppRunnerResourceArn",
|
2011
|
+
# },
|
2012
|
+
# },
|
1768
2013
|
# })
|
1769
2014
|
#
|
1770
2015
|
# @example Response structure
|
@@ -1781,7 +2026,7 @@ module Aws::AppRunner
|
|
1781
2026
|
# resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
|
1782
2027
|
# resp.service.source_configuration.code_repository.source_code_version.value #=> String
|
1783
2028
|
# resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
|
1784
|
-
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
|
2029
|
+
# 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"
|
1785
2030
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
|
1786
2031
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
|
1787
2032
|
# resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
|
@@ -1809,6 +2054,8 @@ module Aws::AppRunner
|
|
1809
2054
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1810
2055
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1811
2056
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
2057
|
+
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
2058
|
+
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1812
2059
|
# resp.operation_id #=> String
|
1813
2060
|
#
|
1814
2061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateService AWS API Documentation
|
@@ -1833,7 +2080,7 @@ module Aws::AppRunner
|
|
1833
2080
|
params: params,
|
1834
2081
|
config: config)
|
1835
2082
|
context[:gem_name] = 'aws-sdk-apprunner'
|
1836
|
-
context[:gem_version] = '1.
|
2083
|
+
context[:gem_version] = '1.12.0'
|
1837
2084
|
Seahorse::Client::Request.new(handlers, context)
|
1838
2085
|
end
|
1839
2086
|
|