aws-sdk-apprunner 1.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 72c7926161ccd53c34b8081393ec560ac52c135e33e63454b837b48822ff7837
4
+ data.tar.gz: c65519de76092d85d9e6c635790272621975696e0ce8a1c53838eec8725de518
5
+ SHA512:
6
+ metadata.gz: 757ed856437cecf0d221d0b21ccdc5c4970c60021a2c6756253d9042ced948c51b995908556ee193579b9a7cf176801ca797e81720355ac622a748ed8cb7b02a
7
+ data.tar.gz: 23400b8b419b02e8c835c870b775db8476b74249b68c4f147420e78cfbd048e7075c31a7bff5b86fec7d56659cc56106712c55a1d3a4e14075492d35bc247e0d
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.0.0 (2021-05-18)
5
+ ------------------
6
+
7
+ * Feature - Initial release of `aws-sdk-apprunner`.
8
+
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ require_relative 'aws-sdk-apprunner/types'
15
+ require_relative 'aws-sdk-apprunner/client_api'
16
+ require_relative 'aws-sdk-apprunner/client'
17
+ require_relative 'aws-sdk-apprunner/errors'
18
+ require_relative 'aws-sdk-apprunner/resource'
19
+ require_relative 'aws-sdk-apprunner/customizations'
20
+
21
+ # This module provides support for AWS App Runner. This module is available in the
22
+ # `aws-sdk-apprunner` gem.
23
+ #
24
+ # # Client
25
+ #
26
+ # The {Client} class provides one method for each API operation. Operation
27
+ # methods each accept a hash of request parameters and return a response
28
+ # structure.
29
+ #
30
+ # app_runner = Aws::AppRunner::Client.new
31
+ # resp = app_runner.associate_custom_domain(params)
32
+ #
33
+ # See {Client} for more information.
34
+ #
35
+ # # Errors
36
+ #
37
+ # Errors returned from AWS App Runner are defined in the
38
+ # {Errors} module and all extend {Errors::ServiceError}.
39
+ #
40
+ # begin
41
+ # # do stuff
42
+ # rescue Aws::AppRunner::Errors::ServiceError
43
+ # # rescues all AWS App Runner API errors
44
+ # end
45
+ #
46
+ # See {Errors} for more information.
47
+ #
48
+ # @!group service
49
+ module Aws::AppRunner
50
+
51
+ GEM_VERSION = '1.0.0'
52
+
53
+ end
@@ -0,0 +1,1833 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'seahorse/client/plugins/content_length.rb'
11
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
+ require 'aws-sdk-core/plugins/logging.rb'
13
+ require 'aws-sdk-core/plugins/param_converter.rb'
14
+ require 'aws-sdk-core/plugins/param_validator.rb'
15
+ require 'aws-sdk-core/plugins/user_agent.rb'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
+ require 'aws-sdk-core/plugins/retry_errors.rb'
18
+ require 'aws-sdk-core/plugins/global_configuration.rb'
19
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
+ require 'aws-sdk-core/plugins/response_paging.rb'
23
+ require 'aws-sdk-core/plugins/stub_responses.rb'
24
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/signature_v4.rb'
31
+ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
+
33
+ Aws::Plugins::GlobalConfiguration.add_identifier(:apprunner)
34
+
35
+ module Aws::AppRunner
36
+ # An API client for AppRunner. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::AppRunner::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
48
+ class Client < Seahorse::Client::Base
49
+
50
+ include Aws::ClientStubs
51
+
52
+ @identifier = :apprunner
53
+
54
+ set_api(ClientApi::API)
55
+
56
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
57
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
58
+ add_plugin(Aws::Plugins::Logging)
59
+ add_plugin(Aws::Plugins::ParamConverter)
60
+ add_plugin(Aws::Plugins::ParamValidator)
61
+ add_plugin(Aws::Plugins::UserAgent)
62
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
63
+ add_plugin(Aws::Plugins::RetryErrors)
64
+ add_plugin(Aws::Plugins::GlobalConfiguration)
65
+ add_plugin(Aws::Plugins::RegionalEndpoint)
66
+ add_plugin(Aws::Plugins::EndpointDiscovery)
67
+ add_plugin(Aws::Plugins::EndpointPattern)
68
+ add_plugin(Aws::Plugins::ResponsePaging)
69
+ add_plugin(Aws::Plugins::StubResponses)
70
+ add_plugin(Aws::Plugins::IdempotencyToken)
71
+ add_plugin(Aws::Plugins::JsonvalueConverter)
72
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
73
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
+ add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
76
+ add_plugin(Aws::Plugins::SignatureV4)
77
+ add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
+
79
+ # @overload initialize(options)
80
+ # @param [Hash] options
81
+ # @option options [required, Aws::CredentialProvider] :credentials
82
+ # Your AWS credentials. This can be an instance of any one of the
83
+ # following classes:
84
+ #
85
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
+ # credentials.
87
+ #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
102
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
103
+ # from an EC2 IMDS on an EC2 instance.
104
+ #
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
107
+ #
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
110
+ #
111
+ # When `:credentials` are not configured directly, the following
112
+ # locations will be searched for credentials:
113
+ #
114
+ # * `Aws.config[:credentials]`
115
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
116
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
117
+ # * `~/.aws/credentials`
118
+ # * `~/.aws/config`
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
123
+ #
124
+ # @option options [required, String] :region
125
+ # The AWS region to connect to. The configured `:region` is
126
+ # used to determine the service `:endpoint`. When not passed,
127
+ # a default `:region` is searched for in the following locations:
128
+ #
129
+ # * `Aws.config[:region]`
130
+ # * `ENV['AWS_REGION']`
131
+ # * `ENV['AMAZON_REGION']`
132
+ # * `ENV['AWS_DEFAULT_REGION']`
133
+ # * `~/.aws/credentials`
134
+ # * `~/.aws/config`
135
+ #
136
+ # @option options [String] :access_key_id
137
+ #
138
+ # @option options [Boolean] :active_endpoint_cache (false)
139
+ # When set to `true`, a thread polling for endpoints will be running in
140
+ # the background every 60 secs (default). Defaults to `false`.
141
+ #
142
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
143
+ # Used only in `adaptive` retry mode. When true, the request will sleep
144
+ # until there is sufficent client side capacity to retry the request.
145
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
146
+ # not retry instead of sleeping.
147
+ #
148
+ # @option options [Boolean] :client_side_monitoring (false)
149
+ # When `true`, client-side metrics will be collected for all API requests from
150
+ # this client.
151
+ #
152
+ # @option options [String] :client_side_monitoring_client_id ("")
153
+ # Allows you to provide an identifier for this client which will be attached to
154
+ # all generated client side metrics. Defaults to an empty string.
155
+ #
156
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
157
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
158
+ # side monitoring agent is running on, where client metrics will be published via UDP.
159
+ #
160
+ # @option options [Integer] :client_side_monitoring_port (31000)
161
+ # Required for publishing client metrics. The port that the client side monitoring
162
+ # agent is running on, where client metrics will be published via UDP.
163
+ #
164
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
165
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
166
+ # will use the Client Side Monitoring Agent Publisher.
167
+ #
168
+ # @option options [Boolean] :convert_params (true)
169
+ # When `true`, an attempt is made to coerce request parameters into
170
+ # the required types.
171
+ #
172
+ # @option options [Boolean] :correct_clock_skew (true)
173
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
+ # a clock skew correction and retry requests with skewed client clocks.
175
+ #
176
+ # @option options [Boolean] :disable_host_prefix_injection (false)
177
+ # Set to true to disable SDK automatically adding host prefix
178
+ # to default service endpoint when available.
179
+ #
180
+ # @option options [String] :endpoint
181
+ # The client endpoint is normally constructed from the `:region`
182
+ # option. You should only configure an `:endpoint` when connecting
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
184
+ #
185
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
186
+ # Used for the maximum size limit of the LRU cache storing endpoints data
187
+ # for endpoint discovery enabled operations. Defaults to 1000.
188
+ #
189
+ # @option options [Integer] :endpoint_cache_max_threads (10)
190
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
191
+ #
192
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
193
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
194
+ # Use this option to config the time interval in seconds for making
195
+ # requests fetching endpoints information. Defaults to 60 sec.
196
+ #
197
+ # @option options [Boolean] :endpoint_discovery (false)
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
199
+ #
200
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
201
+ # The log formatter.
202
+ #
203
+ # @option options [Symbol] :log_level (:info)
204
+ # The log level to send messages to the `:logger` at.
205
+ #
206
+ # @option options [Logger] :logger
207
+ # The Logger instance to send log messages to. If this option
208
+ # is not set, logging will be disabled.
209
+ #
210
+ # @option options [Integer] :max_attempts (3)
211
+ # An integer representing the maximum number attempts that will be made for
212
+ # a single request, including the initial attempt. For example,
213
+ # setting this value to 5 will result in a request being retried up to
214
+ # 4 times. Used in `standard` and `adaptive` retry modes.
215
+ #
216
+ # @option options [String] :profile ("default")
217
+ # Used when loading credentials from the shared credentials file
218
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
219
+ #
220
+ # @option options [Proc] :retry_backoff
221
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
222
+ # This option is only used in the `legacy` retry mode.
223
+ #
224
+ # @option options [Float] :retry_base_delay (0.3)
225
+ # The base delay in seconds used by the default backoff function. This option
226
+ # is only used in the `legacy` retry mode.
227
+ #
228
+ # @option options [Symbol] :retry_jitter (:none)
229
+ # A delay randomiser function used by the default backoff function.
230
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
231
+ # otherwise a Proc that takes and returns a number. This option is only used
232
+ # in the `legacy` retry mode.
233
+ #
234
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
235
+ #
236
+ # @option options [Integer] :retry_limit (3)
237
+ # The maximum number of times to retry failed requests. Only
238
+ # ~ 500 level server errors and certain ~ 400 level client errors
239
+ # are retried. Generally, these are throttling errors, data
240
+ # checksum errors, networking errors, timeout errors, auth errors,
241
+ # endpoint discovery, and errors from expired credentials.
242
+ # This option is only used in the `legacy` retry mode.
243
+ #
244
+ # @option options [Integer] :retry_max_delay (0)
245
+ # The maximum number of seconds to delay between retries (0 for no limit)
246
+ # used by the default backoff function. This option is only used in the
247
+ # `legacy` retry mode.
248
+ #
249
+ # @option options [String] :retry_mode ("legacy")
250
+ # Specifies which retry algorithm to use. Values are:
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
264
+ #
265
+ # @option options [String] :secret_access_key
266
+ #
267
+ # @option options [String] :session_token
268
+ #
269
+ # @option options [Boolean] :simple_json (false)
270
+ # Disables request parameter conversion, validation, and formatting.
271
+ # Also disable response data type conversions. This option is useful
272
+ # when you want to ensure the highest level of performance by
273
+ # avoiding overhead of walking request parameters and response data
274
+ # structures.
275
+ #
276
+ # When `:simple_json` is enabled, the request parameters hash must
277
+ # be formatted exactly as the DynamoDB API expects.
278
+ #
279
+ # @option options [Boolean] :stub_responses (false)
280
+ # Causes the client to return stubbed responses. By default
281
+ # fake responses are generated and returned. You can specify
282
+ # the response data to return or errors to raise by calling
283
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
284
+ #
285
+ # ** Please note ** When response stubbing is enabled, no HTTP
286
+ # requests are made, and retries are disabled.
287
+ #
288
+ # @option options [Boolean] :validate_params (true)
289
+ # When `true`, request parameters are validated before
290
+ # sending the request.
291
+ #
292
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
293
+ # requests through. Formatted like 'http://proxy.com:123'.
294
+ #
295
+ # @option options [Float] :http_open_timeout (15) The number of
296
+ # seconds to wait when opening a HTTP session before raising a
297
+ # `Timeout::Error`.
298
+ #
299
+ # @option options [Integer] :http_read_timeout (60) The default
300
+ # number of seconds to wait for response data. This value can
301
+ # safely be set per-request on the session.
302
+ #
303
+ # @option options [Float] :http_idle_timeout (5) The number of
304
+ # seconds a connection is allowed to sit idle before it is
305
+ # considered stale. Stale connections are closed and removed
306
+ # from the pool before making a request.
307
+ #
308
+ # @option options [Float] :http_continue_timeout (1) The number of
309
+ # seconds to wait for a 100-continue response before sending the
310
+ # request body. This option has no effect unless the request has
311
+ # "Expect" header set to "100-continue". Defaults to `nil` which
312
+ # disables this behaviour. This value can safely be set per
313
+ # request on the session.
314
+ #
315
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
316
+ # HTTP debug output will be sent to the `:logger`.
317
+ #
318
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
319
+ # SSL peer certificates are verified when establishing a
320
+ # connection.
321
+ #
322
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
323
+ # certificate authority bundle file that should be used when
324
+ # verifying peer certificates. If you do not pass
325
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
326
+ # will be used if available.
327
+ #
328
+ # @option options [String] :ssl_ca_directory Full path of the
329
+ # directory that contains the unbundled SSL certificate
330
+ # authority files for verifying peer certificates. If you do
331
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
332
+ # system default will be used if available.
333
+ #
334
+ def initialize(*args)
335
+ super
336
+ end
337
+
338
+ # @!group API Operations
339
+
340
+ # Associate your own domain name with the AWS App Runner subdomain URL
341
+ # of your App Runner service.
342
+ #
343
+ # After you call `AssociateCustomDomain` and receive a successful
344
+ # response, use the information in the CustomDomain record that's
345
+ # returned to add CNAME records to your Domain Name System (DNS). For
346
+ # each mapped domain name, add a mapping to the target App Runner
347
+ # subdomain and one or more certificate validation records. App Runner
348
+ # then performs DNS validation to verify that you own or control the
349
+ # domain name that you associated. App Runner tracks domain validity in
350
+ # a certificate stored in [AWS Certificate Manager (ACM)][1].
351
+ #
352
+ #
353
+ #
354
+ # [1]: https://docs.aws.amazon.com/acm/latest/userguide
355
+ #
356
+ # @option params [required, String] :service_arn
357
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
358
+ # to associate a custom domain name with.
359
+ #
360
+ # @option params [required, String] :domain_name
361
+ # A custom domain endpoint to associate. Specify a root domain (for
362
+ # example, `example.com`), a subdomain (for example, `login.example.com`
363
+ # or `admin.login.example.com`), or a wildcard (for example,
364
+ # `*.example.com`).
365
+ #
366
+ # @option params [Boolean] :enable_www_subdomain
367
+ # Set to `true` to associate the subdomain `www.DomainName ` with the
368
+ # App Runner service in addition to the base domain.
369
+ #
370
+ # Default: `true`
371
+ #
372
+ # @return [Types::AssociateCustomDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
373
+ #
374
+ # * {Types::AssociateCustomDomainResponse#dns_target #dns_target} => String
375
+ # * {Types::AssociateCustomDomainResponse#service_arn #service_arn} => String
376
+ # * {Types::AssociateCustomDomainResponse#custom_domain #custom_domain} => Types::CustomDomain
377
+ #
378
+ # @example Request syntax with placeholder values
379
+ #
380
+ # resp = client.associate_custom_domain({
381
+ # service_arn: "AppRunnerResourceArn", # required
382
+ # domain_name: "DomainName", # required
383
+ # enable_www_subdomain: false,
384
+ # })
385
+ #
386
+ # @example Response structure
387
+ #
388
+ # resp.dns_target #=> String
389
+ # resp.service_arn #=> String
390
+ # resp.custom_domain.domain_name #=> String
391
+ # resp.custom_domain.enable_www_subdomain #=> Boolean
392
+ # resp.custom_domain.certificate_validation_records #=> Array
393
+ # resp.custom_domain.certificate_validation_records[0].name #=> String
394
+ # resp.custom_domain.certificate_validation_records[0].type #=> String
395
+ # resp.custom_domain.certificate_validation_records[0].value #=> String
396
+ # resp.custom_domain.certificate_validation_records[0].status #=> String, one of "PENDING_VALIDATION", "SUCCESS", "FAILED"
397
+ # resp.custom_domain.status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "PENDING_CERTIFICATE_DNS_VALIDATION", "BINDING_CERTIFICATE"
398
+ #
399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/AssociateCustomDomain AWS API Documentation
400
+ #
401
+ # @overload associate_custom_domain(params = {})
402
+ # @param [Hash] params ({})
403
+ def associate_custom_domain(params = {}, options = {})
404
+ req = build_request(:associate_custom_domain, params)
405
+ req.send_request(options)
406
+ end
407
+
408
+ # Create an AWS App Runner automatic scaling configuration resource. App
409
+ # Runner requires this resource when you create App Runner services that
410
+ # require non-default auto scaling settings. You can share an auto
411
+ # scaling configuration across multiple services.
412
+ #
413
+ # Create multiple revisions of a configuration by using the same
414
+ # `AutoScalingConfigurationName` and different
415
+ # `AutoScalingConfigurationRevision` values. When you create a service,
416
+ # you can set it to use the latest active revision of an auto scaling
417
+ # configuration or a specific revision.
418
+ #
419
+ # Configure a higher `MinSize` to increase the spread of your App Runner
420
+ # service over more Availability Zones in the AWS Region. The tradeoff
421
+ # is a higher minimal cost.
422
+ #
423
+ # Configure a lower `MaxSize` to control your cost. The tradeoff is
424
+ # lower responsiveness during peak demand.
425
+ #
426
+ # @option params [required, String] :auto_scaling_configuration_name
427
+ # A name for the auto scaling configuration. When you use it for the
428
+ # first time in an AWS Region, App Runner creates revision number `1` of
429
+ # this name. When you use the same name in subsequent calls, App Runner
430
+ # creates incremental revisions of the configuration.
431
+ #
432
+ # @option params [Integer] :max_concurrency
433
+ # The maximum number of concurrent requests that you want an instance to
434
+ # process. If the number of concurrent requests exceeds this limit, App
435
+ # Runner scales up your service.
436
+ #
437
+ # Default: `100`
438
+ #
439
+ # @option params [Integer] :min_size
440
+ # The minimum number of instances that App Runner provisions for your
441
+ # service. The service always has at least `MinSize` provisioned
442
+ # instances. Some of them actively serve traffic. The rest of them
443
+ # (provisioned and inactive instances) are a cost-effective compute
444
+ # capacity reserve and are ready to be quickly activated. You pay for
445
+ # memory usage of all the provisioned instances. You pay for CPU usage
446
+ # of only the active subset.
447
+ #
448
+ # App Runner temporarily doubles the number of provisioned instances
449
+ # during deployments, to maintain the same capacity for both old and new
450
+ # code.
451
+ #
452
+ # Default: `1`
453
+ #
454
+ # @option params [Integer] :max_size
455
+ # The maximum number of instances that your service scales up to. At
456
+ # most `MaxSize` instances actively serve traffic for your service.
457
+ #
458
+ # Default: `25`
459
+ #
460
+ # @option params [Array<Types::Tag>] :tags
461
+ # A list of metadata items that you can associate with your auto scaling
462
+ # configuration resource. A tag is a key-value pair.
463
+ #
464
+ # @return [Types::CreateAutoScalingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
465
+ #
466
+ # * {Types::CreateAutoScalingConfigurationResponse#auto_scaling_configuration #auto_scaling_configuration} => Types::AutoScalingConfiguration
467
+ #
468
+ # @example Request syntax with placeholder values
469
+ #
470
+ # resp = client.create_auto_scaling_configuration({
471
+ # auto_scaling_configuration_name: "AutoScalingConfigurationName", # required
472
+ # max_concurrency: 1,
473
+ # min_size: 1,
474
+ # max_size: 1,
475
+ # tags: [
476
+ # {
477
+ # key: "TagKey",
478
+ # value: "TagValue",
479
+ # },
480
+ # ],
481
+ # })
482
+ #
483
+ # @example Response structure
484
+ #
485
+ # resp.auto_scaling_configuration.auto_scaling_configuration_arn #=> String
486
+ # resp.auto_scaling_configuration.auto_scaling_configuration_name #=> String
487
+ # resp.auto_scaling_configuration.auto_scaling_configuration_revision #=> Integer
488
+ # resp.auto_scaling_configuration.latest #=> Boolean
489
+ # resp.auto_scaling_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
490
+ # resp.auto_scaling_configuration.max_concurrency #=> Integer
491
+ # resp.auto_scaling_configuration.min_size #=> Integer
492
+ # resp.auto_scaling_configuration.max_size #=> Integer
493
+ # resp.auto_scaling_configuration.created_at #=> Time
494
+ # resp.auto_scaling_configuration.deleted_at #=> Time
495
+ #
496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateAutoScalingConfiguration AWS API Documentation
497
+ #
498
+ # @overload create_auto_scaling_configuration(params = {})
499
+ # @param [Hash] params ({})
500
+ def create_auto_scaling_configuration(params = {}, options = {})
501
+ req = build_request(:create_auto_scaling_configuration, params)
502
+ req.send_request(options)
503
+ end
504
+
505
+ # Create an AWS App Runner connection resource. App Runner requires a
506
+ # connection resource when you create App Runner services that access
507
+ # private repositories from certain third-party providers. You can share
508
+ # a connection across multiple services.
509
+ #
510
+ # A connection resource is needed to access GitHub repositories. GitHub
511
+ # requires a user interface approval process through the App Runner
512
+ # console before you can use the connection.
513
+ #
514
+ # @option params [required, String] :connection_name
515
+ # A name for the new connection. It must be unique across all App Runner
516
+ # connections for the AWS account in the AWS Region.
517
+ #
518
+ # @option params [required, String] :provider_type
519
+ # The source repository provider.
520
+ #
521
+ # @option params [Array<Types::Tag>] :tags
522
+ # A list of metadata items that you can associate with your connection
523
+ # resource. A tag is a key-value pair.
524
+ #
525
+ # @return [Types::CreateConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
526
+ #
527
+ # * {Types::CreateConnectionResponse#connection #connection} => Types::Connection
528
+ #
529
+ # @example Request syntax with placeholder values
530
+ #
531
+ # resp = client.create_connection({
532
+ # connection_name: "ConnectionName", # required
533
+ # provider_type: "GITHUB", # required, accepts GITHUB
534
+ # tags: [
535
+ # {
536
+ # key: "TagKey",
537
+ # value: "TagValue",
538
+ # },
539
+ # ],
540
+ # })
541
+ #
542
+ # @example Response structure
543
+ #
544
+ # resp.connection.connection_name #=> String
545
+ # resp.connection.connection_arn #=> String
546
+ # resp.connection.provider_type #=> String, one of "GITHUB"
547
+ # resp.connection.status #=> String, one of "PENDING_HANDSHAKE", "AVAILABLE", "ERROR", "DELETED"
548
+ # resp.connection.created_at #=> Time
549
+ #
550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateConnection AWS API Documentation
551
+ #
552
+ # @overload create_connection(params = {})
553
+ # @param [Hash] params ({})
554
+ def create_connection(params = {}, options = {})
555
+ req = build_request(:create_connection, params)
556
+ req.send_request(options)
557
+ end
558
+
559
+ # Create an AWS App Runner service. After the service is created, the
560
+ # action also automatically starts a deployment.
561
+ #
562
+ # This is an asynchronous operation. On a successful call, you can use
563
+ # the returned `OperationId` and the [ListOperations][1] call to track
564
+ # the operation's progress.
565
+ #
566
+ #
567
+ #
568
+ # [1]: https://docs.aws.amazon.com/apprunner/latest/api/API_ListOperations.html
569
+ #
570
+ # @option params [required, String] :service_name
571
+ # A name for the new service. It must be unique across all the running
572
+ # App Runner services in your AWS account in the AWS Region.
573
+ #
574
+ # @option params [required, Types::SourceConfiguration] :source_configuration
575
+ # The source to deploy to the App Runner service. It can be a code or an
576
+ # image repository.
577
+ #
578
+ # @option params [Types::InstanceConfiguration] :instance_configuration
579
+ # The runtime configuration of instances (scaling units) of the App
580
+ # Runner service.
581
+ #
582
+ # @option params [Array<Types::Tag>] :tags
583
+ # An optional list of metadata items that you can associate with your
584
+ # service resource. A tag is a key-value pair.
585
+ #
586
+ # @option params [Types::EncryptionConfiguration] :encryption_configuration
587
+ # An optional custom encryption key that App Runner uses to encrypt the
588
+ # copy of your source repository that it maintains and your service
589
+ # logs. By default, App Runner uses an AWS managed CMK.
590
+ #
591
+ # @option params [Types::HealthCheckConfiguration] :health_check_configuration
592
+ # The settings for the health check that AWS App Runner performs to
593
+ # monitor the health of your service.
594
+ #
595
+ # @option params [String] :auto_scaling_configuration_arn
596
+ # The Amazon Resource Name (ARN) of an App Runner automatic scaling
597
+ # configuration resource that you want to associate with your service.
598
+ # If not provided, App Runner associates the latest revision of a
599
+ # default auto scaling configuration.
600
+ #
601
+ # @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
602
+ #
603
+ # * {Types::CreateServiceResponse#service #service} => Types::Service
604
+ # * {Types::CreateServiceResponse#operation_id #operation_id} => String
605
+ #
606
+ # @example Request syntax with placeholder values
607
+ #
608
+ # resp = client.create_service({
609
+ # service_name: "ServiceName", # required
610
+ # source_configuration: { # required
611
+ # code_repository: {
612
+ # repository_url: "String", # required
613
+ # source_code_version: { # required
614
+ # type: "BRANCH", # required, accepts BRANCH
615
+ # value: "String", # required
616
+ # },
617
+ # code_configuration: {
618
+ # configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
619
+ # code_configuration_values: {
620
+ # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
621
+ # build_command: "BuildCommand",
622
+ # start_command: "StartCommand",
623
+ # port: "String",
624
+ # runtime_environment_variables: {
625
+ # "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
626
+ # },
627
+ # },
628
+ # },
629
+ # },
630
+ # image_repository: {
631
+ # image_identifier: "ImageIdentifier", # required
632
+ # image_configuration: {
633
+ # runtime_environment_variables: {
634
+ # "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
635
+ # },
636
+ # start_command: "String",
637
+ # port: "String",
638
+ # },
639
+ # image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
640
+ # },
641
+ # auto_deployments_enabled: false,
642
+ # authentication_configuration: {
643
+ # connection_arn: "AppRunnerResourceArn",
644
+ # access_role_arn: "RoleArn",
645
+ # },
646
+ # },
647
+ # instance_configuration: {
648
+ # cpu: "Cpu",
649
+ # memory: "Memory",
650
+ # instance_role_arn: "RoleArn",
651
+ # },
652
+ # tags: [
653
+ # {
654
+ # key: "TagKey",
655
+ # value: "TagValue",
656
+ # },
657
+ # ],
658
+ # encryption_configuration: {
659
+ # kms_key: "KmsKeyArn", # required
660
+ # },
661
+ # health_check_configuration: {
662
+ # protocol: "TCP", # accepts TCP, HTTP
663
+ # path: "String",
664
+ # interval: 1,
665
+ # timeout: 1,
666
+ # healthy_threshold: 1,
667
+ # unhealthy_threshold: 1,
668
+ # },
669
+ # auto_scaling_configuration_arn: "AppRunnerResourceArn",
670
+ # })
671
+ #
672
+ # @example Response structure
673
+ #
674
+ # resp.service.service_name #=> String
675
+ # resp.service.service_id #=> String
676
+ # resp.service.service_arn #=> String
677
+ # resp.service.service_url #=> String
678
+ # resp.service.created_at #=> Time
679
+ # resp.service.updated_at #=> Time
680
+ # resp.service.deleted_at #=> Time
681
+ # resp.service.status #=> String, one of "CREATE_FAILED", "RUNNING", "DELETED", "DELETE_FAILED", "PAUSED", "OPERATION_IN_PROGRESS"
682
+ # resp.service.source_configuration.code_repository.repository_url #=> String
683
+ # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
684
+ # resp.service.source_configuration.code_repository.source_code_version.value #=> String
685
+ # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
686
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
687
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
688
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
689
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
690
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
691
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
692
+ # resp.service.source_configuration.image_repository.image_identifier #=> String
693
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
694
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
695
+ # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
696
+ # resp.service.source_configuration.image_repository.image_configuration.port #=> String
697
+ # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
698
+ # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
699
+ # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
700
+ # resp.service.source_configuration.authentication_configuration.access_role_arn #=> String
701
+ # resp.service.instance_configuration.cpu #=> String
702
+ # resp.service.instance_configuration.memory #=> String
703
+ # resp.service.instance_configuration.instance_role_arn #=> String
704
+ # resp.service.encryption_configuration.kms_key #=> String
705
+ # resp.service.health_check_configuration.protocol #=> String, one of "TCP", "HTTP"
706
+ # resp.service.health_check_configuration.path #=> String
707
+ # resp.service.health_check_configuration.interval #=> Integer
708
+ # resp.service.health_check_configuration.timeout #=> Integer
709
+ # resp.service.health_check_configuration.healthy_threshold #=> Integer
710
+ # resp.service.health_check_configuration.unhealthy_threshold #=> Integer
711
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
712
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
713
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
714
+ # resp.operation_id #=> String
715
+ #
716
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateService AWS API Documentation
717
+ #
718
+ # @overload create_service(params = {})
719
+ # @param [Hash] params ({})
720
+ def create_service(params = {}, options = {})
721
+ req = build_request(:create_service, params)
722
+ req.send_request(options)
723
+ end
724
+
725
+ # Delete an AWS App Runner automatic scaling configuration resource. You
726
+ # can delete a specific revision or the latest active revision. You
727
+ # can't delete a configuration that's used by one or more App Runner
728
+ # services.
729
+ #
730
+ # @option params [required, String] :auto_scaling_configuration_arn
731
+ # The Amazon Resource Name (ARN) of the App Runner auto scaling
732
+ # configuration that you want to delete.
733
+ #
734
+ # The ARN can be a full auto scaling configuration ARN, or a partial ARN
735
+ # ending with either `.../name ` or `.../name/revision `. If a revision
736
+ # isn't specified, the latest active revision is deleted.
737
+ #
738
+ # @return [Types::DeleteAutoScalingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
739
+ #
740
+ # * {Types::DeleteAutoScalingConfigurationResponse#auto_scaling_configuration #auto_scaling_configuration} => Types::AutoScalingConfiguration
741
+ #
742
+ # @example Request syntax with placeholder values
743
+ #
744
+ # resp = client.delete_auto_scaling_configuration({
745
+ # auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
746
+ # })
747
+ #
748
+ # @example Response structure
749
+ #
750
+ # resp.auto_scaling_configuration.auto_scaling_configuration_arn #=> String
751
+ # resp.auto_scaling_configuration.auto_scaling_configuration_name #=> String
752
+ # resp.auto_scaling_configuration.auto_scaling_configuration_revision #=> Integer
753
+ # resp.auto_scaling_configuration.latest #=> Boolean
754
+ # resp.auto_scaling_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
755
+ # resp.auto_scaling_configuration.max_concurrency #=> Integer
756
+ # resp.auto_scaling_configuration.min_size #=> Integer
757
+ # resp.auto_scaling_configuration.max_size #=> Integer
758
+ # resp.auto_scaling_configuration.created_at #=> Time
759
+ # resp.auto_scaling_configuration.deleted_at #=> Time
760
+ #
761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteAutoScalingConfiguration AWS API Documentation
762
+ #
763
+ # @overload delete_auto_scaling_configuration(params = {})
764
+ # @param [Hash] params ({})
765
+ def delete_auto_scaling_configuration(params = {}, options = {})
766
+ req = build_request(:delete_auto_scaling_configuration, params)
767
+ req.send_request(options)
768
+ end
769
+
770
+ # Delete an AWS App Runner connection. You must first ensure that there
771
+ # are no running App Runner services that use this connection. If there
772
+ # are any, the `DeleteConnection` action fails.
773
+ #
774
+ # @option params [required, String] :connection_arn
775
+ # The Amazon Resource Name (ARN) of the App Runner connection that you
776
+ # want to delete.
777
+ #
778
+ # @return [Types::DeleteConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
779
+ #
780
+ # * {Types::DeleteConnectionResponse#connection #connection} => Types::Connection
781
+ #
782
+ # @example Request syntax with placeholder values
783
+ #
784
+ # resp = client.delete_connection({
785
+ # connection_arn: "AppRunnerResourceArn", # required
786
+ # })
787
+ #
788
+ # @example Response structure
789
+ #
790
+ # resp.connection.connection_name #=> String
791
+ # resp.connection.connection_arn #=> String
792
+ # resp.connection.provider_type #=> String, one of "GITHUB"
793
+ # resp.connection.status #=> String, one of "PENDING_HANDSHAKE", "AVAILABLE", "ERROR", "DELETED"
794
+ # resp.connection.created_at #=> Time
795
+ #
796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteConnection AWS API Documentation
797
+ #
798
+ # @overload delete_connection(params = {})
799
+ # @param [Hash] params ({})
800
+ def delete_connection(params = {}, options = {})
801
+ req = build_request(:delete_connection, params)
802
+ req.send_request(options)
803
+ end
804
+
805
+ # Delete an AWS App Runner service.
806
+ #
807
+ # This is an asynchronous operation. On a successful call, you can use
808
+ # the returned `OperationId` and the ListOperations call to track the
809
+ # operation's progress.
810
+ #
811
+ # @option params [required, String] :service_arn
812
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
813
+ # to delete.
814
+ #
815
+ # @return [Types::DeleteServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
816
+ #
817
+ # * {Types::DeleteServiceResponse#service #service} => Types::Service
818
+ # * {Types::DeleteServiceResponse#operation_id #operation_id} => String
819
+ #
820
+ # @example Request syntax with placeholder values
821
+ #
822
+ # resp = client.delete_service({
823
+ # service_arn: "AppRunnerResourceArn", # required
824
+ # })
825
+ #
826
+ # @example Response structure
827
+ #
828
+ # resp.service.service_name #=> String
829
+ # resp.service.service_id #=> String
830
+ # resp.service.service_arn #=> String
831
+ # resp.service.service_url #=> String
832
+ # resp.service.created_at #=> Time
833
+ # resp.service.updated_at #=> Time
834
+ # resp.service.deleted_at #=> Time
835
+ # resp.service.status #=> String, one of "CREATE_FAILED", "RUNNING", "DELETED", "DELETE_FAILED", "PAUSED", "OPERATION_IN_PROGRESS"
836
+ # resp.service.source_configuration.code_repository.repository_url #=> String
837
+ # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
838
+ # resp.service.source_configuration.code_repository.source_code_version.value #=> String
839
+ # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
840
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
841
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
842
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
843
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
844
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
845
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
846
+ # resp.service.source_configuration.image_repository.image_identifier #=> String
847
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
848
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
849
+ # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
850
+ # resp.service.source_configuration.image_repository.image_configuration.port #=> String
851
+ # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
852
+ # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
853
+ # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
854
+ # resp.service.source_configuration.authentication_configuration.access_role_arn #=> String
855
+ # resp.service.instance_configuration.cpu #=> String
856
+ # resp.service.instance_configuration.memory #=> String
857
+ # resp.service.instance_configuration.instance_role_arn #=> String
858
+ # resp.service.encryption_configuration.kms_key #=> String
859
+ # resp.service.health_check_configuration.protocol #=> String, one of "TCP", "HTTP"
860
+ # resp.service.health_check_configuration.path #=> String
861
+ # resp.service.health_check_configuration.interval #=> Integer
862
+ # resp.service.health_check_configuration.timeout #=> Integer
863
+ # resp.service.health_check_configuration.healthy_threshold #=> Integer
864
+ # resp.service.health_check_configuration.unhealthy_threshold #=> Integer
865
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
866
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
867
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
868
+ # resp.operation_id #=> String
869
+ #
870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteService AWS API Documentation
871
+ #
872
+ # @overload delete_service(params = {})
873
+ # @param [Hash] params ({})
874
+ def delete_service(params = {}, options = {})
875
+ req = build_request(:delete_service, params)
876
+ req.send_request(options)
877
+ end
878
+
879
+ # Return a full description of an AWS App Runner automatic scaling
880
+ # configuration resource.
881
+ #
882
+ # @option params [required, String] :auto_scaling_configuration_arn
883
+ # The Amazon Resource Name (ARN) of the App Runner auto scaling
884
+ # configuration that you want a description for.
885
+ #
886
+ # The ARN can be a full auto scaling configuration ARN, or a partial ARN
887
+ # ending with either `.../name ` or `.../name/revision `. If a revision
888
+ # isn't specified, the latest active revision is described.
889
+ #
890
+ # @return [Types::DescribeAutoScalingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
891
+ #
892
+ # * {Types::DescribeAutoScalingConfigurationResponse#auto_scaling_configuration #auto_scaling_configuration} => Types::AutoScalingConfiguration
893
+ #
894
+ # @example Request syntax with placeholder values
895
+ #
896
+ # resp = client.describe_auto_scaling_configuration({
897
+ # auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
898
+ # })
899
+ #
900
+ # @example Response structure
901
+ #
902
+ # resp.auto_scaling_configuration.auto_scaling_configuration_arn #=> String
903
+ # resp.auto_scaling_configuration.auto_scaling_configuration_name #=> String
904
+ # resp.auto_scaling_configuration.auto_scaling_configuration_revision #=> Integer
905
+ # resp.auto_scaling_configuration.latest #=> Boolean
906
+ # resp.auto_scaling_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
907
+ # resp.auto_scaling_configuration.max_concurrency #=> Integer
908
+ # resp.auto_scaling_configuration.min_size #=> Integer
909
+ # resp.auto_scaling_configuration.max_size #=> Integer
910
+ # resp.auto_scaling_configuration.created_at #=> Time
911
+ # resp.auto_scaling_configuration.deleted_at #=> Time
912
+ #
913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeAutoScalingConfiguration AWS API Documentation
914
+ #
915
+ # @overload describe_auto_scaling_configuration(params = {})
916
+ # @param [Hash] params ({})
917
+ def describe_auto_scaling_configuration(params = {}, options = {})
918
+ req = build_request(:describe_auto_scaling_configuration, params)
919
+ req.send_request(options)
920
+ end
921
+
922
+ # Return a description of custom domain names that are associated with
923
+ # an AWS App Runner service.
924
+ #
925
+ # @option params [required, String] :service_arn
926
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
927
+ # associated custom domain names to be described for.
928
+ #
929
+ # @option params [String] :next_token
930
+ # A token from a previous result page. It's used for a paginated
931
+ # request. The request retrieves the next result page. All other
932
+ # parameter values must be identical to the ones that are specified in
933
+ # the initial request.
934
+ #
935
+ # If you don't specify `NextToken`, the request retrieves the first
936
+ # result page.
937
+ #
938
+ # @option params [Integer] :max_results
939
+ # The maximum number of results that each response (result page) can
940
+ # include. It's used for a paginated request.
941
+ #
942
+ # If you don't specify `MaxResults`, the request retrieves all
943
+ # available results in a single response.
944
+ #
945
+ # @return [Types::DescribeCustomDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
946
+ #
947
+ # * {Types::DescribeCustomDomainsResponse#dns_target #dns_target} => String
948
+ # * {Types::DescribeCustomDomainsResponse#service_arn #service_arn} => String
949
+ # * {Types::DescribeCustomDomainsResponse#custom_domains #custom_domains} => Array&lt;Types::CustomDomain&gt;
950
+ # * {Types::DescribeCustomDomainsResponse#next_token #next_token} => String
951
+ #
952
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
953
+ #
954
+ # @example Request syntax with placeholder values
955
+ #
956
+ # resp = client.describe_custom_domains({
957
+ # service_arn: "AppRunnerResourceArn", # required
958
+ # next_token: "String",
959
+ # max_results: 1,
960
+ # })
961
+ #
962
+ # @example Response structure
963
+ #
964
+ # resp.dns_target #=> String
965
+ # resp.service_arn #=> String
966
+ # resp.custom_domains #=> Array
967
+ # resp.custom_domains[0].domain_name #=> String
968
+ # resp.custom_domains[0].enable_www_subdomain #=> Boolean
969
+ # resp.custom_domains[0].certificate_validation_records #=> Array
970
+ # resp.custom_domains[0].certificate_validation_records[0].name #=> String
971
+ # resp.custom_domains[0].certificate_validation_records[0].type #=> String
972
+ # resp.custom_domains[0].certificate_validation_records[0].value #=> String
973
+ # resp.custom_domains[0].certificate_validation_records[0].status #=> String, one of "PENDING_VALIDATION", "SUCCESS", "FAILED"
974
+ # resp.custom_domains[0].status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "PENDING_CERTIFICATE_DNS_VALIDATION", "BINDING_CERTIFICATE"
975
+ # resp.next_token #=> String
976
+ #
977
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeCustomDomains AWS API Documentation
978
+ #
979
+ # @overload describe_custom_domains(params = {})
980
+ # @param [Hash] params ({})
981
+ def describe_custom_domains(params = {}, options = {})
982
+ req = build_request(:describe_custom_domains, params)
983
+ req.send_request(options)
984
+ end
985
+
986
+ # Return a full description of an AWS App Runner service.
987
+ #
988
+ # @option params [required, String] :service_arn
989
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
990
+ # a description for.
991
+ #
992
+ # @return [Types::DescribeServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
993
+ #
994
+ # * {Types::DescribeServiceResponse#service #service} => Types::Service
995
+ #
996
+ # @example Request syntax with placeholder values
997
+ #
998
+ # resp = client.describe_service({
999
+ # service_arn: "AppRunnerResourceArn", # required
1000
+ # })
1001
+ #
1002
+ # @example Response structure
1003
+ #
1004
+ # resp.service.service_name #=> String
1005
+ # resp.service.service_id #=> String
1006
+ # resp.service.service_arn #=> String
1007
+ # resp.service.service_url #=> String
1008
+ # resp.service.created_at #=> Time
1009
+ # resp.service.updated_at #=> Time
1010
+ # resp.service.deleted_at #=> Time
1011
+ # resp.service.status #=> String, one of "CREATE_FAILED", "RUNNING", "DELETED", "DELETE_FAILED", "PAUSED", "OPERATION_IN_PROGRESS"
1012
+ # resp.service.source_configuration.code_repository.repository_url #=> String
1013
+ # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1014
+ # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1015
+ # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1016
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
1017
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1018
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1019
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
1020
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
1021
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1022
+ # resp.service.source_configuration.image_repository.image_identifier #=> String
1023
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
1024
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1025
+ # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
1026
+ # resp.service.source_configuration.image_repository.image_configuration.port #=> String
1027
+ # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
1028
+ # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
1029
+ # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
1030
+ # resp.service.source_configuration.authentication_configuration.access_role_arn #=> String
1031
+ # resp.service.instance_configuration.cpu #=> String
1032
+ # resp.service.instance_configuration.memory #=> String
1033
+ # resp.service.instance_configuration.instance_role_arn #=> String
1034
+ # resp.service.encryption_configuration.kms_key #=> String
1035
+ # resp.service.health_check_configuration.protocol #=> String, one of "TCP", "HTTP"
1036
+ # resp.service.health_check_configuration.path #=> String
1037
+ # resp.service.health_check_configuration.interval #=> Integer
1038
+ # resp.service.health_check_configuration.timeout #=> Integer
1039
+ # resp.service.health_check_configuration.healthy_threshold #=> Integer
1040
+ # resp.service.health_check_configuration.unhealthy_threshold #=> Integer
1041
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1042
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1043
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1044
+ #
1045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeService AWS API Documentation
1046
+ #
1047
+ # @overload describe_service(params = {})
1048
+ # @param [Hash] params ({})
1049
+ def describe_service(params = {}, options = {})
1050
+ req = build_request(:describe_service, params)
1051
+ req.send_request(options)
1052
+ end
1053
+
1054
+ # Disassociate a custom domain name from an AWS App Runner service.
1055
+ #
1056
+ # Certificates tracking domain validity are associated with a custom
1057
+ # domain and are stored in [AWS Certificate Manager (ACM)][1]. These
1058
+ # certificates aren't deleted as part of this action. App Runner delays
1059
+ # certificate deletion for 30 days after a domain is disassociated from
1060
+ # your service.
1061
+ #
1062
+ #
1063
+ #
1064
+ # [1]: https://docs.aws.amazon.com/acm/latest/userguide
1065
+ #
1066
+ # @option params [required, String] :service_arn
1067
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
1068
+ # to disassociate a custom domain name from.
1069
+ #
1070
+ # @option params [required, String] :domain_name
1071
+ # The domain name that you want to disassociate from the App Runner
1072
+ # service.
1073
+ #
1074
+ # @return [Types::DisassociateCustomDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1075
+ #
1076
+ # * {Types::DisassociateCustomDomainResponse#dns_target #dns_target} => String
1077
+ # * {Types::DisassociateCustomDomainResponse#service_arn #service_arn} => String
1078
+ # * {Types::DisassociateCustomDomainResponse#custom_domain #custom_domain} => Types::CustomDomain
1079
+ #
1080
+ # @example Request syntax with placeholder values
1081
+ #
1082
+ # resp = client.disassociate_custom_domain({
1083
+ # service_arn: "AppRunnerResourceArn", # required
1084
+ # domain_name: "DomainName", # required
1085
+ # })
1086
+ #
1087
+ # @example Response structure
1088
+ #
1089
+ # resp.dns_target #=> String
1090
+ # resp.service_arn #=> String
1091
+ # resp.custom_domain.domain_name #=> String
1092
+ # resp.custom_domain.enable_www_subdomain #=> Boolean
1093
+ # resp.custom_domain.certificate_validation_records #=> Array
1094
+ # resp.custom_domain.certificate_validation_records[0].name #=> String
1095
+ # resp.custom_domain.certificate_validation_records[0].type #=> String
1096
+ # resp.custom_domain.certificate_validation_records[0].value #=> String
1097
+ # resp.custom_domain.certificate_validation_records[0].status #=> String, one of "PENDING_VALIDATION", "SUCCESS", "FAILED"
1098
+ # resp.custom_domain.status #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "PENDING_CERTIFICATE_DNS_VALIDATION", "BINDING_CERTIFICATE"
1099
+ #
1100
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DisassociateCustomDomain AWS API Documentation
1101
+ #
1102
+ # @overload disassociate_custom_domain(params = {})
1103
+ # @param [Hash] params ({})
1104
+ def disassociate_custom_domain(params = {}, options = {})
1105
+ req = build_request(:disassociate_custom_domain, params)
1106
+ req.send_request(options)
1107
+ end
1108
+
1109
+ # Returns a list of AWS App Runner automatic scaling configurations in
1110
+ # your AWS account. You can query the revisions for a specific
1111
+ # configuration name or the revisions for all configurations in your
1112
+ # account. You can optionally query only the latest revision of each
1113
+ # requested name.
1114
+ #
1115
+ # @option params [String] :auto_scaling_configuration_name
1116
+ # The name of the App Runner auto scaling configuration that you want to
1117
+ # list. If specified, App Runner lists revisions that share this name.
1118
+ # If not specified, App Runner returns revisions of all configurations.
1119
+ #
1120
+ # @option params [Boolean] :latest_only
1121
+ # Set to `true` to list only the latest revision for each requested
1122
+ # configuration name.
1123
+ #
1124
+ # Keep as `false` to list all revisions for each requested configuration
1125
+ # name.
1126
+ #
1127
+ # Default: `false`
1128
+ #
1129
+ # @option params [Integer] :max_results
1130
+ # The maximum number of results to include in each response (result
1131
+ # page). It's used for a paginated request.
1132
+ #
1133
+ # If you don't specify `MaxResults`, the request retrieves all
1134
+ # available results in a single response.
1135
+ #
1136
+ # @option params [String] :next_token
1137
+ # A token from a previous result page. It's used for a paginated
1138
+ # request. The request retrieves the next result page. All other
1139
+ # parameter values must be identical to the ones that are specified in
1140
+ # the initial request.
1141
+ #
1142
+ # If you don't specify `NextToken`, the request retrieves the first
1143
+ # result page.
1144
+ #
1145
+ # @return [Types::ListAutoScalingConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1146
+ #
1147
+ # * {Types::ListAutoScalingConfigurationsResponse#auto_scaling_configuration_summary_list #auto_scaling_configuration_summary_list} => Array&lt;Types::AutoScalingConfigurationSummary&gt;
1148
+ # * {Types::ListAutoScalingConfigurationsResponse#next_token #next_token} => String
1149
+ #
1150
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1151
+ #
1152
+ # @example Request syntax with placeholder values
1153
+ #
1154
+ # resp = client.list_auto_scaling_configurations({
1155
+ # auto_scaling_configuration_name: "AutoScalingConfigurationName",
1156
+ # latest_only: false,
1157
+ # max_results: 1,
1158
+ # next_token: "NextToken",
1159
+ # })
1160
+ #
1161
+ # @example Response structure
1162
+ #
1163
+ # resp.auto_scaling_configuration_summary_list #=> Array
1164
+ # resp.auto_scaling_configuration_summary_list[0].auto_scaling_configuration_arn #=> String
1165
+ # resp.auto_scaling_configuration_summary_list[0].auto_scaling_configuration_name #=> String
1166
+ # resp.auto_scaling_configuration_summary_list[0].auto_scaling_configuration_revision #=> Integer
1167
+ # resp.next_token #=> String
1168
+ #
1169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListAutoScalingConfigurations AWS API Documentation
1170
+ #
1171
+ # @overload list_auto_scaling_configurations(params = {})
1172
+ # @param [Hash] params ({})
1173
+ def list_auto_scaling_configurations(params = {}, options = {})
1174
+ req = build_request(:list_auto_scaling_configurations, params)
1175
+ req.send_request(options)
1176
+ end
1177
+
1178
+ # Returns a list of AWS App Runner connections that are associated with
1179
+ # your AWS account.
1180
+ #
1181
+ # @option params [String] :connection_name
1182
+ # If specified, only this connection is returned. If not specified, the
1183
+ # result isn't filtered by name.
1184
+ #
1185
+ # @option params [Integer] :max_results
1186
+ # The maximum number of results to include in each response (result
1187
+ # page). Used for a paginated request.
1188
+ #
1189
+ # If you don't specify `MaxResults`, the request retrieves all
1190
+ # available results in a single response.
1191
+ #
1192
+ # @option params [String] :next_token
1193
+ # A token from a previous result page. Used for a paginated request. The
1194
+ # request retrieves the next result page. All other parameter values
1195
+ # must be identical to the ones specified in the initial request.
1196
+ #
1197
+ # If you don't specify `NextToken`, the request retrieves the first
1198
+ # result page.
1199
+ #
1200
+ # @return [Types::ListConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1201
+ #
1202
+ # * {Types::ListConnectionsResponse#connection_summary_list #connection_summary_list} => Array&lt;Types::ConnectionSummary&gt;
1203
+ # * {Types::ListConnectionsResponse#next_token #next_token} => String
1204
+ #
1205
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1206
+ #
1207
+ # @example Request syntax with placeholder values
1208
+ #
1209
+ # resp = client.list_connections({
1210
+ # connection_name: "ConnectionName",
1211
+ # max_results: 1,
1212
+ # next_token: "NextToken",
1213
+ # })
1214
+ #
1215
+ # @example Response structure
1216
+ #
1217
+ # resp.connection_summary_list #=> Array
1218
+ # resp.connection_summary_list[0].connection_name #=> String
1219
+ # resp.connection_summary_list[0].connection_arn #=> String
1220
+ # resp.connection_summary_list[0].provider_type #=> String, one of "GITHUB"
1221
+ # resp.connection_summary_list[0].status #=> String, one of "PENDING_HANDSHAKE", "AVAILABLE", "ERROR", "DELETED"
1222
+ # resp.connection_summary_list[0].created_at #=> Time
1223
+ # resp.next_token #=> String
1224
+ #
1225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListConnections AWS API Documentation
1226
+ #
1227
+ # @overload list_connections(params = {})
1228
+ # @param [Hash] params ({})
1229
+ def list_connections(params = {}, options = {})
1230
+ req = build_request(:list_connections, params)
1231
+ req.send_request(options)
1232
+ end
1233
+
1234
+ # Return a list of operations that occurred on an AWS App Runner
1235
+ # service.
1236
+ #
1237
+ # The resulting list of OperationSummary objects is sorted in reverse
1238
+ # chronological order. The first object on the list represents the last
1239
+ # started operation.
1240
+ #
1241
+ # @option params [required, String] :service_arn
1242
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
1243
+ # a list of operations for.
1244
+ #
1245
+ # @option params [String] :next_token
1246
+ # A token from a previous result page. It's used for a paginated
1247
+ # request. The request retrieves the next result page. All other
1248
+ # parameter values must be identical to the ones specified in the
1249
+ # initial request.
1250
+ #
1251
+ # If you don't specify `NextToken`, the request retrieves the first
1252
+ # result page.
1253
+ #
1254
+ # @option params [Integer] :max_results
1255
+ # The maximum number of results to include in each response (result
1256
+ # page). It's used for a paginated request.
1257
+ #
1258
+ # If you don't specify `MaxResults`, the request retrieves all
1259
+ # available results in a single response.
1260
+ #
1261
+ # @return [Types::ListOperationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1262
+ #
1263
+ # * {Types::ListOperationsResponse#operation_summary_list #operation_summary_list} => Array&lt;Types::OperationSummary&gt;
1264
+ # * {Types::ListOperationsResponse#next_token #next_token} => String
1265
+ #
1266
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1267
+ #
1268
+ # @example Request syntax with placeholder values
1269
+ #
1270
+ # resp = client.list_operations({
1271
+ # service_arn: "AppRunnerResourceArn", # required
1272
+ # next_token: "String",
1273
+ # max_results: 1,
1274
+ # })
1275
+ #
1276
+ # @example Response structure
1277
+ #
1278
+ # resp.operation_summary_list #=> Array
1279
+ # resp.operation_summary_list[0].id #=> String
1280
+ # resp.operation_summary_list[0].type #=> String, one of "START_DEPLOYMENT", "CREATE_SERVICE", "PAUSE_SERVICE", "RESUME_SERVICE", "DELETE_SERVICE"
1281
+ # resp.operation_summary_list[0].status #=> String, one of "PENDING", "IN_PROGRESS", "FAILED", "SUCCEEDED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_SUCCEEDED"
1282
+ # resp.operation_summary_list[0].target_arn #=> String
1283
+ # resp.operation_summary_list[0].started_at #=> Time
1284
+ # resp.operation_summary_list[0].ended_at #=> Time
1285
+ # resp.operation_summary_list[0].updated_at #=> Time
1286
+ # resp.next_token #=> String
1287
+ #
1288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListOperations AWS API Documentation
1289
+ #
1290
+ # @overload list_operations(params = {})
1291
+ # @param [Hash] params ({})
1292
+ def list_operations(params = {}, options = {})
1293
+ req = build_request(:list_operations, params)
1294
+ req.send_request(options)
1295
+ end
1296
+
1297
+ # Returns a list of running AWS App Runner services in your AWS account.
1298
+ #
1299
+ # @option params [String] :next_token
1300
+ # A token from a previous result page. Used for a paginated request. The
1301
+ # request retrieves the next result page. All other parameter values
1302
+ # must be identical to the ones specified in the initial request.
1303
+ #
1304
+ # If you don't specify `NextToken`, the request retrieves the first
1305
+ # result page.
1306
+ #
1307
+ # @option params [Integer] :max_results
1308
+ # The maximum number of results to include in each response (result
1309
+ # page). It's used for a paginated request.
1310
+ #
1311
+ # If you don't specify `MaxResults`, the request retrieves all
1312
+ # available results in a single response.
1313
+ #
1314
+ # @return [Types::ListServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1315
+ #
1316
+ # * {Types::ListServicesResponse#service_summary_list #service_summary_list} => Array&lt;Types::ServiceSummary&gt;
1317
+ # * {Types::ListServicesResponse#next_token #next_token} => String
1318
+ #
1319
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1320
+ #
1321
+ # @example Request syntax with placeholder values
1322
+ #
1323
+ # resp = client.list_services({
1324
+ # next_token: "String",
1325
+ # max_results: 1,
1326
+ # })
1327
+ #
1328
+ # @example Response structure
1329
+ #
1330
+ # resp.service_summary_list #=> Array
1331
+ # resp.service_summary_list[0].service_name #=> String
1332
+ # resp.service_summary_list[0].service_id #=> String
1333
+ # resp.service_summary_list[0].service_arn #=> String
1334
+ # resp.service_summary_list[0].service_url #=> String
1335
+ # resp.service_summary_list[0].created_at #=> Time
1336
+ # resp.service_summary_list[0].updated_at #=> Time
1337
+ # resp.service_summary_list[0].status #=> String, one of "CREATE_FAILED", "RUNNING", "DELETED", "DELETE_FAILED", "PAUSED", "OPERATION_IN_PROGRESS"
1338
+ # resp.next_token #=> String
1339
+ #
1340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListServices AWS API Documentation
1341
+ #
1342
+ # @overload list_services(params = {})
1343
+ # @param [Hash] params ({})
1344
+ def list_services(params = {}, options = {})
1345
+ req = build_request(:list_services, params)
1346
+ req.send_request(options)
1347
+ end
1348
+
1349
+ # List tags that are associated with for an AWS App Runner resource. The
1350
+ # response contains a list of tag key-value pairs.
1351
+ #
1352
+ # @option params [required, String] :resource_arn
1353
+ # The Amazon Resource Name (ARN) of the resource that a tag list is
1354
+ # requested for.
1355
+ #
1356
+ # It must be the ARN of an App Runner resource.
1357
+ #
1358
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1359
+ #
1360
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
1361
+ #
1362
+ # @example Request syntax with placeholder values
1363
+ #
1364
+ # resp = client.list_tags_for_resource({
1365
+ # resource_arn: "AppRunnerResourceArn", # required
1366
+ # })
1367
+ #
1368
+ # @example Response structure
1369
+ #
1370
+ # resp.tags #=> Array
1371
+ # resp.tags[0].key #=> String
1372
+ # resp.tags[0].value #=> String
1373
+ #
1374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListTagsForResource AWS API Documentation
1375
+ #
1376
+ # @overload list_tags_for_resource(params = {})
1377
+ # @param [Hash] params ({})
1378
+ def list_tags_for_resource(params = {}, options = {})
1379
+ req = build_request(:list_tags_for_resource, params)
1380
+ req.send_request(options)
1381
+ end
1382
+
1383
+ # Pause an active AWS App Runner service. App Runner reduces compute
1384
+ # capacity for the service to zero and loses state (for example,
1385
+ # ephemeral storage is removed).
1386
+ #
1387
+ # This is an asynchronous operation. On a successful call, you can use
1388
+ # the returned `OperationId` and the ListOperations call to track the
1389
+ # operation's progress.
1390
+ #
1391
+ # @option params [required, String] :service_arn
1392
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
1393
+ # to pause.
1394
+ #
1395
+ # @return [Types::PauseServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1396
+ #
1397
+ # * {Types::PauseServiceResponse#service #service} => Types::Service
1398
+ # * {Types::PauseServiceResponse#operation_id #operation_id} => String
1399
+ #
1400
+ # @example Request syntax with placeholder values
1401
+ #
1402
+ # resp = client.pause_service({
1403
+ # service_arn: "AppRunnerResourceArn", # required
1404
+ # })
1405
+ #
1406
+ # @example Response structure
1407
+ #
1408
+ # resp.service.service_name #=> String
1409
+ # resp.service.service_id #=> String
1410
+ # resp.service.service_arn #=> String
1411
+ # resp.service.service_url #=> String
1412
+ # resp.service.created_at #=> Time
1413
+ # resp.service.updated_at #=> Time
1414
+ # resp.service.deleted_at #=> Time
1415
+ # resp.service.status #=> String, one of "CREATE_FAILED", "RUNNING", "DELETED", "DELETE_FAILED", "PAUSED", "OPERATION_IN_PROGRESS"
1416
+ # resp.service.source_configuration.code_repository.repository_url #=> String
1417
+ # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1418
+ # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1419
+ # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1420
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
1421
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1422
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1423
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
1424
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
1425
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1426
+ # resp.service.source_configuration.image_repository.image_identifier #=> String
1427
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
1428
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1429
+ # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
1430
+ # resp.service.source_configuration.image_repository.image_configuration.port #=> String
1431
+ # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
1432
+ # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
1433
+ # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
1434
+ # resp.service.source_configuration.authentication_configuration.access_role_arn #=> String
1435
+ # resp.service.instance_configuration.cpu #=> String
1436
+ # resp.service.instance_configuration.memory #=> String
1437
+ # resp.service.instance_configuration.instance_role_arn #=> String
1438
+ # resp.service.encryption_configuration.kms_key #=> String
1439
+ # resp.service.health_check_configuration.protocol #=> String, one of "TCP", "HTTP"
1440
+ # resp.service.health_check_configuration.path #=> String
1441
+ # resp.service.health_check_configuration.interval #=> Integer
1442
+ # resp.service.health_check_configuration.timeout #=> Integer
1443
+ # resp.service.health_check_configuration.healthy_threshold #=> Integer
1444
+ # resp.service.health_check_configuration.unhealthy_threshold #=> Integer
1445
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1446
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1447
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1448
+ # resp.operation_id #=> String
1449
+ #
1450
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/PauseService AWS API Documentation
1451
+ #
1452
+ # @overload pause_service(params = {})
1453
+ # @param [Hash] params ({})
1454
+ def pause_service(params = {}, options = {})
1455
+ req = build_request(:pause_service, params)
1456
+ req.send_request(options)
1457
+ end
1458
+
1459
+ # Resume an active AWS App Runner service. App Runner provisions compute
1460
+ # capacity for the service.
1461
+ #
1462
+ # This is an asynchronous operation. On a successful call, you can use
1463
+ # the returned `OperationId` and the ListOperations call to track the
1464
+ # operation's progress.
1465
+ #
1466
+ # @option params [required, String] :service_arn
1467
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
1468
+ # to resume.
1469
+ #
1470
+ # @return [Types::ResumeServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1471
+ #
1472
+ # * {Types::ResumeServiceResponse#service #service} => Types::Service
1473
+ # * {Types::ResumeServiceResponse#operation_id #operation_id} => String
1474
+ #
1475
+ # @example Request syntax with placeholder values
1476
+ #
1477
+ # resp = client.resume_service({
1478
+ # service_arn: "AppRunnerResourceArn", # required
1479
+ # })
1480
+ #
1481
+ # @example Response structure
1482
+ #
1483
+ # resp.service.service_name #=> String
1484
+ # resp.service.service_id #=> String
1485
+ # resp.service.service_arn #=> String
1486
+ # resp.service.service_url #=> String
1487
+ # resp.service.created_at #=> Time
1488
+ # resp.service.updated_at #=> Time
1489
+ # resp.service.deleted_at #=> Time
1490
+ # resp.service.status #=> String, one of "CREATE_FAILED", "RUNNING", "DELETED", "DELETE_FAILED", "PAUSED", "OPERATION_IN_PROGRESS"
1491
+ # resp.service.source_configuration.code_repository.repository_url #=> String
1492
+ # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1493
+ # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1494
+ # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1495
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
1496
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1497
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1498
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
1499
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
1500
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1501
+ # resp.service.source_configuration.image_repository.image_identifier #=> String
1502
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
1503
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1504
+ # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
1505
+ # resp.service.source_configuration.image_repository.image_configuration.port #=> String
1506
+ # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
1507
+ # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
1508
+ # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
1509
+ # resp.service.source_configuration.authentication_configuration.access_role_arn #=> String
1510
+ # resp.service.instance_configuration.cpu #=> String
1511
+ # resp.service.instance_configuration.memory #=> String
1512
+ # resp.service.instance_configuration.instance_role_arn #=> String
1513
+ # resp.service.encryption_configuration.kms_key #=> String
1514
+ # resp.service.health_check_configuration.protocol #=> String, one of "TCP", "HTTP"
1515
+ # resp.service.health_check_configuration.path #=> String
1516
+ # resp.service.health_check_configuration.interval #=> Integer
1517
+ # resp.service.health_check_configuration.timeout #=> Integer
1518
+ # resp.service.health_check_configuration.healthy_threshold #=> Integer
1519
+ # resp.service.health_check_configuration.unhealthy_threshold #=> Integer
1520
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1521
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1522
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1523
+ # resp.operation_id #=> String
1524
+ #
1525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ResumeService AWS API Documentation
1526
+ #
1527
+ # @overload resume_service(params = {})
1528
+ # @param [Hash] params ({})
1529
+ def resume_service(params = {}, options = {})
1530
+ req = build_request(:resume_service, params)
1531
+ req.send_request(options)
1532
+ end
1533
+
1534
+ # Initiate a manual deployment of the latest commit in a source code
1535
+ # repository or the latest image in a source image repository to an AWS
1536
+ # App Runner service.
1537
+ #
1538
+ # For a source code repository, App Runner retrieves the commit and
1539
+ # builds a Docker image. For a source image repository, App Runner
1540
+ # retrieves the latest Docker image. In both cases, App Runner then
1541
+ # deploys the new image to your service and starts a new container
1542
+ # instance.
1543
+ #
1544
+ # This is an asynchronous operation. On a successful call, you can use
1545
+ # the returned `OperationId` and the ListOperations call to track the
1546
+ # operation's progress.
1547
+ #
1548
+ # @option params [required, String] :service_arn
1549
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
1550
+ # to manually deploy to.
1551
+ #
1552
+ # @return [Types::StartDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1553
+ #
1554
+ # * {Types::StartDeploymentResponse#operation_id #operation_id} => String
1555
+ #
1556
+ # @example Request syntax with placeholder values
1557
+ #
1558
+ # resp = client.start_deployment({
1559
+ # service_arn: "AppRunnerResourceArn", # required
1560
+ # })
1561
+ #
1562
+ # @example Response structure
1563
+ #
1564
+ # resp.operation_id #=> String
1565
+ #
1566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/StartDeployment AWS API Documentation
1567
+ #
1568
+ # @overload start_deployment(params = {})
1569
+ # @param [Hash] params ({})
1570
+ def start_deployment(params = {}, options = {})
1571
+ req = build_request(:start_deployment, params)
1572
+ req.send_request(options)
1573
+ end
1574
+
1575
+ # Add tags to, or update the tag values of, an App Runner resource. A
1576
+ # tag is a key-value pair.
1577
+ #
1578
+ # @option params [required, String] :resource_arn
1579
+ # The Amazon Resource Name (ARN) of the resource that you want to update
1580
+ # tags for.
1581
+ #
1582
+ # It must be the ARN of an App Runner resource.
1583
+ #
1584
+ # @option params [required, Array<Types::Tag>] :tags
1585
+ # A list of tag key-value pairs to add or update. If a key is new to the
1586
+ # resource, the tag is added with the provided value. If a key is
1587
+ # already associated with the resource, the value of the tag is updated.
1588
+ #
1589
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1590
+ #
1591
+ # @example Request syntax with placeholder values
1592
+ #
1593
+ # resp = client.tag_resource({
1594
+ # resource_arn: "AppRunnerResourceArn", # required
1595
+ # tags: [ # required
1596
+ # {
1597
+ # key: "TagKey",
1598
+ # value: "TagValue",
1599
+ # },
1600
+ # ],
1601
+ # })
1602
+ #
1603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/TagResource AWS API Documentation
1604
+ #
1605
+ # @overload tag_resource(params = {})
1606
+ # @param [Hash] params ({})
1607
+ def tag_resource(params = {}, options = {})
1608
+ req = build_request(:tag_resource, params)
1609
+ req.send_request(options)
1610
+ end
1611
+
1612
+ # Remove tags from an App Runner resource.
1613
+ #
1614
+ # @option params [required, String] :resource_arn
1615
+ # The Amazon Resource Name (ARN) of the resource that you want to remove
1616
+ # tags from.
1617
+ #
1618
+ # It must be the ARN of an App Runner resource.
1619
+ #
1620
+ # @option params [required, Array<String>] :tag_keys
1621
+ # A list of tag keys that you want to remove.
1622
+ #
1623
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1624
+ #
1625
+ # @example Request syntax with placeholder values
1626
+ #
1627
+ # resp = client.untag_resource({
1628
+ # resource_arn: "AppRunnerResourceArn", # required
1629
+ # tag_keys: ["TagKey"], # required
1630
+ # })
1631
+ #
1632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UntagResource AWS API Documentation
1633
+ #
1634
+ # @overload untag_resource(params = {})
1635
+ # @param [Hash] params ({})
1636
+ def untag_resource(params = {}, options = {})
1637
+ req = build_request(:untag_resource, params)
1638
+ req.send_request(options)
1639
+ end
1640
+
1641
+ # Update an AWS App Runner service. You can update the source
1642
+ # configuration and instance configuration of the service. You can also
1643
+ # update the ARN of the auto scaling configuration resource that's
1644
+ # associated with the service. However, you can't change the name or
1645
+ # the encryption configuration of the service. These can be set only
1646
+ # when you create the service.
1647
+ #
1648
+ # To update the tags applied to your service, use the separate actions
1649
+ # TagResource and UntagResource.
1650
+ #
1651
+ # This is an asynchronous operation. On a successful call, you can use
1652
+ # the returned `OperationId` and the ListOperations call to track the
1653
+ # operation's progress.
1654
+ #
1655
+ # @option params [required, String] :service_arn
1656
+ # The Amazon Resource Name (ARN) of the App Runner service that you want
1657
+ # to update.
1658
+ #
1659
+ # @option params [Types::SourceConfiguration] :source_configuration
1660
+ # The source configuration to apply to the App Runner service.
1661
+ #
1662
+ # You can change the configuration of the code or image repository that
1663
+ # the service uses. However, you can't switch from code to image or the
1664
+ # other way around. This means that you must provide the same structure
1665
+ # member of `SourceConfiguration` that you originally included when you
1666
+ # created the service. Specifically, you can include either
1667
+ # `CodeRepository` or `ImageRepository`. To update the source
1668
+ # configuration, set the values to members of the structure that you
1669
+ # include.
1670
+ #
1671
+ # @option params [Types::InstanceConfiguration] :instance_configuration
1672
+ # The runtime configuration to apply to instances (scaling units) of the
1673
+ # App Runner service.
1674
+ #
1675
+ # @option params [String] :auto_scaling_configuration_arn
1676
+ # The Amazon Resource Name (ARN) of an App Runner automatic scaling
1677
+ # configuration resource that you want to associate with your service.
1678
+ #
1679
+ # @option params [Types::HealthCheckConfiguration] :health_check_configuration
1680
+ # The settings for the health check that AWS App Runner performs to
1681
+ # monitor the health of your service.
1682
+ #
1683
+ # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1684
+ #
1685
+ # * {Types::UpdateServiceResponse#service #service} => Types::Service
1686
+ # * {Types::UpdateServiceResponse#operation_id #operation_id} => String
1687
+ #
1688
+ # @example Request syntax with placeholder values
1689
+ #
1690
+ # resp = client.update_service({
1691
+ # service_arn: "AppRunnerResourceArn", # required
1692
+ # source_configuration: {
1693
+ # code_repository: {
1694
+ # repository_url: "String", # required
1695
+ # source_code_version: { # required
1696
+ # type: "BRANCH", # required, accepts BRANCH
1697
+ # value: "String", # required
1698
+ # },
1699
+ # code_configuration: {
1700
+ # configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
1701
+ # code_configuration_values: {
1702
+ # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
1703
+ # build_command: "BuildCommand",
1704
+ # start_command: "StartCommand",
1705
+ # port: "String",
1706
+ # runtime_environment_variables: {
1707
+ # "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
1708
+ # },
1709
+ # },
1710
+ # },
1711
+ # },
1712
+ # image_repository: {
1713
+ # image_identifier: "ImageIdentifier", # required
1714
+ # image_configuration: {
1715
+ # runtime_environment_variables: {
1716
+ # "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
1717
+ # },
1718
+ # start_command: "String",
1719
+ # port: "String",
1720
+ # },
1721
+ # image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
1722
+ # },
1723
+ # auto_deployments_enabled: false,
1724
+ # authentication_configuration: {
1725
+ # connection_arn: "AppRunnerResourceArn",
1726
+ # access_role_arn: "RoleArn",
1727
+ # },
1728
+ # },
1729
+ # instance_configuration: {
1730
+ # cpu: "Cpu",
1731
+ # memory: "Memory",
1732
+ # instance_role_arn: "RoleArn",
1733
+ # },
1734
+ # auto_scaling_configuration_arn: "AppRunnerResourceArn",
1735
+ # health_check_configuration: {
1736
+ # protocol: "TCP", # accepts TCP, HTTP
1737
+ # path: "String",
1738
+ # interval: 1,
1739
+ # timeout: 1,
1740
+ # healthy_threshold: 1,
1741
+ # unhealthy_threshold: 1,
1742
+ # },
1743
+ # })
1744
+ #
1745
+ # @example Response structure
1746
+ #
1747
+ # resp.service.service_name #=> String
1748
+ # resp.service.service_id #=> String
1749
+ # resp.service.service_arn #=> String
1750
+ # resp.service.service_url #=> String
1751
+ # resp.service.created_at #=> Time
1752
+ # resp.service.updated_at #=> Time
1753
+ # resp.service.deleted_at #=> Time
1754
+ # resp.service.status #=> String, one of "CREATE_FAILED", "RUNNING", "DELETED", "DELETE_FAILED", "PAUSED", "OPERATION_IN_PROGRESS"
1755
+ # resp.service.source_configuration.code_repository.repository_url #=> String
1756
+ # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1757
+ # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1758
+ # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1759
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
1760
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1761
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1762
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
1763
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables #=> Hash
1764
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1765
+ # resp.service.source_configuration.image_repository.image_identifier #=> String
1766
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables #=> Hash
1767
+ # resp.service.source_configuration.image_repository.image_configuration.runtime_environment_variables["RuntimeEnvironmentVariablesKey"] #=> String
1768
+ # resp.service.source_configuration.image_repository.image_configuration.start_command #=> String
1769
+ # resp.service.source_configuration.image_repository.image_configuration.port #=> String
1770
+ # resp.service.source_configuration.image_repository.image_repository_type #=> String, one of "ECR", "ECR_PUBLIC"
1771
+ # resp.service.source_configuration.auto_deployments_enabled #=> Boolean
1772
+ # resp.service.source_configuration.authentication_configuration.connection_arn #=> String
1773
+ # resp.service.source_configuration.authentication_configuration.access_role_arn #=> String
1774
+ # resp.service.instance_configuration.cpu #=> String
1775
+ # resp.service.instance_configuration.memory #=> String
1776
+ # resp.service.instance_configuration.instance_role_arn #=> String
1777
+ # resp.service.encryption_configuration.kms_key #=> String
1778
+ # resp.service.health_check_configuration.protocol #=> String, one of "TCP", "HTTP"
1779
+ # resp.service.health_check_configuration.path #=> String
1780
+ # resp.service.health_check_configuration.interval #=> Integer
1781
+ # resp.service.health_check_configuration.timeout #=> Integer
1782
+ # resp.service.health_check_configuration.healthy_threshold #=> Integer
1783
+ # resp.service.health_check_configuration.unhealthy_threshold #=> Integer
1784
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_arn #=> String
1785
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_name #=> String
1786
+ # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1787
+ # resp.operation_id #=> String
1788
+ #
1789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateService AWS API Documentation
1790
+ #
1791
+ # @overload update_service(params = {})
1792
+ # @param [Hash] params ({})
1793
+ def update_service(params = {}, options = {})
1794
+ req = build_request(:update_service, params)
1795
+ req.send_request(options)
1796
+ end
1797
+
1798
+ # @!endgroup
1799
+
1800
+ # @param params ({})
1801
+ # @api private
1802
+ def build_request(operation_name, params = {})
1803
+ handlers = @handlers.for(operation_name)
1804
+ context = Seahorse::Client::RequestContext.new(
1805
+ operation_name: operation_name,
1806
+ operation: config.api.operation(operation_name),
1807
+ client: self,
1808
+ params: params,
1809
+ config: config)
1810
+ context[:gem_name] = 'aws-sdk-apprunner'
1811
+ context[:gem_version] = '1.0.0'
1812
+ Seahorse::Client::Request.new(handlers, context)
1813
+ end
1814
+
1815
+ # @api private
1816
+ # @deprecated
1817
+ def waiter_names
1818
+ []
1819
+ end
1820
+
1821
+ class << self
1822
+
1823
+ # @api private
1824
+ attr_reader :identifier
1825
+
1826
+ # @api private
1827
+ def errors_module
1828
+ Errors
1829
+ end
1830
+
1831
+ end
1832
+ end
1833
+ end