aws-sdk-amplifygen3 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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-amplifygen3/client.rb +4558 -0
- data/lib/aws-sdk-amplifygen3/client_api.rb +3442 -0
- data/lib/aws-sdk-amplifygen3/customizations.rb +0 -0
- data/lib/aws-sdk-amplifygen3/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-amplifygen3/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-amplifygen3/endpoints.rb +20 -0
- data/lib/aws-sdk-amplifygen3/errors.rb +224 -0
- data/lib/aws-sdk-amplifygen3/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-amplifygen3/resource.rb +26 -0
- data/lib/aws-sdk-amplifygen3/types.rb +7230 -0
- data/lib/aws-sdk-amplifygen3/waiters.rb +15 -0
- data/lib/aws-sdk-amplifygen3.rb +62 -0
- data/sig/client.rbs +1408 -0
- data/sig/errors.rbs +49 -0
- data/sig/params.rbs +52 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +2189 -0
- data/sig/waiters.rbs +13 -0
- metadata +98 -0
|
@@ -0,0 +1,4558 @@
|
|
|
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'
|
|
11
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
|
12
|
+
require 'aws-sdk-core/plugins/logging'
|
|
13
|
+
require 'aws-sdk-core/plugins/param_converter'
|
|
14
|
+
require 'aws-sdk-core/plugins/param_validator'
|
|
15
|
+
require 'aws-sdk-core/plugins/user_agent'
|
|
16
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
|
17
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
|
18
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
|
19
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
|
20
|
+
require 'aws-sdk-core/plugins/endpoint_discovery'
|
|
21
|
+
require 'aws-sdk-core/plugins/endpoint_pattern'
|
|
22
|
+
require 'aws-sdk-core/plugins/response_paging'
|
|
23
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
|
24
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
|
26
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
|
27
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin'
|
|
28
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
|
29
|
+
require 'aws-sdk-core/plugins/transfer_encoding'
|
|
30
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
|
31
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
|
32
|
+
require 'aws-sdk-core/plugins/request_compression'
|
|
33
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
|
34
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
|
35
|
+
require 'aws-sdk-core/plugins/telemetry'
|
|
36
|
+
require 'aws-sdk-core/plugins/sign'
|
|
37
|
+
require 'aws-sdk-core/plugins/protocols/rest_json'
|
|
38
|
+
|
|
39
|
+
module Aws::AmplifyGen3
|
|
40
|
+
# An API client for AmplifyGen3. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
41
|
+
#
|
|
42
|
+
# client = Aws::AmplifyGen3::Client.new(
|
|
43
|
+
# region: region_name,
|
|
44
|
+
# credentials: credentials,
|
|
45
|
+
# # ...
|
|
46
|
+
# )
|
|
47
|
+
#
|
|
48
|
+
# For details on configuring region and credentials see
|
|
49
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
|
50
|
+
#
|
|
51
|
+
# See {#initialize} for a full list of supported configuration options.
|
|
52
|
+
class Client < Seahorse::Client::Base
|
|
53
|
+
|
|
54
|
+
include Aws::ClientStubs
|
|
55
|
+
|
|
56
|
+
@identifier = :amplifygen3
|
|
57
|
+
|
|
58
|
+
set_api(ClientApi::API)
|
|
59
|
+
|
|
60
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
|
61
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
|
62
|
+
add_plugin(Aws::Plugins::Logging)
|
|
63
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
|
64
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
|
65
|
+
add_plugin(Aws::Plugins::UserAgent)
|
|
66
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
|
67
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
|
68
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
|
69
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
|
70
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
|
71
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
|
72
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
|
73
|
+
add_plugin(Aws::Plugins::StubResponses)
|
|
74
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
|
75
|
+
add_plugin(Aws::Plugins::InvocationId)
|
|
76
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
|
77
|
+
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
78
|
+
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
79
|
+
add_plugin(Aws::Plugins::TransferEncoding)
|
|
80
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
|
81
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
|
82
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
|
83
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
|
84
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
|
85
|
+
add_plugin(Aws::Plugins::Telemetry)
|
|
86
|
+
add_plugin(Aws::Plugins::Sign)
|
|
87
|
+
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
88
|
+
add_plugin(Aws::AmplifyGen3::Plugins::Endpoints)
|
|
89
|
+
|
|
90
|
+
# @overload initialize(options)
|
|
91
|
+
# @param [Hash] options
|
|
92
|
+
#
|
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
|
95
|
+
# class name or an instance of a plugin class.
|
|
96
|
+
#
|
|
97
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
|
98
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
|
99
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
|
100
|
+
#
|
|
101
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
102
|
+
# credentials.
|
|
103
|
+
#
|
|
104
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
|
105
|
+
# shared file, such as `~/.aws/config`.
|
|
106
|
+
#
|
|
107
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
108
|
+
#
|
|
109
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
|
110
|
+
# assume a role after providing credentials via the web.
|
|
111
|
+
#
|
|
112
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
|
113
|
+
# access token generated from `aws login`.
|
|
114
|
+
#
|
|
115
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
|
116
|
+
# process that outputs to stdout.
|
|
117
|
+
#
|
|
118
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
119
|
+
# from an EC2 IMDS on an EC2 instance.
|
|
120
|
+
#
|
|
121
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
122
|
+
# instances running in ECS.
|
|
123
|
+
#
|
|
124
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
125
|
+
# from the Cognito Identity service.
|
|
126
|
+
#
|
|
127
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
|
128
|
+
#
|
|
129
|
+
# * `Aws.config[:credentials]`
|
|
130
|
+
#
|
|
131
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
|
132
|
+
# `:account_id` options.
|
|
133
|
+
#
|
|
134
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
|
135
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
|
136
|
+
#
|
|
137
|
+
# * `~/.aws/credentials`
|
|
138
|
+
#
|
|
139
|
+
# * `~/.aws/config`
|
|
140
|
+
#
|
|
141
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
|
142
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
|
143
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
|
144
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
|
145
|
+
#
|
|
146
|
+
# @option options [required, String] :region
|
|
147
|
+
# The AWS region to connect to. The configured `:region` is
|
|
148
|
+
# used to determine the service `:endpoint`. When not passed,
|
|
149
|
+
# a default `:region` is searched for in the following locations:
|
|
150
|
+
#
|
|
151
|
+
# * `Aws.config[:region]`
|
|
152
|
+
# * `ENV['AWS_REGION']`
|
|
153
|
+
# * `ENV['AMAZON_REGION']`
|
|
154
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
|
155
|
+
# * `~/.aws/credentials`
|
|
156
|
+
# * `~/.aws/config`
|
|
157
|
+
#
|
|
158
|
+
# @option options [String] :access_key_id
|
|
159
|
+
#
|
|
160
|
+
# @option options [String] :account_id
|
|
161
|
+
#
|
|
162
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
|
163
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
|
164
|
+
# the background every 60 secs (default). Defaults to `false`.
|
|
165
|
+
#
|
|
166
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
|
167
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
|
168
|
+
# until there is sufficent client side capacity to retry the request.
|
|
169
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
|
170
|
+
# not retry instead of sleeping.
|
|
171
|
+
#
|
|
172
|
+
# @option options [Array<String>] :auth_scheme_preference
|
|
173
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
|
174
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
|
175
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
|
176
|
+
#
|
|
177
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
|
178
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
|
179
|
+
# this client.
|
|
180
|
+
#
|
|
181
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
|
182
|
+
# Allows you to provide an identifier for this client which will be attached to
|
|
183
|
+
# all generated client side metrics. Defaults to an empty string.
|
|
184
|
+
#
|
|
185
|
+
# @option options [String] :client_side_monitoring_host ("127.0.0.1")
|
|
186
|
+
# Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
|
|
187
|
+
# side monitoring agent is running on, where client metrics will be published via UDP.
|
|
188
|
+
#
|
|
189
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
|
190
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
|
191
|
+
# agent is running on, where client metrics will be published via UDP.
|
|
192
|
+
#
|
|
193
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
|
194
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
|
195
|
+
# will use the Client Side Monitoring Agent Publisher.
|
|
196
|
+
#
|
|
197
|
+
# @option options [Boolean] :convert_params (true)
|
|
198
|
+
# When `true`, an attempt is made to coerce request parameters into
|
|
199
|
+
# the required types.
|
|
200
|
+
#
|
|
201
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
205
|
+
#
|
|
206
|
+
# @option options [String] :defaults_mode ("legacy")
|
|
207
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
208
|
+
# accepted modes and the configuration defaults that are included.
|
|
209
|
+
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
216
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
217
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
218
|
+
#
|
|
219
|
+
# @option options [Boolean] :disable_request_compression (false)
|
|
220
|
+
# When set to 'true' the request body will not be compressed
|
|
221
|
+
# for supported operations.
|
|
222
|
+
#
|
|
223
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
|
224
|
+
# Normally you should not configure the `:endpoint` option
|
|
225
|
+
# directly. This is normally constructed from the `:region`
|
|
226
|
+
# option. Configuring `:endpoint` is normally reserved for
|
|
227
|
+
# connecting to test or custom endpoints. The endpoint should
|
|
228
|
+
# be a URI formatted like:
|
|
229
|
+
#
|
|
230
|
+
# 'http://example.com'
|
|
231
|
+
# 'https://example.com'
|
|
232
|
+
# 'http://example.com:123'
|
|
233
|
+
#
|
|
234
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
235
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
236
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
|
237
|
+
#
|
|
238
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
|
239
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
|
240
|
+
#
|
|
241
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
|
242
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
|
243
|
+
# Use this option to config the time interval in seconds for making
|
|
244
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
|
245
|
+
#
|
|
246
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
|
247
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
248
|
+
#
|
|
249
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
|
250
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
|
251
|
+
# variables and the shared configuration file.
|
|
252
|
+
#
|
|
253
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
254
|
+
# The log formatter.
|
|
255
|
+
#
|
|
256
|
+
# @option options [Symbol] :log_level (:info)
|
|
257
|
+
# The log level to send messages to the `:logger` at.
|
|
258
|
+
#
|
|
259
|
+
# @option options [Logger] :logger
|
|
260
|
+
# The Logger instance to send log messages to. If this option
|
|
261
|
+
# is not set, logging will be disabled.
|
|
262
|
+
#
|
|
263
|
+
# @option options [Integer] :max_attempts (3)
|
|
264
|
+
# An integer representing the maximum number attempts that will be made for
|
|
265
|
+
# a single request, including the initial attempt. For example,
|
|
266
|
+
# setting this value to 5 will result in a request being retried up to
|
|
267
|
+
# 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
|
|
268
|
+
# except for DynamoDB and DynamoDB Streams, which default to 4.
|
|
269
|
+
#
|
|
270
|
+
# @option options [String] :profile ("default")
|
|
271
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
|
272
|
+
# When not specified, 'default' is used.
|
|
273
|
+
#
|
|
274
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
|
275
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
|
276
|
+
#
|
|
277
|
+
# * `when_supported` - (default) When set, a checksum will be
|
|
278
|
+
# calculated for all request payloads of operations modeled with the
|
|
279
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
|
280
|
+
# `requestAlgorithmMember` is modeled.
|
|
281
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
|
282
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
|
283
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
|
284
|
+
# is modeled and supplied.
|
|
285
|
+
#
|
|
286
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
|
287
|
+
# The minimum size in bytes that triggers compression for request
|
|
288
|
+
# bodies. The value must be non-negative integer value between 0
|
|
289
|
+
# and 10485780 bytes inclusive.
|
|
290
|
+
#
|
|
291
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
|
292
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
|
293
|
+
#
|
|
294
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
|
295
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
|
296
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
|
297
|
+
# are supported.
|
|
298
|
+
# * `when_required` - When set, checksum validation is not performed on
|
|
299
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
|
300
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
|
301
|
+
#
|
|
302
|
+
# @option options [Proc] :retry_backoff
|
|
303
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
|
304
|
+
# This option is only used in the `legacy` retry mode.
|
|
305
|
+
#
|
|
306
|
+
# @option options [Float] :retry_base_delay (0.3)
|
|
307
|
+
# The base delay in seconds used by the default backoff function. This option
|
|
308
|
+
# is only used in the `legacy` retry mode.
|
|
309
|
+
#
|
|
310
|
+
# @option options [Symbol] :retry_jitter (:none)
|
|
311
|
+
# A delay randomiser function used by the default backoff function.
|
|
312
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
|
313
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
|
314
|
+
# in the `legacy` retry mode.
|
|
315
|
+
#
|
|
316
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
|
317
|
+
#
|
|
318
|
+
# @option options [Integer] :retry_limit (3)
|
|
319
|
+
# The maximum number of times to retry failed requests. Only
|
|
320
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
|
321
|
+
# are retried. Generally, these are throttling errors, data
|
|
322
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
|
323
|
+
# endpoint discovery, and errors from expired credentials.
|
|
324
|
+
# This option is only used in the `legacy` retry mode.
|
|
325
|
+
#
|
|
326
|
+
# @option options [Integer] :retry_max_delay (0)
|
|
327
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
|
328
|
+
# used by the default backoff function. This option is only used in the
|
|
329
|
+
# `legacy` retry mode.
|
|
330
|
+
#
|
|
331
|
+
# @option options [String] :retry_mode ("standard")
|
|
332
|
+
# Specifies which retry algorithm to use. Values are:
|
|
333
|
+
#
|
|
334
|
+
# * `legacy` - The pre-existing retry behavior.
|
|
335
|
+
#
|
|
336
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
337
|
+
# This includes support for retry quotas, which limit the number of
|
|
338
|
+
# unsuccessful retries a client can make. This is the default value
|
|
339
|
+
# if no retry mode is provided.
|
|
340
|
+
#
|
|
341
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
342
|
+
# `standard` mode along with automatic client side throttling.
|
|
343
|
+
#
|
|
344
|
+
# @option options [String] :sdk_ua_app_id
|
|
345
|
+
# A unique and opaque application ID that is appended to the
|
|
346
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
|
347
|
+
# maximum length of 50. This variable is sourced from environment
|
|
348
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
|
349
|
+
#
|
|
350
|
+
# @option options [String] :secret_access_key
|
|
351
|
+
#
|
|
352
|
+
# @option options [String] :session_token
|
|
353
|
+
#
|
|
354
|
+
# @option options [Array] :sigv4a_signing_region_set
|
|
355
|
+
# A list of regions that should be signed with SigV4a signing. When
|
|
356
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
|
357
|
+
# in the following locations:
|
|
358
|
+
#
|
|
359
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
|
360
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
|
361
|
+
# * `~/.aws/config`
|
|
362
|
+
#
|
|
363
|
+
# @option options [Boolean] :stub_responses (false)
|
|
364
|
+
# Causes the client to return stubbed responses. By default
|
|
365
|
+
# fake responses are generated and returned. You can specify
|
|
366
|
+
# the response data to return or errors to raise by calling
|
|
367
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
|
368
|
+
#
|
|
369
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
370
|
+
# requests are made, and retries are disabled.
|
|
371
|
+
#
|
|
372
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
|
373
|
+
# Allows you to provide a telemetry provider, which is used to
|
|
374
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
|
375
|
+
# will not record or emit any telemetry data. The SDK supports the
|
|
376
|
+
# following telemetry providers:
|
|
377
|
+
#
|
|
378
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
|
379
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
|
380
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
|
381
|
+
#
|
|
382
|
+
# @option options [Aws::TokenProvider] :token_provider
|
|
383
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
|
384
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
|
385
|
+
#
|
|
386
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
|
387
|
+
# tokens.
|
|
388
|
+
#
|
|
389
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
|
390
|
+
# access token generated from `aws login`.
|
|
391
|
+
#
|
|
392
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
|
393
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
|
394
|
+
#
|
|
395
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
|
396
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
397
|
+
# will be used if available.
|
|
398
|
+
#
|
|
399
|
+
# @option options [Boolean] :use_fips_endpoint
|
|
400
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
|
401
|
+
# When a `fips` region is used, the region is normalized and this config
|
|
402
|
+
# is set to `true`.
|
|
403
|
+
#
|
|
404
|
+
# @option options [Boolean] :validate_params (true)
|
|
405
|
+
# When `true`, request parameters are validated before
|
|
406
|
+
# sending the request.
|
|
407
|
+
#
|
|
408
|
+
# @option options [Aws::AmplifyGen3::EndpointProvider] :endpoint_provider
|
|
409
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
|
410
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
|
411
|
+
# `Aws::AmplifyGen3::EndpointParameters`.
|
|
412
|
+
#
|
|
413
|
+
# @option options [Float] :http_continue_timeout (1)
|
|
414
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
|
415
|
+
# request body. This option has no effect unless the request has "Expect"
|
|
416
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
|
417
|
+
# behaviour. This value can safely be set per request on the session.
|
|
418
|
+
#
|
|
419
|
+
# @option options [Float] :http_idle_timeout (5)
|
|
420
|
+
# The number of seconds a connection is allowed to sit idle before it
|
|
421
|
+
# is considered stale. Stale connections are closed and removed from the
|
|
422
|
+
# pool before making a request.
|
|
423
|
+
#
|
|
424
|
+
# @option options [Float] :http_open_timeout (15)
|
|
425
|
+
# The default number of seconds to wait for response data.
|
|
426
|
+
# This value can safely be set per-request on the session.
|
|
427
|
+
#
|
|
428
|
+
# @option options [URI::HTTP,String] :http_proxy
|
|
429
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
|
430
|
+
#
|
|
431
|
+
# @option options [Float] :http_read_timeout (60)
|
|
432
|
+
# The default number of seconds to wait for response data.
|
|
433
|
+
# This value can safely be set per-request on the session.
|
|
434
|
+
#
|
|
435
|
+
# @option options [Boolean] :http_wire_trace (false)
|
|
436
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
|
437
|
+
#
|
|
438
|
+
# @option options [Proc] :on_chunk_received
|
|
439
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
440
|
+
# of the response body is received. It provides three arguments: the chunk,
|
|
441
|
+
# the number of bytes received, and the total number of
|
|
442
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
|
443
|
+
#
|
|
444
|
+
# @option options [Proc] :on_chunk_sent
|
|
445
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
446
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
|
447
|
+
# the number of bytes read from the body, and the total number of
|
|
448
|
+
# bytes in the body.
|
|
449
|
+
#
|
|
450
|
+
# @option options [Boolean] :raise_response_errors (true)
|
|
451
|
+
# When `true`, response errors are raised.
|
|
452
|
+
#
|
|
453
|
+
# @option options [String] :ssl_ca_bundle
|
|
454
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
|
455
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
|
456
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
|
457
|
+
#
|
|
458
|
+
# @option options [String] :ssl_ca_directory
|
|
459
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
|
460
|
+
# authority files for verifying peer certificates. If you do
|
|
461
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
|
462
|
+
# default will be used if available.
|
|
463
|
+
#
|
|
464
|
+
# @option options [String] :ssl_ca_store
|
|
465
|
+
# Sets the X509::Store to verify peer certificate.
|
|
466
|
+
#
|
|
467
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
|
468
|
+
# Sets a client certificate when creating http connections.
|
|
469
|
+
#
|
|
470
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
|
471
|
+
# Sets a client key when creating http connections.
|
|
472
|
+
#
|
|
473
|
+
# @option options [Float] :ssl_timeout
|
|
474
|
+
# Sets the SSL timeout in seconds
|
|
475
|
+
#
|
|
476
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
|
477
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
|
478
|
+
#
|
|
479
|
+
def initialize(*args)
|
|
480
|
+
super
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# @!group API Operations
|
|
484
|
+
|
|
485
|
+
# Accepts a deployment for a specific commit from a forked-repository
|
|
486
|
+
# pull request. Each commit must be accepted before it can be deployed
|
|
487
|
+
# to a preview environment.
|
|
488
|
+
#
|
|
489
|
+
# @option params [required, String] :app_name
|
|
490
|
+
# The name of the app.
|
|
491
|
+
#
|
|
492
|
+
# @option params [required, String] :environment_name
|
|
493
|
+
# The name of the environment.
|
|
494
|
+
#
|
|
495
|
+
# @option params [required, String] :commit_sha
|
|
496
|
+
# The full commit SHA in the forked-repository pull request to accept.
|
|
497
|
+
#
|
|
498
|
+
# @option params [String] :pull_request_number
|
|
499
|
+
# The number of the forked-repository pull request.
|
|
500
|
+
#
|
|
501
|
+
# @return [Types::AcceptForkPullRequestDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
502
|
+
#
|
|
503
|
+
# * {Types::AcceptForkPullRequestDeploymentResponse#outcome #outcome} => String
|
|
504
|
+
#
|
|
505
|
+
# @example Request syntax with placeholder values
|
|
506
|
+
#
|
|
507
|
+
# resp = client.accept_fork_pull_request_deployment({
|
|
508
|
+
# app_name: "AppName", # required
|
|
509
|
+
# environment_name: "EnvironmentName", # required
|
|
510
|
+
# commit_sha: "CommitSha", # required
|
|
511
|
+
# pull_request_number: "PullRequestNumber",
|
|
512
|
+
# })
|
|
513
|
+
#
|
|
514
|
+
# @example Response structure
|
|
515
|
+
#
|
|
516
|
+
# resp.outcome #=> String, one of "ACCEPTED", "ALREADY_ACCEPTED"
|
|
517
|
+
#
|
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/AcceptForkPullRequestDeployment AWS API Documentation
|
|
519
|
+
#
|
|
520
|
+
# @overload accept_fork_pull_request_deployment(params = {})
|
|
521
|
+
# @param [Hash] params ({})
|
|
522
|
+
def accept_fork_pull_request_deployment(params = {}, options = {})
|
|
523
|
+
req = build_request(:accept_fork_pull_request_deployment, params)
|
|
524
|
+
req.send_request(options)
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
# Cancels an in-progress gradual rollout for an alias of an environment
|
|
528
|
+
# and returns traffic to the previous deployment.
|
|
529
|
+
#
|
|
530
|
+
# @option params [required, String] :app_name
|
|
531
|
+
# The name of the app.
|
|
532
|
+
#
|
|
533
|
+
# @option params [required, String] :environment_name
|
|
534
|
+
# The name of the environment.
|
|
535
|
+
#
|
|
536
|
+
# @option params [required, String] :alias_name
|
|
537
|
+
# The name of the alias.
|
|
538
|
+
#
|
|
539
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
540
|
+
#
|
|
541
|
+
# @example Request syntax with placeholder values
|
|
542
|
+
#
|
|
543
|
+
# resp = client.cancel_gradual_rollout({
|
|
544
|
+
# app_name: "AppName", # required
|
|
545
|
+
# environment_name: "EnvironmentName", # required
|
|
546
|
+
# alias_name: "AliasName", # required
|
|
547
|
+
# })
|
|
548
|
+
#
|
|
549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/CancelGradualRollout AWS API Documentation
|
|
550
|
+
#
|
|
551
|
+
# @overload cancel_gradual_rollout(params = {})
|
|
552
|
+
# @param [Hash] params ({})
|
|
553
|
+
def cancel_gradual_rollout(params = {}, options = {})
|
|
554
|
+
req = build_request(:cancel_gradual_rollout, params)
|
|
555
|
+
req.send_request(options)
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
# Creates a new Amplify Gen 3 app.
|
|
559
|
+
#
|
|
560
|
+
# @option params [required, String] :app_name
|
|
561
|
+
# The name of the app.
|
|
562
|
+
#
|
|
563
|
+
# @option params [Types::AppSourceConfigRequest] :source_config
|
|
564
|
+
# The source repository configuration for the app.
|
|
565
|
+
#
|
|
566
|
+
# @option params [Types::AppWebConfigRequest] :web
|
|
567
|
+
# The web hosting settings for the app.
|
|
568
|
+
#
|
|
569
|
+
# @option params [Types::AppBackendRequest] :backend
|
|
570
|
+
# The backend settings for the app. Omit this for a frontend-only app.
|
|
571
|
+
#
|
|
572
|
+
# @option params [required, Array<Types::DefaultEnvironmentConfiguration>] :default_environments_configuration
|
|
573
|
+
# The settings for the Production and Preview environments that Amplify
|
|
574
|
+
# creates for the app. Specify one entry for each environment.
|
|
575
|
+
#
|
|
576
|
+
# @option params [Hash<String,String>] :tags
|
|
577
|
+
# The tags to apply to the resource.
|
|
578
|
+
#
|
|
579
|
+
# @return [Types::CreateAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
580
|
+
#
|
|
581
|
+
# * {Types::CreateAppResponse#app_arn #app_arn} => String
|
|
582
|
+
#
|
|
583
|
+
# @example Request syntax with placeholder values
|
|
584
|
+
#
|
|
585
|
+
# resp = client.create_app({
|
|
586
|
+
# app_name: "AppName", # required
|
|
587
|
+
# source_config: {
|
|
588
|
+
# git_hub_source: {
|
|
589
|
+
# repository_url: "AppGitHubSourceRequestRepositoryUrlString", # required
|
|
590
|
+
# production_branch: "AppGitHubSourceRequestProductionBranchString", # required
|
|
591
|
+
# },
|
|
592
|
+
# git_lab_source: {
|
|
593
|
+
# repository_url: "AppGitLabSourceRequestRepositoryUrlString", # required
|
|
594
|
+
# owner: "AppGitLabSourceRequestOwnerString", # required
|
|
595
|
+
# production_branch: "AppGitLabSourceRequestProductionBranchString", # required
|
|
596
|
+
# },
|
|
597
|
+
# },
|
|
598
|
+
# web: {
|
|
599
|
+
# build_config: {
|
|
600
|
+
# install_command: "AppBuildConfigRequestInstallCommandString",
|
|
601
|
+
# build_command: "AppBuildConfigRequestBuildCommandString",
|
|
602
|
+
# root_directory: "AppBuildConfigRequestRootDirectoryString",
|
|
603
|
+
# output_directory: "AppBuildConfigRequestOutputDirectoryString",
|
|
604
|
+
# },
|
|
605
|
+
# },
|
|
606
|
+
# backend: {
|
|
607
|
+
# migrations_directory: "AppBackendRequestMigrationsDirectoryString",
|
|
608
|
+
# },
|
|
609
|
+
# default_environments_configuration: [ # required
|
|
610
|
+
# {
|
|
611
|
+
# environment_type: "PRODUCTION", # required, accepts PRODUCTION, PREVIEW
|
|
612
|
+
# environment_permissions_config: { # required
|
|
613
|
+
# execution_role_arn: "EnvironmentRoleArn", # required
|
|
614
|
+
# permission_mode: "SCOPED", # accepts SCOPED, FULL
|
|
615
|
+
# },
|
|
616
|
+
# environment_network_config: {
|
|
617
|
+
# build_network_connector_arn: "NetworkConnectorArn",
|
|
618
|
+
# compute_network_connector_arn: "NetworkConnectorArn",
|
|
619
|
+
# },
|
|
620
|
+
# backend: {
|
|
621
|
+
# auth: "AuthConfigDocument",
|
|
622
|
+
# database: {
|
|
623
|
+
# max_backend_capacity_units: 1,
|
|
624
|
+
# backup_retention_days: 1,
|
|
625
|
+
# },
|
|
626
|
+
# },
|
|
627
|
+
# },
|
|
628
|
+
# ],
|
|
629
|
+
# tags: {
|
|
630
|
+
# "TagMapKeyString" => "TagMapValueString",
|
|
631
|
+
# },
|
|
632
|
+
# })
|
|
633
|
+
#
|
|
634
|
+
# @example Response structure
|
|
635
|
+
#
|
|
636
|
+
# resp.app_arn #=> String
|
|
637
|
+
#
|
|
638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/CreateApp AWS API Documentation
|
|
639
|
+
#
|
|
640
|
+
# @overload create_app(params = {})
|
|
641
|
+
# @param [Hash] params ({})
|
|
642
|
+
def create_app(params = {}, options = {})
|
|
643
|
+
req = build_request(:create_app, params)
|
|
644
|
+
req.send_request(options)
|
|
645
|
+
end
|
|
646
|
+
|
|
647
|
+
# Creates a deployment for an environment of a Gen 3 app.
|
|
648
|
+
#
|
|
649
|
+
# @option params [required, String] :app_name
|
|
650
|
+
# The name of the app.
|
|
651
|
+
#
|
|
652
|
+
# @option params [required, String] :environment_name
|
|
653
|
+
# The name of the environment.
|
|
654
|
+
#
|
|
655
|
+
# @option params [Types::DeploymentSourceConfigRequest] :source_config
|
|
656
|
+
# The source to deploy.
|
|
657
|
+
#
|
|
658
|
+
# @option params [String] :description
|
|
659
|
+
# The description of the deployment.
|
|
660
|
+
#
|
|
661
|
+
# @option params [Hash<String,String>] :tags
|
|
662
|
+
# The tags to apply to the resource.
|
|
663
|
+
#
|
|
664
|
+
# @option params [String] :branch_arn
|
|
665
|
+
# The Amazon Resource Name (ARN) of the branch to deploy to. This
|
|
666
|
+
# applies only to an app with a backend. The branch must belong to the
|
|
667
|
+
# same app and environment. In the Production environment, it must be
|
|
668
|
+
# the production branch. If you omit this, Amplify chooses the branch
|
|
669
|
+
# and creates it if it doesn't exist.
|
|
670
|
+
#
|
|
671
|
+
# @option params [String] :publishable_key_action
|
|
672
|
+
# Specifies what the deployment does with the branch's publishable key,
|
|
673
|
+
# for an app with a backend. CREATE\_NEW creates a new key that this
|
|
674
|
+
# deployment and later deployments use. The previous key stays active
|
|
675
|
+
# until you revoke it with RevokeApiKey. REUSE, the default, uses the
|
|
676
|
+
# branch's current key.
|
|
677
|
+
#
|
|
678
|
+
# @return [Types::CreateDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
679
|
+
#
|
|
680
|
+
# * {Types::CreateDeploymentResponse#deployment_id #deployment_id} => String
|
|
681
|
+
# * {Types::CreateDeploymentResponse#deployment_arn #deployment_arn} => String
|
|
682
|
+
# * {Types::CreateDeploymentResponse#status #status} => String
|
|
683
|
+
#
|
|
684
|
+
# @example Request syntax with placeholder values
|
|
685
|
+
#
|
|
686
|
+
# resp = client.create_deployment({
|
|
687
|
+
# app_name: "AppName", # required
|
|
688
|
+
# environment_name: "EnvironmentName", # required
|
|
689
|
+
# source_config: {
|
|
690
|
+
# git_source: {
|
|
691
|
+
# git_ref: "DeploymentGitSourceRequestGitRefString", # required
|
|
692
|
+
# },
|
|
693
|
+
# manual_upload_source: {
|
|
694
|
+
# source_upload_id: "SourceUploadId", # required
|
|
695
|
+
# source_type: "SOURCE_CODE", # required, accepts SOURCE_CODE, PREBUILT_ARTIFACT
|
|
696
|
+
# },
|
|
697
|
+
# },
|
|
698
|
+
# description: "Description",
|
|
699
|
+
# tags: {
|
|
700
|
+
# "TagMapKeyString" => "TagMapValueString",
|
|
701
|
+
# },
|
|
702
|
+
# branch_arn: "BranchArn",
|
|
703
|
+
# publishable_key_action: "REUSE", # accepts REUSE, CREATE_NEW
|
|
704
|
+
# })
|
|
705
|
+
#
|
|
706
|
+
# @example Response structure
|
|
707
|
+
#
|
|
708
|
+
# resp.deployment_id #=> String
|
|
709
|
+
# resp.deployment_arn #=> String
|
|
710
|
+
# resp.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "EXPIRED", "CANCELLED"
|
|
711
|
+
#
|
|
712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/CreateDeployment AWS API Documentation
|
|
713
|
+
#
|
|
714
|
+
# @overload create_deployment(params = {})
|
|
715
|
+
# @param [Hash] params ({})
|
|
716
|
+
def create_deployment(params = {}, options = {})
|
|
717
|
+
req = build_request(:create_deployment, params)
|
|
718
|
+
req.send_request(options)
|
|
719
|
+
end
|
|
720
|
+
|
|
721
|
+
# Creates a domain association that connects a custom domain to a Gen 3
|
|
722
|
+
# app.
|
|
723
|
+
#
|
|
724
|
+
# @option params [required, String] :app_name
|
|
725
|
+
# The name of the app.
|
|
726
|
+
#
|
|
727
|
+
# @option params [required, String] :domain_name
|
|
728
|
+
# The fully qualified domain name.
|
|
729
|
+
#
|
|
730
|
+
# @option params [required, Types::Routing] :routing
|
|
731
|
+
# The routing configuration for the domain.
|
|
732
|
+
#
|
|
733
|
+
# @option params [required, String] :dns_management_type
|
|
734
|
+
# How DNS records for the domain are managed.
|
|
735
|
+
#
|
|
736
|
+
# @option params [Hash<String,String>] :tags
|
|
737
|
+
# The tags to apply to the resource.
|
|
738
|
+
#
|
|
739
|
+
# @return [Types::CreateDomainAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
740
|
+
#
|
|
741
|
+
# * {Types::CreateDomainAssociationResponse#domain_association_arn #domain_association_arn} => String
|
|
742
|
+
# * {Types::CreateDomainAssociationResponse#domain_status #domain_status} => String
|
|
743
|
+
# * {Types::CreateDomainAssociationResponse#dns_records #dns_records} => Array<Types::DnsRecord>
|
|
744
|
+
#
|
|
745
|
+
# @example Request syntax with placeholder values
|
|
746
|
+
#
|
|
747
|
+
# resp = client.create_domain_association({
|
|
748
|
+
# app_name: "AppName", # required
|
|
749
|
+
# domain_name: "CustomDomainName", # required
|
|
750
|
+
# routing: { # required
|
|
751
|
+
# alias: {
|
|
752
|
+
# alias_arn: "AliasArn", # required
|
|
753
|
+
# },
|
|
754
|
+
# redirect: {
|
|
755
|
+
# target_url: "RedirectTargetUrl", # required
|
|
756
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302, HTTP_307, HTTP_308
|
|
757
|
+
# },
|
|
758
|
+
# },
|
|
759
|
+
# dns_management_type: "ROUTE_53", # required, accepts ROUTE_53, MANUAL, NS_DELEGATION
|
|
760
|
+
# tags: {
|
|
761
|
+
# "TagMapKeyString" => "TagMapValueString",
|
|
762
|
+
# },
|
|
763
|
+
# })
|
|
764
|
+
#
|
|
765
|
+
# @example Response structure
|
|
766
|
+
#
|
|
767
|
+
# resp.domain_association_arn #=> String
|
|
768
|
+
# resp.domain_status #=> String, one of "CREATING", "PENDING_CERTIFICATE_VALIDATION", "PENDING_OWNERSHIP_VALIDATION", "PENDING_DNS_VALIDATION", "PENDING_NS_DELEGATION", "PROVISIONING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
|
|
769
|
+
# resp.dns_records #=> Array
|
|
770
|
+
# resp.dns_records[0].type #=> String, one of "CNAME", "TXT", "A", "AAAA", "NS"
|
|
771
|
+
# resp.dns_records[0].name #=> String
|
|
772
|
+
# resp.dns_records[0].value #=> String
|
|
773
|
+
# resp.dns_records[0].purpose #=> String, one of "CERTIFICATE_VALIDATION", "OWNERSHIP_VERIFICATION", "NAMESERVER_DELEGATION", "DNS_VALIDATION"
|
|
774
|
+
#
|
|
775
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/CreateDomainAssociation AWS API Documentation
|
|
776
|
+
#
|
|
777
|
+
# @overload create_domain_association(params = {})
|
|
778
|
+
# @param [Hash] params ({})
|
|
779
|
+
def create_domain_association(params = {}, options = {})
|
|
780
|
+
req = build_request(:create_domain_association, params)
|
|
781
|
+
req.send_request(options)
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
# Creates an environment for a Gen 3 app.
|
|
785
|
+
#
|
|
786
|
+
# @option params [required, String] :app_name
|
|
787
|
+
# The name of the app.
|
|
788
|
+
#
|
|
789
|
+
# @option params [required, String] :environment_name
|
|
790
|
+
# The name of the environment.
|
|
791
|
+
#
|
|
792
|
+
# @option params [required, String] :environment_role_arn
|
|
793
|
+
# The Amazon Resource Name (ARN) of the IAM role for the environment.
|
|
794
|
+
#
|
|
795
|
+
# @option params [String] :environment_role_permission_mode
|
|
796
|
+
# The permission mode for the environment's IAM role.
|
|
797
|
+
#
|
|
798
|
+
# @option params [Types::EnvironmentSourceConfigRequest] :source_config
|
|
799
|
+
# The source configuration for the environment.
|
|
800
|
+
#
|
|
801
|
+
# @option params [Types::GradualRolloutConfig] :gradual_rollout_config
|
|
802
|
+
# The gradual rollout settings for the environment.
|
|
803
|
+
#
|
|
804
|
+
# @option params [Hash<String,String>] :tags
|
|
805
|
+
# The tags to apply to the resource.
|
|
806
|
+
#
|
|
807
|
+
# @option params [Types::EnvironmentWebConfigRequest] :web
|
|
808
|
+
# The web hosting settings for the environment.
|
|
809
|
+
#
|
|
810
|
+
# @option params [Types::EnvironmentNetworkConfigRequest] :network_config
|
|
811
|
+
# The VPC network configuration for the environment.
|
|
812
|
+
#
|
|
813
|
+
# @option params [Types::EnvironmentBackendConfigRequest] :backend
|
|
814
|
+
# The backend settings for the environment. You can specify this only
|
|
815
|
+
# when the app has a backend. If you omit this, the default
|
|
816
|
+
# authentication settings and the plan's default database settings are
|
|
817
|
+
# used.
|
|
818
|
+
#
|
|
819
|
+
# @return [Types::CreateEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
820
|
+
#
|
|
821
|
+
# * {Types::CreateEnvironmentResponse#environment_arn #environment_arn} => String
|
|
822
|
+
#
|
|
823
|
+
# @example Request syntax with placeholder values
|
|
824
|
+
#
|
|
825
|
+
# resp = client.create_environment({
|
|
826
|
+
# app_name: "AppName", # required
|
|
827
|
+
# environment_name: "EnvironmentName", # required
|
|
828
|
+
# environment_role_arn: "EnvironmentRoleArn", # required
|
|
829
|
+
# environment_role_permission_mode: "SCOPED", # accepts SCOPED, FULL
|
|
830
|
+
# source_config: {
|
|
831
|
+
# git_source: {
|
|
832
|
+
# branch_match_patterns: ["BranchMatchPatternsMemberString"], # required
|
|
833
|
+
# deployment_trigger_events: ["PUSH"], # accepts PUSH, PULL_REQUEST, FORK_PULL_REQUEST
|
|
834
|
+
# },
|
|
835
|
+
# },
|
|
836
|
+
# gradual_rollout_config: {
|
|
837
|
+
# preset_config: {
|
|
838
|
+
# preset: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY_10_PERCENT_5_MINUTES, CANARY_10_PERCENT_15_MINUTES, CANARY_10_PERCENT_30_MINUTES, LINEAR_10_PERCENT_EVERY_1_MINUTE, LINEAR_10_PERCENT_EVERY_3_MINUTES, LINEAR_10_PERCENT_EVERY_10_MINUTES
|
|
839
|
+
# },
|
|
840
|
+
# },
|
|
841
|
+
# tags: {
|
|
842
|
+
# "TagMapKeyString" => "TagMapValueString",
|
|
843
|
+
# },
|
|
844
|
+
# web: {
|
|
845
|
+
# environment_alias_config: {
|
|
846
|
+
# routing_mode: "AUTO_ROUTE_TO_LATEST", # accepts AUTO_ROUTE_TO_LATEST, MANUAL
|
|
847
|
+
# },
|
|
848
|
+
# skew_protection_config: {
|
|
849
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
850
|
+
# cookie_max_age_seconds: 1,
|
|
851
|
+
# },
|
|
852
|
+
# },
|
|
853
|
+
# network_config: {
|
|
854
|
+
# build_network_connector_arn: "NetworkConnectorArn",
|
|
855
|
+
# compute_network_connector_arn: "NetworkConnectorArn",
|
|
856
|
+
# },
|
|
857
|
+
# backend: {
|
|
858
|
+
# auth: "AuthConfigDocument",
|
|
859
|
+
# database: {
|
|
860
|
+
# max_backend_capacity_units: 1,
|
|
861
|
+
# backup_retention_days: 1,
|
|
862
|
+
# },
|
|
863
|
+
# },
|
|
864
|
+
# })
|
|
865
|
+
#
|
|
866
|
+
# @example Response structure
|
|
867
|
+
#
|
|
868
|
+
# resp.environment_arn #=> String
|
|
869
|
+
#
|
|
870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/CreateEnvironment AWS API Documentation
|
|
871
|
+
#
|
|
872
|
+
# @overload create_environment(params = {})
|
|
873
|
+
# @param [Hash] params ({})
|
|
874
|
+
def create_environment(params = {}, options = {})
|
|
875
|
+
req = build_request(:create_environment, params)
|
|
876
|
+
req.send_request(options)
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
# Creates an integration configuration that makes an external resource
|
|
880
|
+
# available to app environments. Amplify Gen 3 handles IAM permissions
|
|
881
|
+
# and credential management automatically, so there are no role
|
|
882
|
+
# assumptions in your application code.
|
|
883
|
+
#
|
|
884
|
+
# @option params [required, String] :integration_name
|
|
885
|
+
# The name of the integration.
|
|
886
|
+
#
|
|
887
|
+
# @option params [required, String] :integration_type_id
|
|
888
|
+
# The ID of the integration type.
|
|
889
|
+
#
|
|
890
|
+
# @option params [Types::ResourceConfiguration] :resource_configuration
|
|
891
|
+
# The resource configuration for the integration.
|
|
892
|
+
#
|
|
893
|
+
# @option params [Hash<String,String>] :tags
|
|
894
|
+
# The tags to apply to the resource.
|
|
895
|
+
#
|
|
896
|
+
# @option params [Array<Types::IntegrationEnvironmentVariableInput>] :environment_variables
|
|
897
|
+
# The environment variables.
|
|
898
|
+
#
|
|
899
|
+
# @return [Types::CreateIntegrationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
900
|
+
#
|
|
901
|
+
# * {Types::CreateIntegrationConfigurationResponse#integration_arn #integration_arn} => String
|
|
902
|
+
#
|
|
903
|
+
# @example Request syntax with placeholder values
|
|
904
|
+
#
|
|
905
|
+
# resp = client.create_integration_configuration({
|
|
906
|
+
# integration_name: "IntegrationName", # required
|
|
907
|
+
# integration_type_id: "IntegrationTypeId", # required
|
|
908
|
+
# resource_configuration: {
|
|
909
|
+
# s3: {
|
|
910
|
+
# bucket_arn: "S3ConfigurationBucketArnString", # required
|
|
911
|
+
# },
|
|
912
|
+
# dsql: {
|
|
913
|
+
# cluster_arn: "DsqlConfigurationClusterArnString", # required
|
|
914
|
+
# database_user: "DsqlConfigurationDatabaseUserString", # required
|
|
915
|
+
# },
|
|
916
|
+
# bedrock: {
|
|
917
|
+
# region_name: "BedrockConfigurationRegionNameString", # required
|
|
918
|
+
# model_id: "BedrockConfigurationModelIdString",
|
|
919
|
+
# },
|
|
920
|
+
# custom: {
|
|
921
|
+
# resource_arn: "CustomConfigurationResourceArnString",
|
|
922
|
+
# },
|
|
923
|
+
# },
|
|
924
|
+
# tags: {
|
|
925
|
+
# "TagMapKeyString" => "TagMapValueString",
|
|
926
|
+
# },
|
|
927
|
+
# environment_variables: [
|
|
928
|
+
# {
|
|
929
|
+
# key: "EnvironmentVariableKey", # required
|
|
930
|
+
# key_override: "EnvironmentVariableKey",
|
|
931
|
+
# value: "EnvironmentVariableValue",
|
|
932
|
+
# type: "PLAINTEXT", # accepts PLAINTEXT, SENSITIVE
|
|
933
|
+
# },
|
|
934
|
+
# ],
|
|
935
|
+
# })
|
|
936
|
+
#
|
|
937
|
+
# @example Response structure
|
|
938
|
+
#
|
|
939
|
+
# resp.integration_arn #=> String
|
|
940
|
+
#
|
|
941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/CreateIntegrationConfiguration AWS API Documentation
|
|
942
|
+
#
|
|
943
|
+
# @overload create_integration_configuration(params = {})
|
|
944
|
+
# @param [Hash] params ({})
|
|
945
|
+
def create_integration_configuration(params = {}, options = {})
|
|
946
|
+
req = build_request(:create_integration_configuration, params)
|
|
947
|
+
req.send_request(options)
|
|
948
|
+
end
|
|
949
|
+
|
|
950
|
+
# Creates a connection between an integration configuration and an
|
|
951
|
+
# environment.
|
|
952
|
+
#
|
|
953
|
+
# @option params [required, String] :integration_arn
|
|
954
|
+
# The Amazon Resource Name (ARN) of the integration configuration to
|
|
955
|
+
# connect.
|
|
956
|
+
#
|
|
957
|
+
# @option params [required, String] :environment_arn
|
|
958
|
+
# The Amazon Resource Name (ARN) of the environment to connect the
|
|
959
|
+
# integration to.
|
|
960
|
+
#
|
|
961
|
+
# @return [Types::CreateIntegrationConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
962
|
+
#
|
|
963
|
+
# * {Types::CreateIntegrationConnectionResponse#connection_id #connection_id} => String
|
|
964
|
+
# * {Types::CreateIntegrationConnectionResponse#integration_name #integration_name} => String
|
|
965
|
+
#
|
|
966
|
+
# @example Request syntax with placeholder values
|
|
967
|
+
#
|
|
968
|
+
# resp = client.create_integration_connection({
|
|
969
|
+
# integration_arn: "IntegrationArn", # required
|
|
970
|
+
# environment_arn: "EnvironmentArn", # required
|
|
971
|
+
# })
|
|
972
|
+
#
|
|
973
|
+
# @example Response structure
|
|
974
|
+
#
|
|
975
|
+
# resp.connection_id #=> String
|
|
976
|
+
# resp.integration_name #=> String
|
|
977
|
+
#
|
|
978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/CreateIntegrationConnection AWS API Documentation
|
|
979
|
+
#
|
|
980
|
+
# @overload create_integration_connection(params = {})
|
|
981
|
+
# @param [Hash] params ({})
|
|
982
|
+
def create_integration_connection(params = {}, options = {})
|
|
983
|
+
req = build_request(:create_integration_connection, params)
|
|
984
|
+
req.send_request(options)
|
|
985
|
+
end
|
|
986
|
+
|
|
987
|
+
# Creates a network connector that provides a Gen 3 app with access to a
|
|
988
|
+
# virtual private cloud (VPC).
|
|
989
|
+
#
|
|
990
|
+
# @option params [required, String] :network_connector_name
|
|
991
|
+
# The name of the network connector.
|
|
992
|
+
#
|
|
993
|
+
# @option params [required, Array<String>] :subnet_ids
|
|
994
|
+
# The IDs of the subnets for the network connector. The network
|
|
995
|
+
# connector uses the virtual private cloud (VPC) that the subnets belong
|
|
996
|
+
# to.
|
|
997
|
+
#
|
|
998
|
+
# @option params [required, Array<String>] :security_group_ids
|
|
999
|
+
# The IDs of the security groups for the network connector.
|
|
1000
|
+
#
|
|
1001
|
+
# @option params [required, String] :network_connector_role_arn
|
|
1002
|
+
# The Amazon Resource Name (ARN) of the IAM role for the network
|
|
1003
|
+
# connector.
|
|
1004
|
+
#
|
|
1005
|
+
# @option params [Hash<String,String>] :tags
|
|
1006
|
+
# The tags to apply to the resource.
|
|
1007
|
+
#
|
|
1008
|
+
# @return [Types::CreateNetworkConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1009
|
+
#
|
|
1010
|
+
# * {Types::CreateNetworkConnectorResponse#status #status} => String
|
|
1011
|
+
#
|
|
1012
|
+
# @example Request syntax with placeholder values
|
|
1013
|
+
#
|
|
1014
|
+
# resp = client.create_network_connector({
|
|
1015
|
+
# network_connector_name: "NetworkConnectorName", # required
|
|
1016
|
+
# subnet_ids: ["SubnetId"], # required
|
|
1017
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
|
1018
|
+
# network_connector_role_arn: "NetworkConnectorRoleArn", # required
|
|
1019
|
+
# tags: {
|
|
1020
|
+
# "TagMapKeyString" => "TagMapValueString",
|
|
1021
|
+
# },
|
|
1022
|
+
# })
|
|
1023
|
+
#
|
|
1024
|
+
# @example Response structure
|
|
1025
|
+
#
|
|
1026
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
|
|
1027
|
+
#
|
|
1028
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/CreateNetworkConnector AWS API Documentation
|
|
1029
|
+
#
|
|
1030
|
+
# @overload create_network_connector(params = {})
|
|
1031
|
+
# @param [Hash] params ({})
|
|
1032
|
+
def create_network_connector(params = {}, options = {})
|
|
1033
|
+
req = build_request(:create_network_connector, params)
|
|
1034
|
+
req.send_request(options)
|
|
1035
|
+
end
|
|
1036
|
+
|
|
1037
|
+
# Creates a source upload and returns a presigned URL for uploading
|
|
1038
|
+
# application source artifacts from .zip files.
|
|
1039
|
+
#
|
|
1040
|
+
# @option params [required, Types::ZipUploadRequest] :zip_upload
|
|
1041
|
+
# The .zip file to upload as the source.
|
|
1042
|
+
#
|
|
1043
|
+
# @return [Types::CreateSourceUploadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1044
|
+
#
|
|
1045
|
+
# * {Types::CreateSourceUploadResponse#source_upload_id #source_upload_id} => String
|
|
1046
|
+
# * {Types::CreateSourceUploadResponse#zip_upload #zip_upload} => Types::ZipUpload
|
|
1047
|
+
# * {Types::CreateSourceUploadResponse#upload_expires_at #upload_expires_at} => Time
|
|
1048
|
+
#
|
|
1049
|
+
# @example Request syntax with placeholder values
|
|
1050
|
+
#
|
|
1051
|
+
# resp = client.create_source_upload({
|
|
1052
|
+
# zip_upload: { # required
|
|
1053
|
+
# digest: "Digest", # required
|
|
1054
|
+
# },
|
|
1055
|
+
# })
|
|
1056
|
+
#
|
|
1057
|
+
# @example Response structure
|
|
1058
|
+
#
|
|
1059
|
+
# resp.source_upload_id #=> String
|
|
1060
|
+
# resp.zip_upload.digest #=> String
|
|
1061
|
+
# resp.zip_upload.upload_url #=> String
|
|
1062
|
+
# resp.zip_upload.url_expires_at #=> Time
|
|
1063
|
+
# resp.upload_expires_at #=> Time
|
|
1064
|
+
#
|
|
1065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/CreateSourceUpload AWS API Documentation
|
|
1066
|
+
#
|
|
1067
|
+
# @overload create_source_upload(params = {})
|
|
1068
|
+
# @param [Hash] params ({})
|
|
1069
|
+
def create_source_upload(params = {}, options = {})
|
|
1070
|
+
req = build_request(:create_source_upload, params)
|
|
1071
|
+
req.send_request(options)
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
# Deletes an alias for an environment of a Gen 3 app.
|
|
1075
|
+
#
|
|
1076
|
+
# @option params [required, String] :app_name
|
|
1077
|
+
# The name of the app.
|
|
1078
|
+
#
|
|
1079
|
+
# @option params [required, String] :environment_name
|
|
1080
|
+
# The name of the environment.
|
|
1081
|
+
#
|
|
1082
|
+
# @option params [required, String] :alias_name
|
|
1083
|
+
# The name of the alias.
|
|
1084
|
+
#
|
|
1085
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1086
|
+
#
|
|
1087
|
+
# @example Request syntax with placeholder values
|
|
1088
|
+
#
|
|
1089
|
+
# resp = client.delete_alias({
|
|
1090
|
+
# app_name: "AppName", # required
|
|
1091
|
+
# environment_name: "EnvironmentName", # required
|
|
1092
|
+
# alias_name: "AliasName", # required
|
|
1093
|
+
# })
|
|
1094
|
+
#
|
|
1095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteAlias AWS API Documentation
|
|
1096
|
+
#
|
|
1097
|
+
# @overload delete_alias(params = {})
|
|
1098
|
+
# @param [Hash] params ({})
|
|
1099
|
+
def delete_alias(params = {}, options = {})
|
|
1100
|
+
req = build_request(:delete_alias, params)
|
|
1101
|
+
req.send_request(options)
|
|
1102
|
+
end
|
|
1103
|
+
|
|
1104
|
+
# Deletes a Gen 3 app.
|
|
1105
|
+
#
|
|
1106
|
+
# @option params [required, String] :app_name
|
|
1107
|
+
# The name of the app.
|
|
1108
|
+
#
|
|
1109
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1110
|
+
#
|
|
1111
|
+
# @example Request syntax with placeholder values
|
|
1112
|
+
#
|
|
1113
|
+
# resp = client.delete_app({
|
|
1114
|
+
# app_name: "AppName", # required
|
|
1115
|
+
# })
|
|
1116
|
+
#
|
|
1117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteApp AWS API Documentation
|
|
1118
|
+
#
|
|
1119
|
+
# @overload delete_app(params = {})
|
|
1120
|
+
# @param [Hash] params ({})
|
|
1121
|
+
def delete_app(params = {}, options = {})
|
|
1122
|
+
req = build_request(:delete_app, params)
|
|
1123
|
+
req.send_request(options)
|
|
1124
|
+
end
|
|
1125
|
+
|
|
1126
|
+
# Removes the backend from an app. The app remains as a frontend-only
|
|
1127
|
+
# app. The request returns after the backend is detached from the app,
|
|
1128
|
+
# and the backend and its branches are deleted asynchronously. This
|
|
1129
|
+
# permanently deletes the backend's data. If the app has no backend,
|
|
1130
|
+
# the request succeeds.
|
|
1131
|
+
#
|
|
1132
|
+
# @option params [required, String] :app_name
|
|
1133
|
+
# The name of the app.
|
|
1134
|
+
#
|
|
1135
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1136
|
+
#
|
|
1137
|
+
# @example Request syntax with placeholder values
|
|
1138
|
+
#
|
|
1139
|
+
# resp = client.delete_backend_from_app({
|
|
1140
|
+
# app_name: "AppName", # required
|
|
1141
|
+
# })
|
|
1142
|
+
#
|
|
1143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteBackendFromApp AWS API Documentation
|
|
1144
|
+
#
|
|
1145
|
+
# @overload delete_backend_from_app(params = {})
|
|
1146
|
+
# @param [Hash] params ({})
|
|
1147
|
+
def delete_backend_from_app(params = {}, options = {})
|
|
1148
|
+
req = build_request(:delete_backend_from_app, params)
|
|
1149
|
+
req.send_request(options)
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
# Deletes a branch of an environment and its data. The deletion happens
|
|
1153
|
+
# asynchronously. You can't delete the production branch. You can
|
|
1154
|
+
# delete other branches even while deployments use them.
|
|
1155
|
+
#
|
|
1156
|
+
# @option params [required, String] :app_name
|
|
1157
|
+
# The name of the app.
|
|
1158
|
+
#
|
|
1159
|
+
# @option params [required, String] :environment_name
|
|
1160
|
+
# The name of the environment.
|
|
1161
|
+
#
|
|
1162
|
+
# @option params [required, String] :branch_name
|
|
1163
|
+
# The name of the branch to delete.
|
|
1164
|
+
#
|
|
1165
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1166
|
+
#
|
|
1167
|
+
# @example Request syntax with placeholder values
|
|
1168
|
+
#
|
|
1169
|
+
# resp = client.delete_branch({
|
|
1170
|
+
# app_name: "AppName", # required
|
|
1171
|
+
# environment_name: "EnvironmentName", # required
|
|
1172
|
+
# branch_name: "BranchName", # required
|
|
1173
|
+
# })
|
|
1174
|
+
#
|
|
1175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteBranch AWS API Documentation
|
|
1176
|
+
#
|
|
1177
|
+
# @overload delete_branch(params = {})
|
|
1178
|
+
# @param [Hash] params ({})
|
|
1179
|
+
def delete_branch(params = {}, options = {})
|
|
1180
|
+
req = build_request(:delete_branch, params)
|
|
1181
|
+
req.send_request(options)
|
|
1182
|
+
end
|
|
1183
|
+
|
|
1184
|
+
# Deletes a deployment for an environment of a Gen 3 app.
|
|
1185
|
+
#
|
|
1186
|
+
# @option params [required, String] :app_name
|
|
1187
|
+
# The name of the app.
|
|
1188
|
+
#
|
|
1189
|
+
# @option params [required, String] :environment_name
|
|
1190
|
+
# The name of the environment.
|
|
1191
|
+
#
|
|
1192
|
+
# @option params [required, String] :deployment_id
|
|
1193
|
+
# The ID of the deployment.
|
|
1194
|
+
#
|
|
1195
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1196
|
+
#
|
|
1197
|
+
# @example Request syntax with placeholder values
|
|
1198
|
+
#
|
|
1199
|
+
# resp = client.delete_deployment({
|
|
1200
|
+
# app_name: "AppName", # required
|
|
1201
|
+
# environment_name: "EnvironmentName", # required
|
|
1202
|
+
# deployment_id: "DeploymentId", # required
|
|
1203
|
+
# })
|
|
1204
|
+
#
|
|
1205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteDeployment AWS API Documentation
|
|
1206
|
+
#
|
|
1207
|
+
# @overload delete_deployment(params = {})
|
|
1208
|
+
# @param [Hash] params ({})
|
|
1209
|
+
def delete_deployment(params = {}, options = {})
|
|
1210
|
+
req = build_request(:delete_deployment, params)
|
|
1211
|
+
req.send_request(options)
|
|
1212
|
+
end
|
|
1213
|
+
|
|
1214
|
+
# Deletes a domain association for a Gen 3 app.
|
|
1215
|
+
#
|
|
1216
|
+
# @option params [required, String] :app_name
|
|
1217
|
+
# The name of the app.
|
|
1218
|
+
#
|
|
1219
|
+
# @option params [required, String] :domain_name
|
|
1220
|
+
# The fully qualified domain name.
|
|
1221
|
+
#
|
|
1222
|
+
# @return [Types::DeleteDomainAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1223
|
+
#
|
|
1224
|
+
# * {Types::DeleteDomainAssociationResponse#domain_status #domain_status} => String
|
|
1225
|
+
#
|
|
1226
|
+
# @example Request syntax with placeholder values
|
|
1227
|
+
#
|
|
1228
|
+
# resp = client.delete_domain_association({
|
|
1229
|
+
# app_name: "AppName", # required
|
|
1230
|
+
# domain_name: "CustomDomainName", # required
|
|
1231
|
+
# })
|
|
1232
|
+
#
|
|
1233
|
+
# @example Response structure
|
|
1234
|
+
#
|
|
1235
|
+
# resp.domain_status #=> String, one of "CREATING", "PENDING_CERTIFICATE_VALIDATION", "PENDING_OWNERSHIP_VALIDATION", "PENDING_DNS_VALIDATION", "PENDING_NS_DELEGATION", "PROVISIONING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
|
|
1236
|
+
#
|
|
1237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteDomainAssociation AWS API Documentation
|
|
1238
|
+
#
|
|
1239
|
+
# @overload delete_domain_association(params = {})
|
|
1240
|
+
# @param [Hash] params ({})
|
|
1241
|
+
def delete_domain_association(params = {}, options = {})
|
|
1242
|
+
req = build_request(:delete_domain_association, params)
|
|
1243
|
+
req.send_request(options)
|
|
1244
|
+
end
|
|
1245
|
+
|
|
1246
|
+
# Deletes an environment for a Gen 3 app.
|
|
1247
|
+
#
|
|
1248
|
+
# @option params [required, String] :app_name
|
|
1249
|
+
# The name of the app.
|
|
1250
|
+
#
|
|
1251
|
+
# @option params [required, String] :environment_name
|
|
1252
|
+
# The name of the environment.
|
|
1253
|
+
#
|
|
1254
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1255
|
+
#
|
|
1256
|
+
# @example Request syntax with placeholder values
|
|
1257
|
+
#
|
|
1258
|
+
# resp = client.delete_environment({
|
|
1259
|
+
# app_name: "AppName", # required
|
|
1260
|
+
# environment_name: "EnvironmentName", # required
|
|
1261
|
+
# })
|
|
1262
|
+
#
|
|
1263
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteEnvironment AWS API Documentation
|
|
1264
|
+
#
|
|
1265
|
+
# @overload delete_environment(params = {})
|
|
1266
|
+
# @param [Hash] params ({})
|
|
1267
|
+
def delete_environment(params = {}, options = {})
|
|
1268
|
+
req = build_request(:delete_environment, params)
|
|
1269
|
+
req.send_request(options)
|
|
1270
|
+
end
|
|
1271
|
+
|
|
1272
|
+
# Deletes environment variables for an environment of a Gen 3 app.
|
|
1273
|
+
#
|
|
1274
|
+
# @option params [required, String] :app_name
|
|
1275
|
+
# The name of the app.
|
|
1276
|
+
#
|
|
1277
|
+
# @option params [required, String] :environment_name
|
|
1278
|
+
# The name of the environment.
|
|
1279
|
+
#
|
|
1280
|
+
# @option params [required, Array<String>] :keys
|
|
1281
|
+
# The keys of the environment variables to delete.
|
|
1282
|
+
#
|
|
1283
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1284
|
+
#
|
|
1285
|
+
# @example Request syntax with placeholder values
|
|
1286
|
+
#
|
|
1287
|
+
# resp = client.delete_environment_variables({
|
|
1288
|
+
# app_name: "AppName", # required
|
|
1289
|
+
# environment_name: "EnvironmentName", # required
|
|
1290
|
+
# keys: ["EnvironmentVariableKey"], # required
|
|
1291
|
+
# })
|
|
1292
|
+
#
|
|
1293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteEnvironmentVariables AWS API Documentation
|
|
1294
|
+
#
|
|
1295
|
+
# @overload delete_environment_variables(params = {})
|
|
1296
|
+
# @param [Hash] params ({})
|
|
1297
|
+
def delete_environment_variables(params = {}, options = {})
|
|
1298
|
+
req = build_request(:delete_environment_variables, params)
|
|
1299
|
+
req.send_request(options)
|
|
1300
|
+
end
|
|
1301
|
+
|
|
1302
|
+
# Deletes a Git connection, so that the service can no longer access
|
|
1303
|
+
# repositories through it. This operation doesn't remove the app
|
|
1304
|
+
# installation or authorization from your Git provider account. To
|
|
1305
|
+
# remove them, use your Git provider's settings. If the connection
|
|
1306
|
+
# doesn't exist, the operation succeeds and does nothing.
|
|
1307
|
+
#
|
|
1308
|
+
# @option params [required, String] :provider
|
|
1309
|
+
# The Git provider.
|
|
1310
|
+
#
|
|
1311
|
+
# @option params [required, String] :owner
|
|
1312
|
+
# The account that the Git connection is for. The value depends on the
|
|
1313
|
+
# provider:
|
|
1314
|
+
#
|
|
1315
|
+
# * For GitHub, specify the user or organization name.
|
|
1316
|
+
#
|
|
1317
|
+
# * For GitLab, specify the user name.
|
|
1318
|
+
#
|
|
1319
|
+
# To get this value, call ListGitConnections.
|
|
1320
|
+
#
|
|
1321
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1322
|
+
#
|
|
1323
|
+
# @example Request syntax with placeholder values
|
|
1324
|
+
#
|
|
1325
|
+
# resp = client.delete_git_connection({
|
|
1326
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB
|
|
1327
|
+
# owner: "GitOwnerName", # required
|
|
1328
|
+
# })
|
|
1329
|
+
#
|
|
1330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteGitConnection AWS API Documentation
|
|
1331
|
+
#
|
|
1332
|
+
# @overload delete_git_connection(params = {})
|
|
1333
|
+
# @param [Hash] params ({})
|
|
1334
|
+
def delete_git_connection(params = {}, options = {})
|
|
1335
|
+
req = build_request(:delete_git_connection, params)
|
|
1336
|
+
req.send_request(options)
|
|
1337
|
+
end
|
|
1338
|
+
|
|
1339
|
+
# Deletes the identity provider configuration for a Gen 3 app.
|
|
1340
|
+
#
|
|
1341
|
+
# @option params [required, String] :app_name
|
|
1342
|
+
# The name of the app.
|
|
1343
|
+
#
|
|
1344
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1345
|
+
#
|
|
1346
|
+
# @example Request syntax with placeholder values
|
|
1347
|
+
#
|
|
1348
|
+
# resp = client.delete_identity_provider_config({
|
|
1349
|
+
# app_name: "AppName", # required
|
|
1350
|
+
# })
|
|
1351
|
+
#
|
|
1352
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteIdentityProviderConfig AWS API Documentation
|
|
1353
|
+
#
|
|
1354
|
+
# @overload delete_identity_provider_config(params = {})
|
|
1355
|
+
# @param [Hash] params ({})
|
|
1356
|
+
def delete_identity_provider_config(params = {}, options = {})
|
|
1357
|
+
req = build_request(:delete_identity_provider_config, params)
|
|
1358
|
+
req.send_request(options)
|
|
1359
|
+
end
|
|
1360
|
+
|
|
1361
|
+
# Deletes an integration configuration.
|
|
1362
|
+
#
|
|
1363
|
+
# @option params [required, String] :integration_name
|
|
1364
|
+
# The name of the integration.
|
|
1365
|
+
#
|
|
1366
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1367
|
+
#
|
|
1368
|
+
# @example Request syntax with placeholder values
|
|
1369
|
+
#
|
|
1370
|
+
# resp = client.delete_integration_configuration({
|
|
1371
|
+
# integration_name: "IntegrationName", # required
|
|
1372
|
+
# })
|
|
1373
|
+
#
|
|
1374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteIntegrationConfiguration AWS API Documentation
|
|
1375
|
+
#
|
|
1376
|
+
# @overload delete_integration_configuration(params = {})
|
|
1377
|
+
# @param [Hash] params ({})
|
|
1378
|
+
def delete_integration_configuration(params = {}, options = {})
|
|
1379
|
+
req = build_request(:delete_integration_configuration, params)
|
|
1380
|
+
req.send_request(options)
|
|
1381
|
+
end
|
|
1382
|
+
|
|
1383
|
+
# Deletes an integration connection.
|
|
1384
|
+
#
|
|
1385
|
+
# @option params [required, String] :connection_id
|
|
1386
|
+
# The ID of the integration connection.
|
|
1387
|
+
#
|
|
1388
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1389
|
+
#
|
|
1390
|
+
# @example Request syntax with placeholder values
|
|
1391
|
+
#
|
|
1392
|
+
# resp = client.delete_integration_connection({
|
|
1393
|
+
# connection_id: "ConnectionId", # required
|
|
1394
|
+
# })
|
|
1395
|
+
#
|
|
1396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteIntegrationConnection AWS API Documentation
|
|
1397
|
+
#
|
|
1398
|
+
# @overload delete_integration_connection(params = {})
|
|
1399
|
+
# @param [Hash] params ({})
|
|
1400
|
+
def delete_integration_connection(params = {}, options = {})
|
|
1401
|
+
req = build_request(:delete_integration_connection, params)
|
|
1402
|
+
req.send_request(options)
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1405
|
+
# Deletes a network connector.
|
|
1406
|
+
#
|
|
1407
|
+
# @option params [required, String] :network_connector_name
|
|
1408
|
+
# The name of the network connector.
|
|
1409
|
+
#
|
|
1410
|
+
# @return [Types::DeleteNetworkConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1411
|
+
#
|
|
1412
|
+
# * {Types::DeleteNetworkConnectorResponse#status #status} => String
|
|
1413
|
+
#
|
|
1414
|
+
# @example Request syntax with placeholder values
|
|
1415
|
+
#
|
|
1416
|
+
# resp = client.delete_network_connector({
|
|
1417
|
+
# network_connector_name: "NetworkConnectorName", # required
|
|
1418
|
+
# })
|
|
1419
|
+
#
|
|
1420
|
+
# @example Response structure
|
|
1421
|
+
#
|
|
1422
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
|
|
1423
|
+
#
|
|
1424
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteNetworkConnector AWS API Documentation
|
|
1425
|
+
#
|
|
1426
|
+
# @overload delete_network_connector(params = {})
|
|
1427
|
+
# @param [Hash] params ({})
|
|
1428
|
+
def delete_network_connector(params = {}, options = {})
|
|
1429
|
+
req = build_request(:delete_network_connector, params)
|
|
1430
|
+
req.send_request(options)
|
|
1431
|
+
end
|
|
1432
|
+
|
|
1433
|
+
# Deletes a source upload.
|
|
1434
|
+
#
|
|
1435
|
+
# @option params [required, String] :source_upload_id
|
|
1436
|
+
# The ID of the source upload.
|
|
1437
|
+
#
|
|
1438
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1439
|
+
#
|
|
1440
|
+
# @example Request syntax with placeholder values
|
|
1441
|
+
#
|
|
1442
|
+
# resp = client.delete_source_upload({
|
|
1443
|
+
# source_upload_id: "SourceUploadId", # required
|
|
1444
|
+
# })
|
|
1445
|
+
#
|
|
1446
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DeleteSourceUpload AWS API Documentation
|
|
1447
|
+
#
|
|
1448
|
+
# @overload delete_source_upload(params = {})
|
|
1449
|
+
# @param [Hash] params ({})
|
|
1450
|
+
def delete_source_upload(params = {}, options = {})
|
|
1451
|
+
req = build_request(:delete_source_upload, params)
|
|
1452
|
+
req.send_request(options)
|
|
1453
|
+
end
|
|
1454
|
+
|
|
1455
|
+
# Disables access control for an environment of a Gen 3 app.
|
|
1456
|
+
#
|
|
1457
|
+
# @option params [required, String] :app_name
|
|
1458
|
+
# The name of the app.
|
|
1459
|
+
#
|
|
1460
|
+
# @option params [required, String] :environment_name
|
|
1461
|
+
# The name of the environment.
|
|
1462
|
+
#
|
|
1463
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1464
|
+
#
|
|
1465
|
+
# @example Request syntax with placeholder values
|
|
1466
|
+
#
|
|
1467
|
+
# resp = client.disable_access_control({
|
|
1468
|
+
# app_name: "AppName", # required
|
|
1469
|
+
# environment_name: "EnvironmentName", # required
|
|
1470
|
+
# })
|
|
1471
|
+
#
|
|
1472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/DisableAccessControl AWS API Documentation
|
|
1473
|
+
#
|
|
1474
|
+
# @overload disable_access_control(params = {})
|
|
1475
|
+
# @param [Hash] params ({})
|
|
1476
|
+
def disable_access_control(params = {}, options = {})
|
|
1477
|
+
req = build_request(:disable_access_control, params)
|
|
1478
|
+
req.send_request(options)
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1481
|
+
# Enables access control for an environment of a Gen 3 app so that only
|
|
1482
|
+
# authorized users can access it.
|
|
1483
|
+
#
|
|
1484
|
+
# @option params [required, String] :app_name
|
|
1485
|
+
# The name of the app.
|
|
1486
|
+
#
|
|
1487
|
+
# @option params [required, String] :environment_name
|
|
1488
|
+
# The name of the environment.
|
|
1489
|
+
#
|
|
1490
|
+
# @option params [String] :scope
|
|
1491
|
+
# The scope that the access control configuration applies to.
|
|
1492
|
+
#
|
|
1493
|
+
# @option params [Types::AccessControlRule] :rule
|
|
1494
|
+
# The rule that determines which users are granted access.
|
|
1495
|
+
#
|
|
1496
|
+
# @option params [String] :client_token
|
|
1497
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
1498
|
+
# idempotency of the request.
|
|
1499
|
+
#
|
|
1500
|
+
# @return [Types::EnableAccessControlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1501
|
+
#
|
|
1502
|
+
# * {Types::EnableAccessControlResponse#status #status} => String
|
|
1503
|
+
# * {Types::EnableAccessControlResponse#status_reason #status_reason} => String
|
|
1504
|
+
#
|
|
1505
|
+
# @example Request syntax with placeholder values
|
|
1506
|
+
#
|
|
1507
|
+
# resp = client.enable_access_control({
|
|
1508
|
+
# app_name: "AppName", # required
|
|
1509
|
+
# environment_name: "EnvironmentName", # required
|
|
1510
|
+
# scope: "ALL_DEPLOYMENTS", # accepts ALL_DEPLOYMENTS, NON_ACTIVE_DEPLOYMENTS
|
|
1511
|
+
# rule: {
|
|
1512
|
+
# any_authenticated_user: {
|
|
1513
|
+
# },
|
|
1514
|
+
# user_claims: [
|
|
1515
|
+
# {
|
|
1516
|
+
# key: "AccessRuleConditionKeyString", # required
|
|
1517
|
+
# operator: "EQUALS", # accepts EQUALS, CONTAINS, BEGINS_WITH, ENDS_WITH
|
|
1518
|
+
# value: "AccessRuleConditionValueString", # required
|
|
1519
|
+
# },
|
|
1520
|
+
# ],
|
|
1521
|
+
# },
|
|
1522
|
+
# client_token: "ClientToken",
|
|
1523
|
+
# })
|
|
1524
|
+
#
|
|
1525
|
+
# @example Response structure
|
|
1526
|
+
#
|
|
1527
|
+
# resp.status #=> String, one of "ENABLING", "ENABLED", "ENABLE_FAILED", "UPDATING", "UPDATE_FAILED", "DISABLING", "DISABLED", "DISABLE_FAILED"
|
|
1528
|
+
# resp.status_reason #=> String
|
|
1529
|
+
#
|
|
1530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/EnableAccessControl AWS API Documentation
|
|
1531
|
+
#
|
|
1532
|
+
# @overload enable_access_control(params = {})
|
|
1533
|
+
# @param [Hash] params ({})
|
|
1534
|
+
def enable_access_control(params = {}, options = {})
|
|
1535
|
+
req = build_request(:enable_access_control, params)
|
|
1536
|
+
req.send_request(options)
|
|
1537
|
+
end
|
|
1538
|
+
|
|
1539
|
+
# Retrieves the access control configuration for an environment of a Gen
|
|
1540
|
+
# 3 app.
|
|
1541
|
+
#
|
|
1542
|
+
# @option params [required, String] :app_name
|
|
1543
|
+
# The name of the app.
|
|
1544
|
+
#
|
|
1545
|
+
# @option params [required, String] :environment_name
|
|
1546
|
+
# The name of the environment.
|
|
1547
|
+
#
|
|
1548
|
+
# @return [Types::GetAccessControlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1549
|
+
#
|
|
1550
|
+
# * {Types::GetAccessControlResponse#app_name #app_name} => String
|
|
1551
|
+
# * {Types::GetAccessControlResponse#environment_name #environment_name} => String
|
|
1552
|
+
# * {Types::GetAccessControlResponse#provider_type #provider_type} => String
|
|
1553
|
+
# * {Types::GetAccessControlResponse#scope #scope} => String
|
|
1554
|
+
# * {Types::GetAccessControlResponse#rule #rule} => Types::AccessControlRule
|
|
1555
|
+
# * {Types::GetAccessControlResponse#status #status} => String
|
|
1556
|
+
# * {Types::GetAccessControlResponse#status_reason #status_reason} => String
|
|
1557
|
+
# * {Types::GetAccessControlResponse#enabled_at #enabled_at} => Time
|
|
1558
|
+
# * {Types::GetAccessControlResponse#updated_at #updated_at} => Time
|
|
1559
|
+
#
|
|
1560
|
+
# @example Request syntax with placeholder values
|
|
1561
|
+
#
|
|
1562
|
+
# resp = client.get_access_control({
|
|
1563
|
+
# app_name: "AppName", # required
|
|
1564
|
+
# environment_name: "EnvironmentName", # required
|
|
1565
|
+
# })
|
|
1566
|
+
#
|
|
1567
|
+
# @example Response structure
|
|
1568
|
+
#
|
|
1569
|
+
# resp.app_name #=> String
|
|
1570
|
+
# resp.environment_name #=> String
|
|
1571
|
+
# resp.provider_type #=> String, one of "OIDC", "IAM_IDENTITY_CENTER"
|
|
1572
|
+
# resp.scope #=> String, one of "ALL_DEPLOYMENTS", "NON_ACTIVE_DEPLOYMENTS"
|
|
1573
|
+
# resp.rule.user_claims #=> Array
|
|
1574
|
+
# resp.rule.user_claims[0].key #=> String
|
|
1575
|
+
# resp.rule.user_claims[0].operator #=> String, one of "EQUALS", "CONTAINS", "BEGINS_WITH", "ENDS_WITH"
|
|
1576
|
+
# resp.rule.user_claims[0].value #=> String
|
|
1577
|
+
# resp.status #=> String, one of "ENABLING", "ENABLED", "ENABLE_FAILED", "UPDATING", "UPDATE_FAILED", "DISABLING", "DISABLED", "DISABLE_FAILED"
|
|
1578
|
+
# resp.status_reason #=> String
|
|
1579
|
+
# resp.enabled_at #=> Time
|
|
1580
|
+
# resp.updated_at #=> Time
|
|
1581
|
+
#
|
|
1582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetAccessControl AWS API Documentation
|
|
1583
|
+
#
|
|
1584
|
+
# @overload get_access_control(params = {})
|
|
1585
|
+
# @param [Hash] params ({})
|
|
1586
|
+
def get_access_control(params = {}, options = {})
|
|
1587
|
+
req = build_request(:get_access_control, params)
|
|
1588
|
+
req.send_request(options)
|
|
1589
|
+
end
|
|
1590
|
+
|
|
1591
|
+
# Retrieves an alias for an environment of a Gen 3 app.
|
|
1592
|
+
#
|
|
1593
|
+
# @option params [required, String] :app_name
|
|
1594
|
+
# The name of the app.
|
|
1595
|
+
#
|
|
1596
|
+
# @option params [required, String] :environment_name
|
|
1597
|
+
# The name of the environment.
|
|
1598
|
+
#
|
|
1599
|
+
# @option params [required, String] :alias_name
|
|
1600
|
+
# The name of the alias.
|
|
1601
|
+
#
|
|
1602
|
+
# @return [Types::GetAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1603
|
+
#
|
|
1604
|
+
# * {Types::GetAliasResponse#alias_name #alias_name} => String
|
|
1605
|
+
# * {Types::GetAliasResponse#alias_arn #alias_arn} => String
|
|
1606
|
+
# * {Types::GetAliasResponse#type #type} => String
|
|
1607
|
+
# * {Types::GetAliasResponse#url #url} => String
|
|
1608
|
+
# * {Types::GetAliasResponse#routing_config #routing_config} => Array<Types::RoutingConfigEntry>
|
|
1609
|
+
# * {Types::GetAliasResponse#gradual_rollout_config #gradual_rollout_config} => Types::GradualRolloutConfig
|
|
1610
|
+
# * {Types::GetAliasResponse#gradual_rollout_state #gradual_rollout_state} => Types::GradualRolloutState
|
|
1611
|
+
# * {Types::GetAliasResponse#created_at #created_at} => Time
|
|
1612
|
+
# * {Types::GetAliasResponse#updated_at #updated_at} => Time
|
|
1613
|
+
#
|
|
1614
|
+
# @example Request syntax with placeholder values
|
|
1615
|
+
#
|
|
1616
|
+
# resp = client.get_alias({
|
|
1617
|
+
# app_name: "AppName", # required
|
|
1618
|
+
# environment_name: "EnvironmentName", # required
|
|
1619
|
+
# alias_name: "AliasName", # required
|
|
1620
|
+
# })
|
|
1621
|
+
#
|
|
1622
|
+
# @example Response structure
|
|
1623
|
+
#
|
|
1624
|
+
# resp.alias_name #=> String
|
|
1625
|
+
# resp.alias_arn #=> String
|
|
1626
|
+
# resp.type #=> String, one of "ENVIRONMENT", "BRANCH", "PULL_REQUEST"
|
|
1627
|
+
# resp.url #=> String
|
|
1628
|
+
# resp.routing_config #=> Array
|
|
1629
|
+
# resp.routing_config[0].deployment_id #=> String
|
|
1630
|
+
# resp.routing_config[0].weight #=> Integer
|
|
1631
|
+
# resp.gradual_rollout_config.preset_config.preset #=> String, one of "ALL_AT_ONCE", "CANARY_10_PERCENT_5_MINUTES", "CANARY_10_PERCENT_15_MINUTES", "CANARY_10_PERCENT_30_MINUTES", "LINEAR_10_PERCENT_EVERY_1_MINUTE", "LINEAR_10_PERCENT_EVERY_3_MINUTES", "LINEAR_10_PERCENT_EVERY_10_MINUTES"
|
|
1632
|
+
# resp.gradual_rollout_state.status #=> String, one of "IN_PROGRESS", "COMPLETED", "CANCELLED"
|
|
1633
|
+
# resp.gradual_rollout_state.source_routing_config #=> Array
|
|
1634
|
+
# resp.gradual_rollout_state.source_routing_config[0].deployment_id #=> String
|
|
1635
|
+
# resp.gradual_rollout_state.source_routing_config[0].weight #=> Integer
|
|
1636
|
+
# resp.gradual_rollout_state.target_routing_config #=> Array
|
|
1637
|
+
# resp.gradual_rollout_state.target_routing_config[0].deployment_id #=> String
|
|
1638
|
+
# resp.gradual_rollout_state.target_routing_config[0].weight #=> Integer
|
|
1639
|
+
# resp.gradual_rollout_state.schedule #=> Array
|
|
1640
|
+
# resp.gradual_rollout_state.schedule[0].weight #=> Integer
|
|
1641
|
+
# resp.gradual_rollout_state.schedule[0].effective_at #=> Time
|
|
1642
|
+
# resp.gradual_rollout_state.current_stage_index #=> Integer
|
|
1643
|
+
# resp.gradual_rollout_state.started_at #=> Time
|
|
1644
|
+
# resp.gradual_rollout_state.ended_at #=> Time
|
|
1645
|
+
# resp.created_at #=> Time
|
|
1646
|
+
# resp.updated_at #=> Time
|
|
1647
|
+
#
|
|
1648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetAlias AWS API Documentation
|
|
1649
|
+
#
|
|
1650
|
+
# @overload get_alias(params = {})
|
|
1651
|
+
# @param [Hash] params ({})
|
|
1652
|
+
def get_alias(params = {}, options = {})
|
|
1653
|
+
req = build_request(:get_alias, params)
|
|
1654
|
+
req.send_request(options)
|
|
1655
|
+
end
|
|
1656
|
+
|
|
1657
|
+
# Returns an API key for a branch, including the key value. The key
|
|
1658
|
+
# value is a credential. Store it securely and don't log it.
|
|
1659
|
+
#
|
|
1660
|
+
# @option params [required, String] :branch_arn
|
|
1661
|
+
# The Amazon Resource Name (ARN) of the branch that the API key belongs
|
|
1662
|
+
# to.
|
|
1663
|
+
#
|
|
1664
|
+
# @option params [required, String] :api_key_id
|
|
1665
|
+
# The ID of the API key to return.
|
|
1666
|
+
#
|
|
1667
|
+
# @return [Types::GetApiKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1668
|
+
#
|
|
1669
|
+
# * {Types::GetApiKeyResponse#api_key #api_key} => String
|
|
1670
|
+
# * {Types::GetApiKeyResponse#api_key_id #api_key_id} => String
|
|
1671
|
+
# * {Types::GetApiKeyResponse#created_at #created_at} => Time
|
|
1672
|
+
# * {Types::GetApiKeyResponse#status #status} => String
|
|
1673
|
+
# * {Types::GetApiKeyResponse#updated_at #updated_at} => Time
|
|
1674
|
+
#
|
|
1675
|
+
# @example Request syntax with placeholder values
|
|
1676
|
+
#
|
|
1677
|
+
# resp = client.get_api_key({
|
|
1678
|
+
# branch_arn: "BranchArn", # required
|
|
1679
|
+
# api_key_id: "ApiKeyId", # required
|
|
1680
|
+
# })
|
|
1681
|
+
#
|
|
1682
|
+
# @example Response structure
|
|
1683
|
+
#
|
|
1684
|
+
# resp.api_key #=> String
|
|
1685
|
+
# resp.api_key_id #=> String
|
|
1686
|
+
# resp.created_at #=> Time
|
|
1687
|
+
# resp.status #=> String, one of "ACTIVE", "INACTIVE"
|
|
1688
|
+
# resp.updated_at #=> Time
|
|
1689
|
+
#
|
|
1690
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetApiKey AWS API Documentation
|
|
1691
|
+
#
|
|
1692
|
+
# @overload get_api_key(params = {})
|
|
1693
|
+
# @param [Hash] params ({})
|
|
1694
|
+
def get_api_key(params = {}, options = {})
|
|
1695
|
+
req = build_request(:get_api_key, params)
|
|
1696
|
+
req.send_request(options)
|
|
1697
|
+
end
|
|
1698
|
+
|
|
1699
|
+
# Retrieves a Gen 3 app.
|
|
1700
|
+
#
|
|
1701
|
+
# @option params [required, String] :app_name
|
|
1702
|
+
# The name of the app.
|
|
1703
|
+
#
|
|
1704
|
+
# @return [Types::GetAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1705
|
+
#
|
|
1706
|
+
# * {Types::GetAppResponse#app_name #app_name} => String
|
|
1707
|
+
# * {Types::GetAppResponse#app_arn #app_arn} => String
|
|
1708
|
+
# * {Types::GetAppResponse#source_config #source_config} => Types::AppSourceConfig
|
|
1709
|
+
# * {Types::GetAppResponse#web #web} => Types::AppWebConfig
|
|
1710
|
+
# * {Types::GetAppResponse#backend #backend} => Types::AppBackend
|
|
1711
|
+
# * {Types::GetAppResponse#waf_configs #waf_configs} => Array<Types::WafConfig>
|
|
1712
|
+
# * {Types::GetAppResponse#created_at #created_at} => Time
|
|
1713
|
+
# * {Types::GetAppResponse#updated_at #updated_at} => Time
|
|
1714
|
+
#
|
|
1715
|
+
# @example Request syntax with placeholder values
|
|
1716
|
+
#
|
|
1717
|
+
# resp = client.get_app({
|
|
1718
|
+
# app_name: "AppName", # required
|
|
1719
|
+
# })
|
|
1720
|
+
#
|
|
1721
|
+
# @example Response structure
|
|
1722
|
+
#
|
|
1723
|
+
# resp.app_name #=> String
|
|
1724
|
+
# resp.app_arn #=> String
|
|
1725
|
+
# resp.source_config.git_hub_source.repository_url #=> String
|
|
1726
|
+
# resp.source_config.git_lab_source.repository_url #=> String
|
|
1727
|
+
# resp.source_config.git_lab_source.owner #=> String
|
|
1728
|
+
# resp.web.build_config.install_command #=> String
|
|
1729
|
+
# resp.web.build_config.build_command #=> String
|
|
1730
|
+
# resp.web.build_config.root_directory #=> String
|
|
1731
|
+
# resp.web.build_config.output_directory #=> String
|
|
1732
|
+
# resp.backend.migrations_directory #=> String
|
|
1733
|
+
# resp.backend.status #=> String, one of "READY", "CREATING", "DELETING", "PAUSING", "PAUSED", "RESUMING"
|
|
1734
|
+
# resp.backend.database_usage.last_used_at #=> Time
|
|
1735
|
+
# resp.backend.database_usage.monthly_backend_capacity_unit_hours #=> Float
|
|
1736
|
+
# resp.waf_configs #=> Array
|
|
1737
|
+
# resp.waf_configs[0].web_acl_arn #=> String
|
|
1738
|
+
# resp.waf_configs[0].waf_status #=> String, one of "ASSOCIATING", "ASSOCIATED", "ASSOCIATION_FAILED", "DISASSOCIATING", "DISASSOCIATION_FAILED"
|
|
1739
|
+
# resp.waf_configs[0].status_reason #=> String
|
|
1740
|
+
# resp.waf_configs[0].status_reason_code #=> String, one of "WEBACL_NOT_FOUND", "ASSOCIATION_LIMIT_EXCEEDED", "FIREWALL_UPDATE_TIMEOUT", "FIREWALL_UPDATE_FAILED", "INTERNAL_ERROR"
|
|
1741
|
+
# resp.created_at #=> Time
|
|
1742
|
+
# resp.updated_at #=> Time
|
|
1743
|
+
#
|
|
1744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetApp AWS API Documentation
|
|
1745
|
+
#
|
|
1746
|
+
# @overload get_app(params = {})
|
|
1747
|
+
# @param [Hash] params ({})
|
|
1748
|
+
def get_app(params = {}, options = {})
|
|
1749
|
+
req = build_request(:get_app, params)
|
|
1750
|
+
req.send_request(options)
|
|
1751
|
+
end
|
|
1752
|
+
|
|
1753
|
+
# Returns information about a branch of an environment.
|
|
1754
|
+
#
|
|
1755
|
+
# @option params [required, String] :app_name
|
|
1756
|
+
# The name of the app.
|
|
1757
|
+
#
|
|
1758
|
+
# @option params [required, String] :environment_name
|
|
1759
|
+
# The name of the environment.
|
|
1760
|
+
#
|
|
1761
|
+
# @option params [required, String] :branch_name
|
|
1762
|
+
# The name of the branch.
|
|
1763
|
+
#
|
|
1764
|
+
# @return [Types::GetBranchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1765
|
+
#
|
|
1766
|
+
# * {Types::GetBranchResponse#app_name #app_name} => String
|
|
1767
|
+
# * {Types::GetBranchResponse#environment_name #environment_name} => String
|
|
1768
|
+
# * {Types::GetBranchResponse#branch_name #branch_name} => String
|
|
1769
|
+
# * {Types::GetBranchResponse#branch_arn #branch_arn} => String
|
|
1770
|
+
# * {Types::GetBranchResponse#git_branch_name #git_branch_name} => String
|
|
1771
|
+
# * {Types::GetBranchResponse#created_at #created_at} => Time
|
|
1772
|
+
# * {Types::GetBranchResponse#backend #backend} => Types::BranchBackend
|
|
1773
|
+
# * {Types::GetBranchResponse#source_branch #source_branch} => Types::RestoreSourceBranch
|
|
1774
|
+
#
|
|
1775
|
+
# @example Request syntax with placeholder values
|
|
1776
|
+
#
|
|
1777
|
+
# resp = client.get_branch({
|
|
1778
|
+
# app_name: "AppName", # required
|
|
1779
|
+
# environment_name: "EnvironmentName", # required
|
|
1780
|
+
# branch_name: "BranchName", # required
|
|
1781
|
+
# })
|
|
1782
|
+
#
|
|
1783
|
+
# @example Response structure
|
|
1784
|
+
#
|
|
1785
|
+
# resp.app_name #=> String
|
|
1786
|
+
# resp.environment_name #=> String
|
|
1787
|
+
# resp.branch_name #=> String
|
|
1788
|
+
# resp.branch_arn #=> String
|
|
1789
|
+
# resp.git_branch_name #=> String
|
|
1790
|
+
# resp.created_at #=> Time
|
|
1791
|
+
# resp.backend.url #=> String
|
|
1792
|
+
# resp.backend.status #=> String, one of "READY", "CREATING", "DELETING", "FAILED_TO_CREATE", "PAUSING", "PAUSED", "RESUMING"
|
|
1793
|
+
# resp.backend.database_config.max_backend_capacity_units #=> Integer
|
|
1794
|
+
# resp.backend.database_config.backup_retention_days #=> Integer
|
|
1795
|
+
# resp.backend.auth #=> String
|
|
1796
|
+
# resp.backend.database_usage.storage_bytes #=> Integer
|
|
1797
|
+
# resp.backend.database_usage.connections #=> Integer
|
|
1798
|
+
# resp.backend.database_usage.last_used_at #=> Time
|
|
1799
|
+
# resp.backend.database_usage.sampled_at #=> Time
|
|
1800
|
+
# resp.backend.database_usage.monthly_backend_capacity_unit_hours #=> Float
|
|
1801
|
+
# resp.backend.database_connection.host #=> String
|
|
1802
|
+
# resp.backend.database_connection.port #=> Integer
|
|
1803
|
+
# resp.backend.database_connection.username #=> String
|
|
1804
|
+
# resp.backend.database_connection.database_name #=> String
|
|
1805
|
+
# resp.source_branch.branch_name #=> String
|
|
1806
|
+
# resp.source_branch.branch_arn #=> String
|
|
1807
|
+
# resp.source_branch.restore_to_time #=> Time
|
|
1808
|
+
#
|
|
1809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetBranch AWS API Documentation
|
|
1810
|
+
#
|
|
1811
|
+
# @overload get_branch(params = {})
|
|
1812
|
+
# @param [Hash] params ({})
|
|
1813
|
+
def get_branch(params = {}, options = {})
|
|
1814
|
+
req = build_request(:get_branch, params)
|
|
1815
|
+
req.send_request(options)
|
|
1816
|
+
end
|
|
1817
|
+
|
|
1818
|
+
# Retrieves a deployment for an environment of a Gen 3 app.
|
|
1819
|
+
#
|
|
1820
|
+
# @option params [required, String] :app_name
|
|
1821
|
+
# The name of the app.
|
|
1822
|
+
#
|
|
1823
|
+
# @option params [required, String] :environment_name
|
|
1824
|
+
# The name of the environment.
|
|
1825
|
+
#
|
|
1826
|
+
# @option params [required, String] :deployment_id
|
|
1827
|
+
# The ID of the deployment.
|
|
1828
|
+
#
|
|
1829
|
+
# @return [Types::GetDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1830
|
+
#
|
|
1831
|
+
# * {Types::GetDeploymentResponse#app_name #app_name} => String
|
|
1832
|
+
# * {Types::GetDeploymentResponse#deployment_id #deployment_id} => String
|
|
1833
|
+
# * {Types::GetDeploymentResponse#deployment_arn #deployment_arn} => String
|
|
1834
|
+
# * {Types::GetDeploymentResponse#environment_name #environment_name} => String
|
|
1835
|
+
# * {Types::GetDeploymentResponse#source_config #source_config} => Types::DeploymentSourceConfig
|
|
1836
|
+
# * {Types::GetDeploymentResponse#description #description} => String
|
|
1837
|
+
# * {Types::GetDeploymentResponse#status #status} => String
|
|
1838
|
+
# * {Types::GetDeploymentResponse#domain_name #domain_name} => String
|
|
1839
|
+
# * {Types::GetDeploymentResponse#aliases #aliases} => Array<Types::AliasSummary>
|
|
1840
|
+
# * {Types::GetDeploymentResponse#environment_variables #environment_variables} => Array<Types::EnvironmentVariableOutput>
|
|
1841
|
+
# * {Types::GetDeploymentResponse#created_at #created_at} => Time
|
|
1842
|
+
# * {Types::GetDeploymentResponse#started_at #started_at} => Time
|
|
1843
|
+
# * {Types::GetDeploymentResponse#ended_at #ended_at} => Time
|
|
1844
|
+
# * {Types::GetDeploymentResponse#expired_at #expired_at} => Time
|
|
1845
|
+
# * {Types::GetDeploymentResponse#status_reason #status_reason} => String
|
|
1846
|
+
# * {Types::GetDeploymentResponse#status_reason_code #status_reason_code} => String
|
|
1847
|
+
# * {Types::GetDeploymentResponse#session_policy #session_policy} => String
|
|
1848
|
+
# * {Types::GetDeploymentResponse#branch #branch} => Types::DeploymentBranch
|
|
1849
|
+
# * {Types::GetDeploymentResponse#backend #backend} => Types::DeploymentBackend
|
|
1850
|
+
# * {Types::GetDeploymentResponse#steps #steps} => Types::DeploymentSteps
|
|
1851
|
+
#
|
|
1852
|
+
# @example Request syntax with placeholder values
|
|
1853
|
+
#
|
|
1854
|
+
# resp = client.get_deployment({
|
|
1855
|
+
# app_name: "AppName", # required
|
|
1856
|
+
# environment_name: "EnvironmentName", # required
|
|
1857
|
+
# deployment_id: "DeploymentId", # required
|
|
1858
|
+
# })
|
|
1859
|
+
#
|
|
1860
|
+
# @example Response structure
|
|
1861
|
+
#
|
|
1862
|
+
# resp.app_name #=> String
|
|
1863
|
+
# resp.deployment_id #=> String
|
|
1864
|
+
# resp.deployment_arn #=> String
|
|
1865
|
+
# resp.environment_name #=> String
|
|
1866
|
+
# resp.source_config.git_source.git_ref #=> String
|
|
1867
|
+
# resp.source_config.git_source.repository_url #=> String
|
|
1868
|
+
# resp.source_config.git_source.commit_id #=> String
|
|
1869
|
+
# resp.source_config.git_source.commit_message #=> String
|
|
1870
|
+
# resp.source_config.git_source.author #=> String
|
|
1871
|
+
# resp.source_config.manual_upload_source.source_upload_id #=> String
|
|
1872
|
+
# resp.source_config.manual_upload_source.source_type #=> String, one of "SOURCE_CODE", "PREBUILT_ARTIFACT"
|
|
1873
|
+
# resp.description #=> String
|
|
1874
|
+
# resp.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "EXPIRED", "CANCELLED"
|
|
1875
|
+
# resp.domain_name #=> String
|
|
1876
|
+
# resp.aliases #=> Array
|
|
1877
|
+
# resp.aliases[0].alias_name #=> String
|
|
1878
|
+
# resp.aliases[0].alias_arn #=> String
|
|
1879
|
+
# resp.aliases[0].type #=> String, one of "ENVIRONMENT", "BRANCH", "PULL_REQUEST"
|
|
1880
|
+
# resp.aliases[0].url #=> String
|
|
1881
|
+
# resp.aliases[0].routing_config #=> Array
|
|
1882
|
+
# resp.aliases[0].routing_config[0].deployment_id #=> String
|
|
1883
|
+
# resp.aliases[0].routing_config[0].weight #=> Integer
|
|
1884
|
+
# resp.aliases[0].created_at #=> Time
|
|
1885
|
+
# resp.aliases[0].updated_at #=> Time
|
|
1886
|
+
# resp.environment_variables #=> Array
|
|
1887
|
+
# resp.environment_variables[0].key #=> String
|
|
1888
|
+
# resp.environment_variables[0].value #=> String
|
|
1889
|
+
# resp.environment_variables[0].type #=> String, one of "PLAINTEXT", "SENSITIVE"
|
|
1890
|
+
# resp.environment_variables[0].comment #=> String
|
|
1891
|
+
# resp.environment_variables[0].source_integration_arn #=> String
|
|
1892
|
+
# resp.environment_variables[0].scope #=> String, one of "BUILD", "RUNTIME", "ALL", "BACKEND"
|
|
1893
|
+
# resp.created_at #=> Time
|
|
1894
|
+
# resp.started_at #=> Time
|
|
1895
|
+
# resp.ended_at #=> Time
|
|
1896
|
+
# resp.expired_at #=> Time
|
|
1897
|
+
# resp.status_reason #=> String
|
|
1898
|
+
# resp.status_reason_code #=> String, one of "INTERNAL_SERVICE_ERROR", "BUILD_FAILED", "BUILD_TIMEOUT", "OUTPUT_DIRECTORY_NOT_FOUND", "GIT_CLONE_FAILED", "SOURCE_DOWNLOAD_FAILED", "CONFIG_RETRIEVAL_FAILED", "BINDING_RESOLUTION_FAILED", "RESOURCE_DELETED", "COLLAPSED", "AT_ACCOUNT_CONCURRENCY_LIMIT", "OTHER_DEPLOYMENT_IN_PROGRESS", "MIGRATION_FAILED", "BRANCH_LIMIT_EXCEEDED", "PUBLISHABLE_KEY_LIMIT_EXCEEDED", "ROLE_NOT_ASSUMABLE"
|
|
1899
|
+
# resp.session_policy #=> String
|
|
1900
|
+
# resp.branch.branch_name #=> String
|
|
1901
|
+
# resp.branch.branch_arn #=> String
|
|
1902
|
+
# resp.branch.backend.url #=> String
|
|
1903
|
+
# resp.branch.backend.publishable_key_id #=> String
|
|
1904
|
+
# resp.backend.migrations_directory #=> String
|
|
1905
|
+
# resp.backend.auth #=> String
|
|
1906
|
+
# resp.backend.database.max_backend_capacity_units #=> Integer
|
|
1907
|
+
# resp.backend.database.backup_retention_days #=> Integer
|
|
1908
|
+
# resp.steps.build.status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
|
1909
|
+
# resp.steps.build.started_at #=> Time
|
|
1910
|
+
# resp.steps.build.ended_at #=> Time
|
|
1911
|
+
# resp.steps.migration.status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
|
1912
|
+
# resp.steps.migration.started_at #=> Time
|
|
1913
|
+
# resp.steps.migration.ended_at #=> Time
|
|
1914
|
+
# resp.steps.migration.applied_migration_names #=> Array
|
|
1915
|
+
# resp.steps.migration.applied_migration_names[0] #=> String
|
|
1916
|
+
# resp.steps.migration.skipped_migration_names #=> Array
|
|
1917
|
+
# resp.steps.migration.skipped_migration_names[0] #=> String
|
|
1918
|
+
# resp.steps.deploy.status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
|
1919
|
+
# resp.steps.deploy.started_at #=> Time
|
|
1920
|
+
# resp.steps.deploy.ended_at #=> Time
|
|
1921
|
+
#
|
|
1922
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetDeployment AWS API Documentation
|
|
1923
|
+
#
|
|
1924
|
+
# @overload get_deployment(params = {})
|
|
1925
|
+
# @param [Hash] params ({})
|
|
1926
|
+
def get_deployment(params = {}, options = {})
|
|
1927
|
+
req = build_request(:get_deployment, params)
|
|
1928
|
+
req.send_request(options)
|
|
1929
|
+
end
|
|
1930
|
+
|
|
1931
|
+
# Retrieves a domain association for a Gen 3 app.
|
|
1932
|
+
#
|
|
1933
|
+
# @option params [required, String] :app_name
|
|
1934
|
+
# The name of the app.
|
|
1935
|
+
#
|
|
1936
|
+
# @option params [required, String] :domain_name
|
|
1937
|
+
# The fully qualified domain name.
|
|
1938
|
+
#
|
|
1939
|
+
# @return [Types::GetDomainAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1940
|
+
#
|
|
1941
|
+
# * {Types::GetDomainAssociationResponse#domain_association_arn #domain_association_arn} => String
|
|
1942
|
+
# * {Types::GetDomainAssociationResponse#domain_name #domain_name} => String
|
|
1943
|
+
# * {Types::GetDomainAssociationResponse#app_name #app_name} => String
|
|
1944
|
+
# * {Types::GetDomainAssociationResponse#routing #routing} => Types::Routing
|
|
1945
|
+
# * {Types::GetDomainAssociationResponse#dns_management_type #dns_management_type} => String
|
|
1946
|
+
# * {Types::GetDomainAssociationResponse#domain_status #domain_status} => String
|
|
1947
|
+
# * {Types::GetDomainAssociationResponse#status_reason_code #status_reason_code} => String
|
|
1948
|
+
# * {Types::GetDomainAssociationResponse#status_message #status_message} => String
|
|
1949
|
+
# * {Types::GetDomainAssociationResponse#ownership_verification_status #ownership_verification_status} => String
|
|
1950
|
+
# * {Types::GetDomainAssociationResponse#certificate_status #certificate_status} => String
|
|
1951
|
+
# * {Types::GetDomainAssociationResponse#dns_records #dns_records} => Array<Types::DnsRecord>
|
|
1952
|
+
# * {Types::GetDomainAssociationResponse#created_at #created_at} => Time
|
|
1953
|
+
# * {Types::GetDomainAssociationResponse#updated_at #updated_at} => Time
|
|
1954
|
+
#
|
|
1955
|
+
# @example Request syntax with placeholder values
|
|
1956
|
+
#
|
|
1957
|
+
# resp = client.get_domain_association({
|
|
1958
|
+
# app_name: "AppName", # required
|
|
1959
|
+
# domain_name: "CustomDomainName", # required
|
|
1960
|
+
# })
|
|
1961
|
+
#
|
|
1962
|
+
# @example Response structure
|
|
1963
|
+
#
|
|
1964
|
+
# resp.domain_association_arn #=> String
|
|
1965
|
+
# resp.domain_name #=> String
|
|
1966
|
+
# resp.app_name #=> String
|
|
1967
|
+
# resp.routing.alias.alias_arn #=> String
|
|
1968
|
+
# resp.routing.redirect.target_url #=> String
|
|
1969
|
+
# resp.routing.redirect.status_code #=> String, one of "HTTP_301", "HTTP_302", "HTTP_307", "HTTP_308"
|
|
1970
|
+
# resp.dns_management_type #=> String, one of "ROUTE_53", "MANUAL", "NS_DELEGATION"
|
|
1971
|
+
# resp.domain_status #=> String, one of "CREATING", "PENDING_CERTIFICATE_VALIDATION", "PENDING_OWNERSHIP_VALIDATION", "PENDING_DNS_VALIDATION", "PENDING_NS_DELEGATION", "PROVISIONING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
|
|
1972
|
+
# resp.status_reason_code #=> String, one of "CERTIFICATE_VALIDATION_TIMEOUT", "DNS_VALIDATION_TIMEOUT", "OWNERSHIP_VALIDATION_TIMEOUT", "NS_DELEGATION_TIMEOUT", "CAA_RECORD_BLOCKED", "ALIAS_NOT_FOUND", "CLOUDFRONT_LIMIT_EXCEEDED", "CERTIFICATE_ISSUANCE_FAILED", "CLOUDFRONT_CONFIGURATION_FAILED", "CLOUDFRONT_UPDATE_FAILED", "CLOUDFRONT_CLEANUP_FAILED", "INTERNAL_ERROR"
|
|
1973
|
+
# resp.status_message #=> String
|
|
1974
|
+
# resp.ownership_verification_status #=> String, one of "PENDING_VERIFICATION", "VERIFIED", "FAILED"
|
|
1975
|
+
# resp.certificate_status #=> String, one of "PENDING_VERIFICATION", "ISSUED", "FAILED"
|
|
1976
|
+
# resp.dns_records #=> Array
|
|
1977
|
+
# resp.dns_records[0].type #=> String, one of "CNAME", "TXT", "A", "AAAA", "NS"
|
|
1978
|
+
# resp.dns_records[0].name #=> String
|
|
1979
|
+
# resp.dns_records[0].value #=> String
|
|
1980
|
+
# resp.dns_records[0].purpose #=> String, one of "CERTIFICATE_VALIDATION", "OWNERSHIP_VERIFICATION", "NAMESERVER_DELEGATION", "DNS_VALIDATION"
|
|
1981
|
+
# resp.created_at #=> Time
|
|
1982
|
+
# resp.updated_at #=> Time
|
|
1983
|
+
#
|
|
1984
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetDomainAssociation AWS API Documentation
|
|
1985
|
+
#
|
|
1986
|
+
# @overload get_domain_association(params = {})
|
|
1987
|
+
# @param [Hash] params ({})
|
|
1988
|
+
def get_domain_association(params = {}, options = {})
|
|
1989
|
+
req = build_request(:get_domain_association, params)
|
|
1990
|
+
req.send_request(options)
|
|
1991
|
+
end
|
|
1992
|
+
|
|
1993
|
+
# Retrieves a signed URL you can use to configure DNS for a custom
|
|
1994
|
+
# domain through a supported registrar.
|
|
1995
|
+
#
|
|
1996
|
+
# @option params [required, String] :app_name
|
|
1997
|
+
# The name of the app.
|
|
1998
|
+
#
|
|
1999
|
+
# @option params [required, String] :domain_name
|
|
2000
|
+
# The domain name.
|
|
2001
|
+
#
|
|
2002
|
+
# @option params [String] :callback_url
|
|
2003
|
+
# The URL to return to after the registrar setup completes.
|
|
2004
|
+
#
|
|
2005
|
+
# @return [Types::GetDomainConnectUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2006
|
+
#
|
|
2007
|
+
# * {Types::GetDomainConnectUrlResponse#status #status} => String
|
|
2008
|
+
# * {Types::GetDomainConnectUrlResponse#signed_redirect_url #signed_redirect_url} => String
|
|
2009
|
+
# * {Types::GetDomainConnectUrlResponse#provider_id #provider_id} => String
|
|
2010
|
+
# * {Types::GetDomainConnectUrlResponse#provider_display_name #provider_display_name} => String
|
|
2011
|
+
#
|
|
2012
|
+
# @example Request syntax with placeholder values
|
|
2013
|
+
#
|
|
2014
|
+
# resp = client.get_domain_connect_url({
|
|
2015
|
+
# app_name: "AppName", # required
|
|
2016
|
+
# domain_name: "CustomDomainName", # required
|
|
2017
|
+
# callback_url: "DomainConnectCallbackUrl",
|
|
2018
|
+
# })
|
|
2019
|
+
#
|
|
2020
|
+
# @example Response structure
|
|
2021
|
+
#
|
|
2022
|
+
# resp.status #=> String, one of "SUPPORTED", "UNSUPPORTED"
|
|
2023
|
+
# resp.signed_redirect_url #=> String
|
|
2024
|
+
# resp.provider_id #=> String
|
|
2025
|
+
# resp.provider_display_name #=> String
|
|
2026
|
+
#
|
|
2027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetDomainConnectUrl AWS API Documentation
|
|
2028
|
+
#
|
|
2029
|
+
# @overload get_domain_connect_url(params = {})
|
|
2030
|
+
# @param [Hash] params ({})
|
|
2031
|
+
def get_domain_connect_url(params = {}, options = {})
|
|
2032
|
+
req = build_request(:get_domain_connect_url, params)
|
|
2033
|
+
req.send_request(options)
|
|
2034
|
+
end
|
|
2035
|
+
|
|
2036
|
+
# Retrieves an environment for a Gen 3 app.
|
|
2037
|
+
#
|
|
2038
|
+
# @option params [required, String] :app_name
|
|
2039
|
+
# The name of the app.
|
|
2040
|
+
#
|
|
2041
|
+
# @option params [required, String] :environment_name
|
|
2042
|
+
# The name of the environment.
|
|
2043
|
+
#
|
|
2044
|
+
# @return [Types::GetEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2045
|
+
#
|
|
2046
|
+
# * {Types::GetEnvironmentResponse#app_name #app_name} => String
|
|
2047
|
+
# * {Types::GetEnvironmentResponse#environment_name #environment_name} => String
|
|
2048
|
+
# * {Types::GetEnvironmentResponse#environment_arn #environment_arn} => String
|
|
2049
|
+
# * {Types::GetEnvironmentResponse#type #type} => String
|
|
2050
|
+
# * {Types::GetEnvironmentResponse#environment_role_arn #environment_role_arn} => String
|
|
2051
|
+
# * {Types::GetEnvironmentResponse#environment_role_permission_mode #environment_role_permission_mode} => String
|
|
2052
|
+
# * {Types::GetEnvironmentResponse#source_config #source_config} => Types::EnvironmentSourceConfig
|
|
2053
|
+
# * {Types::GetEnvironmentResponse#waf_log_configs #waf_log_configs} => Array<Types::WafLogConfig>
|
|
2054
|
+
# * {Types::GetEnvironmentResponse#gradual_rollout_config #gradual_rollout_config} => Types::GradualRolloutConfig
|
|
2055
|
+
# * {Types::GetEnvironmentResponse#web #web} => Types::EnvironmentWebConfig
|
|
2056
|
+
# * {Types::GetEnvironmentResponse#backend #backend} => Types::EnvironmentBackend
|
|
2057
|
+
# * {Types::GetEnvironmentResponse#network_config #network_config} => Types::EnvironmentNetworkConfig
|
|
2058
|
+
# * {Types::GetEnvironmentResponse#created_at #created_at} => Time
|
|
2059
|
+
# * {Types::GetEnvironmentResponse#updated_at #updated_at} => Time
|
|
2060
|
+
#
|
|
2061
|
+
# @example Request syntax with placeholder values
|
|
2062
|
+
#
|
|
2063
|
+
# resp = client.get_environment({
|
|
2064
|
+
# app_name: "AppName", # required
|
|
2065
|
+
# environment_name: "EnvironmentName", # required
|
|
2066
|
+
# })
|
|
2067
|
+
#
|
|
2068
|
+
# @example Response structure
|
|
2069
|
+
#
|
|
2070
|
+
# resp.app_name #=> String
|
|
2071
|
+
# resp.environment_name #=> String
|
|
2072
|
+
# resp.environment_arn #=> String
|
|
2073
|
+
# resp.type #=> String, one of "PRODUCTION", "PREVIEW", "CUSTOM"
|
|
2074
|
+
# resp.environment_role_arn #=> String
|
|
2075
|
+
# resp.environment_role_permission_mode #=> String, one of "SCOPED", "FULL"
|
|
2076
|
+
# resp.source_config.git_source.branch_match_patterns #=> Array
|
|
2077
|
+
# resp.source_config.git_source.branch_match_patterns[0] #=> String
|
|
2078
|
+
# resp.source_config.git_source.deployment_trigger_events #=> Array
|
|
2079
|
+
# resp.source_config.git_source.deployment_trigger_events[0] #=> String, one of "PUSH", "PULL_REQUEST", "FORK_PULL_REQUEST"
|
|
2080
|
+
# resp.waf_log_configs #=> Array
|
|
2081
|
+
# resp.waf_log_configs[0].cloud_watch_logs_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
2082
|
+
# resp.waf_log_configs[0].cloud_watch_logs_config.sampling_rate #=> Integer
|
|
2083
|
+
# resp.waf_log_configs[0].cloud_watch_logs_config.scope #=> String, one of "ALL_REQUESTS", "BLOCKED_ONLY"
|
|
2084
|
+
# resp.waf_log_configs[0].cloud_watch_logs_config.log_group_arn #=> String
|
|
2085
|
+
# resp.waf_log_configs[0].s3_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
2086
|
+
# resp.waf_log_configs[0].s3_config.sampling_rate #=> Integer
|
|
2087
|
+
# resp.waf_log_configs[0].s3_config.scope #=> String, one of "ALL_REQUESTS", "BLOCKED_ONLY"
|
|
2088
|
+
# resp.waf_log_configs[0].s3_config.bucket_arn #=> String
|
|
2089
|
+
# resp.gradual_rollout_config.preset_config.preset #=> String, one of "ALL_AT_ONCE", "CANARY_10_PERCENT_5_MINUTES", "CANARY_10_PERCENT_15_MINUTES", "CANARY_10_PERCENT_30_MINUTES", "LINEAR_10_PERCENT_EVERY_1_MINUTE", "LINEAR_10_PERCENT_EVERY_3_MINUTES", "LINEAR_10_PERCENT_EVERY_10_MINUTES"
|
|
2090
|
+
# resp.web.access_log_config.cloud_watch_logs_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
2091
|
+
# resp.web.access_log_config.cloud_watch_logs_config.sampling_rate #=> Integer
|
|
2092
|
+
# resp.web.access_log_config.cloud_watch_logs_config.log_group_arn #=> String
|
|
2093
|
+
# resp.web.access_log_config.s3_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
2094
|
+
# resp.web.access_log_config.s3_config.sampling_rate #=> Integer
|
|
2095
|
+
# resp.web.access_log_config.s3_config.bucket_arn #=> String
|
|
2096
|
+
# resp.web.environment_alias_config.routing_mode #=> String, one of "AUTO_ROUTE_TO_LATEST", "MANUAL"
|
|
2097
|
+
# resp.web.skew_protection_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
2098
|
+
# resp.web.skew_protection_config.cookie_max_age_seconds #=> Integer
|
|
2099
|
+
# resp.backend.auth #=> String
|
|
2100
|
+
# resp.backend.database.max_backend_capacity_units #=> Integer
|
|
2101
|
+
# resp.backend.database.backup_retention_days #=> Integer
|
|
2102
|
+
# resp.backend.database_log_config.cloud_watch_logs_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
2103
|
+
# resp.backend.database_log_config.cloud_watch_logs_config.sampling_rate #=> Integer
|
|
2104
|
+
# resp.backend.database_log_config.cloud_watch_logs_config.log_group_arn #=> String
|
|
2105
|
+
# resp.backend.database_log_config.s3_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
2106
|
+
# resp.backend.database_log_config.s3_config.sampling_rate #=> Integer
|
|
2107
|
+
# resp.backend.database_log_config.s3_config.bucket_arn #=> String
|
|
2108
|
+
# resp.network_config.build_network_connector_arn #=> String
|
|
2109
|
+
# resp.network_config.compute_network_connector_arn #=> String
|
|
2110
|
+
# resp.created_at #=> Time
|
|
2111
|
+
# resp.updated_at #=> Time
|
|
2112
|
+
#
|
|
2113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetEnvironment AWS API Documentation
|
|
2114
|
+
#
|
|
2115
|
+
# @overload get_environment(params = {})
|
|
2116
|
+
# @param [Hash] params ({})
|
|
2117
|
+
def get_environment(params = {}, options = {})
|
|
2118
|
+
req = build_request(:get_environment, params)
|
|
2119
|
+
req.send_request(options)
|
|
2120
|
+
end
|
|
2121
|
+
|
|
2122
|
+
# Returns a list of the environments that have a network connector.
|
|
2123
|
+
#
|
|
2124
|
+
# @option params [required, String] :network_connector_name
|
|
2125
|
+
# The name of the network connector.
|
|
2126
|
+
#
|
|
2127
|
+
# @option params [Integer] :max_results
|
|
2128
|
+
# The maximum number of results to return in a single response.
|
|
2129
|
+
#
|
|
2130
|
+
# @option params [String] :next_token
|
|
2131
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
2132
|
+
# the next page of results.
|
|
2133
|
+
#
|
|
2134
|
+
# @return [Types::GetEnvironmentsForNetworkConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2135
|
+
#
|
|
2136
|
+
# * {Types::GetEnvironmentsForNetworkConnectorResponse#connector_references #connector_references} => Array<Types::ConnectorReferenceSummary>
|
|
2137
|
+
# * {Types::GetEnvironmentsForNetworkConnectorResponse#next_token #next_token} => String
|
|
2138
|
+
#
|
|
2139
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2140
|
+
#
|
|
2141
|
+
# @example Request syntax with placeholder values
|
|
2142
|
+
#
|
|
2143
|
+
# resp = client.get_environments_for_network_connector({
|
|
2144
|
+
# network_connector_name: "NetworkConnectorName", # required
|
|
2145
|
+
# max_results: 1,
|
|
2146
|
+
# next_token: "NextToken",
|
|
2147
|
+
# })
|
|
2148
|
+
#
|
|
2149
|
+
# @example Response structure
|
|
2150
|
+
#
|
|
2151
|
+
# resp.connector_references #=> Array
|
|
2152
|
+
# resp.connector_references[0].environment_name #=> String
|
|
2153
|
+
# resp.connector_references[0].environment_arn #=> String
|
|
2154
|
+
# resp.connector_references[0].app_name #=> String
|
|
2155
|
+
# resp.connector_references[0].app_arn #=> String
|
|
2156
|
+
# resp.connector_references[0].connection_types #=> Array
|
|
2157
|
+
# resp.connector_references[0].connection_types[0] #=> String, one of "BUILD", "COMPUTE"
|
|
2158
|
+
# resp.next_token #=> String
|
|
2159
|
+
#
|
|
2160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetEnvironmentsForNetworkConnector AWS API Documentation
|
|
2161
|
+
#
|
|
2162
|
+
# @overload get_environments_for_network_connector(params = {})
|
|
2163
|
+
# @param [Hash] params ({})
|
|
2164
|
+
def get_environments_for_network_connector(params = {}, options = {})
|
|
2165
|
+
req = build_request(:get_environments_for_network_connector, params)
|
|
2166
|
+
req.send_request(options)
|
|
2167
|
+
end
|
|
2168
|
+
|
|
2169
|
+
# Gets the contents of a file from a repository branch. Files can be up
|
|
2170
|
+
# to 1 MiB. The AWS Management Console uses this operation when you
|
|
2171
|
+
# create an app from a repository. To view files in detail, use your Git
|
|
2172
|
+
# provider.
|
|
2173
|
+
#
|
|
2174
|
+
# @option params [required, String] :provider
|
|
2175
|
+
# The Git provider.
|
|
2176
|
+
#
|
|
2177
|
+
# @option params [required, String] :owner
|
|
2178
|
+
# The account that the Git connection is for. The value depends on the
|
|
2179
|
+
# provider:
|
|
2180
|
+
#
|
|
2181
|
+
# * For GitHub, specify the user or organization name.
|
|
2182
|
+
#
|
|
2183
|
+
# * For GitLab, specify the user name.
|
|
2184
|
+
#
|
|
2185
|
+
# To get this value, call ListGitConnections.
|
|
2186
|
+
#
|
|
2187
|
+
# @option params [String] :repository_name
|
|
2188
|
+
# The name of the repository, which is the last segment of
|
|
2189
|
+
# RepositoryPath.
|
|
2190
|
+
#
|
|
2191
|
+
# @option params [required, String] :repository_path
|
|
2192
|
+
# The full path of the repository in the Git provider, for example
|
|
2193
|
+
# my-org/my-app. GitLab paths can include subgroups, for example
|
|
2194
|
+
# my-group/subgroup/my-app. To get this value, call ListRepositories.
|
|
2195
|
+
#
|
|
2196
|
+
# @option params [required, String] :file_path
|
|
2197
|
+
# The path of the file, relative to the root of the repository, for
|
|
2198
|
+
# example package.json.
|
|
2199
|
+
#
|
|
2200
|
+
# @option params [required, String] :branch
|
|
2201
|
+
# The name of the branch to read from.
|
|
2202
|
+
#
|
|
2203
|
+
# @return [Types::GetFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2204
|
+
#
|
|
2205
|
+
# * {Types::GetFileResponse#file_path #file_path} => String
|
|
2206
|
+
# * {Types::GetFileResponse#content #content} => String
|
|
2207
|
+
# * {Types::GetFileResponse#sha #sha} => String
|
|
2208
|
+
# * {Types::GetFileResponse#size #size} => Integer
|
|
2209
|
+
#
|
|
2210
|
+
# @example Request syntax with placeholder values
|
|
2211
|
+
#
|
|
2212
|
+
# resp = client.get_file({
|
|
2213
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB
|
|
2214
|
+
# owner: "GitOwnerName", # required
|
|
2215
|
+
# repository_name: "GitRepositoryName",
|
|
2216
|
+
# repository_path: "GitRepositoryPath", # required
|
|
2217
|
+
# file_path: "GitFilePath", # required
|
|
2218
|
+
# branch: "GitBranchName", # required
|
|
2219
|
+
# })
|
|
2220
|
+
#
|
|
2221
|
+
# @example Response structure
|
|
2222
|
+
#
|
|
2223
|
+
# resp.file_path #=> String
|
|
2224
|
+
# resp.content #=> String
|
|
2225
|
+
# resp.sha #=> String
|
|
2226
|
+
# resp.size #=> Integer
|
|
2227
|
+
#
|
|
2228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetFile AWS API Documentation
|
|
2229
|
+
#
|
|
2230
|
+
# @overload get_file(params = {})
|
|
2231
|
+
# @param [Hash] params ({})
|
|
2232
|
+
def get_file(params = {}, options = {})
|
|
2233
|
+
req = build_request(:get_file, params)
|
|
2234
|
+
req.send_request(options)
|
|
2235
|
+
end
|
|
2236
|
+
|
|
2237
|
+
# Lists the files and subfolders directly inside a folder of a
|
|
2238
|
+
# repository branch. The AWS Management Console uses this operation when
|
|
2239
|
+
# you create an app from a repository. To browse a repository in detail,
|
|
2240
|
+
# use your Git provider.
|
|
2241
|
+
#
|
|
2242
|
+
# @option params [required, String] :provider
|
|
2243
|
+
# The Git provider.
|
|
2244
|
+
#
|
|
2245
|
+
# @option params [required, String] :owner
|
|
2246
|
+
# The account that the Git connection is for. The value depends on the
|
|
2247
|
+
# provider:
|
|
2248
|
+
#
|
|
2249
|
+
# * For GitHub, specify the user or organization name.
|
|
2250
|
+
#
|
|
2251
|
+
# * For GitLab, specify the user name.
|
|
2252
|
+
#
|
|
2253
|
+
# To get this value, call ListGitConnections.
|
|
2254
|
+
#
|
|
2255
|
+
# @option params [String] :repository_name
|
|
2256
|
+
# The name of the repository, which is the last segment of
|
|
2257
|
+
# RepositoryPath.
|
|
2258
|
+
#
|
|
2259
|
+
# @option params [required, String] :repository_path
|
|
2260
|
+
# The full path of the repository in the Git provider, for example
|
|
2261
|
+
# my-org/my-app. GitLab paths can include subgroups, for example
|
|
2262
|
+
# my-group/subgroup/my-app. To get this value, call ListRepositories.
|
|
2263
|
+
#
|
|
2264
|
+
# @option params [required, String] :folder_path
|
|
2265
|
+
# The path of the folder, relative to the root of the repository, for
|
|
2266
|
+
# example src/app. To list the root of the repository, use /.
|
|
2267
|
+
#
|
|
2268
|
+
# @option params [required, String] :branch
|
|
2269
|
+
# The name of the branch to read from.
|
|
2270
|
+
#
|
|
2271
|
+
# @return [Types::GetFolderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2272
|
+
#
|
|
2273
|
+
# * {Types::GetFolderResponse#folder_path #folder_path} => String
|
|
2274
|
+
# * {Types::GetFolderResponse#sub_folders #sub_folders} => Array<Types::FolderReference>
|
|
2275
|
+
# * {Types::GetFolderResponse#files #files} => Array<Types::FileReference>
|
|
2276
|
+
#
|
|
2277
|
+
# @example Request syntax with placeholder values
|
|
2278
|
+
#
|
|
2279
|
+
# resp = client.get_folder({
|
|
2280
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB
|
|
2281
|
+
# owner: "GitOwnerName", # required
|
|
2282
|
+
# repository_name: "GitRepositoryName",
|
|
2283
|
+
# repository_path: "GitRepositoryPath", # required
|
|
2284
|
+
# folder_path: "GitFilePath", # required
|
|
2285
|
+
# branch: "GitBranchName", # required
|
|
2286
|
+
# })
|
|
2287
|
+
#
|
|
2288
|
+
# @example Response structure
|
|
2289
|
+
#
|
|
2290
|
+
# resp.folder_path #=> String
|
|
2291
|
+
# resp.sub_folders #=> Array
|
|
2292
|
+
# resp.sub_folders[0].absolute_path #=> String
|
|
2293
|
+
# resp.sub_folders[0].relative_path #=> String
|
|
2294
|
+
# resp.files #=> Array
|
|
2295
|
+
# resp.files[0].absolute_path #=> String
|
|
2296
|
+
# resp.files[0].relative_path #=> String
|
|
2297
|
+
#
|
|
2298
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetFolder AWS API Documentation
|
|
2299
|
+
#
|
|
2300
|
+
# @overload get_folder(params = {})
|
|
2301
|
+
# @param [Hash] params ({})
|
|
2302
|
+
def get_folder(params = {}, options = {})
|
|
2303
|
+
req = build_request(:get_folder, params)
|
|
2304
|
+
req.send_request(options)
|
|
2305
|
+
end
|
|
2306
|
+
|
|
2307
|
+
# Retrieves the identity provider configuration for a Gen 3 app.
|
|
2308
|
+
#
|
|
2309
|
+
# @option params [required, String] :app_name
|
|
2310
|
+
# The name of the app.
|
|
2311
|
+
#
|
|
2312
|
+
# @return [Types::GetIdentityProviderConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2313
|
+
#
|
|
2314
|
+
# * {Types::GetIdentityProviderConfigResponse#app_name #app_name} => String
|
|
2315
|
+
# * {Types::GetIdentityProviderConfigResponse#identity_provider_name #identity_provider_name} => String
|
|
2316
|
+
# * {Types::GetIdentityProviderConfigResponse#identity_provider_config #identity_provider_config} => Types::IdentityProviderConfig
|
|
2317
|
+
# * {Types::GetIdentityProviderConfigResponse#status #status} => String
|
|
2318
|
+
# * {Types::GetIdentityProviderConfigResponse#status_reason #status_reason} => String
|
|
2319
|
+
# * {Types::GetIdentityProviderConfigResponse#created_at #created_at} => Time
|
|
2320
|
+
# * {Types::GetIdentityProviderConfigResponse#updated_at #updated_at} => Time
|
|
2321
|
+
#
|
|
2322
|
+
# @example Request syntax with placeholder values
|
|
2323
|
+
#
|
|
2324
|
+
# resp = client.get_identity_provider_config({
|
|
2325
|
+
# app_name: "AppName", # required
|
|
2326
|
+
# })
|
|
2327
|
+
#
|
|
2328
|
+
# @example Response structure
|
|
2329
|
+
#
|
|
2330
|
+
# resp.app_name #=> String
|
|
2331
|
+
# resp.identity_provider_name #=> String
|
|
2332
|
+
# resp.identity_provider_config.oidc.issuer_url #=> String
|
|
2333
|
+
# resp.identity_provider_config.oidc.client_id #=> String
|
|
2334
|
+
# resp.identity_provider_config.oidc.token_type #=> String, one of "ID", "ACCESS"
|
|
2335
|
+
# resp.identity_provider_config.oidc.token_validations #=> Array
|
|
2336
|
+
# resp.identity_provider_config.oidc.token_validations[0] #=> String
|
|
2337
|
+
# resp.identity_provider_config.oidc.authorization_endpoint #=> String
|
|
2338
|
+
# resp.identity_provider_config.oidc.token_endpoint #=> String
|
|
2339
|
+
# resp.identity_provider_config.oidc.grant_type #=> String, one of "CODE", "CODE_WITH_PKCE"
|
|
2340
|
+
# resp.identity_provider_config.oidc.refresh_token_strategy #=> String, one of "OFFLINE_ACCESS_SCOPE", "NO_SCOPE"
|
|
2341
|
+
# resp.identity_provider_config.oidc.authorize_request_params #=> Hash
|
|
2342
|
+
# resp.identity_provider_config.oidc.authorize_request_params["String"] #=> String
|
|
2343
|
+
# resp.identity_provider_config.oidc.token_request_params #=> Hash
|
|
2344
|
+
# resp.identity_provider_config.oidc.token_request_params["String"] #=> String
|
|
2345
|
+
# resp.identity_provider_config.iam_identity_center.instance_arn #=> String
|
|
2346
|
+
# resp.identity_provider_config.iam_identity_center.group_id #=> String
|
|
2347
|
+
# resp.status #=> String, one of "ACTIVE", "UPDATING", "ROLLED_BACK"
|
|
2348
|
+
# resp.status_reason #=> String
|
|
2349
|
+
# resp.created_at #=> Time
|
|
2350
|
+
# resp.updated_at #=> Time
|
|
2351
|
+
#
|
|
2352
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetIdentityProviderConfig AWS API Documentation
|
|
2353
|
+
#
|
|
2354
|
+
# @overload get_identity_provider_config(params = {})
|
|
2355
|
+
# @param [Hash] params ({})
|
|
2356
|
+
def get_identity_provider_config(params = {}, options = {})
|
|
2357
|
+
req = build_request(:get_identity_provider_config, params)
|
|
2358
|
+
req.send_request(options)
|
|
2359
|
+
end
|
|
2360
|
+
|
|
2361
|
+
# Retrieves an integration configuration.
|
|
2362
|
+
#
|
|
2363
|
+
# @option params [required, String] :integration_name
|
|
2364
|
+
# The name of the integration.
|
|
2365
|
+
#
|
|
2366
|
+
# @return [Types::GetIntegrationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2367
|
+
#
|
|
2368
|
+
# * {Types::GetIntegrationConfigurationResponse#integration_name #integration_name} => String
|
|
2369
|
+
# * {Types::GetIntegrationConfigurationResponse#integration_arn #integration_arn} => String
|
|
2370
|
+
# * {Types::GetIntegrationConfigurationResponse#integration_type_id #integration_type_id} => String
|
|
2371
|
+
# * {Types::GetIntegrationConfigurationResponse#resource_configuration #resource_configuration} => Types::ResourceConfiguration
|
|
2372
|
+
# * {Types::GetIntegrationConfigurationResponse#created_at #created_at} => Time
|
|
2373
|
+
# * {Types::GetIntegrationConfigurationResponse#updated_at #updated_at} => Time
|
|
2374
|
+
# * {Types::GetIntegrationConfigurationResponse#environment_variables #environment_variables} => Array<Types::IntegrationEnvironmentVariable>
|
|
2375
|
+
#
|
|
2376
|
+
# @example Request syntax with placeholder values
|
|
2377
|
+
#
|
|
2378
|
+
# resp = client.get_integration_configuration({
|
|
2379
|
+
# integration_name: "IntegrationName", # required
|
|
2380
|
+
# })
|
|
2381
|
+
#
|
|
2382
|
+
# @example Response structure
|
|
2383
|
+
#
|
|
2384
|
+
# resp.integration_name #=> String
|
|
2385
|
+
# resp.integration_arn #=> String
|
|
2386
|
+
# resp.integration_type_id #=> String
|
|
2387
|
+
# resp.resource_configuration.s3.bucket_arn #=> String
|
|
2388
|
+
# resp.resource_configuration.dsql.cluster_arn #=> String
|
|
2389
|
+
# resp.resource_configuration.dsql.database_user #=> String
|
|
2390
|
+
# resp.resource_configuration.bedrock.region_name #=> String
|
|
2391
|
+
# resp.resource_configuration.bedrock.model_id #=> String
|
|
2392
|
+
# resp.resource_configuration.custom.resource_arn #=> String
|
|
2393
|
+
# resp.created_at #=> Time
|
|
2394
|
+
# resp.updated_at #=> Time
|
|
2395
|
+
# resp.environment_variables #=> Array
|
|
2396
|
+
# resp.environment_variables[0].key #=> String
|
|
2397
|
+
# resp.environment_variables[0].key_override #=> String
|
|
2398
|
+
# resp.environment_variables[0].value #=> String
|
|
2399
|
+
# resp.environment_variables[0].type #=> String, one of "PLAINTEXT", "SENSITIVE"
|
|
2400
|
+
#
|
|
2401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetIntegrationConfiguration AWS API Documentation
|
|
2402
|
+
#
|
|
2403
|
+
# @overload get_integration_configuration(params = {})
|
|
2404
|
+
# @param [Hash] params ({})
|
|
2405
|
+
def get_integration_configuration(params = {}, options = {})
|
|
2406
|
+
req = build_request(:get_integration_configuration, params)
|
|
2407
|
+
req.send_request(options)
|
|
2408
|
+
end
|
|
2409
|
+
|
|
2410
|
+
# Retrieves an integration connection.
|
|
2411
|
+
#
|
|
2412
|
+
# @option params [required, String] :connection_id
|
|
2413
|
+
# The ID of the integration connection.
|
|
2414
|
+
#
|
|
2415
|
+
# @return [Types::GetIntegrationConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2416
|
+
#
|
|
2417
|
+
# * {Types::GetIntegrationConnectionResponse#connection_id #connection_id} => String
|
|
2418
|
+
# * {Types::GetIntegrationConnectionResponse#integration_name #integration_name} => String
|
|
2419
|
+
# * {Types::GetIntegrationConnectionResponse#integration_arn #integration_arn} => String
|
|
2420
|
+
# * {Types::GetIntegrationConnectionResponse#environment_arn #environment_arn} => String
|
|
2421
|
+
# * {Types::GetIntegrationConnectionResponse#created_at #created_at} => Time
|
|
2422
|
+
# * {Types::GetIntegrationConnectionResponse#updated_at #updated_at} => Time
|
|
2423
|
+
#
|
|
2424
|
+
# @example Request syntax with placeholder values
|
|
2425
|
+
#
|
|
2426
|
+
# resp = client.get_integration_connection({
|
|
2427
|
+
# connection_id: "ConnectionId", # required
|
|
2428
|
+
# })
|
|
2429
|
+
#
|
|
2430
|
+
# @example Response structure
|
|
2431
|
+
#
|
|
2432
|
+
# resp.connection_id #=> String
|
|
2433
|
+
# resp.integration_name #=> String
|
|
2434
|
+
# resp.integration_arn #=> String
|
|
2435
|
+
# resp.environment_arn #=> String
|
|
2436
|
+
# resp.created_at #=> Time
|
|
2437
|
+
# resp.updated_at #=> Time
|
|
2438
|
+
#
|
|
2439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetIntegrationConnection AWS API Documentation
|
|
2440
|
+
#
|
|
2441
|
+
# @overload get_integration_connection(params = {})
|
|
2442
|
+
# @param [Hash] params ({})
|
|
2443
|
+
def get_integration_connection(params = {}, options = {})
|
|
2444
|
+
req = build_request(:get_integration_connection, params)
|
|
2445
|
+
req.send_request(options)
|
|
2446
|
+
end
|
|
2447
|
+
|
|
2448
|
+
# Retrieves a network connector.
|
|
2449
|
+
#
|
|
2450
|
+
# @option params [required, String] :network_connector_name
|
|
2451
|
+
# The name of the network connector.
|
|
2452
|
+
#
|
|
2453
|
+
# @return [Types::GetNetworkConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2454
|
+
#
|
|
2455
|
+
# * {Types::GetNetworkConnectorResponse#network_connector_name #network_connector_name} => String
|
|
2456
|
+
# * {Types::GetNetworkConnectorResponse#network_connector_arn #network_connector_arn} => String
|
|
2457
|
+
# * {Types::GetNetworkConnectorResponse#subnet_ids #subnet_ids} => Array<String>
|
|
2458
|
+
# * {Types::GetNetworkConnectorResponse#security_group_ids #security_group_ids} => Array<String>
|
|
2459
|
+
# * {Types::GetNetworkConnectorResponse#network_connector_role_arn #network_connector_role_arn} => String
|
|
2460
|
+
# * {Types::GetNetworkConnectorResponse#status #status} => String
|
|
2461
|
+
# * {Types::GetNetworkConnectorResponse#status_reason #status_reason} => String
|
|
2462
|
+
# * {Types::GetNetworkConnectorResponse#created_at #created_at} => Time
|
|
2463
|
+
# * {Types::GetNetworkConnectorResponse#updated_at #updated_at} => Time
|
|
2464
|
+
#
|
|
2465
|
+
# @example Request syntax with placeholder values
|
|
2466
|
+
#
|
|
2467
|
+
# resp = client.get_network_connector({
|
|
2468
|
+
# network_connector_name: "NetworkConnectorName", # required
|
|
2469
|
+
# })
|
|
2470
|
+
#
|
|
2471
|
+
# @example Response structure
|
|
2472
|
+
#
|
|
2473
|
+
# resp.network_connector_name #=> String
|
|
2474
|
+
# resp.network_connector_arn #=> String
|
|
2475
|
+
# resp.subnet_ids #=> Array
|
|
2476
|
+
# resp.subnet_ids[0] #=> String
|
|
2477
|
+
# resp.security_group_ids #=> Array
|
|
2478
|
+
# resp.security_group_ids[0] #=> String
|
|
2479
|
+
# resp.network_connector_role_arn #=> String
|
|
2480
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
|
|
2481
|
+
# resp.status_reason #=> String
|
|
2482
|
+
# resp.created_at #=> Time
|
|
2483
|
+
# resp.updated_at #=> Time
|
|
2484
|
+
#
|
|
2485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetNetworkConnector AWS API Documentation
|
|
2486
|
+
#
|
|
2487
|
+
# @overload get_network_connector(params = {})
|
|
2488
|
+
# @param [Hash] params ({})
|
|
2489
|
+
def get_network_connector(params = {}, options = {})
|
|
2490
|
+
req = build_request(:get_network_connector, params)
|
|
2491
|
+
req.send_request(options)
|
|
2492
|
+
end
|
|
2493
|
+
|
|
2494
|
+
# Returns the point-in-time restore window for the production branch.
|
|
2495
|
+
# The window is the range of times that you can specify in a
|
|
2496
|
+
# RestoreBranch request. The latest restorable time advances
|
|
2497
|
+
# continuously. If no restore window is available yet, for example
|
|
2498
|
+
# because the production branch has no completed deployment, the
|
|
2499
|
+
# response omits both times.
|
|
2500
|
+
#
|
|
2501
|
+
# @option params [required, String] :branch_arn
|
|
2502
|
+
# The Amazon Resource Name (ARN) of the production branch of the
|
|
2503
|
+
# Production environment. Other branches can't be restored.
|
|
2504
|
+
#
|
|
2505
|
+
# @return [Types::GetRestoreWindowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2506
|
+
#
|
|
2507
|
+
# * {Types::GetRestoreWindowResponse#earliest_restorable_time #earliest_restorable_time} => Time
|
|
2508
|
+
# * {Types::GetRestoreWindowResponse#latest_restorable_time #latest_restorable_time} => Time
|
|
2509
|
+
#
|
|
2510
|
+
# @example Request syntax with placeholder values
|
|
2511
|
+
#
|
|
2512
|
+
# resp = client.get_restore_window({
|
|
2513
|
+
# branch_arn: "BranchArn", # required
|
|
2514
|
+
# })
|
|
2515
|
+
#
|
|
2516
|
+
# @example Response structure
|
|
2517
|
+
#
|
|
2518
|
+
# resp.earliest_restorable_time #=> Time
|
|
2519
|
+
# resp.latest_restorable_time #=> Time
|
|
2520
|
+
#
|
|
2521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetRestoreWindow AWS API Documentation
|
|
2522
|
+
#
|
|
2523
|
+
# @overload get_restore_window(params = {})
|
|
2524
|
+
# @param [Hash] params ({})
|
|
2525
|
+
def get_restore_window(params = {}, options = {})
|
|
2526
|
+
req = build_request(:get_restore_window, params)
|
|
2527
|
+
req.send_request(options)
|
|
2528
|
+
end
|
|
2529
|
+
|
|
2530
|
+
# Retrieves a source upload.
|
|
2531
|
+
#
|
|
2532
|
+
# @option params [required, String] :source_upload_id
|
|
2533
|
+
# The ID of the source upload.
|
|
2534
|
+
#
|
|
2535
|
+
# @return [Types::GetSourceUploadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2536
|
+
#
|
|
2537
|
+
# * {Types::GetSourceUploadResponse#source_upload_id #source_upload_id} => String
|
|
2538
|
+
# * {Types::GetSourceUploadResponse#zip_upload #zip_upload} => Types::ZipUpload
|
|
2539
|
+
# * {Types::GetSourceUploadResponse#created_at #created_at} => Time
|
|
2540
|
+
# * {Types::GetSourceUploadResponse#upload_expires_at #upload_expires_at} => Time
|
|
2541
|
+
# * {Types::GetSourceUploadResponse#size_in_bytes #size_in_bytes} => Integer
|
|
2542
|
+
#
|
|
2543
|
+
# @example Request syntax with placeholder values
|
|
2544
|
+
#
|
|
2545
|
+
# resp = client.get_source_upload({
|
|
2546
|
+
# source_upload_id: "SourceUploadId", # required
|
|
2547
|
+
# })
|
|
2548
|
+
#
|
|
2549
|
+
# @example Response structure
|
|
2550
|
+
#
|
|
2551
|
+
# resp.source_upload_id #=> String
|
|
2552
|
+
# resp.zip_upload.digest #=> String
|
|
2553
|
+
# resp.zip_upload.upload_url #=> String
|
|
2554
|
+
# resp.zip_upload.url_expires_at #=> Time
|
|
2555
|
+
# resp.created_at #=> Time
|
|
2556
|
+
# resp.upload_expires_at #=> Time
|
|
2557
|
+
# resp.size_in_bytes #=> Integer
|
|
2558
|
+
#
|
|
2559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/GetSourceUpload AWS API Documentation
|
|
2560
|
+
#
|
|
2561
|
+
# @overload get_source_upload(params = {})
|
|
2562
|
+
# @param [Hash] params ({})
|
|
2563
|
+
def get_source_upload(params = {}, options = {})
|
|
2564
|
+
req = build_request(:get_source_upload, params)
|
|
2565
|
+
req.send_request(options)
|
|
2566
|
+
end
|
|
2567
|
+
|
|
2568
|
+
# Returns a list of the access control configurations for a Gen 3 app.
|
|
2569
|
+
#
|
|
2570
|
+
# @option params [required, String] :app_name
|
|
2571
|
+
# The name of the app.
|
|
2572
|
+
#
|
|
2573
|
+
# @option params [Integer] :max_results
|
|
2574
|
+
# The maximum number of results to return in a single response.
|
|
2575
|
+
#
|
|
2576
|
+
# @option params [String] :next_token
|
|
2577
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
2578
|
+
# the next page of results.
|
|
2579
|
+
#
|
|
2580
|
+
# @return [Types::ListAccessControlsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2581
|
+
#
|
|
2582
|
+
# * {Types::ListAccessControlsResponse#access_controls #access_controls} => Array<Types::AccessControlSummary>
|
|
2583
|
+
# * {Types::ListAccessControlsResponse#next_token #next_token} => String
|
|
2584
|
+
#
|
|
2585
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2586
|
+
#
|
|
2587
|
+
# @example Request syntax with placeholder values
|
|
2588
|
+
#
|
|
2589
|
+
# resp = client.list_access_controls({
|
|
2590
|
+
# app_name: "AppName", # required
|
|
2591
|
+
# max_results: 1,
|
|
2592
|
+
# next_token: "NextToken",
|
|
2593
|
+
# })
|
|
2594
|
+
#
|
|
2595
|
+
# @example Response structure
|
|
2596
|
+
#
|
|
2597
|
+
# resp.access_controls #=> Array
|
|
2598
|
+
# resp.access_controls[0].environment_name #=> String
|
|
2599
|
+
# resp.access_controls[0].provider_type #=> String, one of "OIDC", "IAM_IDENTITY_CENTER"
|
|
2600
|
+
# resp.access_controls[0].scope #=> String, one of "ALL_DEPLOYMENTS", "NON_ACTIVE_DEPLOYMENTS"
|
|
2601
|
+
# resp.access_controls[0].rule.user_claims #=> Array
|
|
2602
|
+
# resp.access_controls[0].rule.user_claims[0].key #=> String
|
|
2603
|
+
# resp.access_controls[0].rule.user_claims[0].operator #=> String, one of "EQUALS", "CONTAINS", "BEGINS_WITH", "ENDS_WITH"
|
|
2604
|
+
# resp.access_controls[0].rule.user_claims[0].value #=> String
|
|
2605
|
+
# resp.access_controls[0].status #=> String, one of "ENABLING", "ENABLED", "ENABLE_FAILED", "UPDATING", "UPDATE_FAILED", "DISABLING", "DISABLED", "DISABLE_FAILED"
|
|
2606
|
+
# resp.access_controls[0].enabled_at #=> Time
|
|
2607
|
+
# resp.next_token #=> String
|
|
2608
|
+
#
|
|
2609
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListAccessControls AWS API Documentation
|
|
2610
|
+
#
|
|
2611
|
+
# @overload list_access_controls(params = {})
|
|
2612
|
+
# @param [Hash] params ({})
|
|
2613
|
+
def list_access_controls(params = {}, options = {})
|
|
2614
|
+
req = build_request(:list_access_controls, params)
|
|
2615
|
+
req.send_request(options)
|
|
2616
|
+
end
|
|
2617
|
+
|
|
2618
|
+
# Returns a list of the aliases for an environment of a Gen 3 app.
|
|
2619
|
+
#
|
|
2620
|
+
# @option params [required, String] :app_name
|
|
2621
|
+
# The name of the app.
|
|
2622
|
+
#
|
|
2623
|
+
# @option params [required, String] :environment_name
|
|
2624
|
+
# The name of the environment.
|
|
2625
|
+
#
|
|
2626
|
+
# @option params [String] :next_token
|
|
2627
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
2628
|
+
# the next page of results.
|
|
2629
|
+
#
|
|
2630
|
+
# @option params [Integer] :max_results
|
|
2631
|
+
# The maximum number of results to return in a single response.
|
|
2632
|
+
#
|
|
2633
|
+
# @return [Types::ListAliasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2634
|
+
#
|
|
2635
|
+
# * {Types::ListAliasesResponse#aliases #aliases} => Array<Types::AliasSummary>
|
|
2636
|
+
# * {Types::ListAliasesResponse#next_token #next_token} => String
|
|
2637
|
+
#
|
|
2638
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2639
|
+
#
|
|
2640
|
+
# @example Request syntax with placeholder values
|
|
2641
|
+
#
|
|
2642
|
+
# resp = client.list_aliases({
|
|
2643
|
+
# app_name: "AppName", # required
|
|
2644
|
+
# environment_name: "EnvironmentName", # required
|
|
2645
|
+
# next_token: "NextToken",
|
|
2646
|
+
# max_results: 1,
|
|
2647
|
+
# })
|
|
2648
|
+
#
|
|
2649
|
+
# @example Response structure
|
|
2650
|
+
#
|
|
2651
|
+
# resp.aliases #=> Array
|
|
2652
|
+
# resp.aliases[0].alias_name #=> String
|
|
2653
|
+
# resp.aliases[0].alias_arn #=> String
|
|
2654
|
+
# resp.aliases[0].type #=> String, one of "ENVIRONMENT", "BRANCH", "PULL_REQUEST"
|
|
2655
|
+
# resp.aliases[0].url #=> String
|
|
2656
|
+
# resp.aliases[0].routing_config #=> Array
|
|
2657
|
+
# resp.aliases[0].routing_config[0].deployment_id #=> String
|
|
2658
|
+
# resp.aliases[0].routing_config[0].weight #=> Integer
|
|
2659
|
+
# resp.aliases[0].created_at #=> Time
|
|
2660
|
+
# resp.aliases[0].updated_at #=> Time
|
|
2661
|
+
# resp.next_token #=> String
|
|
2662
|
+
#
|
|
2663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListAliases AWS API Documentation
|
|
2664
|
+
#
|
|
2665
|
+
# @overload list_aliases(params = {})
|
|
2666
|
+
# @param [Hash] params ({})
|
|
2667
|
+
def list_aliases(params = {}, options = {})
|
|
2668
|
+
req = build_request(:list_aliases, params)
|
|
2669
|
+
req.send_request(options)
|
|
2670
|
+
end
|
|
2671
|
+
|
|
2672
|
+
# Returns a list of the API keys for a branch. The response includes
|
|
2673
|
+
# only the metadata for each key, not the key value. To get the value of
|
|
2674
|
+
# a key, use GetApiKey.
|
|
2675
|
+
#
|
|
2676
|
+
# @option params [required, String] :branch_arn
|
|
2677
|
+
# The Amazon Resource Name (ARN) of the branch to list the API keys for.
|
|
2678
|
+
#
|
|
2679
|
+
# @option params [String] :status
|
|
2680
|
+
# The status to filter by. If you specify a status, the response
|
|
2681
|
+
# includes only the keys that have that status. If you omit this, the
|
|
2682
|
+
# response includes keys in every status.
|
|
2683
|
+
#
|
|
2684
|
+
# @option params [Integer] :max_results
|
|
2685
|
+
# The maximum number of results to return in a single response.
|
|
2686
|
+
#
|
|
2687
|
+
# @option params [String] :next_token
|
|
2688
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
2689
|
+
# the next page of results.
|
|
2690
|
+
#
|
|
2691
|
+
# @return [Types::ListApiKeysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2692
|
+
#
|
|
2693
|
+
# * {Types::ListApiKeysResponse#api_keys #api_keys} => Array<Types::ApiKeySummary>
|
|
2694
|
+
# * {Types::ListApiKeysResponse#next_token #next_token} => String
|
|
2695
|
+
#
|
|
2696
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2697
|
+
#
|
|
2698
|
+
# @example Request syntax with placeholder values
|
|
2699
|
+
#
|
|
2700
|
+
# resp = client.list_api_keys({
|
|
2701
|
+
# branch_arn: "BranchArn", # required
|
|
2702
|
+
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
|
2703
|
+
# max_results: 1,
|
|
2704
|
+
# next_token: "NextToken",
|
|
2705
|
+
# })
|
|
2706
|
+
#
|
|
2707
|
+
# @example Response structure
|
|
2708
|
+
#
|
|
2709
|
+
# resp.api_keys #=> Array
|
|
2710
|
+
# resp.api_keys[0].api_key_id #=> String
|
|
2711
|
+
# resp.api_keys[0].status #=> String, one of "ACTIVE", "INACTIVE"
|
|
2712
|
+
# resp.api_keys[0].created_at #=> Time
|
|
2713
|
+
# resp.api_keys[0].updated_at #=> Time
|
|
2714
|
+
# resp.next_token #=> String
|
|
2715
|
+
#
|
|
2716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListApiKeys AWS API Documentation
|
|
2717
|
+
#
|
|
2718
|
+
# @overload list_api_keys(params = {})
|
|
2719
|
+
# @param [Hash] params ({})
|
|
2720
|
+
def list_api_keys(params = {}, options = {})
|
|
2721
|
+
req = build_request(:list_api_keys, params)
|
|
2722
|
+
req.send_request(options)
|
|
2723
|
+
end
|
|
2724
|
+
|
|
2725
|
+
# Returns a list of the existing Gen 3 apps.
|
|
2726
|
+
#
|
|
2727
|
+
# @option params [Integer] :max_results
|
|
2728
|
+
# The maximum number of results to return in a single response.
|
|
2729
|
+
#
|
|
2730
|
+
# @option params [String] :next_token
|
|
2731
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
2732
|
+
# the next page of results.
|
|
2733
|
+
#
|
|
2734
|
+
# @return [Types::ListAppsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2735
|
+
#
|
|
2736
|
+
# * {Types::ListAppsResponse#apps #apps} => Array<Types::AppSummary>
|
|
2737
|
+
# * {Types::ListAppsResponse#next_token #next_token} => String
|
|
2738
|
+
#
|
|
2739
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2740
|
+
#
|
|
2741
|
+
# @example Request syntax with placeholder values
|
|
2742
|
+
#
|
|
2743
|
+
# resp = client.list_apps({
|
|
2744
|
+
# max_results: 1,
|
|
2745
|
+
# next_token: "NextToken",
|
|
2746
|
+
# })
|
|
2747
|
+
#
|
|
2748
|
+
# @example Response structure
|
|
2749
|
+
#
|
|
2750
|
+
# resp.apps #=> Array
|
|
2751
|
+
# resp.apps[0].app_name #=> String
|
|
2752
|
+
# resp.apps[0].app_arn #=> String
|
|
2753
|
+
# resp.apps[0].source_config.git_hub_source.repository_url #=> String
|
|
2754
|
+
# resp.apps[0].source_config.git_lab_source.repository_url #=> String
|
|
2755
|
+
# resp.apps[0].source_config.git_lab_source.owner #=> String
|
|
2756
|
+
# resp.apps[0].created_at #=> Time
|
|
2757
|
+
# resp.apps[0].updated_at #=> Time
|
|
2758
|
+
# resp.next_token #=> String
|
|
2759
|
+
#
|
|
2760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListApps AWS API Documentation
|
|
2761
|
+
#
|
|
2762
|
+
# @overload list_apps(params = {})
|
|
2763
|
+
# @param [Hash] params ({})
|
|
2764
|
+
def list_apps(params = {}, options = {})
|
|
2765
|
+
req = build_request(:list_apps, params)
|
|
2766
|
+
req.send_request(options)
|
|
2767
|
+
end
|
|
2768
|
+
|
|
2769
|
+
# Returns a list of the branches for an environment.
|
|
2770
|
+
#
|
|
2771
|
+
# @option params [required, String] :app_name
|
|
2772
|
+
# The name of the app.
|
|
2773
|
+
#
|
|
2774
|
+
# @option params [required, String] :environment_name
|
|
2775
|
+
# The name of the environment.
|
|
2776
|
+
#
|
|
2777
|
+
# @option params [String] :next_token
|
|
2778
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
2779
|
+
# the next page of results.
|
|
2780
|
+
#
|
|
2781
|
+
# @option params [Integer] :max_results
|
|
2782
|
+
# The maximum number of results to return in a single response.
|
|
2783
|
+
#
|
|
2784
|
+
# @return [Types::ListBranchesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2785
|
+
#
|
|
2786
|
+
# * {Types::ListBranchesResponse#branches #branches} => Array<Types::BranchSummary>
|
|
2787
|
+
# * {Types::ListBranchesResponse#next_token #next_token} => String
|
|
2788
|
+
#
|
|
2789
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2790
|
+
#
|
|
2791
|
+
# @example Request syntax with placeholder values
|
|
2792
|
+
#
|
|
2793
|
+
# resp = client.list_branches({
|
|
2794
|
+
# app_name: "AppName", # required
|
|
2795
|
+
# environment_name: "EnvironmentName", # required
|
|
2796
|
+
# next_token: "NextToken",
|
|
2797
|
+
# max_results: 1,
|
|
2798
|
+
# })
|
|
2799
|
+
#
|
|
2800
|
+
# @example Response structure
|
|
2801
|
+
#
|
|
2802
|
+
# resp.branches #=> Array
|
|
2803
|
+
# resp.branches[0].branch_name #=> String
|
|
2804
|
+
# resp.branches[0].branch_arn #=> String
|
|
2805
|
+
# resp.branches[0].git_branch_name #=> String
|
|
2806
|
+
# resp.branches[0].created_at #=> Time
|
|
2807
|
+
# resp.branches[0].source_branch.branch_name #=> String
|
|
2808
|
+
# resp.branches[0].source_branch.branch_arn #=> String
|
|
2809
|
+
# resp.branches[0].source_branch.restore_to_time #=> Time
|
|
2810
|
+
# resp.next_token #=> String
|
|
2811
|
+
#
|
|
2812
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListBranches AWS API Documentation
|
|
2813
|
+
#
|
|
2814
|
+
# @overload list_branches(params = {})
|
|
2815
|
+
# @param [Hash] params ({})
|
|
2816
|
+
def list_branches(params = {}, options = {})
|
|
2817
|
+
req = build_request(:list_branches, params)
|
|
2818
|
+
req.send_request(options)
|
|
2819
|
+
end
|
|
2820
|
+
|
|
2821
|
+
# Returns a list of the deployments for a Gen 3 app.
|
|
2822
|
+
#
|
|
2823
|
+
# @option params [required, String] :app_name
|
|
2824
|
+
# The name of the app.
|
|
2825
|
+
#
|
|
2826
|
+
# @option params [Integer] :max_results
|
|
2827
|
+
# The maximum number of results to return in a single response.
|
|
2828
|
+
#
|
|
2829
|
+
# @option params [String] :next_token
|
|
2830
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
2831
|
+
# the next page of results.
|
|
2832
|
+
#
|
|
2833
|
+
# @return [Types::ListDeploymentsForAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2834
|
+
#
|
|
2835
|
+
# * {Types::ListDeploymentsForAppResponse#deployments #deployments} => Array<Types::DeploymentSummary>
|
|
2836
|
+
# * {Types::ListDeploymentsForAppResponse#next_token #next_token} => String
|
|
2837
|
+
#
|
|
2838
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2839
|
+
#
|
|
2840
|
+
# @example Request syntax with placeholder values
|
|
2841
|
+
#
|
|
2842
|
+
# resp = client.list_deployments_for_app({
|
|
2843
|
+
# app_name: "AppName", # required
|
|
2844
|
+
# max_results: 1,
|
|
2845
|
+
# next_token: "NextToken",
|
|
2846
|
+
# })
|
|
2847
|
+
#
|
|
2848
|
+
# @example Response structure
|
|
2849
|
+
#
|
|
2850
|
+
# resp.deployments #=> Array
|
|
2851
|
+
# resp.deployments[0].app_name #=> String
|
|
2852
|
+
# resp.deployments[0].deployment_id #=> String
|
|
2853
|
+
# resp.deployments[0].deployment_arn #=> String
|
|
2854
|
+
# resp.deployments[0].environment_name #=> String
|
|
2855
|
+
# resp.deployments[0].status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "EXPIRED", "CANCELLED"
|
|
2856
|
+
# resp.deployments[0].source_config.git_source.git_ref #=> String
|
|
2857
|
+
# resp.deployments[0].source_config.git_source.repository_url #=> String
|
|
2858
|
+
# resp.deployments[0].source_config.git_source.commit_id #=> String
|
|
2859
|
+
# resp.deployments[0].source_config.git_source.commit_message #=> String
|
|
2860
|
+
# resp.deployments[0].source_config.git_source.author #=> String
|
|
2861
|
+
# resp.deployments[0].source_config.manual_upload_source.source_upload_id #=> String
|
|
2862
|
+
# resp.deployments[0].source_config.manual_upload_source.source_type #=> String, one of "SOURCE_CODE", "PREBUILT_ARTIFACT"
|
|
2863
|
+
# resp.deployments[0].description #=> String
|
|
2864
|
+
# resp.deployments[0].domain_name #=> String
|
|
2865
|
+
# resp.deployments[0].created_at #=> Time
|
|
2866
|
+
# resp.deployments[0].started_at #=> Time
|
|
2867
|
+
# resp.deployments[0].ended_at #=> Time
|
|
2868
|
+
# resp.deployments[0].expired_at #=> Time
|
|
2869
|
+
# resp.deployments[0].status_reason #=> String
|
|
2870
|
+
# resp.deployments[0].status_reason_code #=> String, one of "INTERNAL_SERVICE_ERROR", "BUILD_FAILED", "BUILD_TIMEOUT", "OUTPUT_DIRECTORY_NOT_FOUND", "GIT_CLONE_FAILED", "SOURCE_DOWNLOAD_FAILED", "CONFIG_RETRIEVAL_FAILED", "BINDING_RESOLUTION_FAILED", "RESOURCE_DELETED", "COLLAPSED", "AT_ACCOUNT_CONCURRENCY_LIMIT", "OTHER_DEPLOYMENT_IN_PROGRESS", "MIGRATION_FAILED", "BRANCH_LIMIT_EXCEEDED", "PUBLISHABLE_KEY_LIMIT_EXCEEDED", "ROLE_NOT_ASSUMABLE"
|
|
2871
|
+
# resp.deployments[0].branch_name #=> String
|
|
2872
|
+
# resp.deployments[0].branch_arn #=> String
|
|
2873
|
+
# resp.next_token #=> String
|
|
2874
|
+
#
|
|
2875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListDeploymentsForApp AWS API Documentation
|
|
2876
|
+
#
|
|
2877
|
+
# @overload list_deployments_for_app(params = {})
|
|
2878
|
+
# @param [Hash] params ({})
|
|
2879
|
+
def list_deployments_for_app(params = {}, options = {})
|
|
2880
|
+
req = build_request(:list_deployments_for_app, params)
|
|
2881
|
+
req.send_request(options)
|
|
2882
|
+
end
|
|
2883
|
+
|
|
2884
|
+
# Returns a list of the deployments for an environment of a Gen 3 app.
|
|
2885
|
+
#
|
|
2886
|
+
# @option params [required, String] :app_name
|
|
2887
|
+
# The name of the app.
|
|
2888
|
+
#
|
|
2889
|
+
# @option params [required, String] :environment_name
|
|
2890
|
+
# The name of the environment.
|
|
2891
|
+
#
|
|
2892
|
+
# @option params [Integer] :max_results
|
|
2893
|
+
# The maximum number of results to return in a single response.
|
|
2894
|
+
#
|
|
2895
|
+
# @option params [String] :next_token
|
|
2896
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
2897
|
+
# the next page of results.
|
|
2898
|
+
#
|
|
2899
|
+
# @return [Types::ListDeploymentsForEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2900
|
+
#
|
|
2901
|
+
# * {Types::ListDeploymentsForEnvironmentResponse#deployments #deployments} => Array<Types::DeploymentSummary>
|
|
2902
|
+
# * {Types::ListDeploymentsForEnvironmentResponse#next_token #next_token} => String
|
|
2903
|
+
#
|
|
2904
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2905
|
+
#
|
|
2906
|
+
# @example Request syntax with placeholder values
|
|
2907
|
+
#
|
|
2908
|
+
# resp = client.list_deployments_for_environment({
|
|
2909
|
+
# app_name: "AppName", # required
|
|
2910
|
+
# environment_name: "EnvironmentName", # required
|
|
2911
|
+
# max_results: 1,
|
|
2912
|
+
# next_token: "NextToken",
|
|
2913
|
+
# })
|
|
2914
|
+
#
|
|
2915
|
+
# @example Response structure
|
|
2916
|
+
#
|
|
2917
|
+
# resp.deployments #=> Array
|
|
2918
|
+
# resp.deployments[0].app_name #=> String
|
|
2919
|
+
# resp.deployments[0].deployment_id #=> String
|
|
2920
|
+
# resp.deployments[0].deployment_arn #=> String
|
|
2921
|
+
# resp.deployments[0].environment_name #=> String
|
|
2922
|
+
# resp.deployments[0].status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "EXPIRED", "CANCELLED"
|
|
2923
|
+
# resp.deployments[0].source_config.git_source.git_ref #=> String
|
|
2924
|
+
# resp.deployments[0].source_config.git_source.repository_url #=> String
|
|
2925
|
+
# resp.deployments[0].source_config.git_source.commit_id #=> String
|
|
2926
|
+
# resp.deployments[0].source_config.git_source.commit_message #=> String
|
|
2927
|
+
# resp.deployments[0].source_config.git_source.author #=> String
|
|
2928
|
+
# resp.deployments[0].source_config.manual_upload_source.source_upload_id #=> String
|
|
2929
|
+
# resp.deployments[0].source_config.manual_upload_source.source_type #=> String, one of "SOURCE_CODE", "PREBUILT_ARTIFACT"
|
|
2930
|
+
# resp.deployments[0].description #=> String
|
|
2931
|
+
# resp.deployments[0].domain_name #=> String
|
|
2932
|
+
# resp.deployments[0].created_at #=> Time
|
|
2933
|
+
# resp.deployments[0].started_at #=> Time
|
|
2934
|
+
# resp.deployments[0].ended_at #=> Time
|
|
2935
|
+
# resp.deployments[0].expired_at #=> Time
|
|
2936
|
+
# resp.deployments[0].status_reason #=> String
|
|
2937
|
+
# resp.deployments[0].status_reason_code #=> String, one of "INTERNAL_SERVICE_ERROR", "BUILD_FAILED", "BUILD_TIMEOUT", "OUTPUT_DIRECTORY_NOT_FOUND", "GIT_CLONE_FAILED", "SOURCE_DOWNLOAD_FAILED", "CONFIG_RETRIEVAL_FAILED", "BINDING_RESOLUTION_FAILED", "RESOURCE_DELETED", "COLLAPSED", "AT_ACCOUNT_CONCURRENCY_LIMIT", "OTHER_DEPLOYMENT_IN_PROGRESS", "MIGRATION_FAILED", "BRANCH_LIMIT_EXCEEDED", "PUBLISHABLE_KEY_LIMIT_EXCEEDED", "ROLE_NOT_ASSUMABLE"
|
|
2938
|
+
# resp.deployments[0].branch_name #=> String
|
|
2939
|
+
# resp.deployments[0].branch_arn #=> String
|
|
2940
|
+
# resp.next_token #=> String
|
|
2941
|
+
#
|
|
2942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListDeploymentsForEnvironment AWS API Documentation
|
|
2943
|
+
#
|
|
2944
|
+
# @overload list_deployments_for_environment(params = {})
|
|
2945
|
+
# @param [Hash] params ({})
|
|
2946
|
+
def list_deployments_for_environment(params = {}, options = {})
|
|
2947
|
+
req = build_request(:list_deployments_for_environment, params)
|
|
2948
|
+
req.send_request(options)
|
|
2949
|
+
end
|
|
2950
|
+
|
|
2951
|
+
# Returns a list of the domain associations for all Gen 3 apps in the
|
|
2952
|
+
# account.
|
|
2953
|
+
#
|
|
2954
|
+
# @option params [Integer] :max_results
|
|
2955
|
+
# The maximum number of results to return in a single response.
|
|
2956
|
+
#
|
|
2957
|
+
# @option params [String] :next_token
|
|
2958
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
2959
|
+
# the next page of results.
|
|
2960
|
+
#
|
|
2961
|
+
# @return [Types::ListDomainAssociationsForAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2962
|
+
#
|
|
2963
|
+
# * {Types::ListDomainAssociationsForAccountResponse#domain_associations #domain_associations} => Array<Types::DomainAssociationAccountSummary>
|
|
2964
|
+
# * {Types::ListDomainAssociationsForAccountResponse#next_token #next_token} => String
|
|
2965
|
+
#
|
|
2966
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2967
|
+
#
|
|
2968
|
+
# @example Request syntax with placeholder values
|
|
2969
|
+
#
|
|
2970
|
+
# resp = client.list_domain_associations_for_account({
|
|
2971
|
+
# max_results: 1,
|
|
2972
|
+
# next_token: "NextToken",
|
|
2973
|
+
# })
|
|
2974
|
+
#
|
|
2975
|
+
# @example Response structure
|
|
2976
|
+
#
|
|
2977
|
+
# resp.domain_associations #=> Array
|
|
2978
|
+
# resp.domain_associations[0].domain_name #=> String
|
|
2979
|
+
# resp.domain_associations[0].app_name #=> String
|
|
2980
|
+
# resp.domain_associations[0].domain_status #=> String, one of "CREATING", "PENDING_CERTIFICATE_VALIDATION", "PENDING_OWNERSHIP_VALIDATION", "PENDING_DNS_VALIDATION", "PENDING_NS_DELEGATION", "PROVISIONING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
|
|
2981
|
+
# resp.domain_associations[0].routing.alias.alias_arn #=> String
|
|
2982
|
+
# resp.domain_associations[0].routing.redirect.target_url #=> String
|
|
2983
|
+
# resp.domain_associations[0].routing.redirect.status_code #=> String, one of "HTTP_301", "HTTP_302", "HTTP_307", "HTTP_308"
|
|
2984
|
+
# resp.next_token #=> String
|
|
2985
|
+
#
|
|
2986
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListDomainAssociationsForAccount AWS API Documentation
|
|
2987
|
+
#
|
|
2988
|
+
# @overload list_domain_associations_for_account(params = {})
|
|
2989
|
+
# @param [Hash] params ({})
|
|
2990
|
+
def list_domain_associations_for_account(params = {}, options = {})
|
|
2991
|
+
req = build_request(:list_domain_associations_for_account, params)
|
|
2992
|
+
req.send_request(options)
|
|
2993
|
+
end
|
|
2994
|
+
|
|
2995
|
+
# Returns a list of the domain associations for a Gen 3 app.
|
|
2996
|
+
#
|
|
2997
|
+
# @option params [required, String] :app_name
|
|
2998
|
+
# The name of the app.
|
|
2999
|
+
#
|
|
3000
|
+
# @option params [Integer] :max_results
|
|
3001
|
+
# The maximum number of results to return in a single response.
|
|
3002
|
+
#
|
|
3003
|
+
# @option params [String] :next_token
|
|
3004
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3005
|
+
# the next page of results.
|
|
3006
|
+
#
|
|
3007
|
+
# @return [Types::ListDomainAssociationsForAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3008
|
+
#
|
|
3009
|
+
# * {Types::ListDomainAssociationsForAppResponse#domain_associations #domain_associations} => Array<Types::DomainAssociationSummary>
|
|
3010
|
+
# * {Types::ListDomainAssociationsForAppResponse#next_token #next_token} => String
|
|
3011
|
+
#
|
|
3012
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3013
|
+
#
|
|
3014
|
+
# @example Request syntax with placeholder values
|
|
3015
|
+
#
|
|
3016
|
+
# resp = client.list_domain_associations_for_app({
|
|
3017
|
+
# app_name: "AppName", # required
|
|
3018
|
+
# max_results: 1,
|
|
3019
|
+
# next_token: "NextToken",
|
|
3020
|
+
# })
|
|
3021
|
+
#
|
|
3022
|
+
# @example Response structure
|
|
3023
|
+
#
|
|
3024
|
+
# resp.domain_associations #=> Array
|
|
3025
|
+
# resp.domain_associations[0].domain_association_arn #=> String
|
|
3026
|
+
# resp.domain_associations[0].domain_name #=> String
|
|
3027
|
+
# resp.domain_associations[0].domain_status #=> String, one of "CREATING", "PENDING_CERTIFICATE_VALIDATION", "PENDING_OWNERSHIP_VALIDATION", "PENDING_DNS_VALIDATION", "PENDING_NS_DELEGATION", "PROVISIONING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
|
|
3028
|
+
# resp.domain_associations[0].routing.alias.alias_arn #=> String
|
|
3029
|
+
# resp.domain_associations[0].routing.redirect.target_url #=> String
|
|
3030
|
+
# resp.domain_associations[0].routing.redirect.status_code #=> String, one of "HTTP_301", "HTTP_302", "HTTP_307", "HTTP_308"
|
|
3031
|
+
# resp.next_token #=> String
|
|
3032
|
+
#
|
|
3033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListDomainAssociationsForApp AWS API Documentation
|
|
3034
|
+
#
|
|
3035
|
+
# @overload list_domain_associations_for_app(params = {})
|
|
3036
|
+
# @param [Hash] params ({})
|
|
3037
|
+
def list_domain_associations_for_app(params = {}, options = {})
|
|
3038
|
+
req = build_request(:list_domain_associations_for_app, params)
|
|
3039
|
+
req.send_request(options)
|
|
3040
|
+
end
|
|
3041
|
+
|
|
3042
|
+
# Returns a list of the environment variables for an environment of a
|
|
3043
|
+
# Gen 3 app.
|
|
3044
|
+
#
|
|
3045
|
+
# @option params [required, String] :app_name
|
|
3046
|
+
# The name of the app.
|
|
3047
|
+
#
|
|
3048
|
+
# @option params [required, String] :environment_name
|
|
3049
|
+
# The name of the environment.
|
|
3050
|
+
#
|
|
3051
|
+
# @option params [Integer] :max_results
|
|
3052
|
+
# The maximum number of results to return in a single response.
|
|
3053
|
+
#
|
|
3054
|
+
# @option params [String] :next_token
|
|
3055
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3056
|
+
# the next page of results.
|
|
3057
|
+
#
|
|
3058
|
+
# @return [Types::ListEnvironmentVariablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3059
|
+
#
|
|
3060
|
+
# * {Types::ListEnvironmentVariablesResponse#environment_variables #environment_variables} => Array<Types::EnvironmentVariableOutput>
|
|
3061
|
+
# * {Types::ListEnvironmentVariablesResponse#next_token #next_token} => String
|
|
3062
|
+
#
|
|
3063
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3064
|
+
#
|
|
3065
|
+
# @example Request syntax with placeholder values
|
|
3066
|
+
#
|
|
3067
|
+
# resp = client.list_environment_variables({
|
|
3068
|
+
# app_name: "AppName", # required
|
|
3069
|
+
# environment_name: "EnvironmentName", # required
|
|
3070
|
+
# max_results: 1,
|
|
3071
|
+
# next_token: "NextToken",
|
|
3072
|
+
# })
|
|
3073
|
+
#
|
|
3074
|
+
# @example Response structure
|
|
3075
|
+
#
|
|
3076
|
+
# resp.environment_variables #=> Array
|
|
3077
|
+
# resp.environment_variables[0].key #=> String
|
|
3078
|
+
# resp.environment_variables[0].value #=> String
|
|
3079
|
+
# resp.environment_variables[0].type #=> String, one of "PLAINTEXT", "SENSITIVE"
|
|
3080
|
+
# resp.environment_variables[0].comment #=> String
|
|
3081
|
+
# resp.environment_variables[0].source_integration_arn #=> String
|
|
3082
|
+
# resp.environment_variables[0].scope #=> String, one of "BUILD", "RUNTIME", "ALL", "BACKEND"
|
|
3083
|
+
# resp.next_token #=> String
|
|
3084
|
+
#
|
|
3085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListEnvironmentVariables AWS API Documentation
|
|
3086
|
+
#
|
|
3087
|
+
# @overload list_environment_variables(params = {})
|
|
3088
|
+
# @param [Hash] params ({})
|
|
3089
|
+
def list_environment_variables(params = {}, options = {})
|
|
3090
|
+
req = build_request(:list_environment_variables, params)
|
|
3091
|
+
req.send_request(options)
|
|
3092
|
+
end
|
|
3093
|
+
|
|
3094
|
+
# Returns a list of the environments for a Gen 3 app.
|
|
3095
|
+
#
|
|
3096
|
+
# @option params [required, String] :app_name
|
|
3097
|
+
# The name of the app.
|
|
3098
|
+
#
|
|
3099
|
+
# @option params [String] :next_token
|
|
3100
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3101
|
+
# the next page of results.
|
|
3102
|
+
#
|
|
3103
|
+
# @option params [Integer] :max_results
|
|
3104
|
+
# The maximum number of results to return in a single response.
|
|
3105
|
+
#
|
|
3106
|
+
# @return [Types::ListEnvironmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3107
|
+
#
|
|
3108
|
+
# * {Types::ListEnvironmentsResponse#environments #environments} => Array<Types::EnvironmentSummary>
|
|
3109
|
+
# * {Types::ListEnvironmentsResponse#next_token #next_token} => String
|
|
3110
|
+
#
|
|
3111
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3112
|
+
#
|
|
3113
|
+
# @example Request syntax with placeholder values
|
|
3114
|
+
#
|
|
3115
|
+
# resp = client.list_environments({
|
|
3116
|
+
# app_name: "AppName", # required
|
|
3117
|
+
# next_token: "NextToken",
|
|
3118
|
+
# max_results: 1,
|
|
3119
|
+
# })
|
|
3120
|
+
#
|
|
3121
|
+
# @example Response structure
|
|
3122
|
+
#
|
|
3123
|
+
# resp.environments #=> Array
|
|
3124
|
+
# resp.environments[0].app_name #=> String
|
|
3125
|
+
# resp.environments[0].environment_name #=> String
|
|
3126
|
+
# resp.environments[0].environment_arn #=> String
|
|
3127
|
+
# resp.environments[0].type #=> String, one of "PRODUCTION", "PREVIEW", "CUSTOM"
|
|
3128
|
+
# resp.environments[0].source_config.git_source.branch_match_patterns #=> Array
|
|
3129
|
+
# resp.environments[0].source_config.git_source.branch_match_patterns[0] #=> String
|
|
3130
|
+
# resp.environments[0].source_config.git_source.deployment_trigger_events #=> Array
|
|
3131
|
+
# resp.environments[0].source_config.git_source.deployment_trigger_events[0] #=> String, one of "PUSH", "PULL_REQUEST", "FORK_PULL_REQUEST"
|
|
3132
|
+
# resp.environments[0].waf_log_configs #=> Array
|
|
3133
|
+
# resp.environments[0].waf_log_configs[0].cloud_watch_logs_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
3134
|
+
# resp.environments[0].waf_log_configs[0].cloud_watch_logs_config.sampling_rate #=> Integer
|
|
3135
|
+
# resp.environments[0].waf_log_configs[0].cloud_watch_logs_config.scope #=> String, one of "ALL_REQUESTS", "BLOCKED_ONLY"
|
|
3136
|
+
# resp.environments[0].waf_log_configs[0].cloud_watch_logs_config.log_group_arn #=> String
|
|
3137
|
+
# resp.environments[0].waf_log_configs[0].s3_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
3138
|
+
# resp.environments[0].waf_log_configs[0].s3_config.sampling_rate #=> Integer
|
|
3139
|
+
# resp.environments[0].waf_log_configs[0].s3_config.scope #=> String, one of "ALL_REQUESTS", "BLOCKED_ONLY"
|
|
3140
|
+
# resp.environments[0].waf_log_configs[0].s3_config.bucket_arn #=> String
|
|
3141
|
+
# resp.environments[0].web.access_log_config.cloud_watch_logs_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
3142
|
+
# resp.environments[0].web.access_log_config.cloud_watch_logs_config.sampling_rate #=> Integer
|
|
3143
|
+
# resp.environments[0].web.access_log_config.cloud_watch_logs_config.log_group_arn #=> String
|
|
3144
|
+
# resp.environments[0].web.access_log_config.s3_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
3145
|
+
# resp.environments[0].web.access_log_config.s3_config.sampling_rate #=> Integer
|
|
3146
|
+
# resp.environments[0].web.access_log_config.s3_config.bucket_arn #=> String
|
|
3147
|
+
# resp.environments[0].backend.database_log_config.cloud_watch_logs_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
3148
|
+
# resp.environments[0].backend.database_log_config.cloud_watch_logs_config.sampling_rate #=> Integer
|
|
3149
|
+
# resp.environments[0].backend.database_log_config.cloud_watch_logs_config.log_group_arn #=> String
|
|
3150
|
+
# resp.environments[0].backend.database_log_config.s3_config.status #=> String, one of "ENABLED", "DISABLED"
|
|
3151
|
+
# resp.environments[0].backend.database_log_config.s3_config.sampling_rate #=> Integer
|
|
3152
|
+
# resp.environments[0].backend.database_log_config.s3_config.bucket_arn #=> String
|
|
3153
|
+
# resp.environments[0].created_at #=> Time
|
|
3154
|
+
# resp.environments[0].updated_at #=> Time
|
|
3155
|
+
# resp.next_token #=> String
|
|
3156
|
+
#
|
|
3157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListEnvironments AWS API Documentation
|
|
3158
|
+
#
|
|
3159
|
+
# @overload list_environments(params = {})
|
|
3160
|
+
# @param [Hash] params ({})
|
|
3161
|
+
def list_environments(params = {}, options = {})
|
|
3162
|
+
req = build_request(:list_environments, params)
|
|
3163
|
+
req.send_request(options)
|
|
3164
|
+
end
|
|
3165
|
+
|
|
3166
|
+
# Lists the branches of a repository. The AWS Management Console uses
|
|
3167
|
+
# this operation to show the branches that you can choose from when you
|
|
3168
|
+
# create an app.
|
|
3169
|
+
#
|
|
3170
|
+
# @option params [required, String] :provider
|
|
3171
|
+
# The Git provider.
|
|
3172
|
+
#
|
|
3173
|
+
# @option params [required, String] :owner
|
|
3174
|
+
# The account that the Git connection is for. The value depends on the
|
|
3175
|
+
# provider:
|
|
3176
|
+
#
|
|
3177
|
+
# * For GitHub, specify the user or organization name.
|
|
3178
|
+
#
|
|
3179
|
+
# * For GitLab, specify the user name.
|
|
3180
|
+
#
|
|
3181
|
+
# To get this value, call ListGitConnections.
|
|
3182
|
+
#
|
|
3183
|
+
# @option params [String] :repository_name
|
|
3184
|
+
# The name of the repository, which is the last segment of
|
|
3185
|
+
# RepositoryPath.
|
|
3186
|
+
#
|
|
3187
|
+
# @option params [required, String] :repository_path
|
|
3188
|
+
# The full path of the repository in the Git provider, for example
|
|
3189
|
+
# my-org/my-app. GitLab paths can include subgroups, for example
|
|
3190
|
+
# my-group/subgroup/my-app. To get this value, call ListRepositories.
|
|
3191
|
+
#
|
|
3192
|
+
# @option params [Integer] :max_results
|
|
3193
|
+
# The maximum number of results to return in a single response.
|
|
3194
|
+
#
|
|
3195
|
+
# @option params [String] :next_token
|
|
3196
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3197
|
+
# the next page of results.
|
|
3198
|
+
#
|
|
3199
|
+
# @return [Types::ListGitBranchesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3200
|
+
#
|
|
3201
|
+
# * {Types::ListGitBranchesResponse#branches #branches} => Array<Types::GitBranchSummary>
|
|
3202
|
+
# * {Types::ListGitBranchesResponse#next_token #next_token} => String
|
|
3203
|
+
#
|
|
3204
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3205
|
+
#
|
|
3206
|
+
# @example Request syntax with placeholder values
|
|
3207
|
+
#
|
|
3208
|
+
# resp = client.list_git_branches({
|
|
3209
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB
|
|
3210
|
+
# owner: "GitOwnerName", # required
|
|
3211
|
+
# repository_name: "GitRepositoryName",
|
|
3212
|
+
# repository_path: "GitRepositoryPath", # required
|
|
3213
|
+
# max_results: 1,
|
|
3214
|
+
# next_token: "NextToken",
|
|
3215
|
+
# })
|
|
3216
|
+
#
|
|
3217
|
+
# @example Response structure
|
|
3218
|
+
#
|
|
3219
|
+
# resp.branches #=> Array
|
|
3220
|
+
# resp.branches[0].name #=> String
|
|
3221
|
+
# resp.next_token #=> String
|
|
3222
|
+
#
|
|
3223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListGitBranches AWS API Documentation
|
|
3224
|
+
#
|
|
3225
|
+
# @overload list_git_branches(params = {})
|
|
3226
|
+
# @param [Hash] params ({})
|
|
3227
|
+
def list_git_branches(params = {}, options = {})
|
|
3228
|
+
req = build_request(:list_git_branches, params)
|
|
3229
|
+
req.send_request(options)
|
|
3230
|
+
end
|
|
3231
|
+
|
|
3232
|
+
# Lists the GitHub and GitLab accounts that are connected to your AWS
|
|
3233
|
+
# account in this Region.
|
|
3234
|
+
#
|
|
3235
|
+
# @option params [Integer] :max_results
|
|
3236
|
+
# The maximum number of results to return in a single response.
|
|
3237
|
+
#
|
|
3238
|
+
# @option params [String] :next_token
|
|
3239
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3240
|
+
# the next page of results.
|
|
3241
|
+
#
|
|
3242
|
+
# @return [Types::ListGitConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3243
|
+
#
|
|
3244
|
+
# * {Types::ListGitConnectionsResponse#git_connections #git_connections} => Array<Types::GitConnectionSummary>
|
|
3245
|
+
# * {Types::ListGitConnectionsResponse#next_token #next_token} => String
|
|
3246
|
+
#
|
|
3247
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3248
|
+
#
|
|
3249
|
+
# @example Request syntax with placeholder values
|
|
3250
|
+
#
|
|
3251
|
+
# resp = client.list_git_connections({
|
|
3252
|
+
# max_results: 1,
|
|
3253
|
+
# next_token: "NextToken",
|
|
3254
|
+
# })
|
|
3255
|
+
#
|
|
3256
|
+
# @example Response structure
|
|
3257
|
+
#
|
|
3258
|
+
# resp.git_connections #=> Array
|
|
3259
|
+
# resp.git_connections[0].provider #=> String, one of "GITHUB", "GITLAB"
|
|
3260
|
+
# resp.git_connections[0].owner #=> String
|
|
3261
|
+
# resp.next_token #=> String
|
|
3262
|
+
#
|
|
3263
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListGitConnections AWS API Documentation
|
|
3264
|
+
#
|
|
3265
|
+
# @overload list_git_connections(params = {})
|
|
3266
|
+
# @param [Hash] params ({})
|
|
3267
|
+
def list_git_connections(params = {}, options = {})
|
|
3268
|
+
req = build_request(:list_git_connections, params)
|
|
3269
|
+
req.send_request(options)
|
|
3270
|
+
end
|
|
3271
|
+
|
|
3272
|
+
# Returns a list of the integration configurations in the account.
|
|
3273
|
+
#
|
|
3274
|
+
# @option params [Integer] :max_results
|
|
3275
|
+
# The maximum number of results to return in a single response.
|
|
3276
|
+
#
|
|
3277
|
+
# @option params [String] :next_token
|
|
3278
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3279
|
+
# the next page of results.
|
|
3280
|
+
#
|
|
3281
|
+
# @return [Types::ListIntegrationConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3282
|
+
#
|
|
3283
|
+
# * {Types::ListIntegrationConfigurationsResponse#integration_configurations #integration_configurations} => Array<Types::IntegrationConfigurationSummary>
|
|
3284
|
+
# * {Types::ListIntegrationConfigurationsResponse#next_token #next_token} => String
|
|
3285
|
+
#
|
|
3286
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3287
|
+
#
|
|
3288
|
+
# @example Request syntax with placeholder values
|
|
3289
|
+
#
|
|
3290
|
+
# resp = client.list_integration_configurations({
|
|
3291
|
+
# max_results: 1,
|
|
3292
|
+
# next_token: "NextToken",
|
|
3293
|
+
# })
|
|
3294
|
+
#
|
|
3295
|
+
# @example Response structure
|
|
3296
|
+
#
|
|
3297
|
+
# resp.integration_configurations #=> Array
|
|
3298
|
+
# resp.integration_configurations[0].integration_name #=> String
|
|
3299
|
+
# resp.integration_configurations[0].integration_arn #=> String
|
|
3300
|
+
# resp.integration_configurations[0].integration_type_id #=> String
|
|
3301
|
+
# resp.integration_configurations[0].resource_configuration.s3.bucket_arn #=> String
|
|
3302
|
+
# resp.integration_configurations[0].resource_configuration.dsql.cluster_arn #=> String
|
|
3303
|
+
# resp.integration_configurations[0].resource_configuration.dsql.database_user #=> String
|
|
3304
|
+
# resp.integration_configurations[0].resource_configuration.bedrock.region_name #=> String
|
|
3305
|
+
# resp.integration_configurations[0].resource_configuration.bedrock.model_id #=> String
|
|
3306
|
+
# resp.integration_configurations[0].resource_configuration.custom.resource_arn #=> String
|
|
3307
|
+
# resp.integration_configurations[0].created_at #=> Time
|
|
3308
|
+
# resp.integration_configurations[0].updated_at #=> Time
|
|
3309
|
+
# resp.integration_configurations[0].environment_variables #=> Array
|
|
3310
|
+
# resp.integration_configurations[0].environment_variables[0].key #=> String
|
|
3311
|
+
# resp.integration_configurations[0].environment_variables[0].key_override #=> String
|
|
3312
|
+
# resp.integration_configurations[0].environment_variables[0].value #=> String
|
|
3313
|
+
# resp.integration_configurations[0].environment_variables[0].type #=> String, one of "PLAINTEXT", "SENSITIVE"
|
|
3314
|
+
# resp.next_token #=> String
|
|
3315
|
+
#
|
|
3316
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListIntegrationConfigurations AWS API Documentation
|
|
3317
|
+
#
|
|
3318
|
+
# @overload list_integration_configurations(params = {})
|
|
3319
|
+
# @param [Hash] params ({})
|
|
3320
|
+
def list_integration_configurations(params = {}, options = {})
|
|
3321
|
+
req = build_request(:list_integration_configurations, params)
|
|
3322
|
+
req.send_request(options)
|
|
3323
|
+
end
|
|
3324
|
+
|
|
3325
|
+
# Returns a list of the integration connections.
|
|
3326
|
+
#
|
|
3327
|
+
# @option params [String] :integration_arn
|
|
3328
|
+
# The Amazon Resource Name (ARN) of the integration.
|
|
3329
|
+
#
|
|
3330
|
+
# @option params [String] :environment_arn
|
|
3331
|
+
# The Amazon Resource Name (ARN) of the environment.
|
|
3332
|
+
#
|
|
3333
|
+
# @option params [Integer] :max_results
|
|
3334
|
+
# The maximum number of results to return in a single response.
|
|
3335
|
+
#
|
|
3336
|
+
# @option params [String] :next_token
|
|
3337
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3338
|
+
# the next page of results.
|
|
3339
|
+
#
|
|
3340
|
+
# @return [Types::ListIntegrationConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3341
|
+
#
|
|
3342
|
+
# * {Types::ListIntegrationConnectionsResponse#integration_connections #integration_connections} => Array<Types::IntegrationConnectionSummary>
|
|
3343
|
+
# * {Types::ListIntegrationConnectionsResponse#next_token #next_token} => String
|
|
3344
|
+
#
|
|
3345
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3346
|
+
#
|
|
3347
|
+
# @example Request syntax with placeholder values
|
|
3348
|
+
#
|
|
3349
|
+
# resp = client.list_integration_connections({
|
|
3350
|
+
# integration_arn: "IntegrationArn",
|
|
3351
|
+
# environment_arn: "EnvironmentArn",
|
|
3352
|
+
# max_results: 1,
|
|
3353
|
+
# next_token: "NextToken",
|
|
3354
|
+
# })
|
|
3355
|
+
#
|
|
3356
|
+
# @example Response structure
|
|
3357
|
+
#
|
|
3358
|
+
# resp.integration_connections #=> Array
|
|
3359
|
+
# resp.integration_connections[0].connection_id #=> String
|
|
3360
|
+
# resp.integration_connections[0].integration_name #=> String
|
|
3361
|
+
# resp.integration_connections[0].integration_arn #=> String
|
|
3362
|
+
# resp.integration_connections[0].environment_arn #=> String
|
|
3363
|
+
# resp.integration_connections[0].created_at #=> Time
|
|
3364
|
+
# resp.integration_connections[0].updated_at #=> Time
|
|
3365
|
+
# resp.next_token #=> String
|
|
3366
|
+
#
|
|
3367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListIntegrationConnections AWS API Documentation
|
|
3368
|
+
#
|
|
3369
|
+
# @overload list_integration_connections(params = {})
|
|
3370
|
+
# @param [Hash] params ({})
|
|
3371
|
+
def list_integration_connections(params = {}, options = {})
|
|
3372
|
+
req = build_request(:list_integration_connections, params)
|
|
3373
|
+
req.send_request(options)
|
|
3374
|
+
end
|
|
3375
|
+
|
|
3376
|
+
# Returns a list of the available integrations.
|
|
3377
|
+
#
|
|
3378
|
+
# @option params [Integer] :max_results
|
|
3379
|
+
# The maximum number of integration types to return in one page.
|
|
3380
|
+
#
|
|
3381
|
+
# @option params [String] :next_token
|
|
3382
|
+
# A pagination token returned from a previous request.
|
|
3383
|
+
#
|
|
3384
|
+
# @return [Types::ListIntegrationTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3385
|
+
#
|
|
3386
|
+
# * {Types::ListIntegrationTypesResponse#integration_types #integration_types} => Array<Types::IntegrationType>
|
|
3387
|
+
# * {Types::ListIntegrationTypesResponse#next_token #next_token} => String
|
|
3388
|
+
#
|
|
3389
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3390
|
+
#
|
|
3391
|
+
# @example Request syntax with placeholder values
|
|
3392
|
+
#
|
|
3393
|
+
# resp = client.list_integration_types({
|
|
3394
|
+
# max_results: 1,
|
|
3395
|
+
# next_token: "NextToken",
|
|
3396
|
+
# })
|
|
3397
|
+
#
|
|
3398
|
+
# @example Response structure
|
|
3399
|
+
#
|
|
3400
|
+
# resp.integration_types #=> Array
|
|
3401
|
+
# resp.integration_types[0].id #=> String
|
|
3402
|
+
# resp.integration_types[0].name #=> String
|
|
3403
|
+
# resp.integration_types[0].environment_variables #=> Array
|
|
3404
|
+
# resp.integration_types[0].environment_variables[0].key #=> String
|
|
3405
|
+
# resp.next_token #=> String
|
|
3406
|
+
#
|
|
3407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListIntegrationTypes AWS API Documentation
|
|
3408
|
+
#
|
|
3409
|
+
# @overload list_integration_types(params = {})
|
|
3410
|
+
# @param [Hash] params ({})
|
|
3411
|
+
def list_integration_types(params = {}, options = {})
|
|
3412
|
+
req = build_request(:list_integration_types, params)
|
|
3413
|
+
req.send_request(options)
|
|
3414
|
+
end
|
|
3415
|
+
|
|
3416
|
+
# Returns a list of the network connectors.
|
|
3417
|
+
#
|
|
3418
|
+
# @option params [String] :status_filter
|
|
3419
|
+
# Filters the results to network connectors with the specified status.
|
|
3420
|
+
#
|
|
3421
|
+
# @option params [Integer] :max_results
|
|
3422
|
+
# The maximum number of results to return in a single response.
|
|
3423
|
+
#
|
|
3424
|
+
# @option params [String] :next_token
|
|
3425
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3426
|
+
# the next page of results.
|
|
3427
|
+
#
|
|
3428
|
+
# @return [Types::ListNetworkConnectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3429
|
+
#
|
|
3430
|
+
# * {Types::ListNetworkConnectorsResponse#network_connectors #network_connectors} => Array<Types::NetworkConnectorSummary>
|
|
3431
|
+
# * {Types::ListNetworkConnectorsResponse#next_token #next_token} => String
|
|
3432
|
+
#
|
|
3433
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3434
|
+
#
|
|
3435
|
+
# @example Request syntax with placeholder values
|
|
3436
|
+
#
|
|
3437
|
+
# resp = client.list_network_connectors({
|
|
3438
|
+
# status_filter: "CREATING", # accepts CREATING, ACTIVE, CREATE_FAILED, UPDATING, UPDATE_FAILED, DELETING, DELETE_FAILED
|
|
3439
|
+
# max_results: 1,
|
|
3440
|
+
# next_token: "NextToken",
|
|
3441
|
+
# })
|
|
3442
|
+
#
|
|
3443
|
+
# @example Response structure
|
|
3444
|
+
#
|
|
3445
|
+
# resp.network_connectors #=> Array
|
|
3446
|
+
# resp.network_connectors[0].network_connector_name #=> String
|
|
3447
|
+
# resp.network_connectors[0].network_connector_arn #=> String
|
|
3448
|
+
# resp.network_connectors[0].status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
|
|
3449
|
+
# resp.network_connectors[0].status_reason #=> String
|
|
3450
|
+
# resp.next_token #=> String
|
|
3451
|
+
#
|
|
3452
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListNetworkConnectors AWS API Documentation
|
|
3453
|
+
#
|
|
3454
|
+
# @overload list_network_connectors(params = {})
|
|
3455
|
+
# @param [Hash] params ({})
|
|
3456
|
+
def list_network_connectors(params = {}, options = {})
|
|
3457
|
+
req = build_request(:list_network_connectors, params)
|
|
3458
|
+
req.send_request(options)
|
|
3459
|
+
end
|
|
3460
|
+
|
|
3461
|
+
# List the violations preventing an account to change flat rate plans.
|
|
3462
|
+
# An empty list means the account already fits the target plan. If you
|
|
3463
|
+
# allow the ListPlanViolations permission for your account, any
|
|
3464
|
+
# requestor can see all project names that violate a downgrade from all
|
|
3465
|
+
# Regions.
|
|
3466
|
+
#
|
|
3467
|
+
# @option params [required, String] :target_plan
|
|
3468
|
+
# The plan to check the account's resources against.
|
|
3469
|
+
#
|
|
3470
|
+
# @option params [Integer] :max_results
|
|
3471
|
+
# The maximum number of violations to return in one page.
|
|
3472
|
+
#
|
|
3473
|
+
# @option params [String] :next_token
|
|
3474
|
+
# A pagination token returned from a previous request.
|
|
3475
|
+
#
|
|
3476
|
+
# @return [Types::ListPlanViolationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3477
|
+
#
|
|
3478
|
+
# * {Types::ListPlanViolationsResponse#violations #violations} => Array<Types::PlanViolation>
|
|
3479
|
+
# * {Types::ListPlanViolationsResponse#next_token #next_token} => String
|
|
3480
|
+
#
|
|
3481
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3482
|
+
#
|
|
3483
|
+
# @example Request syntax with placeholder values
|
|
3484
|
+
#
|
|
3485
|
+
# resp = client.list_plan_violations({
|
|
3486
|
+
# target_plan: "BASIC", # required, accepts BASIC, PRO
|
|
3487
|
+
# max_results: 1,
|
|
3488
|
+
# next_token: "NextToken",
|
|
3489
|
+
# })
|
|
3490
|
+
#
|
|
3491
|
+
# @example Response structure
|
|
3492
|
+
#
|
|
3493
|
+
# resp.violations #=> Array
|
|
3494
|
+
# resp.violations[0].code #=> String, one of "APP_LIMIT", "ENVIRONMENT_LIMIT", "BACKEND_LIMIT", "BRANCH_LIMIT", "BRANCH_STORAGE_LIMIT", "DATABASE_MAX_CAPACITY_LIMIT", "DATABASE_BACKUP_RETENTION_LIMIT", "GRADUAL_DEPLOY", "VPC_BINDING", "OIDC"
|
|
3495
|
+
# resp.violations[0].message #=> String
|
|
3496
|
+
# resp.violations[0].region_limits #=> Array
|
|
3497
|
+
# resp.violations[0].region_limits[0].region #=> String
|
|
3498
|
+
# resp.violations[0].region_limits[0].current #=> Integer
|
|
3499
|
+
# resp.violations[0].region_limits[0].target_limit #=> Integer
|
|
3500
|
+
# resp.violations[0].app_limits #=> Array
|
|
3501
|
+
# resp.violations[0].app_limits[0].arn #=> String
|
|
3502
|
+
# resp.violations[0].app_limits[0].region #=> String
|
|
3503
|
+
# resp.violations[0].app_limits[0].current #=> Integer
|
|
3504
|
+
# resp.violations[0].app_limits[0].target_limit #=> Integer
|
|
3505
|
+
# resp.violations[0].resources #=> Array
|
|
3506
|
+
# resp.violations[0].resources[0].arn #=> String
|
|
3507
|
+
# resp.next_token #=> String
|
|
3508
|
+
#
|
|
3509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListPlanViolations AWS API Documentation
|
|
3510
|
+
#
|
|
3511
|
+
# @overload list_plan_violations(params = {})
|
|
3512
|
+
# @param [Hash] params ({})
|
|
3513
|
+
def list_plan_violations(params = {}, options = {})
|
|
3514
|
+
req = build_request(:list_plan_violations, params)
|
|
3515
|
+
req.send_request(options)
|
|
3516
|
+
end
|
|
3517
|
+
|
|
3518
|
+
# Lists the repositories that a Git connection can access. For GitHub,
|
|
3519
|
+
# these are the repositories that you granted to the app installation.
|
|
3520
|
+
# For GitLab, these are the projects that you're a member of, with the
|
|
3521
|
+
# most recently active first. The AWS Management Console uses this
|
|
3522
|
+
# operation to show the repositories that you can choose from when you
|
|
3523
|
+
# create an app.
|
|
3524
|
+
#
|
|
3525
|
+
# @option params [required, String] :provider
|
|
3526
|
+
# The Git provider.
|
|
3527
|
+
#
|
|
3528
|
+
# @option params [required, String] :owner
|
|
3529
|
+
# The account that the Git connection is for. The value depends on the
|
|
3530
|
+
# provider:
|
|
3531
|
+
#
|
|
3532
|
+
# * For GitHub, specify the user or organization name.
|
|
3533
|
+
#
|
|
3534
|
+
# * For GitLab, specify the user name.
|
|
3535
|
+
#
|
|
3536
|
+
# To get this value, call ListGitConnections.
|
|
3537
|
+
#
|
|
3538
|
+
# @option params [Integer] :max_results
|
|
3539
|
+
# The maximum number of results to return in a single response.
|
|
3540
|
+
#
|
|
3541
|
+
# @option params [String] :next_token
|
|
3542
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3543
|
+
# the next page of results.
|
|
3544
|
+
#
|
|
3545
|
+
# @return [Types::ListRepositoriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3546
|
+
#
|
|
3547
|
+
# * {Types::ListRepositoriesResponse#repositories #repositories} => Array<Types::RepositorySummary>
|
|
3548
|
+
# * {Types::ListRepositoriesResponse#next_token #next_token} => String
|
|
3549
|
+
#
|
|
3550
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3551
|
+
#
|
|
3552
|
+
# @example Request syntax with placeholder values
|
|
3553
|
+
#
|
|
3554
|
+
# resp = client.list_repositories({
|
|
3555
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB
|
|
3556
|
+
# owner: "GitOwnerName", # required
|
|
3557
|
+
# max_results: 1,
|
|
3558
|
+
# next_token: "NextToken",
|
|
3559
|
+
# })
|
|
3560
|
+
#
|
|
3561
|
+
# @example Response structure
|
|
3562
|
+
#
|
|
3563
|
+
# resp.repositories #=> Array
|
|
3564
|
+
# resp.repositories[0].provider #=> String, one of "GITHUB", "GITLAB"
|
|
3565
|
+
# resp.repositories[0].owner #=> String
|
|
3566
|
+
# resp.repositories[0].name #=> String
|
|
3567
|
+
# resp.repositories[0].default_branch #=> String
|
|
3568
|
+
# resp.repositories[0].repository_path #=> String
|
|
3569
|
+
# resp.repositories[0].updated_at #=> Time
|
|
3570
|
+
# resp.repositories[0].clone_url #=> String
|
|
3571
|
+
# resp.next_token #=> String
|
|
3572
|
+
#
|
|
3573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListRepositories AWS API Documentation
|
|
3574
|
+
#
|
|
3575
|
+
# @overload list_repositories(params = {})
|
|
3576
|
+
# @param [Hash] params ({})
|
|
3577
|
+
def list_repositories(params = {}, options = {})
|
|
3578
|
+
req = build_request(:list_repositories, params)
|
|
3579
|
+
req.send_request(options)
|
|
3580
|
+
end
|
|
3581
|
+
|
|
3582
|
+
# Returns a list of the source uploads in the account.
|
|
3583
|
+
#
|
|
3584
|
+
# @option params [Integer] :max_results
|
|
3585
|
+
# The maximum number of results to return in a single response.
|
|
3586
|
+
#
|
|
3587
|
+
# @option params [String] :next_token
|
|
3588
|
+
# The pagination token returned in a previous response, used to retrieve
|
|
3589
|
+
# the next page of results.
|
|
3590
|
+
#
|
|
3591
|
+
# @return [Types::ListSourceUploadsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3592
|
+
#
|
|
3593
|
+
# * {Types::ListSourceUploadsResponse#source_uploads #source_uploads} => Array<Types::SourceUploadSummary>
|
|
3594
|
+
# * {Types::ListSourceUploadsResponse#next_token #next_token} => String
|
|
3595
|
+
#
|
|
3596
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3597
|
+
#
|
|
3598
|
+
# @example Request syntax with placeholder values
|
|
3599
|
+
#
|
|
3600
|
+
# resp = client.list_source_uploads({
|
|
3601
|
+
# max_results: 1,
|
|
3602
|
+
# next_token: "NextToken",
|
|
3603
|
+
# })
|
|
3604
|
+
#
|
|
3605
|
+
# @example Response structure
|
|
3606
|
+
#
|
|
3607
|
+
# resp.source_uploads #=> Array
|
|
3608
|
+
# resp.source_uploads[0].source_upload_id #=> String
|
|
3609
|
+
# resp.source_uploads[0].created_at #=> Time
|
|
3610
|
+
# resp.source_uploads[0].upload_expires_at #=> Time
|
|
3611
|
+
# resp.source_uploads[0].size_in_bytes #=> Integer
|
|
3612
|
+
# resp.next_token #=> String
|
|
3613
|
+
#
|
|
3614
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListSourceUploads AWS API Documentation
|
|
3615
|
+
#
|
|
3616
|
+
# @overload list_source_uploads(params = {})
|
|
3617
|
+
# @param [Hash] params ({})
|
|
3618
|
+
def list_source_uploads(params = {}, options = {})
|
|
3619
|
+
req = build_request(:list_source_uploads, params)
|
|
3620
|
+
req.send_request(options)
|
|
3621
|
+
end
|
|
3622
|
+
|
|
3623
|
+
# Returns the tags for an Amplify resource.
|
|
3624
|
+
#
|
|
3625
|
+
# @option params [required, String] :resource_arn
|
|
3626
|
+
# The Amazon Resource Name (ARN) of the resource to list the tags for.
|
|
3627
|
+
#
|
|
3628
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3629
|
+
#
|
|
3630
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
|
3631
|
+
#
|
|
3632
|
+
# @example Request syntax with placeholder values
|
|
3633
|
+
#
|
|
3634
|
+
# resp = client.list_tags_for_resource({
|
|
3635
|
+
# resource_arn: "ResourceArn", # required
|
|
3636
|
+
# })
|
|
3637
|
+
#
|
|
3638
|
+
# @example Response structure
|
|
3639
|
+
#
|
|
3640
|
+
# resp.tags #=> Hash
|
|
3641
|
+
# resp.tags["TagMapKeyString"] #=> String
|
|
3642
|
+
#
|
|
3643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ListTagsForResource AWS API Documentation
|
|
3644
|
+
#
|
|
3645
|
+
# @overload list_tags_for_resource(params = {})
|
|
3646
|
+
# @param [Hash] params ({})
|
|
3647
|
+
def list_tags_for_resource(params = {}, options = {})
|
|
3648
|
+
req = build_request(:list_tags_for_resource, params)
|
|
3649
|
+
req.send_request(options)
|
|
3650
|
+
end
|
|
3651
|
+
|
|
3652
|
+
# Updates environment variables for an environment of a Gen 3 app.
|
|
3653
|
+
#
|
|
3654
|
+
# @option params [required, String] :app_name
|
|
3655
|
+
# The name of the app.
|
|
3656
|
+
#
|
|
3657
|
+
# @option params [required, String] :environment_name
|
|
3658
|
+
# The name of the environment.
|
|
3659
|
+
#
|
|
3660
|
+
# @option params [required, Array<Types::EnvironmentVariableInput>] :environment_variables
|
|
3661
|
+
# The environment variables.
|
|
3662
|
+
#
|
|
3663
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3664
|
+
#
|
|
3665
|
+
# @example Request syntax with placeholder values
|
|
3666
|
+
#
|
|
3667
|
+
# resp = client.put_environment_variables({
|
|
3668
|
+
# app_name: "AppName", # required
|
|
3669
|
+
# environment_name: "EnvironmentName", # required
|
|
3670
|
+
# environment_variables: [ # required
|
|
3671
|
+
# {
|
|
3672
|
+
# key: "EnvironmentVariableKey", # required
|
|
3673
|
+
# value: "EnvironmentVariableValue", # required
|
|
3674
|
+
# type: "PLAINTEXT", # required, accepts PLAINTEXT, SENSITIVE
|
|
3675
|
+
# comment: "EnvironmentVariableComment",
|
|
3676
|
+
# scope: "BUILD", # accepts BUILD, RUNTIME, ALL, BACKEND
|
|
3677
|
+
# },
|
|
3678
|
+
# ],
|
|
3679
|
+
# })
|
|
3680
|
+
#
|
|
3681
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/PutEnvironmentVariables AWS API Documentation
|
|
3682
|
+
#
|
|
3683
|
+
# @overload put_environment_variables(params = {})
|
|
3684
|
+
# @param [Hash] params ({})
|
|
3685
|
+
def put_environment_variables(params = {}, options = {})
|
|
3686
|
+
req = build_request(:put_environment_variables, params)
|
|
3687
|
+
req.send_request(options)
|
|
3688
|
+
end
|
|
3689
|
+
|
|
3690
|
+
# Updates the identity provider configuration for a Gen 3 app.
|
|
3691
|
+
#
|
|
3692
|
+
# @option params [required, String] :app_name
|
|
3693
|
+
# The name of the app.
|
|
3694
|
+
#
|
|
3695
|
+
# @option params [required, String] :identity_provider_name
|
|
3696
|
+
# The name of the identity provider.
|
|
3697
|
+
#
|
|
3698
|
+
# @option params [required, Types::IdentityProviderConfigRequest] :identity_provider_config
|
|
3699
|
+
# The identity provider configuration.
|
|
3700
|
+
#
|
|
3701
|
+
# @option params [String] :client_token
|
|
3702
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
3703
|
+
# idempotency of the request.
|
|
3704
|
+
#
|
|
3705
|
+
# @return [Types::PutIdentityProviderConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3706
|
+
#
|
|
3707
|
+
# * {Types::PutIdentityProviderConfigResponse#status #status} => String
|
|
3708
|
+
# * {Types::PutIdentityProviderConfigResponse#status_reason #status_reason} => String
|
|
3709
|
+
#
|
|
3710
|
+
# @example Request syntax with placeholder values
|
|
3711
|
+
#
|
|
3712
|
+
# resp = client.put_identity_provider_config({
|
|
3713
|
+
# app_name: "AppName", # required
|
|
3714
|
+
# identity_provider_name: "IdentityProviderName", # required
|
|
3715
|
+
# identity_provider_config: { # required
|
|
3716
|
+
# oidc: {
|
|
3717
|
+
# issuer_url: "OidcConfigIssuerUrlString", # required
|
|
3718
|
+
# client_id: "OidcConfigClientIdString", # required
|
|
3719
|
+
# client_secret: "OidcClientSecret", # required
|
|
3720
|
+
# token_type: "ID", # accepts ID, ACCESS
|
|
3721
|
+
# token_validations: ["String"],
|
|
3722
|
+
# authorization_endpoint: "OidcConfigAuthorizationEndpointString",
|
|
3723
|
+
# token_endpoint: "OidcConfigTokenEndpointString",
|
|
3724
|
+
# grant_type: "CODE", # accepts CODE, CODE_WITH_PKCE
|
|
3725
|
+
# refresh_token_strategy: "OFFLINE_ACCESS_SCOPE", # accepts OFFLINE_ACCESS_SCOPE, NO_SCOPE
|
|
3726
|
+
# authorize_request_params: {
|
|
3727
|
+
# "String" => "String",
|
|
3728
|
+
# },
|
|
3729
|
+
# token_request_params: {
|
|
3730
|
+
# "String" => "String",
|
|
3731
|
+
# },
|
|
3732
|
+
# },
|
|
3733
|
+
# iam_identity_center: {
|
|
3734
|
+
# instance_arn: "String",
|
|
3735
|
+
# group_id: "String",
|
|
3736
|
+
# },
|
|
3737
|
+
# },
|
|
3738
|
+
# client_token: "ClientToken",
|
|
3739
|
+
# })
|
|
3740
|
+
#
|
|
3741
|
+
# @example Response structure
|
|
3742
|
+
#
|
|
3743
|
+
# resp.status #=> String, one of "ACTIVE", "UPDATING", "ROLLED_BACK"
|
|
3744
|
+
# resp.status_reason #=> String
|
|
3745
|
+
#
|
|
3746
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/PutIdentityProviderConfig AWS API Documentation
|
|
3747
|
+
#
|
|
3748
|
+
# @overload put_identity_provider_config(params = {})
|
|
3749
|
+
# @param [Hash] params ({})
|
|
3750
|
+
def put_identity_provider_config(params = {}, options = {})
|
|
3751
|
+
req = build_request(:put_identity_provider_config, params)
|
|
3752
|
+
req.send_request(options)
|
|
3753
|
+
end
|
|
3754
|
+
|
|
3755
|
+
# Removes cached content for a deployment of an environment by cache
|
|
3756
|
+
# tag.
|
|
3757
|
+
#
|
|
3758
|
+
# @option params [required, String] :app_name
|
|
3759
|
+
# The name of the app.
|
|
3760
|
+
#
|
|
3761
|
+
# @option params [required, String] :environment_name
|
|
3762
|
+
# The name of the environment.
|
|
3763
|
+
#
|
|
3764
|
+
# @option params [required, String] :deployment_id
|
|
3765
|
+
# The ID of the deployment.
|
|
3766
|
+
#
|
|
3767
|
+
# @option params [required, Array<String>] :cache_tags
|
|
3768
|
+
# The cache tags that identify the content to remove.
|
|
3769
|
+
#
|
|
3770
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3771
|
+
#
|
|
3772
|
+
# @example Request syntax with placeholder values
|
|
3773
|
+
#
|
|
3774
|
+
# resp = client.reset_cache({
|
|
3775
|
+
# app_name: "AppName", # required
|
|
3776
|
+
# environment_name: "EnvironmentName", # required
|
|
3777
|
+
# deployment_id: "DeploymentId", # required
|
|
3778
|
+
# cache_tags: ["CacheTag"], # required
|
|
3779
|
+
# })
|
|
3780
|
+
#
|
|
3781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ResetCache AWS API Documentation
|
|
3782
|
+
#
|
|
3783
|
+
# @overload reset_cache(params = {})
|
|
3784
|
+
# @param [Hash] params ({})
|
|
3785
|
+
def reset_cache(params = {}, options = {})
|
|
3786
|
+
req = build_request(:reset_cache, params)
|
|
3787
|
+
req.send_request(options)
|
|
3788
|
+
end
|
|
3789
|
+
|
|
3790
|
+
# Restores the data of the production branch to a point in time in a new
|
|
3791
|
+
# branch of the Production environment. The production branch isn't
|
|
3792
|
+
# changed, and no deployment uses the new branch. The name of the new
|
|
3793
|
+
# branch is production- followed by the restore time in seconds since
|
|
3794
|
+
# the epoch. The restore runs asynchronously. To connect to the new
|
|
3795
|
+
# branch, call GetBranch with the returned branch ARN until it returns a
|
|
3796
|
+
# DatabaseConnection. When you no longer need the branch, delete it with
|
|
3797
|
+
# DeleteBranch. A request to restore to the same time as an earlier
|
|
3798
|
+
# request returns the branch that the earlier request created.
|
|
3799
|
+
#
|
|
3800
|
+
# @option params [required, String] :branch_arn
|
|
3801
|
+
# The Amazon Resource Name (ARN) of the production branch of the
|
|
3802
|
+
# Production environment. Other branches can't be restored.
|
|
3803
|
+
#
|
|
3804
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :restore_to_time
|
|
3805
|
+
# The point in time to restore the production branch to. The time must
|
|
3806
|
+
# be within the window that GetRestoreWindow returns and can't be in
|
|
3807
|
+
# the future. Fractions of a second are ignored.
|
|
3808
|
+
#
|
|
3809
|
+
# @return [Types::RestoreBranchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3810
|
+
#
|
|
3811
|
+
# * {Types::RestoreBranchResponse#branch_arn #branch_arn} => String
|
|
3812
|
+
#
|
|
3813
|
+
# @example Request syntax with placeholder values
|
|
3814
|
+
#
|
|
3815
|
+
# resp = client.restore_branch({
|
|
3816
|
+
# branch_arn: "BranchArn", # required
|
|
3817
|
+
# restore_to_time: Time.now, # required
|
|
3818
|
+
# })
|
|
3819
|
+
#
|
|
3820
|
+
# @example Response structure
|
|
3821
|
+
#
|
|
3822
|
+
# resp.branch_arn #=> String
|
|
3823
|
+
#
|
|
3824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/RestoreBranch AWS API Documentation
|
|
3825
|
+
#
|
|
3826
|
+
# @overload restore_branch(params = {})
|
|
3827
|
+
# @param [Hash] params ({})
|
|
3828
|
+
def restore_branch(params = {}, options = {})
|
|
3829
|
+
req = build_request(:restore_branch, params)
|
|
3830
|
+
req.send_request(options)
|
|
3831
|
+
end
|
|
3832
|
+
|
|
3833
|
+
# Resumes the paused backend of an app by restoring its database from a
|
|
3834
|
+
# snapshot. The resume runs asynchronously. Call GetApp until the
|
|
3835
|
+
# backend status is READY. You can resume only a backend that is PAUSED
|
|
3836
|
+
# or PAUSING. For any other status, the request fails with a
|
|
3837
|
+
# ConflictException. The operation isn't idempotent: repeating the
|
|
3838
|
+
# request after the backend is RESUMING or READY fails with a
|
|
3839
|
+
# ConflictException. A backend that was paused because a database
|
|
3840
|
+
# reached its storage limit can't be resumed until the plan covers the
|
|
3841
|
+
# size of the database or the database is deleted. A backend that used
|
|
3842
|
+
# its plan's monthly allowance can't be resumed until the plan is
|
|
3843
|
+
# upgraded or the allowance resets at the start of the next month (UTC).
|
|
3844
|
+
# In both cases, the request fails with a ConflictException. If the
|
|
3845
|
+
# account already has the maximum number of backends and the resume
|
|
3846
|
+
# needs a new backend, the request fails with a
|
|
3847
|
+
# ServiceQuotaExceededException.
|
|
3848
|
+
#
|
|
3849
|
+
# @option params [required, String] :app_name
|
|
3850
|
+
# The name of the app.
|
|
3851
|
+
#
|
|
3852
|
+
# @return [Types::ResumeBackendResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3853
|
+
#
|
|
3854
|
+
# * {Types::ResumeBackendResponse#status #status} => String
|
|
3855
|
+
#
|
|
3856
|
+
# @example Request syntax with placeholder values
|
|
3857
|
+
#
|
|
3858
|
+
# resp = client.resume_backend({
|
|
3859
|
+
# app_name: "AppName", # required
|
|
3860
|
+
# })
|
|
3861
|
+
#
|
|
3862
|
+
# @example Response structure
|
|
3863
|
+
#
|
|
3864
|
+
# resp.status #=> String, one of "READY", "CREATING", "DELETING", "PAUSING", "PAUSED", "RESUMING"
|
|
3865
|
+
#
|
|
3866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/ResumeBackend AWS API Documentation
|
|
3867
|
+
#
|
|
3868
|
+
# @overload resume_backend(params = {})
|
|
3869
|
+
# @param [Hash] params ({})
|
|
3870
|
+
def resume_backend(params = {}, options = {})
|
|
3871
|
+
req = build_request(:resume_backend, params)
|
|
3872
|
+
req.send_request(options)
|
|
3873
|
+
end
|
|
3874
|
+
|
|
3875
|
+
# Revokes an API key for a branch. A revoked key has a status of
|
|
3876
|
+
# INACTIVE and is rejected. You can't reactivate a revoked key, and
|
|
3877
|
+
# Amplify doesn't create a replacement key. Revoking a key that is
|
|
3878
|
+
# already revoked succeeds and leaves the key INACTIVE.
|
|
3879
|
+
#
|
|
3880
|
+
# @option params [required, String] :branch_arn
|
|
3881
|
+
# The Amazon Resource Name (ARN) of the branch that the API key belongs
|
|
3882
|
+
# to.
|
|
3883
|
+
#
|
|
3884
|
+
# @option params [required, String] :api_key_id
|
|
3885
|
+
# The ID of the API key to revoke.
|
|
3886
|
+
#
|
|
3887
|
+
# @return [Types::RevokeApiKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3888
|
+
#
|
|
3889
|
+
# * {Types::RevokeApiKeyResponse#api_key_id #api_key_id} => String
|
|
3890
|
+
# * {Types::RevokeApiKeyResponse#status #status} => String
|
|
3891
|
+
#
|
|
3892
|
+
# @example Request syntax with placeholder values
|
|
3893
|
+
#
|
|
3894
|
+
# resp = client.revoke_api_key({
|
|
3895
|
+
# branch_arn: "BranchArn", # required
|
|
3896
|
+
# api_key_id: "ApiKeyId", # required
|
|
3897
|
+
# })
|
|
3898
|
+
#
|
|
3899
|
+
# @example Response structure
|
|
3900
|
+
#
|
|
3901
|
+
# resp.api_key_id #=> String
|
|
3902
|
+
# resp.status #=> String, one of "ACTIVE", "INACTIVE"
|
|
3903
|
+
#
|
|
3904
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/RevokeApiKey AWS API Documentation
|
|
3905
|
+
#
|
|
3906
|
+
# @overload revoke_api_key(params = {})
|
|
3907
|
+
# @param [Hash] params ({})
|
|
3908
|
+
def revoke_api_key(params = {}, options = {})
|
|
3909
|
+
req = build_request(:revoke_api_key, params)
|
|
3910
|
+
req.send_request(options)
|
|
3911
|
+
end
|
|
3912
|
+
|
|
3913
|
+
# Rotates the client secret for the identity provider configuration of a
|
|
3914
|
+
# Gen 3 app.
|
|
3915
|
+
#
|
|
3916
|
+
# @option params [required, String] :app_name
|
|
3917
|
+
# The name of the app.
|
|
3918
|
+
#
|
|
3919
|
+
# @option params [required, String] :client_secret
|
|
3920
|
+
# The new client secret for the identity provider.
|
|
3921
|
+
#
|
|
3922
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3923
|
+
#
|
|
3924
|
+
# @example Request syntax with placeholder values
|
|
3925
|
+
#
|
|
3926
|
+
# resp = client.rotate_identity_provider_secret({
|
|
3927
|
+
# app_name: "AppName", # required
|
|
3928
|
+
# client_secret: "OidcClientSecret", # required
|
|
3929
|
+
# })
|
|
3930
|
+
#
|
|
3931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/RotateIdentityProviderSecret AWS API Documentation
|
|
3932
|
+
#
|
|
3933
|
+
# @overload rotate_identity_provider_secret(params = {})
|
|
3934
|
+
# @param [Hash] params ({})
|
|
3935
|
+
def rotate_identity_provider_secret(params = {}, options = {})
|
|
3936
|
+
req = build_request(:rotate_identity_provider_secret, params)
|
|
3937
|
+
req.send_request(options)
|
|
3938
|
+
end
|
|
3939
|
+
|
|
3940
|
+
# Starts connecting a GitHub or GitLab account to your AWS account. The
|
|
3941
|
+
# returned URL opens the Git provider page where you sign in and grant
|
|
3942
|
+
# access. The AWS Management Console uses this operation when you
|
|
3943
|
+
# connect a Git provider account.
|
|
3944
|
+
#
|
|
3945
|
+
# @option params [required, String] :provider
|
|
3946
|
+
# The Git provider.
|
|
3947
|
+
#
|
|
3948
|
+
# @option params [required, String] :redirect_url
|
|
3949
|
+
# The AWS Management Console page to return to after authorization
|
|
3950
|
+
# completes.
|
|
3951
|
+
#
|
|
3952
|
+
# @return [Types::StartAuthorizationFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3953
|
+
#
|
|
3954
|
+
# * {Types::StartAuthorizationFlowResponse#git_provider_authorization_url #git_provider_authorization_url} => String
|
|
3955
|
+
#
|
|
3956
|
+
# @example Request syntax with placeholder values
|
|
3957
|
+
#
|
|
3958
|
+
# resp = client.start_authorization_flow({
|
|
3959
|
+
# provider: "GITHUB", # required, accepts GITHUB, GITLAB
|
|
3960
|
+
# redirect_url: "String", # required
|
|
3961
|
+
# })
|
|
3962
|
+
#
|
|
3963
|
+
# @example Response structure
|
|
3964
|
+
#
|
|
3965
|
+
# resp.git_provider_authorization_url #=> String
|
|
3966
|
+
#
|
|
3967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/StartAuthorizationFlow AWS API Documentation
|
|
3968
|
+
#
|
|
3969
|
+
# @overload start_authorization_flow(params = {})
|
|
3970
|
+
# @param [Hash] params ({})
|
|
3971
|
+
def start_authorization_flow(params = {}, options = {})
|
|
3972
|
+
req = build_request(:start_authorization_flow, params)
|
|
3973
|
+
req.send_request(options)
|
|
3974
|
+
end
|
|
3975
|
+
|
|
3976
|
+
# Revalidates cached content for a deployment of an environment by cache
|
|
3977
|
+
# tag.
|
|
3978
|
+
#
|
|
3979
|
+
# @option params [required, String] :app_name
|
|
3980
|
+
# The name of the app.
|
|
3981
|
+
#
|
|
3982
|
+
# @option params [required, String] :environment_name
|
|
3983
|
+
# The name of the environment.
|
|
3984
|
+
#
|
|
3985
|
+
# @option params [required, String] :deployment_id
|
|
3986
|
+
# The ID of the deployment.
|
|
3987
|
+
#
|
|
3988
|
+
# @option params [required, Array<String>] :cache_tags
|
|
3989
|
+
# The cache tags that identify the content to revalidate.
|
|
3990
|
+
#
|
|
3991
|
+
# @option params [Integer] :expiration_period_seconds
|
|
3992
|
+
# The period, in seconds, after which the revalidated content expires.
|
|
3993
|
+
#
|
|
3994
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3995
|
+
#
|
|
3996
|
+
# @example Request syntax with placeholder values
|
|
3997
|
+
#
|
|
3998
|
+
# resp = client.start_cache_revalidation({
|
|
3999
|
+
# app_name: "AppName", # required
|
|
4000
|
+
# environment_name: "EnvironmentName", # required
|
|
4001
|
+
# deployment_id: "DeploymentId", # required
|
|
4002
|
+
# cache_tags: ["CacheTag"], # required
|
|
4003
|
+
# expiration_period_seconds: 1,
|
|
4004
|
+
# })
|
|
4005
|
+
#
|
|
4006
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/StartCacheRevalidation AWS API Documentation
|
|
4007
|
+
#
|
|
4008
|
+
# @overload start_cache_revalidation(params = {})
|
|
4009
|
+
# @param [Hash] params ({})
|
|
4010
|
+
def start_cache_revalidation(params = {}, options = {})
|
|
4011
|
+
req = build_request(:start_cache_revalidation, params)
|
|
4012
|
+
req.send_request(options)
|
|
4013
|
+
end
|
|
4014
|
+
|
|
4015
|
+
# Adds tags to an Amplify resource.
|
|
4016
|
+
#
|
|
4017
|
+
# @option params [required, String] :resource_arn
|
|
4018
|
+
# The Amazon Resource Name (ARN) of the resource to tag.
|
|
4019
|
+
#
|
|
4020
|
+
# @option params [required, Hash<String,String>] :tags
|
|
4021
|
+
# The tags to add to the resource.
|
|
4022
|
+
#
|
|
4023
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4024
|
+
#
|
|
4025
|
+
# @example Request syntax with placeholder values
|
|
4026
|
+
#
|
|
4027
|
+
# resp = client.tag_resource({
|
|
4028
|
+
# resource_arn: "ResourceArn", # required
|
|
4029
|
+
# tags: { # required
|
|
4030
|
+
# "TagMapKeyString" => "TagMapValueString",
|
|
4031
|
+
# },
|
|
4032
|
+
# })
|
|
4033
|
+
#
|
|
4034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/TagResource AWS API Documentation
|
|
4035
|
+
#
|
|
4036
|
+
# @overload tag_resource(params = {})
|
|
4037
|
+
# @param [Hash] params ({})
|
|
4038
|
+
def tag_resource(params = {}, options = {})
|
|
4039
|
+
req = build_request(:tag_resource, params)
|
|
4040
|
+
req.send_request(options)
|
|
4041
|
+
end
|
|
4042
|
+
|
|
4043
|
+
# Removes tags from an Amplify resource.
|
|
4044
|
+
#
|
|
4045
|
+
# @option params [required, String] :resource_arn
|
|
4046
|
+
# The Amazon Resource Name (ARN) of the resource to remove tags from.
|
|
4047
|
+
#
|
|
4048
|
+
# @option params [required, Array<String>] :tag_keys
|
|
4049
|
+
# The keys of the tags to remove from the resource.
|
|
4050
|
+
#
|
|
4051
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4052
|
+
#
|
|
4053
|
+
# @example Request syntax with placeholder values
|
|
4054
|
+
#
|
|
4055
|
+
# resp = client.untag_resource({
|
|
4056
|
+
# resource_arn: "ResourceArn", # required
|
|
4057
|
+
# tag_keys: ["TagKey"], # required
|
|
4058
|
+
# })
|
|
4059
|
+
#
|
|
4060
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/UntagResource AWS API Documentation
|
|
4061
|
+
#
|
|
4062
|
+
# @overload untag_resource(params = {})
|
|
4063
|
+
# @param [Hash] params ({})
|
|
4064
|
+
def untag_resource(params = {}, options = {})
|
|
4065
|
+
req = build_request(:untag_resource, params)
|
|
4066
|
+
req.send_request(options)
|
|
4067
|
+
end
|
|
4068
|
+
|
|
4069
|
+
# Updates the access control configuration for an environment of a Gen 3
|
|
4070
|
+
# app.
|
|
4071
|
+
#
|
|
4072
|
+
# @option params [required, String] :app_name
|
|
4073
|
+
# The name of the app.
|
|
4074
|
+
#
|
|
4075
|
+
# @option params [required, String] :environment_name
|
|
4076
|
+
# The name of the environment.
|
|
4077
|
+
#
|
|
4078
|
+
# @option params [String] :scope
|
|
4079
|
+
# The scope that the access control configuration applies to.
|
|
4080
|
+
#
|
|
4081
|
+
# @option params [Types::AccessControlRule] :rule
|
|
4082
|
+
# The rule that determines which users are granted access.
|
|
4083
|
+
#
|
|
4084
|
+
# @option params [String] :client_token
|
|
4085
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
4086
|
+
# idempotency of the request.
|
|
4087
|
+
#
|
|
4088
|
+
# @return [Types::UpdateAccessControlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4089
|
+
#
|
|
4090
|
+
# * {Types::UpdateAccessControlResponse#status #status} => String
|
|
4091
|
+
# * {Types::UpdateAccessControlResponse#status_reason #status_reason} => String
|
|
4092
|
+
#
|
|
4093
|
+
# @example Request syntax with placeholder values
|
|
4094
|
+
#
|
|
4095
|
+
# resp = client.update_access_control({
|
|
4096
|
+
# app_name: "AppName", # required
|
|
4097
|
+
# environment_name: "EnvironmentName", # required
|
|
4098
|
+
# scope: "ALL_DEPLOYMENTS", # accepts ALL_DEPLOYMENTS, NON_ACTIVE_DEPLOYMENTS
|
|
4099
|
+
# rule: {
|
|
4100
|
+
# any_authenticated_user: {
|
|
4101
|
+
# },
|
|
4102
|
+
# user_claims: [
|
|
4103
|
+
# {
|
|
4104
|
+
# key: "AccessRuleConditionKeyString", # required
|
|
4105
|
+
# operator: "EQUALS", # accepts EQUALS, CONTAINS, BEGINS_WITH, ENDS_WITH
|
|
4106
|
+
# value: "AccessRuleConditionValueString", # required
|
|
4107
|
+
# },
|
|
4108
|
+
# ],
|
|
4109
|
+
# },
|
|
4110
|
+
# client_token: "ClientToken",
|
|
4111
|
+
# })
|
|
4112
|
+
#
|
|
4113
|
+
# @example Response structure
|
|
4114
|
+
#
|
|
4115
|
+
# resp.status #=> String, one of "ENABLING", "ENABLED", "ENABLE_FAILED", "UPDATING", "UPDATE_FAILED", "DISABLING", "DISABLED", "DISABLE_FAILED"
|
|
4116
|
+
# resp.status_reason #=> String
|
|
4117
|
+
#
|
|
4118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/UpdateAccessControl AWS API Documentation
|
|
4119
|
+
#
|
|
4120
|
+
# @overload update_access_control(params = {})
|
|
4121
|
+
# @param [Hash] params ({})
|
|
4122
|
+
def update_access_control(params = {}, options = {})
|
|
4123
|
+
req = build_request(:update_access_control, params)
|
|
4124
|
+
req.send_request(options)
|
|
4125
|
+
end
|
|
4126
|
+
|
|
4127
|
+
# Updates the traffic routing for an alias of an environment.
|
|
4128
|
+
#
|
|
4129
|
+
# @option params [required, String] :app_name
|
|
4130
|
+
# The name of the app.
|
|
4131
|
+
#
|
|
4132
|
+
# @option params [required, String] :environment_name
|
|
4133
|
+
# The name of the environment.
|
|
4134
|
+
#
|
|
4135
|
+
# @option params [required, String] :alias_name
|
|
4136
|
+
# The name of the alias.
|
|
4137
|
+
#
|
|
4138
|
+
# @option params [required, Array<Types::RoutingConfigEntry>] :routing_config
|
|
4139
|
+
# The traffic routing configuration to apply to the alias.
|
|
4140
|
+
#
|
|
4141
|
+
# @option params [Types::GradualRolloutConfig] :gradual_rollout_config
|
|
4142
|
+
# The gradual rollout settings to apply to the alias.
|
|
4143
|
+
#
|
|
4144
|
+
# @return [Types::UpdateAliasRoutingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4145
|
+
#
|
|
4146
|
+
# * {Types::UpdateAliasRoutingResponse#gradual_rollout_state #gradual_rollout_state} => Types::GradualRolloutState
|
|
4147
|
+
#
|
|
4148
|
+
# @example Request syntax with placeholder values
|
|
4149
|
+
#
|
|
4150
|
+
# resp = client.update_alias_routing({
|
|
4151
|
+
# app_name: "AppName", # required
|
|
4152
|
+
# environment_name: "EnvironmentName", # required
|
|
4153
|
+
# alias_name: "AliasName", # required
|
|
4154
|
+
# routing_config: [ # required
|
|
4155
|
+
# {
|
|
4156
|
+
# deployment_id: "DeploymentId", # required
|
|
4157
|
+
# weight: 1, # required
|
|
4158
|
+
# },
|
|
4159
|
+
# ],
|
|
4160
|
+
# gradual_rollout_config: {
|
|
4161
|
+
# preset_config: {
|
|
4162
|
+
# preset: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY_10_PERCENT_5_MINUTES, CANARY_10_PERCENT_15_MINUTES, CANARY_10_PERCENT_30_MINUTES, LINEAR_10_PERCENT_EVERY_1_MINUTE, LINEAR_10_PERCENT_EVERY_3_MINUTES, LINEAR_10_PERCENT_EVERY_10_MINUTES
|
|
4163
|
+
# },
|
|
4164
|
+
# },
|
|
4165
|
+
# })
|
|
4166
|
+
#
|
|
4167
|
+
# @example Response structure
|
|
4168
|
+
#
|
|
4169
|
+
# resp.gradual_rollout_state.status #=> String, one of "IN_PROGRESS", "COMPLETED", "CANCELLED"
|
|
4170
|
+
# resp.gradual_rollout_state.source_routing_config #=> Array
|
|
4171
|
+
# resp.gradual_rollout_state.source_routing_config[0].deployment_id #=> String
|
|
4172
|
+
# resp.gradual_rollout_state.source_routing_config[0].weight #=> Integer
|
|
4173
|
+
# resp.gradual_rollout_state.target_routing_config #=> Array
|
|
4174
|
+
# resp.gradual_rollout_state.target_routing_config[0].deployment_id #=> String
|
|
4175
|
+
# resp.gradual_rollout_state.target_routing_config[0].weight #=> Integer
|
|
4176
|
+
# resp.gradual_rollout_state.schedule #=> Array
|
|
4177
|
+
# resp.gradual_rollout_state.schedule[0].weight #=> Integer
|
|
4178
|
+
# resp.gradual_rollout_state.schedule[0].effective_at #=> Time
|
|
4179
|
+
# resp.gradual_rollout_state.current_stage_index #=> Integer
|
|
4180
|
+
# resp.gradual_rollout_state.started_at #=> Time
|
|
4181
|
+
# resp.gradual_rollout_state.ended_at #=> Time
|
|
4182
|
+
#
|
|
4183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/UpdateAliasRouting AWS API Documentation
|
|
4184
|
+
#
|
|
4185
|
+
# @overload update_alias_routing(params = {})
|
|
4186
|
+
# @param [Hash] params ({})
|
|
4187
|
+
def update_alias_routing(params = {}, options = {})
|
|
4188
|
+
req = build_request(:update_alias_routing, params)
|
|
4189
|
+
req.send_request(options)
|
|
4190
|
+
end
|
|
4191
|
+
|
|
4192
|
+
# Updates a Gen 3 app.
|
|
4193
|
+
#
|
|
4194
|
+
# @option params [required, String] :app_name
|
|
4195
|
+
# The name of the app.
|
|
4196
|
+
#
|
|
4197
|
+
# @option params [Types::AppUpdateSourceConfigRequest] :source_config
|
|
4198
|
+
# The source configuration for the app.
|
|
4199
|
+
#
|
|
4200
|
+
# @option params [Types::AppUpdateWebConfigRequest] :web
|
|
4201
|
+
# The web hosting settings for the app.
|
|
4202
|
+
#
|
|
4203
|
+
# @option params [Types::AppBackendRequest] :backend
|
|
4204
|
+
# The backend settings for the app. Specify this to add a backend to an
|
|
4205
|
+
# app that doesn't have one. For an app that already has a backend, you
|
|
4206
|
+
# can change only the migrations directory. Omit this to leave the
|
|
4207
|
+
# backend unchanged.
|
|
4208
|
+
#
|
|
4209
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4210
|
+
#
|
|
4211
|
+
# @example Request syntax with placeholder values
|
|
4212
|
+
#
|
|
4213
|
+
# resp = client.update_app({
|
|
4214
|
+
# app_name: "AppName", # required
|
|
4215
|
+
# source_config: {
|
|
4216
|
+
# git_hub_source: {
|
|
4217
|
+
# repository_url: "AppUpdateGitHubSourceRequestRepositoryUrlString", # required
|
|
4218
|
+
# },
|
|
4219
|
+
# git_lab_source: {
|
|
4220
|
+
# repository_url: "AppUpdateGitLabSourceRequestRepositoryUrlString", # required
|
|
4221
|
+
# owner: "AppUpdateGitLabSourceRequestOwnerString", # required
|
|
4222
|
+
# },
|
|
4223
|
+
# no_source: {
|
|
4224
|
+
# },
|
|
4225
|
+
# },
|
|
4226
|
+
# web: {
|
|
4227
|
+
# build_config: {
|
|
4228
|
+
# install_command: "AppUpdateBuildConfigRequestInstallCommandString",
|
|
4229
|
+
# build_command: "AppUpdateBuildConfigRequestBuildCommandString",
|
|
4230
|
+
# root_directory: "AppUpdateBuildConfigRequestRootDirectoryString",
|
|
4231
|
+
# output_directory: "AppUpdateBuildConfigRequestOutputDirectoryString",
|
|
4232
|
+
# },
|
|
4233
|
+
# },
|
|
4234
|
+
# backend: {
|
|
4235
|
+
# migrations_directory: "AppBackendRequestMigrationsDirectoryString",
|
|
4236
|
+
# },
|
|
4237
|
+
# })
|
|
4238
|
+
#
|
|
4239
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/UpdateApp AWS API Documentation
|
|
4240
|
+
#
|
|
4241
|
+
# @overload update_app(params = {})
|
|
4242
|
+
# @param [Hash] params ({})
|
|
4243
|
+
def update_app(params = {}, options = {})
|
|
4244
|
+
req = build_request(:update_app, params)
|
|
4245
|
+
req.send_request(options)
|
|
4246
|
+
end
|
|
4247
|
+
|
|
4248
|
+
# Updates a domain association for a Gen 3 app.
|
|
4249
|
+
#
|
|
4250
|
+
# @option params [required, String] :app_name
|
|
4251
|
+
# The name of the app.
|
|
4252
|
+
#
|
|
4253
|
+
# @option params [required, String] :domain_name
|
|
4254
|
+
# The fully qualified domain name.
|
|
4255
|
+
#
|
|
4256
|
+
# @option params [Types::Routing] :routing
|
|
4257
|
+
# The routing configuration for the domain.
|
|
4258
|
+
#
|
|
4259
|
+
# @return [Types::UpdateDomainAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4260
|
+
#
|
|
4261
|
+
# * {Types::UpdateDomainAssociationResponse#domain_status #domain_status} => String
|
|
4262
|
+
#
|
|
4263
|
+
# @example Request syntax with placeholder values
|
|
4264
|
+
#
|
|
4265
|
+
# resp = client.update_domain_association({
|
|
4266
|
+
# app_name: "AppName", # required
|
|
4267
|
+
# domain_name: "CustomDomainName", # required
|
|
4268
|
+
# routing: {
|
|
4269
|
+
# alias: {
|
|
4270
|
+
# alias_arn: "AliasArn", # required
|
|
4271
|
+
# },
|
|
4272
|
+
# redirect: {
|
|
4273
|
+
# target_url: "RedirectTargetUrl", # required
|
|
4274
|
+
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302, HTTP_307, HTTP_308
|
|
4275
|
+
# },
|
|
4276
|
+
# },
|
|
4277
|
+
# })
|
|
4278
|
+
#
|
|
4279
|
+
# @example Response structure
|
|
4280
|
+
#
|
|
4281
|
+
# resp.domain_status #=> String, one of "CREATING", "PENDING_CERTIFICATE_VALIDATION", "PENDING_OWNERSHIP_VALIDATION", "PENDING_DNS_VALIDATION", "PENDING_NS_DELEGATION", "PROVISIONING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
|
|
4282
|
+
#
|
|
4283
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/UpdateDomainAssociation AWS API Documentation
|
|
4284
|
+
#
|
|
4285
|
+
# @overload update_domain_association(params = {})
|
|
4286
|
+
# @param [Hash] params ({})
|
|
4287
|
+
def update_domain_association(params = {}, options = {})
|
|
4288
|
+
req = build_request(:update_domain_association, params)
|
|
4289
|
+
req.send_request(options)
|
|
4290
|
+
end
|
|
4291
|
+
|
|
4292
|
+
# Updates an environment for a Gen 3 app.
|
|
4293
|
+
#
|
|
4294
|
+
# @option params [required, String] :app_name
|
|
4295
|
+
# The name of the app.
|
|
4296
|
+
#
|
|
4297
|
+
# @option params [required, String] :environment_name
|
|
4298
|
+
# The name of the environment.
|
|
4299
|
+
#
|
|
4300
|
+
# @option params [String] :environment_role_arn
|
|
4301
|
+
# The Amazon Resource Name (ARN) of the IAM role for the environment.
|
|
4302
|
+
#
|
|
4303
|
+
# @option params [String] :environment_role_permission_mode
|
|
4304
|
+
# The permission mode for the environment's IAM role.
|
|
4305
|
+
#
|
|
4306
|
+
# @option params [Types::EnvironmentUpdateSourceConfigRequest] :source_config
|
|
4307
|
+
# The source configuration for the environment.
|
|
4308
|
+
#
|
|
4309
|
+
# @option params [Array<Types::WafLogConfigRequest>] :waf_log_configs
|
|
4310
|
+
# A list of the environment's AWS WAF log configurations.
|
|
4311
|
+
#
|
|
4312
|
+
# @option params [Types::GradualRolloutConfig] :gradual_rollout_config
|
|
4313
|
+
# The gradual rollout settings.
|
|
4314
|
+
#
|
|
4315
|
+
# @option params [Types::EnvironmentUpdateWebConfigRequest] :web
|
|
4316
|
+
# The web hosting settings for the environment.
|
|
4317
|
+
#
|
|
4318
|
+
# @option params [Types::EnvironmentUpdateBackendRequest] :backend
|
|
4319
|
+
# The backend settings for the environment. You can specify Auth and
|
|
4320
|
+
# Database only when the app has a backend. An app without a backend can
|
|
4321
|
+
# specify this only to turn off backend log delivery. If you omit a
|
|
4322
|
+
# member, that setting is unchanged.
|
|
4323
|
+
#
|
|
4324
|
+
# @option params [Types::EnvironmentUpdateNetworkConfigRequest] :network_config
|
|
4325
|
+
# The VPC network configuration for the environment.
|
|
4326
|
+
#
|
|
4327
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4328
|
+
#
|
|
4329
|
+
# @example Request syntax with placeholder values
|
|
4330
|
+
#
|
|
4331
|
+
# resp = client.update_environment({
|
|
4332
|
+
# app_name: "AppName", # required
|
|
4333
|
+
# environment_name: "EnvironmentName", # required
|
|
4334
|
+
# environment_role_arn: "EnvironmentRoleArn",
|
|
4335
|
+
# environment_role_permission_mode: "SCOPED", # accepts SCOPED, FULL
|
|
4336
|
+
# source_config: {
|
|
4337
|
+
# git_source: {
|
|
4338
|
+
# branch_match_patterns: ["BranchMatchPatternsMemberString"], # required
|
|
4339
|
+
# deployment_trigger_events: ["PUSH"], # accepts PUSH, PULL_REQUEST, FORK_PULL_REQUEST
|
|
4340
|
+
# },
|
|
4341
|
+
# no_source: {
|
|
4342
|
+
# },
|
|
4343
|
+
# },
|
|
4344
|
+
# waf_log_configs: [
|
|
4345
|
+
# {
|
|
4346
|
+
# cloud_watch_logs_config: {
|
|
4347
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
4348
|
+
# sampling_rate: 1,
|
|
4349
|
+
# scope: "ALL_REQUESTS", # accepts ALL_REQUESTS, BLOCKED_ONLY
|
|
4350
|
+
# },
|
|
4351
|
+
# s3_config: {
|
|
4352
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
4353
|
+
# sampling_rate: 1,
|
|
4354
|
+
# scope: "ALL_REQUESTS", # accepts ALL_REQUESTS, BLOCKED_ONLY
|
|
4355
|
+
# bucket_arn: "WafS3DeliveryConfigRequestBucketArnString",
|
|
4356
|
+
# },
|
|
4357
|
+
# },
|
|
4358
|
+
# ],
|
|
4359
|
+
# gradual_rollout_config: {
|
|
4360
|
+
# preset_config: {
|
|
4361
|
+
# preset: "ALL_AT_ONCE", # required, accepts ALL_AT_ONCE, CANARY_10_PERCENT_5_MINUTES, CANARY_10_PERCENT_15_MINUTES, CANARY_10_PERCENT_30_MINUTES, LINEAR_10_PERCENT_EVERY_1_MINUTE, LINEAR_10_PERCENT_EVERY_3_MINUTES, LINEAR_10_PERCENT_EVERY_10_MINUTES
|
|
4362
|
+
# },
|
|
4363
|
+
# },
|
|
4364
|
+
# web: {
|
|
4365
|
+
# access_log_config: {
|
|
4366
|
+
# cloud_watch_logs_config: {
|
|
4367
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
4368
|
+
# sampling_rate: 1,
|
|
4369
|
+
# },
|
|
4370
|
+
# s3_config: {
|
|
4371
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
4372
|
+
# sampling_rate: 1,
|
|
4373
|
+
# bucket_arn: "S3DeliveryConfigRequestBucketArnString",
|
|
4374
|
+
# },
|
|
4375
|
+
# },
|
|
4376
|
+
# environment_alias_config: {
|
|
4377
|
+
# routing_mode: "AUTO_ROUTE_TO_LATEST", # accepts AUTO_ROUTE_TO_LATEST, MANUAL
|
|
4378
|
+
# },
|
|
4379
|
+
# skew_protection_config: {
|
|
4380
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
4381
|
+
# cookie_max_age_seconds: 1,
|
|
4382
|
+
# },
|
|
4383
|
+
# },
|
|
4384
|
+
# backend: {
|
|
4385
|
+
# auth: "AuthConfigDocument",
|
|
4386
|
+
# database: {
|
|
4387
|
+
# max_backend_capacity_units: 1,
|
|
4388
|
+
# backup_retention_days: 1,
|
|
4389
|
+
# },
|
|
4390
|
+
# database_log_config: {
|
|
4391
|
+
# cloud_watch_logs_config: {
|
|
4392
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
4393
|
+
# sampling_rate: 1,
|
|
4394
|
+
# },
|
|
4395
|
+
# s3_config: {
|
|
4396
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
4397
|
+
# sampling_rate: 1,
|
|
4398
|
+
# bucket_arn: "DatabaseS3DeliveryConfigRequestBucketArnString",
|
|
4399
|
+
# },
|
|
4400
|
+
# },
|
|
4401
|
+
# },
|
|
4402
|
+
# network_config: {
|
|
4403
|
+
# build_network_connector_arn: "OptionalNetworkConnectorArn",
|
|
4404
|
+
# compute_network_connector_arn: "OptionalNetworkConnectorArn",
|
|
4405
|
+
# },
|
|
4406
|
+
# })
|
|
4407
|
+
#
|
|
4408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/UpdateEnvironment AWS API Documentation
|
|
4409
|
+
#
|
|
4410
|
+
# @overload update_environment(params = {})
|
|
4411
|
+
# @param [Hash] params ({})
|
|
4412
|
+
def update_environment(params = {}, options = {})
|
|
4413
|
+
req = build_request(:update_environment, params)
|
|
4414
|
+
req.send_request(options)
|
|
4415
|
+
end
|
|
4416
|
+
|
|
4417
|
+
# Updates an integration configuration.
|
|
4418
|
+
#
|
|
4419
|
+
# @option params [required, String] :integration_name
|
|
4420
|
+
# The name of the integration.
|
|
4421
|
+
#
|
|
4422
|
+
# @option params [String] :integration_type_id
|
|
4423
|
+
# The ID of the integration type.
|
|
4424
|
+
#
|
|
4425
|
+
# @option params [Types::ResourceConfiguration] :resource_configuration
|
|
4426
|
+
# The resource configuration for the integration.
|
|
4427
|
+
#
|
|
4428
|
+
# @option params [Array<Types::IntegrationEnvironmentVariableInput>] :environment_variables
|
|
4429
|
+
# The environment variables.
|
|
4430
|
+
#
|
|
4431
|
+
# @option params [Array<String>] :remove_environment_variable_keys
|
|
4432
|
+
# The keys of the environment variables to remove.
|
|
4433
|
+
#
|
|
4434
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4435
|
+
#
|
|
4436
|
+
# @example Request syntax with placeholder values
|
|
4437
|
+
#
|
|
4438
|
+
# resp = client.update_integration_configuration({
|
|
4439
|
+
# integration_name: "IntegrationName", # required
|
|
4440
|
+
# integration_type_id: "IntegrationTypeId",
|
|
4441
|
+
# resource_configuration: {
|
|
4442
|
+
# s3: {
|
|
4443
|
+
# bucket_arn: "S3ConfigurationBucketArnString", # required
|
|
4444
|
+
# },
|
|
4445
|
+
# dsql: {
|
|
4446
|
+
# cluster_arn: "DsqlConfigurationClusterArnString", # required
|
|
4447
|
+
# database_user: "DsqlConfigurationDatabaseUserString", # required
|
|
4448
|
+
# },
|
|
4449
|
+
# bedrock: {
|
|
4450
|
+
# region_name: "BedrockConfigurationRegionNameString", # required
|
|
4451
|
+
# model_id: "BedrockConfigurationModelIdString",
|
|
4452
|
+
# },
|
|
4453
|
+
# custom: {
|
|
4454
|
+
# resource_arn: "CustomConfigurationResourceArnString",
|
|
4455
|
+
# },
|
|
4456
|
+
# },
|
|
4457
|
+
# environment_variables: [
|
|
4458
|
+
# {
|
|
4459
|
+
# key: "EnvironmentVariableKey", # required
|
|
4460
|
+
# key_override: "EnvironmentVariableKey",
|
|
4461
|
+
# value: "EnvironmentVariableValue",
|
|
4462
|
+
# type: "PLAINTEXT", # accepts PLAINTEXT, SENSITIVE
|
|
4463
|
+
# },
|
|
4464
|
+
# ],
|
|
4465
|
+
# remove_environment_variable_keys: ["EnvironmentVariableKey"],
|
|
4466
|
+
# })
|
|
4467
|
+
#
|
|
4468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/UpdateIntegrationConfiguration AWS API Documentation
|
|
4469
|
+
#
|
|
4470
|
+
# @overload update_integration_configuration(params = {})
|
|
4471
|
+
# @param [Hash] params ({})
|
|
4472
|
+
def update_integration_configuration(params = {}, options = {})
|
|
4473
|
+
req = build_request(:update_integration_configuration, params)
|
|
4474
|
+
req.send_request(options)
|
|
4475
|
+
end
|
|
4476
|
+
|
|
4477
|
+
# Updates a network connector.
|
|
4478
|
+
#
|
|
4479
|
+
# @option params [required, String] :network_connector_name
|
|
4480
|
+
# The name of the network connector.
|
|
4481
|
+
#
|
|
4482
|
+
# @option params [Array<String>] :subnet_ids
|
|
4483
|
+
# The IDs of the subnets.
|
|
4484
|
+
#
|
|
4485
|
+
# @option params [Array<String>] :security_group_ids
|
|
4486
|
+
# The IDs of the security groups.
|
|
4487
|
+
#
|
|
4488
|
+
# @option params [String] :network_connector_role_arn
|
|
4489
|
+
# The Amazon Resource Name (ARN) of the IAM role for the network
|
|
4490
|
+
# connector.
|
|
4491
|
+
#
|
|
4492
|
+
# @return [Types::UpdateNetworkConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4493
|
+
#
|
|
4494
|
+
# * {Types::UpdateNetworkConnectorResponse#status #status} => String
|
|
4495
|
+
#
|
|
4496
|
+
# @example Request syntax with placeholder values
|
|
4497
|
+
#
|
|
4498
|
+
# resp = client.update_network_connector({
|
|
4499
|
+
# network_connector_name: "NetworkConnectorName", # required
|
|
4500
|
+
# subnet_ids: ["SubnetId"],
|
|
4501
|
+
# security_group_ids: ["SecurityGroupId"],
|
|
4502
|
+
# network_connector_role_arn: "NetworkConnectorRoleArn",
|
|
4503
|
+
# })
|
|
4504
|
+
#
|
|
4505
|
+
# @example Response structure
|
|
4506
|
+
#
|
|
4507
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "UPDATE_FAILED", "DELETING", "DELETE_FAILED"
|
|
4508
|
+
#
|
|
4509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/amplifygen3-2025-09-18/UpdateNetworkConnector AWS API Documentation
|
|
4510
|
+
#
|
|
4511
|
+
# @overload update_network_connector(params = {})
|
|
4512
|
+
# @param [Hash] params ({})
|
|
4513
|
+
def update_network_connector(params = {}, options = {})
|
|
4514
|
+
req = build_request(:update_network_connector, params)
|
|
4515
|
+
req.send_request(options)
|
|
4516
|
+
end
|
|
4517
|
+
|
|
4518
|
+
# @!endgroup
|
|
4519
|
+
|
|
4520
|
+
# @param params ({})
|
|
4521
|
+
# @api private
|
|
4522
|
+
def build_request(operation_name, params = {})
|
|
4523
|
+
handlers = @handlers.for(operation_name)
|
|
4524
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
|
4525
|
+
Aws::Telemetry.module_to_tracer_name('Aws::AmplifyGen3')
|
|
4526
|
+
)
|
|
4527
|
+
context = Seahorse::Client::RequestContext.new(
|
|
4528
|
+
operation_name: operation_name,
|
|
4529
|
+
operation: config.api.operation(operation_name),
|
|
4530
|
+
client: self,
|
|
4531
|
+
params: params,
|
|
4532
|
+
config: config,
|
|
4533
|
+
tracer: tracer
|
|
4534
|
+
)
|
|
4535
|
+
context[:gem_name] = 'aws-sdk-amplifygen3'
|
|
4536
|
+
context[:gem_version] = '1.0.0'
|
|
4537
|
+
Seahorse::Client::Request.new(handlers, context)
|
|
4538
|
+
end
|
|
4539
|
+
|
|
4540
|
+
# @api private
|
|
4541
|
+
# @deprecated
|
|
4542
|
+
def waiter_names
|
|
4543
|
+
[]
|
|
4544
|
+
end
|
|
4545
|
+
|
|
4546
|
+
class << self
|
|
4547
|
+
|
|
4548
|
+
# @api private
|
|
4549
|
+
attr_reader :identifier
|
|
4550
|
+
|
|
4551
|
+
# @api private
|
|
4552
|
+
def errors_module
|
|
4553
|
+
Errors
|
|
4554
|
+
end
|
|
4555
|
+
|
|
4556
|
+
end
|
|
4557
|
+
end
|
|
4558
|
+
end
|