aws-sdk-apprunner 1.6.0 → 1.10.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apprunner/client.rb +280 -22
- data/lib/aws-sdk-apprunner/client_api.rb +119 -1
- data/lib/aws-sdk-apprunner/types.rb +389 -25
- 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: 7544607356ba39d2934eadd30c088bb36d0de00cc03e96c3b602559b25928232
|
4
|
+
data.tar.gz: 8030ee818bee71a4fedde8477a4d11fd52492d4eddbe146890a95ab22ccef612
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35acd78629f357a88491ec910732728b0e1c77f3a93d649a48e4789475b043200a5d4127d4fae77af3c13f3d6f7dfde29f37f439fdcfd77caf322d741317f8de
|
7
|
+
data.tar.gz: b0a99c5d7b65e464125f33773e4b9673ef5c2fb0c860bea489a4f30b44ee0e2c253a22c8d6e6aaad7b2b9533c8eaf65764511ed704436774763c6ac591b07db7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.10.0 (2022-02-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.9.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.8.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.7.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.6.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.10.0
|
@@ -27,6 +27,8 @@ 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/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::AppRunner
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::AppRunner
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::AppRunner
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -305,7 +315,7 @@ module Aws::AppRunner
|
|
305
315
|
# seconds to wait when opening a HTTP session before raising a
|
306
316
|
# `Timeout::Error`.
|
307
317
|
#
|
308
|
-
# @option options [
|
318
|
+
# @option options [Float] :http_read_timeout (60) The default
|
309
319
|
# number of seconds to wait for response data. This value can
|
310
320
|
# safely be set per-request on the session.
|
311
321
|
#
|
@@ -321,6 +331,9 @@ module Aws::AppRunner
|
|
321
331
|
# disables this behaviour. This value can safely be set per
|
322
332
|
# request on the session.
|
323
333
|
#
|
334
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
335
|
+
# in seconds.
|
336
|
+
#
|
324
337
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
325
338
|
# HTTP debug output will be sent to the `:logger`.
|
326
339
|
#
|
@@ -419,11 +432,11 @@ module Aws::AppRunner
|
|
419
432
|
# require non-default auto scaling settings. You can share an auto
|
420
433
|
# scaling configuration across multiple services.
|
421
434
|
#
|
422
|
-
# Create multiple revisions of a configuration by
|
423
|
-
# `AutoScalingConfigurationName
|
424
|
-
# `AutoScalingConfigurationRevision` values. When
|
425
|
-
# you can set it to use the latest active revision
|
426
|
-
# 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.
|
427
440
|
#
|
428
441
|
# Configure a higher `MinSize` to increase the spread of your App Runner
|
429
442
|
# service over more Availability Zones in the Amazon Web Services
|
@@ -439,6 +452,17 @@ module Aws::AppRunner
|
|
439
452
|
# subsequent calls, App Runner creates incremental revisions of the
|
440
453
|
# configuration.
|
441
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
|
+
#
|
442
466
|
# @option params [Integer] :max_concurrency
|
443
467
|
# The maximum number of concurrent requests that you want an instance to
|
444
468
|
# process. If the number of concurrent requests exceeds this limit, App
|
@@ -579,9 +603,9 @@ module Aws::AppRunner
|
|
579
603
|
# [1]: https://docs.aws.amazon.com/apprunner/latest/api/API_ListOperations.html
|
580
604
|
#
|
581
605
|
# @option params [required, String] :service_name
|
582
|
-
# A name for the
|
583
|
-
# App Runner services in your Amazon Web Services account in the
|
584
|
-
# 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.
|
585
609
|
#
|
586
610
|
# @option params [required, Types::SourceConfiguration] :source_configuration
|
587
611
|
# The source to deploy to the App Runner service. It can be a code or an
|
@@ -592,23 +616,27 @@ module Aws::AppRunner
|
|
592
616
|
# Runner service.
|
593
617
|
#
|
594
618
|
# @option params [Array<Types::Tag>] :tags
|
595
|
-
# An optional list of metadata items that you can associate with
|
596
|
-
# 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.
|
597
621
|
#
|
598
622
|
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
599
623
|
# An optional custom encryption key that App Runner uses to encrypt the
|
600
624
|
# copy of your source repository that it maintains and your service
|
601
|
-
# logs. By default, App Runner uses an Amazon Web Services managed
|
625
|
+
# logs. By default, App Runner uses an Amazon Web Services managed key.
|
602
626
|
#
|
603
627
|
# @option params [Types::HealthCheckConfiguration] :health_check_configuration
|
604
628
|
# The settings for the health check that App Runner performs to monitor
|
605
|
-
# the health of
|
629
|
+
# the health of the App Runner service.
|
606
630
|
#
|
607
631
|
# @option params [String] :auto_scaling_configuration_arn
|
608
632
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
609
|
-
# configuration resource that you want to associate with
|
610
|
-
# If not provided, App Runner associates the latest revision of
|
611
|
-
# 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.
|
612
640
|
#
|
613
641
|
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
614
642
|
#
|
@@ -645,7 +673,7 @@ module Aws::AppRunner
|
|
645
673
|
# runtime_environment_variables: {
|
646
674
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
647
675
|
# },
|
648
|
-
# start_command: "
|
676
|
+
# start_command: "StartCommand",
|
649
677
|
# port: "String",
|
650
678
|
# },
|
651
679
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -679,6 +707,12 @@ module Aws::AppRunner
|
|
679
707
|
# unhealthy_threshold: 1,
|
680
708
|
# },
|
681
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
|
+
# },
|
682
716
|
# })
|
683
717
|
#
|
684
718
|
# @example Response structure
|
@@ -723,6 +757,8 @@ module Aws::AppRunner
|
|
723
757
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
724
758
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
725
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
|
726
762
|
# resp.operation_id #=> String
|
727
763
|
#
|
728
764
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateService AWS API Documentation
|
@@ -734,6 +770,69 @@ module Aws::AppRunner
|
|
734
770
|
req.send_request(options)
|
735
771
|
end
|
736
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
|
+
|
737
836
|
# Delete an App Runner automatic scaling configuration resource. You can
|
738
837
|
# delete a specific revision or the latest active revision. You can't
|
739
838
|
# delete a configuration that's used by one or more App Runner
|
@@ -877,6 +976,8 @@ module Aws::AppRunner
|
|
877
976
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
878
977
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
879
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
|
880
981
|
# resp.operation_id #=> String
|
881
982
|
#
|
882
983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteService AWS API Documentation
|
@@ -888,6 +989,47 @@ module Aws::AppRunner
|
|
888
989
|
req.send_request(options)
|
889
990
|
end
|
890
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
|
+
|
891
1033
|
# Return a full description of an App Runner automatic scaling
|
892
1034
|
# configuration resource.
|
893
1035
|
#
|
@@ -1053,6 +1195,8 @@ module Aws::AppRunner
|
|
1053
1195
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1054
1196
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1055
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
|
1056
1200
|
#
|
1057
1201
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeService AWS API Documentation
|
1058
1202
|
#
|
@@ -1063,6 +1207,46 @@ module Aws::AppRunner
|
|
1063
1207
|
req.send_request(options)
|
1064
1208
|
end
|
1065
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
|
+
|
1066
1250
|
# Disassociate a custom domain name from an App Runner service.
|
1067
1251
|
#
|
1068
1252
|
# Certificates tracking domain validity are associated with a custom
|
@@ -1392,6 +1576,63 @@ module Aws::AppRunner
|
|
1392
1576
|
req.send_request(options)
|
1393
1577
|
end
|
1394
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
|
+
|
1395
1636
|
# Pause an active App Runner service. App Runner reduces compute
|
1396
1637
|
# capacity for the service to zero and loses state (for example,
|
1397
1638
|
# ephemeral storage is removed).
|
@@ -1457,6 +1698,8 @@ module Aws::AppRunner
|
|
1457
1698
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1458
1699
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1459
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
|
1460
1703
|
# resp.operation_id #=> String
|
1461
1704
|
#
|
1462
1705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/PauseService AWS API Documentation
|
@@ -1532,6 +1775,8 @@ module Aws::AppRunner
|
|
1532
1775
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1533
1776
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1534
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
|
1535
1780
|
# resp.operation_id #=> String
|
1536
1781
|
#
|
1537
1782
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ResumeService AWS API Documentation
|
@@ -1686,11 +1931,16 @@ module Aws::AppRunner
|
|
1686
1931
|
#
|
1687
1932
|
# @option params [String] :auto_scaling_configuration_arn
|
1688
1933
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
1689
|
-
# configuration resource that you want to associate with
|
1934
|
+
# configuration resource that you want to associate with the App Runner
|
1935
|
+
# service.
|
1690
1936
|
#
|
1691
1937
|
# @option params [Types::HealthCheckConfiguration] :health_check_configuration
|
1692
1938
|
# The settings for the health check that App Runner performs to monitor
|
1693
|
-
# 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.
|
1694
1944
|
#
|
1695
1945
|
# @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1696
1946
|
#
|
@@ -1727,7 +1977,7 @@ module Aws::AppRunner
|
|
1727
1977
|
# runtime_environment_variables: {
|
1728
1978
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
1729
1979
|
# },
|
1730
|
-
# start_command: "
|
1980
|
+
# start_command: "StartCommand",
|
1731
1981
|
# port: "String",
|
1732
1982
|
# },
|
1733
1983
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -1752,6 +2002,12 @@ module Aws::AppRunner
|
|
1752
2002
|
# healthy_threshold: 1,
|
1753
2003
|
# unhealthy_threshold: 1,
|
1754
2004
|
# },
|
2005
|
+
# network_configuration: {
|
2006
|
+
# egress_configuration: {
|
2007
|
+
# egress_type: "DEFAULT", # accepts DEFAULT, VPC
|
2008
|
+
# vpc_connector_arn: "AppRunnerResourceArn",
|
2009
|
+
# },
|
2010
|
+
# },
|
1755
2011
|
# })
|
1756
2012
|
#
|
1757
2013
|
# @example Response structure
|
@@ -1796,6 +2052,8 @@ module Aws::AppRunner
|
|
1796
2052
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
|
1797
2053
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
|
1798
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
|
1799
2057
|
# resp.operation_id #=> String
|
1800
2058
|
#
|
1801
2059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateService AWS API Documentation
|
@@ -1820,7 +2078,7 @@ module Aws::AppRunner
|
|
1820
2078
|
params: params,
|
1821
2079
|
config: config)
|
1822
2080
|
context[:gem_name] = 'aws-sdk-apprunner'
|
1823
|
-
context[:gem_version] = '1.
|
2081
|
+
context[:gem_version] = '1.10.0'
|
1824
2082
|
Seahorse::Client::Request.new(handlers, context)
|
1825
2083
|
end
|
1826
2084
|
|