aws-sdk-elasticbeanstalk 1.26.0 → 1.27.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 +4 -4
- data/lib/aws-sdk-elasticbeanstalk.rb +7 -4
- data/lib/aws-sdk-elasticbeanstalk/client.rb +61 -10
- data/lib/aws-sdk-elasticbeanstalk/client_api.rb +36 -0
- data/lib/aws-sdk-elasticbeanstalk/errors.rb +220 -0
- data/lib/aws-sdk-elasticbeanstalk/resource.rb +7 -0
- data/lib/aws-sdk-elasticbeanstalk/types.rb +129 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 414b399834661d392021ca069c084455bf5dd98a
|
4
|
+
data.tar.gz: bd8469057503233c553cb9bec4f8f903f376cdc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8806dcfb5a079346df5b3b629f9a4f37a9d6f75f226053dc73d87326cc3faaf5ac154ec6fe99eb9e52497dc2f2c273b9b27e9779477af0cafe637f1f6299b38d
|
7
|
+
data.tar.gz: 8c78386ef6c2aea4b994f074f68645bde35ff14141c06d00c6286f1fa457443c6c10174e3272668e3d95baec4a7e190b8ebf95da63436fb3511e8c498fdbc6c0
|
@@ -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.27.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
|
@@ -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.
|
@@ -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,26 @@ 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
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
233
|
+
# no retry mode is provided.
|
234
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
235
|
+
# This includes support for retry quotas, which limit the number of
|
236
|
+
# unsuccessful retries a client can make.
|
237
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
238
|
+
# functionality of `standard` mode along with automatic client side
|
239
|
+
# throttling. This is a provisional mode that may change behavior
|
240
|
+
# in the future.
|
190
241
|
#
|
191
242
|
# @option options [String] :secret_access_key
|
192
243
|
#
|
@@ -209,16 +260,16 @@ module Aws::ElasticBeanstalk
|
|
209
260
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
261
|
#
|
211
262
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
263
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
264
|
# `Timeout::Error`.
|
214
265
|
#
|
215
266
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
267
|
# number of seconds to wait for response data. This value can
|
217
268
|
# safely be set
|
218
|
-
# per-request on the session
|
269
|
+
# per-request on the session yielded by {#session_for}.
|
219
270
|
#
|
220
271
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
272
|
+
# seconds a connection is allowed to sit idle before it is
|
222
273
|
# considered stale. Stale connections are closed and removed
|
223
274
|
# from the pool before making a request.
|
224
275
|
#
|
@@ -227,7 +278,7 @@ module Aws::ElasticBeanstalk
|
|
227
278
|
# request body. This option has no effect unless the request has
|
228
279
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
280
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
281
|
+
# request on the session yielded by {#session_for}.
|
231
282
|
#
|
232
283
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
284
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -4154,7 +4205,7 @@ module Aws::ElasticBeanstalk
|
|
4154
4205
|
params: params,
|
4155
4206
|
config: config)
|
4156
4207
|
context[:gem_name] = 'aws-sdk-elasticbeanstalk'
|
4157
|
-
context[:gem_version] = '1.
|
4208
|
+
context[:gem_version] = '1.27.0'
|
4158
4209
|
Seahorse::Client::Request.new(handlers, context)
|
4159
4210
|
end
|
4160
4211
|
|
@@ -422,6 +422,8 @@ module Aws::ElasticBeanstalk
|
|
422
422
|
CheckDNSAvailabilityResultMessage.add_member(:fully_qualified_cname, Shapes::ShapeRef.new(shape: DNSCname, location_name: "FullyQualifiedCNAME"))
|
423
423
|
CheckDNSAvailabilityResultMessage.struct_class = Types::CheckDNSAvailabilityResultMessage
|
424
424
|
|
425
|
+
CodeBuildNotInServiceRegionException.struct_class = Types::CodeBuildNotInServiceRegionException
|
426
|
+
|
425
427
|
ComposeEnvironmentsMessage.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "ApplicationName"))
|
426
428
|
ComposeEnvironmentsMessage.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
|
427
429
|
ComposeEnvironmentsMessage.add_member(:version_labels, Shapes::ShapeRef.new(shape: VersionLabels, location_name: "VersionLabels"))
|
@@ -783,6 +785,10 @@ module Aws::ElasticBeanstalk
|
|
783
785
|
|
784
786
|
InstancesHealthAttributes.member = Shapes::ShapeRef.new(shape: InstancesHealthAttribute)
|
785
787
|
|
788
|
+
InsufficientPrivilegesException.struct_class = Types::InsufficientPrivilegesException
|
789
|
+
|
790
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
791
|
+
|
786
792
|
Latency.add_member(:p999, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "P999"))
|
787
793
|
Latency.add_member(:p99, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "P99"))
|
788
794
|
Latency.add_member(:p95, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "P95"))
|
@@ -856,6 +862,8 @@ module Aws::ElasticBeanstalk
|
|
856
862
|
|
857
863
|
ManagedActionHistoryItems.member = Shapes::ShapeRef.new(shape: ManagedActionHistoryItem)
|
858
864
|
|
865
|
+
ManagedActionInvalidStateException.struct_class = Types::ManagedActionInvalidStateException
|
866
|
+
|
859
867
|
ManagedActions.member = Shapes::ShapeRef.new(shape: ManagedAction)
|
860
868
|
|
861
869
|
MaxAgeRule.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "Enabled"))
|
@@ -868,6 +876,8 @@ module Aws::ElasticBeanstalk
|
|
868
876
|
MaxCountRule.add_member(:delete_source_from_s3, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "DeleteSourceFromS3"))
|
869
877
|
MaxCountRule.struct_class = Types::MaxCountRule
|
870
878
|
|
879
|
+
OperationInProgressException.struct_class = Types::OperationInProgressException
|
880
|
+
|
871
881
|
OptionRestrictionRegex.add_member(:pattern, Shapes::ShapeRef.new(shape: RegexPattern, location_name: "Pattern"))
|
872
882
|
OptionRestrictionRegex.add_member(:label, Shapes::ShapeRef.new(shape: RegexLabel, location_name: "Label"))
|
873
883
|
OptionRestrictionRegex.struct_class = Types::OptionRestrictionRegex
|
@@ -932,6 +942,8 @@ module Aws::ElasticBeanstalk
|
|
932
942
|
|
933
943
|
PlatformSummaryList.member = Shapes::ShapeRef.new(shape: PlatformSummary)
|
934
944
|
|
945
|
+
PlatformVersionStillReferencedException.struct_class = Types::PlatformVersionStillReferencedException
|
946
|
+
|
935
947
|
Queue.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
936
948
|
Queue.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "URL"))
|
937
949
|
Queue.struct_class = Types::Queue
|
@@ -947,6 +959,8 @@ module Aws::ElasticBeanstalk
|
|
947
959
|
RequestEnvironmentInfoMessage.add_member(:info_type, Shapes::ShapeRef.new(shape: EnvironmentInfoType, required: true, location_name: "InfoType"))
|
948
960
|
RequestEnvironmentInfoMessage.struct_class = Types::RequestEnvironmentInfoMessage
|
949
961
|
|
962
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
963
|
+
|
950
964
|
ResourceQuota.add_member(:maximum, Shapes::ShapeRef.new(shape: BoxedInt, location_name: "Maximum"))
|
951
965
|
ResourceQuota.struct_class = Types::ResourceQuota
|
952
966
|
|
@@ -961,6 +975,8 @@ module Aws::ElasticBeanstalk
|
|
961
975
|
ResourceTagsDescriptionMessage.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "ResourceTags"))
|
962
976
|
ResourceTagsDescriptionMessage.struct_class = Types::ResourceTagsDescriptionMessage
|
963
977
|
|
978
|
+
ResourceTypeNotSupportedException.struct_class = Types::ResourceTypeNotSupportedException
|
979
|
+
|
964
980
|
RestartAppServerMessage.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "EnvironmentId"))
|
965
981
|
RestartAppServerMessage.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "EnvironmentName"))
|
966
982
|
RestartAppServerMessage.struct_class = Types::RestartAppServerMessage
|
@@ -977,6 +993,10 @@ module Aws::ElasticBeanstalk
|
|
977
993
|
S3Location.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
978
994
|
S3Location.struct_class = Types::S3Location
|
979
995
|
|
996
|
+
S3LocationNotInServiceRegionException.struct_class = Types::S3LocationNotInServiceRegionException
|
997
|
+
|
998
|
+
S3SubscriptionRequiredException.struct_class = Types::S3SubscriptionRequiredException
|
999
|
+
|
980
1000
|
SingleInstanceHealth.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
981
1001
|
SingleInstanceHealth.add_member(:health_status, Shapes::ShapeRef.new(shape: String, location_name: "HealthStatus"))
|
982
1002
|
SingleInstanceHealth.add_member(:color, Shapes::ShapeRef.new(shape: String, location_name: "Color"))
|
@@ -1000,6 +1020,8 @@ module Aws::ElasticBeanstalk
|
|
1000
1020
|
SourceBuildInformation.add_member(:source_location, Shapes::ShapeRef.new(shape: SourceLocation, required: true, location_name: "SourceLocation"))
|
1001
1021
|
SourceBuildInformation.struct_class = Types::SourceBuildInformation
|
1002
1022
|
|
1023
|
+
SourceBundleDeletionException.struct_class = Types::SourceBundleDeletionException
|
1024
|
+
|
1003
1025
|
SourceConfiguration.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "ApplicationName"))
|
1004
1026
|
SourceConfiguration.add_member(:template_name, Shapes::ShapeRef.new(shape: ConfigurationTemplateName, location_name: "TemplateName"))
|
1005
1027
|
SourceConfiguration.struct_class = Types::SourceConfiguration
|
@@ -1040,6 +1062,20 @@ module Aws::ElasticBeanstalk
|
|
1040
1062
|
TerminateEnvironmentMessage.add_member(:force_terminate, Shapes::ShapeRef.new(shape: ForceTerminate, location_name: "ForceTerminate"))
|
1041
1063
|
TerminateEnvironmentMessage.struct_class = Types::TerminateEnvironmentMessage
|
1042
1064
|
|
1065
|
+
TooManyApplicationVersionsException.struct_class = Types::TooManyApplicationVersionsException
|
1066
|
+
|
1067
|
+
TooManyApplicationsException.struct_class = Types::TooManyApplicationsException
|
1068
|
+
|
1069
|
+
TooManyBucketsException.struct_class = Types::TooManyBucketsException
|
1070
|
+
|
1071
|
+
TooManyConfigurationTemplatesException.struct_class = Types::TooManyConfigurationTemplatesException
|
1072
|
+
|
1073
|
+
TooManyEnvironmentsException.struct_class = Types::TooManyEnvironmentsException
|
1074
|
+
|
1075
|
+
TooManyPlatformsException.struct_class = Types::TooManyPlatformsException
|
1076
|
+
|
1077
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
1078
|
+
|
1043
1079
|
Trigger.add_member(:name, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Name"))
|
1044
1080
|
Trigger.struct_class = Types::Trigger
|
1045
1081
|
|
@@ -6,10 +6,61 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ElasticBeanstalk
|
9
|
+
|
10
|
+
# When ElasticBeanstalk returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::ElasticBeanstalk::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all ElasticBeanstalk errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::ElasticBeanstalk::Errors::ServiceError
|
18
|
+
# # rescues all ElasticBeanstalk API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {CodeBuildNotInServiceRegionException}
|
29
|
+
# * {ElasticBeanstalkServiceException}
|
30
|
+
# * {InsufficientPrivilegesException}
|
31
|
+
# * {InvalidRequestException}
|
32
|
+
# * {ManagedActionInvalidStateException}
|
33
|
+
# * {OperationInProgressException}
|
34
|
+
# * {PlatformVersionStillReferencedException}
|
35
|
+
# * {ResourceNotFoundException}
|
36
|
+
# * {ResourceTypeNotSupportedException}
|
37
|
+
# * {S3LocationNotInServiceRegionException}
|
38
|
+
# * {S3SubscriptionRequiredException}
|
39
|
+
# * {SourceBundleDeletionException}
|
40
|
+
# * {TooManyApplicationVersionsException}
|
41
|
+
# * {TooManyApplicationsException}
|
42
|
+
# * {TooManyBucketsException}
|
43
|
+
# * {TooManyConfigurationTemplatesException}
|
44
|
+
# * {TooManyEnvironmentsException}
|
45
|
+
# * {TooManyPlatformsException}
|
46
|
+
# * {TooManyTagsException}
|
47
|
+
#
|
48
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
49
|
+
# if they are not defined above.
|
9
50
|
module Errors
|
10
51
|
|
11
52
|
extend Aws::Errors::DynamicErrors
|
12
53
|
|
54
|
+
class CodeBuildNotInServiceRegionException < ServiceError
|
55
|
+
|
56
|
+
# @param [Seahorse::Client::RequestContext] context
|
57
|
+
# @param [String] message
|
58
|
+
# @param [Aws::ElasticBeanstalk::Types::CodeBuildNotInServiceRegionException] data
|
59
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
60
|
+
super(context, message, data)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
13
64
|
class ElasticBeanstalkServiceException < ServiceError
|
14
65
|
|
15
66
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -23,7 +74,176 @@ module Aws::ElasticBeanstalk
|
|
23
74
|
def message
|
24
75
|
@message || @data[:message]
|
25
76
|
end
|
77
|
+
end
|
78
|
+
|
79
|
+
class InsufficientPrivilegesException < ServiceError
|
80
|
+
|
81
|
+
# @param [Seahorse::Client::RequestContext] context
|
82
|
+
# @param [String] message
|
83
|
+
# @param [Aws::ElasticBeanstalk::Types::InsufficientPrivilegesException] data
|
84
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
85
|
+
super(context, message, data)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
class InvalidRequestException < ServiceError
|
90
|
+
|
91
|
+
# @param [Seahorse::Client::RequestContext] context
|
92
|
+
# @param [String] message
|
93
|
+
# @param [Aws::ElasticBeanstalk::Types::InvalidRequestException] data
|
94
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
95
|
+
super(context, message, data)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
class ManagedActionInvalidStateException < ServiceError
|
100
|
+
|
101
|
+
# @param [Seahorse::Client::RequestContext] context
|
102
|
+
# @param [String] message
|
103
|
+
# @param [Aws::ElasticBeanstalk::Types::ManagedActionInvalidStateException] data
|
104
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
105
|
+
super(context, message, data)
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
class OperationInProgressException < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::ElasticBeanstalk::Types::OperationInProgressException] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
class PlatformVersionStillReferencedException < ServiceError
|
120
|
+
|
121
|
+
# @param [Seahorse::Client::RequestContext] context
|
122
|
+
# @param [String] message
|
123
|
+
# @param [Aws::ElasticBeanstalk::Types::PlatformVersionStillReferencedException] data
|
124
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
125
|
+
super(context, message, data)
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
class ResourceNotFoundException < ServiceError
|
130
|
+
|
131
|
+
# @param [Seahorse::Client::RequestContext] context
|
132
|
+
# @param [String] message
|
133
|
+
# @param [Aws::ElasticBeanstalk::Types::ResourceNotFoundException] data
|
134
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
135
|
+
super(context, message, data)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
class ResourceTypeNotSupportedException < ServiceError
|
140
|
+
|
141
|
+
# @param [Seahorse::Client::RequestContext] context
|
142
|
+
# @param [String] message
|
143
|
+
# @param [Aws::ElasticBeanstalk::Types::ResourceTypeNotSupportedException] data
|
144
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
145
|
+
super(context, message, data)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
class S3LocationNotInServiceRegionException < ServiceError
|
150
|
+
|
151
|
+
# @param [Seahorse::Client::RequestContext] context
|
152
|
+
# @param [String] message
|
153
|
+
# @param [Aws::ElasticBeanstalk::Types::S3LocationNotInServiceRegionException] data
|
154
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
155
|
+
super(context, message, data)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
class S3SubscriptionRequiredException < ServiceError
|
160
|
+
|
161
|
+
# @param [Seahorse::Client::RequestContext] context
|
162
|
+
# @param [String] message
|
163
|
+
# @param [Aws::ElasticBeanstalk::Types::S3SubscriptionRequiredException] data
|
164
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
165
|
+
super(context, message, data)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
class SourceBundleDeletionException < ServiceError
|
170
|
+
|
171
|
+
# @param [Seahorse::Client::RequestContext] context
|
172
|
+
# @param [String] message
|
173
|
+
# @param [Aws::ElasticBeanstalk::Types::SourceBundleDeletionException] data
|
174
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
175
|
+
super(context, message, data)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
class TooManyApplicationVersionsException < ServiceError
|
180
|
+
|
181
|
+
# @param [Seahorse::Client::RequestContext] context
|
182
|
+
# @param [String] message
|
183
|
+
# @param [Aws::ElasticBeanstalk::Types::TooManyApplicationVersionsException] data
|
184
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
185
|
+
super(context, message, data)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
class TooManyApplicationsException < ServiceError
|
190
|
+
|
191
|
+
# @param [Seahorse::Client::RequestContext] context
|
192
|
+
# @param [String] message
|
193
|
+
# @param [Aws::ElasticBeanstalk::Types::TooManyApplicationsException] data
|
194
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
195
|
+
super(context, message, data)
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
199
|
+
class TooManyBucketsException < ServiceError
|
200
|
+
|
201
|
+
# @param [Seahorse::Client::RequestContext] context
|
202
|
+
# @param [String] message
|
203
|
+
# @param [Aws::ElasticBeanstalk::Types::TooManyBucketsException] data
|
204
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
205
|
+
super(context, message, data)
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
class TooManyConfigurationTemplatesException < ServiceError
|
210
|
+
|
211
|
+
# @param [Seahorse::Client::RequestContext] context
|
212
|
+
# @param [String] message
|
213
|
+
# @param [Aws::ElasticBeanstalk::Types::TooManyConfigurationTemplatesException] data
|
214
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
215
|
+
super(context, message, data)
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
class TooManyEnvironmentsException < ServiceError
|
220
|
+
|
221
|
+
# @param [Seahorse::Client::RequestContext] context
|
222
|
+
# @param [String] message
|
223
|
+
# @param [Aws::ElasticBeanstalk::Types::TooManyEnvironmentsException] data
|
224
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
225
|
+
super(context, message, data)
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
class TooManyPlatformsException < ServiceError
|
230
|
+
|
231
|
+
# @param [Seahorse::Client::RequestContext] context
|
232
|
+
# @param [String] message
|
233
|
+
# @param [Aws::ElasticBeanstalk::Types::TooManyPlatformsException] data
|
234
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
235
|
+
super(context, message, data)
|
236
|
+
end
|
237
|
+
end
|
26
238
|
|
239
|
+
class TooManyTagsException < ServiceError
|
240
|
+
|
241
|
+
# @param [Seahorse::Client::RequestContext] context
|
242
|
+
# @param [String] message
|
243
|
+
# @param [Aws::ElasticBeanstalk::Types::TooManyTagsException] data
|
244
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
245
|
+
super(context, message, data)
|
246
|
+
end
|
27
247
|
end
|
28
248
|
|
29
249
|
end
|
@@ -6,6 +6,13 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ElasticBeanstalk
|
9
|
+
# This class provides a resource oriented interface for ElasticBeanstalk.
|
10
|
+
# To create a resource object:
|
11
|
+
# resource = Aws::ElasticBeanstalk::Resource.new(region: 'us-west-2')
|
12
|
+
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
+
# If you do not pass +:client+, a default client will be constructed.
|
14
|
+
# client = Aws::ElasticBeanstalk::Client.new(region: 'us-west-2')
|
15
|
+
# resource = Aws::ElasticBeanstalk::Resource.new(client: client)
|
9
16
|
class Resource
|
10
17
|
|
11
18
|
# @param options ({})
|
@@ -630,6 +630,12 @@ module Aws::ElasticBeanstalk
|
|
630
630
|
include Aws::Structure
|
631
631
|
end
|
632
632
|
|
633
|
+
# AWS CodeBuild is not available in the specified region.
|
634
|
+
#
|
635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CodeBuildNotInServiceRegionException AWS API Documentation
|
636
|
+
#
|
637
|
+
class CodeBuildNotInServiceRegionException < Aws::EmptyStructure; end
|
638
|
+
|
633
639
|
# Request to create or update a group of environments.
|
634
640
|
#
|
635
641
|
# @note When making an API call, you may pass ComposeEnvironmentsMessage
|
@@ -2934,6 +2940,20 @@ module Aws::ElasticBeanstalk
|
|
2934
2940
|
include Aws::Structure
|
2935
2941
|
end
|
2936
2942
|
|
2943
|
+
# The specified account does not have sufficient privileges for one or
|
2944
|
+
# more AWS services.
|
2945
|
+
#
|
2946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/InsufficientPrivilegesException AWS API Documentation
|
2947
|
+
#
|
2948
|
+
class InsufficientPrivilegesException < Aws::EmptyStructure; end
|
2949
|
+
|
2950
|
+
# One or more input parameters is not valid. Please correct the input
|
2951
|
+
# parameters and try the operation again.
|
2952
|
+
#
|
2953
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/InvalidRequestException AWS API Documentation
|
2954
|
+
#
|
2955
|
+
class InvalidRequestException < Aws::EmptyStructure; end
|
2956
|
+
|
2937
2957
|
# Represents the average latency for the slowest X percent of requests
|
2938
2958
|
# over the last 10 seconds.
|
2939
2959
|
#
|
@@ -3250,6 +3270,12 @@ module Aws::ElasticBeanstalk
|
|
3250
3270
|
include Aws::Structure
|
3251
3271
|
end
|
3252
3272
|
|
3273
|
+
# Cannot modify the managed action in its current state.
|
3274
|
+
#
|
3275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ManagedActionInvalidStateException AWS API Documentation
|
3276
|
+
#
|
3277
|
+
class ManagedActionInvalidStateException < Aws::EmptyStructure; end
|
3278
|
+
|
3253
3279
|
# A lifecycle rule that deletes application versions after the specified
|
3254
3280
|
# number of days.
|
3255
3281
|
#
|
@@ -3318,6 +3344,13 @@ module Aws::ElasticBeanstalk
|
|
3318
3344
|
include Aws::Structure
|
3319
3345
|
end
|
3320
3346
|
|
3347
|
+
# Unable to perform the specified operation because another operation
|
3348
|
+
# that effects an element in this activity is already in progress.
|
3349
|
+
#
|
3350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/OperationInProgressException AWS API Documentation
|
3351
|
+
#
|
3352
|
+
class OperationInProgressException < Aws::EmptyStructure; end
|
3353
|
+
|
3321
3354
|
# A regular expression representing a restriction on a string
|
3322
3355
|
# configuration option value.
|
3323
3356
|
#
|
@@ -3601,6 +3634,13 @@ module Aws::ElasticBeanstalk
|
|
3601
3634
|
include Aws::Structure
|
3602
3635
|
end
|
3603
3636
|
|
3637
|
+
# You cannot delete the platform version because there are still
|
3638
|
+
# environments running on it.
|
3639
|
+
#
|
3640
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformVersionStillReferencedException AWS API Documentation
|
3641
|
+
#
|
3642
|
+
class PlatformVersionStillReferencedException < Aws::EmptyStructure; end
|
3643
|
+
|
3604
3644
|
# Describes a queue.
|
3605
3645
|
#
|
3606
3646
|
# @!attribute [rw] name
|
@@ -3698,6 +3738,13 @@ module Aws::ElasticBeanstalk
|
|
3698
3738
|
include Aws::Structure
|
3699
3739
|
end
|
3700
3740
|
|
3741
|
+
# A resource doesn't exist for the specified Amazon Resource Name
|
3742
|
+
# (ARN).
|
3743
|
+
#
|
3744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ResourceNotFoundException AWS API Documentation
|
3745
|
+
#
|
3746
|
+
class ResourceNotFoundException < Aws::EmptyStructure; end
|
3747
|
+
|
3701
3748
|
# The AWS Elastic Beanstalk quota information for a single resource type
|
3702
3749
|
# in an AWS account. It reflects the resource's limits for this
|
3703
3750
|
# account.
|
@@ -3766,6 +3813,13 @@ module Aws::ElasticBeanstalk
|
|
3766
3813
|
include Aws::Structure
|
3767
3814
|
end
|
3768
3815
|
|
3816
|
+
# The type of the specified Amazon Resource Name (ARN) isn't supported
|
3817
|
+
# for this operation.
|
3818
|
+
#
|
3819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ResourceTypeNotSupportedException AWS API Documentation
|
3820
|
+
#
|
3821
|
+
class ResourceTypeNotSupportedException < Aws::EmptyStructure; end
|
3822
|
+
|
3769
3823
|
# @note When making an API call, you may pass RestartAppServerMessage
|
3770
3824
|
# data as a hash:
|
3771
3825
|
#
|
@@ -3884,6 +3938,25 @@ module Aws::ElasticBeanstalk
|
|
3884
3938
|
include Aws::Structure
|
3885
3939
|
end
|
3886
3940
|
|
3941
|
+
# The specified S3 bucket does not belong to the S3 region in which the
|
3942
|
+
# service is running. The following regions are supported:
|
3943
|
+
#
|
3944
|
+
# * IAD/us-east-1
|
3945
|
+
#
|
3946
|
+
# * PDX/us-west-2
|
3947
|
+
#
|
3948
|
+
# * DUB/eu-west-1
|
3949
|
+
#
|
3950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/S3LocationNotInServiceRegionException AWS API Documentation
|
3951
|
+
#
|
3952
|
+
class S3LocationNotInServiceRegionException < Aws::EmptyStructure; end
|
3953
|
+
|
3954
|
+
# The specified account does not have a subscription to Amazon S3.
|
3955
|
+
#
|
3956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/S3SubscriptionRequiredException AWS API Documentation
|
3957
|
+
#
|
3958
|
+
class S3SubscriptionRequiredException < Aws::EmptyStructure; end
|
3959
|
+
|
3887
3960
|
# Detailed health information about an Amazon EC2 instance in your
|
3888
3961
|
# Elastic Beanstalk environment.
|
3889
3962
|
#
|
@@ -4022,6 +4095,13 @@ module Aws::ElasticBeanstalk
|
|
4022
4095
|
include Aws::Structure
|
4023
4096
|
end
|
4024
4097
|
|
4098
|
+
# Unable to delete the Amazon S3 source bundle associated with the
|
4099
|
+
# application version. The application version was deleted successfully.
|
4100
|
+
#
|
4101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SourceBundleDeletionException AWS API Documentation
|
4102
|
+
#
|
4103
|
+
class SourceBundleDeletionException < Aws::EmptyStructure; end
|
4104
|
+
|
4025
4105
|
# A specification for an environment configuration
|
4026
4106
|
#
|
4027
4107
|
# @note When making an API call, you may pass SourceConfiguration
|
@@ -4259,6 +4339,55 @@ module Aws::ElasticBeanstalk
|
|
4259
4339
|
include Aws::Structure
|
4260
4340
|
end
|
4261
4341
|
|
4342
|
+
# The specified account has reached its limit of application versions.
|
4343
|
+
#
|
4344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TooManyApplicationVersionsException AWS API Documentation
|
4345
|
+
#
|
4346
|
+
class TooManyApplicationVersionsException < Aws::EmptyStructure; end
|
4347
|
+
|
4348
|
+
# The specified account has reached its limit of applications.
|
4349
|
+
#
|
4350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TooManyApplicationsException AWS API Documentation
|
4351
|
+
#
|
4352
|
+
class TooManyApplicationsException < Aws::EmptyStructure; end
|
4353
|
+
|
4354
|
+
# The specified account has reached its limit of Amazon S3 buckets.
|
4355
|
+
#
|
4356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TooManyBucketsException AWS API Documentation
|
4357
|
+
#
|
4358
|
+
class TooManyBucketsException < Aws::EmptyStructure; end
|
4359
|
+
|
4360
|
+
# The specified account has reached its limit of configuration
|
4361
|
+
# templates.
|
4362
|
+
#
|
4363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TooManyConfigurationTemplatesException AWS API Documentation
|
4364
|
+
#
|
4365
|
+
class TooManyConfigurationTemplatesException < Aws::EmptyStructure; end
|
4366
|
+
|
4367
|
+
# The specified account has reached its limit of environments.
|
4368
|
+
#
|
4369
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TooManyEnvironmentsException AWS API Documentation
|
4370
|
+
#
|
4371
|
+
class TooManyEnvironmentsException < Aws::EmptyStructure; end
|
4372
|
+
|
4373
|
+
# You have exceeded the maximum number of allowed platforms associated
|
4374
|
+
# with the account.
|
4375
|
+
#
|
4376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TooManyPlatformsException AWS API Documentation
|
4377
|
+
#
|
4378
|
+
class TooManyPlatformsException < Aws::EmptyStructure; end
|
4379
|
+
|
4380
|
+
# The number of tags in the resource would exceed the number of tags
|
4381
|
+
# that each resource can have.
|
4382
|
+
#
|
4383
|
+
# To calculate this, the operation considers both the number of tags the
|
4384
|
+
# resource already has and the tags this operation would add if it
|
4385
|
+
# succeeded.
|
4386
|
+
#
|
4387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TooManyTagsException AWS API Documentation
|
4388
|
+
#
|
4389
|
+
class TooManyTagsException < Aws::EmptyStructure; end
|
4390
|
+
|
4262
4391
|
# Describes a trigger.
|
4263
4392
|
#
|
4264
4393
|
# @!attribute [rw] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticbeanstalk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|