aws-sdk-elasticbeanstalk 1.26.0 → 1.31.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 +5 -5
- data/lib/aws-sdk-elasticbeanstalk.rb +7 -4
- data/lib/aws-sdk-elasticbeanstalk/client.rb +436 -119
- data/lib/aws-sdk-elasticbeanstalk/client_api.rb +129 -0
- data/lib/aws-sdk-elasticbeanstalk/errors.rb +220 -0
- data/lib/aws-sdk-elasticbeanstalk/resource.rb +1 -0
- data/lib/aws-sdk-elasticbeanstalk/types.rb +646 -155
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 25cb9d8226b7b531d34e36e9eae0091a81429bf644dc3a4d5f31f26cf2aae49b
|
4
|
+
data.tar.gz: 94da08b892daf40648f100301b6772a40f448a96f40952dc5fb301b1df73ce9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fabb1555cff81c348cc1d87ebc9fcd3d419c10c5857b40e3c21f6a393390f3b38d460854c92dd49b7f03c9ef78b41cf0b190c2eabb31af6bfa3ef0871f5f67c
|
7
|
+
data.tar.gz: 501400df82ea6e972854351e786dc27345bb20a072e45bbd47272ea38f6834faeec626f104e723ed100a4031c3b5ae1cb52e8193208cbe89cf8dbb51e91434c3
|
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-elasticbeanstalk/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# elastic_beanstalk = Aws::ElasticBeanstalk::Client.new
|
28
|
+
# resp = elastic_beanstalk.abort_environment_update(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from AWS Elastic Beanstalk
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from AWS Elastic Beanstalk are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::ElasticBeanstalk::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all AWS Elastic Beanstalk API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-elasticbeanstalk/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::ElasticBeanstalk
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.31.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/query.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:elasticbeanstalk)
|
31
31
|
|
32
32
|
module Aws::ElasticBeanstalk
|
33
|
+
# An API client for ElasticBeanstalk. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::ElasticBeanstalk::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::ElasticBeanstalk
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::ElasticBeanstalk
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::ElasticBeanstalk
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::ElasticBeanstalk
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::ElasticBeanstalk
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::ElasticBeanstalk
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::ElasticBeanstalk
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -209,16 +264,15 @@ module Aws::ElasticBeanstalk
|
|
209
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
265
|
#
|
211
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
268
|
# `Timeout::Error`.
|
214
269
|
#
|
215
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
271
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
219
273
|
#
|
220
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
275
|
+
# seconds a connection is allowed to sit idle before it is
|
222
276
|
# considered stale. Stale connections are closed and removed
|
223
277
|
# from the pool before making a request.
|
224
278
|
#
|
@@ -227,7 +281,7 @@ module Aws::ElasticBeanstalk
|
|
227
281
|
# request body. This option has no effect unless the request has
|
228
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
283
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
284
|
+
# request on the session.
|
231
285
|
#
|
232
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -336,6 +390,41 @@ module Aws::ElasticBeanstalk
|
|
336
390
|
req.send_request(options)
|
337
391
|
end
|
338
392
|
|
393
|
+
# Add or change the operations role used by an environment. After this
|
394
|
+
# call is made, Elastic Beanstalk uses the associated operations role
|
395
|
+
# for permissions to downstream services during subsequent calls acting
|
396
|
+
# on this environment. For more information, see [Operations roles][1]
|
397
|
+
# in the *AWS Elastic Beanstalk Developer Guide*.
|
398
|
+
#
|
399
|
+
#
|
400
|
+
#
|
401
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html
|
402
|
+
#
|
403
|
+
# @option params [required, String] :environment_name
|
404
|
+
# The name of the environment to which to set the operations role.
|
405
|
+
#
|
406
|
+
# @option params [required, String] :operations_role
|
407
|
+
# The Amazon Resource Name (ARN) of an existing IAM role to be used as
|
408
|
+
# the environment's operations role.
|
409
|
+
#
|
410
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
411
|
+
#
|
412
|
+
# @example Request syntax with placeholder values
|
413
|
+
#
|
414
|
+
# resp = client.associate_environment_operations_role({
|
415
|
+
# environment_name: "EnvironmentName", # required
|
416
|
+
# operations_role: "OperationsRole", # required
|
417
|
+
# })
|
418
|
+
#
|
419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AssociateEnvironmentOperationsRole AWS API Documentation
|
420
|
+
#
|
421
|
+
# @overload associate_environment_operations_role(params = {})
|
422
|
+
# @param [Hash] params ({})
|
423
|
+
def associate_environment_operations_role(params = {}, options = {})
|
424
|
+
req = build_request(:associate_environment_operations_role, params)
|
425
|
+
req.send_request(options)
|
426
|
+
end
|
427
|
+
|
339
428
|
# Checks if the specified CNAME is available.
|
340
429
|
#
|
341
430
|
# @option params [required, String] :cname_prefix
|
@@ -457,6 +546,7 @@ module Aws::ElasticBeanstalk
|
|
457
546
|
# resp.environments[0].environment_links[0].link_name #=> String
|
458
547
|
# resp.environments[0].environment_links[0].environment_name #=> String
|
459
548
|
# resp.environments[0].environment_arn #=> String
|
549
|
+
# resp.environments[0].operations_role #=> String
|
460
550
|
# resp.next_token #=> String
|
461
551
|
#
|
462
552
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments AWS API Documentation
|
@@ -472,17 +562,13 @@ module Aws::ElasticBeanstalk
|
|
472
562
|
# `default` and no application versions.
|
473
563
|
#
|
474
564
|
# @option params [required, String] :application_name
|
475
|
-
# The name of the application.
|
476
|
-
#
|
477
|
-
# Constraint: This name must be unique within your account. If the
|
478
|
-
# specified name already exists, the action returns an
|
479
|
-
# `InvalidParameterValue` error.
|
565
|
+
# The name of the application. Must be unique within your account.
|
480
566
|
#
|
481
567
|
# @option params [String] :description
|
482
|
-
#
|
568
|
+
# Your description of the application.
|
483
569
|
#
|
484
570
|
# @option params [Types::ApplicationResourceLifecycleConfig] :resource_lifecycle_config
|
485
|
-
#
|
571
|
+
# Specifies an application resource lifecycle configuration to prevent
|
486
572
|
# your application from accumulating too many versions.
|
487
573
|
#
|
488
574
|
# @option params [Array<Types::Tag>] :tags
|
@@ -590,8 +676,8 @@ module Aws::ElasticBeanstalk
|
|
590
676
|
# Omit both `SourceBuildInformation` and `SourceBundle` to use the
|
591
677
|
# default sample application.
|
592
678
|
#
|
593
|
-
# <note markdown="1">
|
594
|
-
# bucket and key location, you
|
679
|
+
# <note markdown="1"> After you create an application version with a specified Amazon S3
|
680
|
+
# bucket and key location, you can't change that Amazon S3 location. If
|
595
681
|
# you change the Amazon S3 location, you receive an exception when you
|
596
682
|
# attempt to launch an environment from the application version.
|
597
683
|
#
|
@@ -610,7 +696,7 @@ module Aws::ElasticBeanstalk
|
|
610
696
|
# Elastic Beanstalk returns an `InvalidParameterValue` error.
|
611
697
|
#
|
612
698
|
# @option params [String] :description
|
613
|
-
#
|
699
|
+
# A description of this application version.
|
614
700
|
#
|
615
701
|
# @option params [Types::SourceBuildInformation] :source_build_information
|
616
702
|
# Specify a commit in an AWS CodeCommit Git repository to use as the
|
@@ -751,8 +837,10 @@ module Aws::ElasticBeanstalk
|
|
751
837
|
req.send_request(options)
|
752
838
|
end
|
753
839
|
|
754
|
-
# Creates
|
755
|
-
#
|
840
|
+
# Creates an AWS Elastic Beanstalk configuration template, associated
|
841
|
+
# with a specific Elastic Beanstalk application. You define application
|
842
|
+
# configuration settings in a configuration template. You can then use
|
843
|
+
# the configuration template to deploy different versions of the
|
756
844
|
# application with the same configuration settings.
|
757
845
|
#
|
758
846
|
# Templates aren't associated with any environment. The
|
@@ -767,64 +855,80 @@ module Aws::ElasticBeanstalk
|
|
767
855
|
# * ListAvailableSolutionStacks
|
768
856
|
#
|
769
857
|
# @option params [required, String] :application_name
|
770
|
-
# The name of the application to associate with this
|
771
|
-
# template.
|
772
|
-
# Beanstalk returns an `InvalidParameterValue` error.
|
858
|
+
# The name of the Elastic Beanstalk application to associate with this
|
859
|
+
# configuration template.
|
773
860
|
#
|
774
861
|
# @option params [required, String] :template_name
|
775
862
|
# The name of the configuration template.
|
776
863
|
#
|
777
864
|
# Constraint: This name must be unique per application.
|
778
865
|
#
|
779
|
-
# Default: If a configuration template already exists with this name,
|
780
|
-
# AWS Elastic Beanstalk returns an `InvalidParameterValue` error.
|
781
|
-
#
|
782
866
|
# @option params [String] :solution_stack_name
|
783
|
-
# The name of
|
784
|
-
#
|
785
|
-
#
|
786
|
-
#
|
867
|
+
# The name of an Elastic Beanstalk solution stack (platform version)
|
868
|
+
# that this configuration uses. For example, `64bit Amazon Linux 2013.09
|
869
|
+
# running Tomcat 7 Java 7`. A solution stack specifies the operating
|
870
|
+
# system, runtime, and application server for a configuration template.
|
871
|
+
# It also determines the set of configuration options as well as the
|
872
|
+
# possible and default values. For more information, see [Supported
|
873
|
+
# Platforms][1] in the *AWS Elastic Beanstalk Developer Guide*.
|
787
874
|
#
|
788
|
-
#
|
789
|
-
#
|
875
|
+
# You must specify `SolutionStackName` if you don't specify
|
876
|
+
# `PlatformArn`, `EnvironmentId`, or `SourceConfiguration`.
|
877
|
+
#
|
878
|
+
# Use the [ `ListAvailableSolutionStacks` ][2] API to obtain a list of
|
879
|
+
# available solution stacks.
|
790
880
|
#
|
791
|
-
# A solution stack name or a source configuration parameter must be
|
792
|
-
# specified, otherwise AWS Elastic Beanstalk returns an
|
793
|
-
# `InvalidParameterValue` error.
|
794
881
|
#
|
795
|
-
#
|
796
|
-
#
|
797
|
-
#
|
882
|
+
#
|
883
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html
|
884
|
+
# [2]: https://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_ListAvailableSolutionStacks.html
|
798
885
|
#
|
799
886
|
# @option params [String] :platform_arn
|
800
|
-
# The ARN of the custom platform.
|
887
|
+
# The Amazon Resource Name (ARN) of the custom platform. For more
|
888
|
+
# information, see [ Custom Platforms][1] in the *AWS Elastic Beanstalk
|
889
|
+
# Developer Guide*.
|
890
|
+
#
|
891
|
+
# <note markdown="1"> If you specify `PlatformArn`, then don't specify `SolutionStackName`.
|
892
|
+
#
|
893
|
+
# </note>
|
894
|
+
#
|
895
|
+
#
|
896
|
+
#
|
897
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html
|
801
898
|
#
|
802
899
|
# @option params [Types::SourceConfiguration] :source_configuration
|
803
|
-
#
|
804
|
-
#
|
900
|
+
# An Elastic Beanstalk configuration template to base this one on. If
|
901
|
+
# specified, Elastic Beanstalk uses the configuration values from the
|
902
|
+
# specified configuration template to create a new configuration.
|
805
903
|
#
|
806
|
-
# Values specified in
|
807
|
-
#
|
904
|
+
# Values specified in `OptionSettings` override any values obtained from
|
905
|
+
# the `SourceConfiguration`.
|
808
906
|
#
|
809
|
-
#
|
810
|
-
# `
|
907
|
+
# You must specify `SourceConfiguration` if you don't specify
|
908
|
+
# `PlatformArn`, `EnvironmentId`, or `SolutionStackName`.
|
811
909
|
#
|
812
|
-
# Constraint: If both
|
813
|
-
#
|
814
|
-
#
|
815
|
-
# name or else AWS Elastic Beanstalk returns an
|
816
|
-
# `InvalidParameterCombination` error.
|
910
|
+
# Constraint: If both solution stack name and source configuration are
|
911
|
+
# specified, the solution stack of the source configuration template
|
912
|
+
# must match the specified solution stack name.
|
817
913
|
#
|
818
914
|
# @option params [String] :environment_id
|
819
|
-
# The ID of
|
915
|
+
# The ID of an environment whose settings you want to use to create the
|
916
|
+
# configuration template. You must specify `EnvironmentId` if you don't
|
917
|
+
# specify `PlatformArn`, `SolutionStackName`, or `SourceConfiguration`.
|
820
918
|
#
|
821
919
|
# @option params [String] :description
|
822
|
-
#
|
920
|
+
# An optional description for this configuration.
|
823
921
|
#
|
824
922
|
# @option params [Array<Types::ConfigurationOptionSetting>] :option_settings
|
825
|
-
#
|
826
|
-
#
|
827
|
-
#
|
923
|
+
# Option values for the Elastic Beanstalk configuration, such as the
|
924
|
+
# instance type. If specified, these values override the values obtained
|
925
|
+
# from the solution stack or the source configuration template. For a
|
926
|
+
# complete list of Elastic Beanstalk configuration options, see [Option
|
927
|
+
# Values][1] in the *AWS Elastic Beanstalk Developer Guide*.
|
928
|
+
#
|
929
|
+
#
|
930
|
+
#
|
931
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html
|
828
932
|
#
|
829
933
|
# @option params [Array<Types::Tag>] :tags
|
830
934
|
# Specifies the tags applied to the configuration template.
|
@@ -918,28 +1022,24 @@ module Aws::ElasticBeanstalk
|
|
918
1022
|
req.send_request(options)
|
919
1023
|
end
|
920
1024
|
|
921
|
-
# Launches an environment for the specified
|
922
|
-
# specified configuration.
|
1025
|
+
# Launches an AWS Elastic Beanstalk environment for the specified
|
1026
|
+
# application using the specified configuration.
|
923
1027
|
#
|
924
1028
|
# @option params [required, String] :application_name
|
925
|
-
# The name of the application that
|
926
|
-
#
|
927
|
-
# If no application is found with this name, `CreateEnvironment` returns
|
928
|
-
# an `InvalidParameterValue` error.
|
1029
|
+
# The name of the application that is associated with this environment.
|
929
1030
|
#
|
930
1031
|
# @option params [String] :environment_name
|
931
|
-
# A unique name for the
|
932
|
-
# URL.
|
1032
|
+
# A unique name for the environment.
|
933
1033
|
#
|
934
1034
|
# Constraint: Must be from 4 to 40 characters in length. The name can
|
935
|
-
# contain only letters, numbers, and hyphens. It
|
1035
|
+
# contain only letters, numbers, and hyphens. It can't start or end
|
936
1036
|
# with a hyphen. This name must be unique within a region in your
|
937
|
-
# account. If the specified name already exists in the region,
|
938
|
-
#
|
1037
|
+
# account. If the specified name already exists in the region, Elastic
|
1038
|
+
# Beanstalk returns an `InvalidParameterValue` error.
|
939
1039
|
#
|
940
|
-
#
|
941
|
-
# becomes part of the CNAME, and therefore part of the visible URL
|
942
|
-
# your application.
|
1040
|
+
# If you don't specify the `CNAMEPrefix` parameter, the environment
|
1041
|
+
# name becomes part of the CNAME, and therefore part of the visible URL
|
1042
|
+
# for your application.
|
943
1043
|
#
|
944
1044
|
# @option params [String] :group_name
|
945
1045
|
# The name of the group to which the target environment belongs. Specify
|
@@ -952,15 +1052,20 @@ module Aws::ElasticBeanstalk
|
|
952
1052
|
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-cfg-manifest.html
|
953
1053
|
#
|
954
1054
|
# @option params [String] :description
|
955
|
-
#
|
1055
|
+
# Your description for this environment.
|
956
1056
|
#
|
957
1057
|
# @option params [String] :cname_prefix
|
958
1058
|
# If specified, the environment attempts to use this value as the prefix
|
959
|
-
# for the CNAME
|
960
|
-
#
|
1059
|
+
# for the CNAME in your Elastic Beanstalk environment URL. If not
|
1060
|
+
# specified, the CNAME is generated automatically by appending a random
|
1061
|
+
# alphanumeric string to the environment name.
|
961
1062
|
#
|
962
1063
|
# @option params [Types::EnvironmentTier] :tier
|
963
|
-
#
|
1064
|
+
# Specifies the tier to use in creating this environment. The
|
1065
|
+
# environment tier that you choose determines whether Elastic Beanstalk
|
1066
|
+
# provisions resources to support a web application that handles HTTP(S)
|
1067
|
+
# requests or a web application that handles background-processing
|
1068
|
+
# tasks.
|
964
1069
|
#
|
965
1070
|
# @option params [Array<Types::Tag>] :tags
|
966
1071
|
# Specifies the tags applied to resources in the environment.
|
@@ -968,32 +1073,47 @@ module Aws::ElasticBeanstalk
|
|
968
1073
|
# @option params [String] :version_label
|
969
1074
|
# The name of the application version to deploy.
|
970
1075
|
#
|
971
|
-
# If
|
972
|
-
#
|
973
|
-
# `InvalidParameterValue` error.
|
974
|
-
#
|
975
|
-
# Default: If not specified, AWS Elastic Beanstalk attempts to launch
|
976
|
-
# the sample application in the container.
|
1076
|
+
# Default: If not specified, Elastic Beanstalk attempts to deploy the
|
1077
|
+
# sample application.
|
977
1078
|
#
|
978
1079
|
# @option params [String] :template_name
|
979
|
-
# The name of the configuration template to use
|
980
|
-
#
|
981
|
-
#
|
1080
|
+
# The name of the Elastic Beanstalk configuration template to use with
|
1081
|
+
# the environment.
|
1082
|
+
#
|
1083
|
+
# <note markdown="1"> If you specify `TemplateName`, then don't specify
|
1084
|
+
# `SolutionStackName`.
|
1085
|
+
#
|
1086
|
+
# </note>
|
982
1087
|
#
|
983
1088
|
# @option params [String] :solution_stack_name
|
984
|
-
#
|
985
|
-
#
|
986
|
-
# values associated with the
|
1089
|
+
# The name of an Elastic Beanstalk solution stack (platform version) to
|
1090
|
+
# use with the environment. If specified, Elastic Beanstalk sets the
|
1091
|
+
# configuration values to the default values associated with the
|
1092
|
+
# specified solution stack. For a list of current solution stacks, see
|
1093
|
+
# [Elastic Beanstalk Supported Platforms][1] in the *AWS Elastic
|
1094
|
+
# Beanstalk Platforms* guide.
|
987
1095
|
#
|
988
|
-
#
|
989
|
-
#
|
1096
|
+
# <note markdown="1"> If you specify `SolutionStackName`, don't specify `PlatformArn` or
|
1097
|
+
# `TemplateName`.
|
990
1098
|
#
|
1099
|
+
# </note>
|
991
1100
|
#
|
992
1101
|
#
|
993
|
-
#
|
1102
|
+
#
|
1103
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html
|
994
1104
|
#
|
995
1105
|
# @option params [String] :platform_arn
|
996
|
-
# The ARN of the platform
|
1106
|
+
# The Amazon Resource Name (ARN) of the custom platform to use with the
|
1107
|
+
# environment. For more information, see [Custom Platforms][1] in the
|
1108
|
+
# *AWS Elastic Beanstalk Developer Guide*.
|
1109
|
+
#
|
1110
|
+
# <note markdown="1"> If you specify `PlatformArn`, don't specify `SolutionStackName`.
|
1111
|
+
#
|
1112
|
+
# </note>
|
1113
|
+
#
|
1114
|
+
#
|
1115
|
+
#
|
1116
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platforms.html
|
997
1117
|
#
|
998
1118
|
# @option params [Array<Types::ConfigurationOptionSetting>] :option_settings
|
999
1119
|
# If specified, AWS Elastic Beanstalk sets the specified configuration
|
@@ -1005,6 +1125,19 @@ module Aws::ElasticBeanstalk
|
|
1005
1125
|
# A list of custom user-defined configuration options to remove from the
|
1006
1126
|
# configuration set for this new environment.
|
1007
1127
|
#
|
1128
|
+
# @option params [String] :operations_role
|
1129
|
+
# The Amazon Resource Name (ARN) of an existing IAM role to be used as
|
1130
|
+
# the environment's operations role. If specified, Elastic Beanstalk
|
1131
|
+
# uses the operations role for permissions to downstream services during
|
1132
|
+
# this call and during subsequent calls acting on this environment. To
|
1133
|
+
# specify an operations role, you must have the `iam:PassRole`
|
1134
|
+
# permission for the role. For more information, see [Operations
|
1135
|
+
# roles][1] in the *AWS Elastic Beanstalk Developer Guide*.
|
1136
|
+
#
|
1137
|
+
#
|
1138
|
+
#
|
1139
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html
|
1140
|
+
#
|
1008
1141
|
# @return [Types::EnvironmentDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1009
1142
|
#
|
1010
1143
|
# * {Types::EnvironmentDescription#environment_name #environment_name} => String
|
@@ -1027,6 +1160,7 @@ module Aws::ElasticBeanstalk
|
|
1027
1160
|
# * {Types::EnvironmentDescription#tier #tier} => Types::EnvironmentTier
|
1028
1161
|
# * {Types::EnvironmentDescription#environment_links #environment_links} => Array<Types::EnvironmentLink>
|
1029
1162
|
# * {Types::EnvironmentDescription#environment_arn #environment_arn} => String
|
1163
|
+
# * {Types::EnvironmentDescription#operations_role #operations_role} => String
|
1030
1164
|
#
|
1031
1165
|
#
|
1032
1166
|
# @example Example: To create a new environment for an application
|
@@ -1098,6 +1232,7 @@ module Aws::ElasticBeanstalk
|
|
1098
1232
|
# option_name: "ConfigurationOptionName",
|
1099
1233
|
# },
|
1100
1234
|
# ],
|
1235
|
+
# operations_role: "OperationsRole",
|
1101
1236
|
# })
|
1102
1237
|
#
|
1103
1238
|
# @example Response structure
|
@@ -1130,6 +1265,7 @@ module Aws::ElasticBeanstalk
|
|
1130
1265
|
# resp.environment_links[0].link_name #=> String
|
1131
1266
|
# resp.environment_links[0].environment_name #=> String
|
1132
1267
|
# resp.environment_arn #=> String
|
1268
|
+
# resp.operations_role #=> String
|
1133
1269
|
#
|
1134
1270
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironment AWS API Documentation
|
1135
1271
|
#
|
@@ -1207,6 +1343,10 @@ module Aws::ElasticBeanstalk
|
|
1207
1343
|
# resp.platform_summary.supported_tier_list[0] #=> String
|
1208
1344
|
# resp.platform_summary.supported_addon_list #=> Array
|
1209
1345
|
# resp.platform_summary.supported_addon_list[0] #=> String
|
1346
|
+
# resp.platform_summary.platform_lifecycle_state #=> String
|
1347
|
+
# resp.platform_summary.platform_version #=> String
|
1348
|
+
# resp.platform_summary.platform_branch_name #=> String
|
1349
|
+
# resp.platform_summary.platform_branch_lifecycle_state #=> String
|
1210
1350
|
# resp.builder.arn #=> String
|
1211
1351
|
#
|
1212
1352
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersion AWS API Documentation
|
@@ -1460,6 +1600,10 @@ module Aws::ElasticBeanstalk
|
|
1460
1600
|
# resp.platform_summary.supported_tier_list[0] #=> String
|
1461
1601
|
# resp.platform_summary.supported_addon_list #=> Array
|
1462
1602
|
# resp.platform_summary.supported_addon_list[0] #=> String
|
1603
|
+
# resp.platform_summary.platform_lifecycle_state #=> String
|
1604
|
+
# resp.platform_summary.platform_version #=> String
|
1605
|
+
# resp.platform_summary.platform_branch_name #=> String
|
1606
|
+
# resp.platform_summary.platform_branch_lifecycle_state #=> String
|
1463
1607
|
#
|
1464
1608
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersion AWS API Documentation
|
1465
1609
|
#
|
@@ -2382,6 +2526,7 @@ module Aws::ElasticBeanstalk
|
|
2382
2526
|
# resp.environments[0].environment_links[0].link_name #=> String
|
2383
2527
|
# resp.environments[0].environment_links[0].environment_name #=> String
|
2384
2528
|
# resp.environments[0].environment_arn #=> String
|
2529
|
+
# resp.environments[0].operations_role #=> String
|
2385
2530
|
# resp.next_token #=> String
|
2386
2531
|
#
|
2387
2532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironments AWS API Documentation
|
@@ -2423,7 +2568,9 @@ module Aws::ElasticBeanstalk
|
|
2423
2568
|
# descriptions to those associated with this environment.
|
2424
2569
|
#
|
2425
2570
|
# @option params [String] :platform_arn
|
2426
|
-
# The ARN of
|
2571
|
+
# The ARN of a custom platform version. If specified, AWS Elastic
|
2572
|
+
# Beanstalk restricts the returned descriptions to those associated with
|
2573
|
+
# this custom platform version.
|
2427
2574
|
#
|
2428
2575
|
# @option params [String] :request_id
|
2429
2576
|
# If specified, AWS Elastic Beanstalk restricts the described events to
|
@@ -2455,6 +2602,8 @@ module Aws::ElasticBeanstalk
|
|
2455
2602
|
# * {Types::EventDescriptionsMessage#events #events} => Array<Types::EventDescription>
|
2456
2603
|
# * {Types::EventDescriptionsMessage#next_token #next_token} => String
|
2457
2604
|
#
|
2605
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2606
|
+
#
|
2458
2607
|
#
|
2459
2608
|
# @example Example: To view events for an environment
|
2460
2609
|
#
|
@@ -2692,10 +2841,19 @@ module Aws::ElasticBeanstalk
|
|
2692
2841
|
req.send_request(options)
|
2693
2842
|
end
|
2694
2843
|
|
2695
|
-
# Describes
|
2844
|
+
# Describes a platform version. Provides full details. Compare to
|
2845
|
+
# ListPlatformVersions, which provides summary information about a list
|
2846
|
+
# of platform versions.
|
2847
|
+
#
|
2848
|
+
# For definitions of platform version and other platform-related terms,
|
2849
|
+
# see [AWS Elastic Beanstalk Platforms Glossary][1].
|
2850
|
+
#
|
2851
|
+
#
|
2852
|
+
#
|
2853
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-glossary.html
|
2696
2854
|
#
|
2697
2855
|
# @option params [String] :platform_arn
|
2698
|
-
# The ARN of the version
|
2856
|
+
# The ARN of the platform version.
|
2699
2857
|
#
|
2700
2858
|
# @return [Types::DescribePlatformVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2701
2859
|
#
|
@@ -2735,6 +2893,9 @@ module Aws::ElasticBeanstalk
|
|
2735
2893
|
# resp.platform_description.supported_tier_list[0] #=> String
|
2736
2894
|
# resp.platform_description.supported_addon_list #=> Array
|
2737
2895
|
# resp.platform_description.supported_addon_list[0] #=> String
|
2896
|
+
# resp.platform_description.platform_lifecycle_state #=> String
|
2897
|
+
# resp.platform_description.platform_branch_name #=> String
|
2898
|
+
# resp.platform_description.platform_branch_lifecycle_state #=> String
|
2738
2899
|
#
|
2739
2900
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersion AWS API Documentation
|
2740
2901
|
#
|
@@ -2745,6 +2906,37 @@ module Aws::ElasticBeanstalk
|
|
2745
2906
|
req.send_request(options)
|
2746
2907
|
end
|
2747
2908
|
|
2909
|
+
# Disassociate the operations role from an environment. After this call
|
2910
|
+
# is made, Elastic Beanstalk uses the caller's permissions for
|
2911
|
+
# permissions to downstream services during subsequent calls acting on
|
2912
|
+
# this environment. For more information, see [Operations roles][1] in
|
2913
|
+
# the *AWS Elastic Beanstalk Developer Guide*.
|
2914
|
+
#
|
2915
|
+
#
|
2916
|
+
#
|
2917
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html
|
2918
|
+
#
|
2919
|
+
# @option params [required, String] :environment_name
|
2920
|
+
# The name of the environment from which to disassociate the operations
|
2921
|
+
# role.
|
2922
|
+
#
|
2923
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2924
|
+
#
|
2925
|
+
# @example Request syntax with placeholder values
|
2926
|
+
#
|
2927
|
+
# resp = client.disassociate_environment_operations_role({
|
2928
|
+
# environment_name: "EnvironmentName", # required
|
2929
|
+
# })
|
2930
|
+
#
|
2931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DisassociateEnvironmentOperationsRole AWS API Documentation
|
2932
|
+
#
|
2933
|
+
# @overload disassociate_environment_operations_role(params = {})
|
2934
|
+
# @param [Hash] params ({})
|
2935
|
+
def disassociate_environment_operations_role(params = {}, options = {})
|
2936
|
+
req = build_request(:disassociate_environment_operations_role, params)
|
2937
|
+
req.send_request(options)
|
2938
|
+
end
|
2939
|
+
|
2748
2940
|
# Returns a list of the available solution stack names, with the public
|
2749
2941
|
# version first and then in reverse chronological order.
|
2750
2942
|
#
|
@@ -2822,18 +3014,133 @@ module Aws::ElasticBeanstalk
|
|
2822
3014
|
req.send_request(options)
|
2823
3015
|
end
|
2824
3016
|
|
2825
|
-
# Lists the available
|
3017
|
+
# Lists the platform branches available for your account in an AWS
|
3018
|
+
# Region. Provides summary information about each platform branch.
|
3019
|
+
#
|
3020
|
+
# For definitions of platform branch and other platform-related terms,
|
3021
|
+
# see [AWS Elastic Beanstalk Platforms Glossary][1].
|
3022
|
+
#
|
3023
|
+
#
|
3024
|
+
#
|
3025
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-glossary.html
|
3026
|
+
#
|
3027
|
+
# @option params [Array<Types::SearchFilter>] :filters
|
3028
|
+
# Criteria for restricting the resulting list of platform branches. The
|
3029
|
+
# filter is evaluated as a logical conjunction (AND) of the separate
|
3030
|
+
# `SearchFilter` terms.
|
3031
|
+
#
|
3032
|
+
# The following list shows valid attribute values for each of the
|
3033
|
+
# `SearchFilter` terms. Most operators take a single value. The `in` and
|
3034
|
+
# `not_in` operators can take multiple values.
|
3035
|
+
#
|
3036
|
+
# * `Attribute = BranchName`\:
|
3037
|
+
#
|
3038
|
+
# * `Operator`\: `=` \| `!=` \| `begins_with` \| `ends_with` \|
|
3039
|
+
# `contains` \| `in` \| `not_in`
|
3040
|
+
#
|
3041
|
+
# ^
|
3042
|
+
#
|
3043
|
+
# * `Attribute = LifecycleState`\:
|
3044
|
+
#
|
3045
|
+
# * `Operator`\: `=` \| `!=` \| `in` \| `not_in`
|
3046
|
+
#
|
3047
|
+
# * `Values`\: `beta` \| `supported` \| `deprecated` \| `retired`
|
3048
|
+
#
|
3049
|
+
# * `Attribute = PlatformName`\:
|
3050
|
+
#
|
3051
|
+
# * `Operator`\: `=` \| `!=` \| `begins_with` \| `ends_with` \|
|
3052
|
+
# `contains` \| `in` \| `not_in`
|
3053
|
+
#
|
3054
|
+
# ^
|
3055
|
+
#
|
3056
|
+
# * `Attribute = TierType`\:
|
3057
|
+
#
|
3058
|
+
# * `Operator`\: `=` \| `!=`
|
3059
|
+
#
|
3060
|
+
# * `Values`\: `WebServer/Standard` \| `Worker/SQS/HTTP`
|
3061
|
+
#
|
3062
|
+
# Array size: limited to 10 `SearchFilter` objects.
|
3063
|
+
#
|
3064
|
+
# Within each `SearchFilter` item, the `Values` array is limited to 10
|
3065
|
+
# items.
|
3066
|
+
#
|
3067
|
+
# @option params [Integer] :max_records
|
3068
|
+
# The maximum number of platform branch values returned in one call.
|
3069
|
+
#
|
3070
|
+
# @option params [String] :next_token
|
3071
|
+
# For a paginated request. Specify a token from a previous response page
|
3072
|
+
# to retrieve the next response page. All other parameter values must be
|
3073
|
+
# identical to the ones specified in the initial request.
|
3074
|
+
#
|
3075
|
+
# If no `NextToken` is specified, the first page is retrieved.
|
3076
|
+
#
|
3077
|
+
# @return [Types::ListPlatformBranchesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3078
|
+
#
|
3079
|
+
# * {Types::ListPlatformBranchesResult#platform_branch_summary_list #platform_branch_summary_list} => Array<Types::PlatformBranchSummary>
|
3080
|
+
# * {Types::ListPlatformBranchesResult#next_token #next_token} => String
|
3081
|
+
#
|
3082
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3083
|
+
#
|
3084
|
+
# @example Request syntax with placeholder values
|
3085
|
+
#
|
3086
|
+
# resp = client.list_platform_branches({
|
3087
|
+
# filters: [
|
3088
|
+
# {
|
3089
|
+
# attribute: "SearchFilterAttribute",
|
3090
|
+
# operator: "SearchFilterOperator",
|
3091
|
+
# values: ["SearchFilterValue"],
|
3092
|
+
# },
|
3093
|
+
# ],
|
3094
|
+
# max_records: 1,
|
3095
|
+
# next_token: "Token",
|
3096
|
+
# })
|
3097
|
+
#
|
3098
|
+
# @example Response structure
|
3099
|
+
#
|
3100
|
+
# resp.platform_branch_summary_list #=> Array
|
3101
|
+
# resp.platform_branch_summary_list[0].platform_name #=> String
|
3102
|
+
# resp.platform_branch_summary_list[0].branch_name #=> String
|
3103
|
+
# resp.platform_branch_summary_list[0].lifecycle_state #=> String
|
3104
|
+
# resp.platform_branch_summary_list[0].branch_order #=> Integer
|
3105
|
+
# resp.platform_branch_summary_list[0].supported_tier_list #=> Array
|
3106
|
+
# resp.platform_branch_summary_list[0].supported_tier_list[0] #=> String
|
3107
|
+
# resp.next_token #=> String
|
3108
|
+
#
|
3109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformBranches AWS API Documentation
|
3110
|
+
#
|
3111
|
+
# @overload list_platform_branches(params = {})
|
3112
|
+
# @param [Hash] params ({})
|
3113
|
+
def list_platform_branches(params = {}, options = {})
|
3114
|
+
req = build_request(:list_platform_branches, params)
|
3115
|
+
req.send_request(options)
|
3116
|
+
end
|
3117
|
+
|
3118
|
+
# Lists the platform versions available for your account in an AWS
|
3119
|
+
# Region. Provides summary information about each platform version.
|
3120
|
+
# Compare to DescribePlatformVersion, which provides full details about
|
3121
|
+
# a single platform version.
|
3122
|
+
#
|
3123
|
+
# For definitions of platform version and other platform-related terms,
|
3124
|
+
# see [AWS Elastic Beanstalk Platforms Glossary][1].
|
3125
|
+
#
|
3126
|
+
#
|
3127
|
+
#
|
3128
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-glossary.html
|
2826
3129
|
#
|
2827
3130
|
# @option params [Array<Types::PlatformFilter>] :filters
|
2828
|
-
#
|
2829
|
-
# of the
|
3131
|
+
# Criteria for restricting the resulting list of platform versions. The
|
3132
|
+
# filter is interpreted as a logical conjunction (AND) of the separate
|
3133
|
+
# `PlatformFilter` terms.
|
2830
3134
|
#
|
2831
3135
|
# @option params [Integer] :max_records
|
2832
|
-
# The maximum number of platform values returned in one call.
|
3136
|
+
# The maximum number of platform version values returned in one call.
|
2833
3137
|
#
|
2834
3138
|
# @option params [String] :next_token
|
2835
|
-
#
|
2836
|
-
#
|
3139
|
+
# For a paginated request. Specify a token from a previous response page
|
3140
|
+
# to retrieve the next response page. All other parameter values must be
|
3141
|
+
# identical to the ones specified in the initial request.
|
3142
|
+
#
|
3143
|
+
# If no `NextToken` is specified, the first page is retrieved.
|
2837
3144
|
#
|
2838
3145
|
# @return [Types::ListPlatformVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2839
3146
|
#
|
@@ -2867,6 +3174,10 @@ module Aws::ElasticBeanstalk
|
|
2867
3174
|
# resp.platform_summary_list[0].supported_tier_list[0] #=> String
|
2868
3175
|
# resp.platform_summary_list[0].supported_addon_list #=> Array
|
2869
3176
|
# resp.platform_summary_list[0].supported_addon_list[0] #=> String
|
3177
|
+
# resp.platform_summary_list[0].platform_lifecycle_state #=> String
|
3178
|
+
# resp.platform_summary_list[0].platform_version #=> String
|
3179
|
+
# resp.platform_summary_list[0].platform_branch_name #=> String
|
3180
|
+
# resp.platform_summary_list[0].platform_branch_lifecycle_state #=> String
|
2870
3181
|
# resp.next_token #=> String
|
2871
3182
|
#
|
2872
3183
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersions AWS API Documentation
|
@@ -2878,22 +3189,22 @@ module Aws::ElasticBeanstalk
|
|
2878
3189
|
req.send_request(options)
|
2879
3190
|
end
|
2880
3191
|
|
2881
|
-
#
|
3192
|
+
# Return the tags applied to an AWS Elastic Beanstalk resource. The
|
2882
3193
|
# response contains a list of tag key-value pairs.
|
2883
3194
|
#
|
2884
|
-
#
|
2885
|
-
#
|
2886
|
-
#
|
3195
|
+
# Elastic Beanstalk supports tagging of all of its resources. For
|
3196
|
+
# details about resource tagging, see [Tagging Application
|
3197
|
+
# Resources][1].
|
2887
3198
|
#
|
2888
3199
|
#
|
2889
3200
|
#
|
2890
|
-
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/
|
3201
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/applications-tagging-resources.html
|
2891
3202
|
#
|
2892
3203
|
# @option params [required, String] :resource_arn
|
2893
3204
|
# The Amazon Resource Name (ARN) of the resouce for which a tag list is
|
2894
3205
|
# requested.
|
2895
3206
|
#
|
2896
|
-
# Must be the ARN of an Elastic Beanstalk
|
3207
|
+
# Must be the ARN of an Elastic Beanstalk resource.
|
2897
3208
|
#
|
2898
3209
|
# @return [Types::ResourceTagsDescriptionMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2899
3210
|
#
|
@@ -3291,6 +3602,7 @@ module Aws::ElasticBeanstalk
|
|
3291
3602
|
# * {Types::EnvironmentDescription#tier #tier} => Types::EnvironmentTier
|
3292
3603
|
# * {Types::EnvironmentDescription#environment_links #environment_links} => Array<Types::EnvironmentLink>
|
3293
3604
|
# * {Types::EnvironmentDescription#environment_arn #environment_arn} => String
|
3605
|
+
# * {Types::EnvironmentDescription#operations_role #operations_role} => String
|
3294
3606
|
#
|
3295
3607
|
#
|
3296
3608
|
# @example Example: To terminate an environment
|
@@ -3360,6 +3672,7 @@ module Aws::ElasticBeanstalk
|
|
3360
3672
|
# resp.environment_links[0].link_name #=> String
|
3361
3673
|
# resp.environment_links[0].environment_name #=> String
|
3362
3674
|
# resp.environment_arn #=> String
|
3675
|
+
# resp.operations_role #=> String
|
3363
3676
|
#
|
3364
3677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment AWS API Documentation
|
3365
3678
|
#
|
@@ -3830,6 +4143,7 @@ module Aws::ElasticBeanstalk
|
|
3830
4143
|
# * {Types::EnvironmentDescription#tier #tier} => Types::EnvironmentTier
|
3831
4144
|
# * {Types::EnvironmentDescription#environment_links #environment_links} => Array<Types::EnvironmentLink>
|
3832
4145
|
# * {Types::EnvironmentDescription#environment_arn #environment_arn} => String
|
4146
|
+
# * {Types::EnvironmentDescription#operations_role #operations_role} => String
|
3833
4147
|
#
|
3834
4148
|
#
|
3835
4149
|
# @example Example: To update an environment to a new version
|
@@ -3976,6 +4290,7 @@ module Aws::ElasticBeanstalk
|
|
3976
4290
|
# resp.environment_links[0].link_name #=> String
|
3977
4291
|
# resp.environment_links[0].environment_name #=> String
|
3978
4292
|
# resp.environment_arn #=> String
|
4293
|
+
# resp.operations_role #=> String
|
3979
4294
|
#
|
3980
4295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment AWS API Documentation
|
3981
4296
|
#
|
@@ -3990,9 +4305,9 @@ module Aws::ElasticBeanstalk
|
|
3990
4305
|
# Two lists can be passed: `TagsToAdd` for tags to add or update, and
|
3991
4306
|
# `TagsToRemove`.
|
3992
4307
|
#
|
3993
|
-
#
|
3994
|
-
#
|
3995
|
-
#
|
4308
|
+
# Elastic Beanstalk supports tagging of all of its resources. For
|
4309
|
+
# details about resource tagging, see [Tagging Application
|
4310
|
+
# Resources][1].
|
3996
4311
|
#
|
3997
4312
|
# If you create a custom IAM user policy to control permission to this
|
3998
4313
|
# operation, specify one of the following two virtual actions (or both)
|
@@ -4013,23 +4328,25 @@ module Aws::ElasticBeanstalk
|
|
4013
4328
|
#
|
4014
4329
|
#
|
4015
4330
|
#
|
4016
|
-
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/
|
4331
|
+
# [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/applications-tagging-resources.html
|
4017
4332
|
# [2]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.managed-policies.html#AWSHowTo.iam.policies
|
4018
4333
|
#
|
4019
4334
|
# @option params [required, String] :resource_arn
|
4020
4335
|
# The Amazon Resource Name (ARN) of the resouce to be updated.
|
4021
4336
|
#
|
4022
|
-
# Must be the ARN of an Elastic Beanstalk
|
4337
|
+
# Must be the ARN of an Elastic Beanstalk resource.
|
4023
4338
|
#
|
4024
4339
|
# @option params [Array<Types::Tag>] :tags_to_add
|
4025
|
-
# A list of tags to add or update.
|
4340
|
+
# A list of tags to add or update. If a key of an existing tag is added,
|
4341
|
+
# the tag's value is updated.
|
4026
4342
|
#
|
4027
|
-
#
|
4343
|
+
# Specify at least one of these parameters: `TagsToAdd`, `TagsToRemove`.
|
4028
4344
|
#
|
4029
4345
|
# @option params [Array<String>] :tags_to_remove
|
4030
|
-
# A list of tag keys to remove.
|
4346
|
+
# A list of tag keys to remove. If a tag key doesn't exist, it is
|
4347
|
+
# silently ignored.
|
4031
4348
|
#
|
4032
|
-
#
|
4349
|
+
# Specify at least one of these parameters: `TagsToAdd`, `TagsToRemove`.
|
4033
4350
|
#
|
4034
4351
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4035
4352
|
#
|
@@ -4154,7 +4471,7 @@ module Aws::ElasticBeanstalk
|
|
4154
4471
|
params: params,
|
4155
4472
|
config: config)
|
4156
4473
|
context[:gem_name] = 'aws-sdk-elasticbeanstalk'
|
4157
|
-
context[:gem_version] = '1.
|
4474
|
+
context[:gem_version] = '1.31.0'
|
4158
4475
|
Seahorse::Client::Request.new(handlers, context)
|
4159
4476
|
end
|
4160
4477
|
|