aws-sdk-elasticbeanstalk 1.25.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-elasticbeanstalk.rb +7 -4
- data/lib/aws-sdk-elasticbeanstalk/client.rb +342 -115
- data/lib/aws-sdk-elasticbeanstalk/client_api.rb +99 -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 +560 -149
- metadata +5 -5
@@ -44,6 +44,8 @@ module Aws::ElasticBeanstalk
|
|
44
44
|
AvailableSolutionStackNamesList = Shapes::ListShape.new(name: 'AvailableSolutionStackNamesList')
|
45
45
|
BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
|
46
46
|
BoxedInt = Shapes::IntegerShape.new(name: 'BoxedInt')
|
47
|
+
BranchName = Shapes::StringShape.new(name: 'BranchName')
|
48
|
+
BranchOrder = Shapes::IntegerShape.new(name: 'BranchOrder')
|
47
49
|
BuildConfiguration = Shapes::StructureShape.new(name: 'BuildConfiguration')
|
48
50
|
Builder = Shapes::StructureShape.new(name: 'Builder')
|
49
51
|
CPUUtilization = Shapes::StructureShape.new(name: 'CPUUtilization')
|
@@ -170,6 +172,8 @@ module Aws::ElasticBeanstalk
|
|
170
172
|
LaunchTemplateList = Shapes::ListShape.new(name: 'LaunchTemplateList')
|
171
173
|
LaunchedAt = Shapes::TimestampShape.new(name: 'LaunchedAt')
|
172
174
|
ListAvailableSolutionStacksResultMessage = Shapes::StructureShape.new(name: 'ListAvailableSolutionStacksResultMessage')
|
175
|
+
ListPlatformBranchesRequest = Shapes::StructureShape.new(name: 'ListPlatformBranchesRequest')
|
176
|
+
ListPlatformBranchesResult = Shapes::StructureShape.new(name: 'ListPlatformBranchesResult')
|
173
177
|
ListPlatformVersionsRequest = Shapes::StructureShape.new(name: 'ListPlatformVersionsRequest')
|
174
178
|
ListPlatformVersionsResult = Shapes::StructureShape.new(name: 'ListPlatformVersionsResult')
|
175
179
|
ListTagsForResourceMessage = Shapes::StructureShape.new(name: 'ListTagsForResourceMessage')
|
@@ -206,6 +210,10 @@ module Aws::ElasticBeanstalk
|
|
206
210
|
OptionSpecification = Shapes::StructureShape.new(name: 'OptionSpecification')
|
207
211
|
OptionsSpecifierList = Shapes::ListShape.new(name: 'OptionsSpecifierList')
|
208
212
|
PlatformArn = Shapes::StringShape.new(name: 'PlatformArn')
|
213
|
+
PlatformBranchLifecycleState = Shapes::StringShape.new(name: 'PlatformBranchLifecycleState')
|
214
|
+
PlatformBranchMaxRecords = Shapes::IntegerShape.new(name: 'PlatformBranchMaxRecords')
|
215
|
+
PlatformBranchSummary = Shapes::StructureShape.new(name: 'PlatformBranchSummary')
|
216
|
+
PlatformBranchSummaryList = Shapes::ListShape.new(name: 'PlatformBranchSummaryList')
|
209
217
|
PlatformCategory = Shapes::StringShape.new(name: 'PlatformCategory')
|
210
218
|
PlatformDescription = Shapes::StructureShape.new(name: 'PlatformDescription')
|
211
219
|
PlatformFilter = Shapes::StructureShape.new(name: 'PlatformFilter')
|
@@ -216,6 +224,7 @@ module Aws::ElasticBeanstalk
|
|
216
224
|
PlatformFilters = Shapes::ListShape.new(name: 'PlatformFilters')
|
217
225
|
PlatformFramework = Shapes::StructureShape.new(name: 'PlatformFramework')
|
218
226
|
PlatformFrameworks = Shapes::ListShape.new(name: 'PlatformFrameworks')
|
227
|
+
PlatformLifecycleState = Shapes::StringShape.new(name: 'PlatformLifecycleState')
|
219
228
|
PlatformMaxRecords = Shapes::IntegerShape.new(name: 'PlatformMaxRecords')
|
220
229
|
PlatformName = Shapes::StringShape.new(name: 'PlatformName')
|
221
230
|
PlatformOwner = Shapes::StringShape.new(name: 'PlatformOwner')
|
@@ -252,6 +261,12 @@ module Aws::ElasticBeanstalk
|
|
252
261
|
S3LocationNotInServiceRegionException = Shapes::StructureShape.new(name: 'S3LocationNotInServiceRegionException')
|
253
262
|
S3SubscriptionRequiredException = Shapes::StructureShape.new(name: 'S3SubscriptionRequiredException')
|
254
263
|
SampleTimestamp = Shapes::TimestampShape.new(name: 'SampleTimestamp')
|
264
|
+
SearchFilter = Shapes::StructureShape.new(name: 'SearchFilter')
|
265
|
+
SearchFilterAttribute = Shapes::StringShape.new(name: 'SearchFilterAttribute')
|
266
|
+
SearchFilterOperator = Shapes::StringShape.new(name: 'SearchFilterOperator')
|
267
|
+
SearchFilterValue = Shapes::StringShape.new(name: 'SearchFilterValue')
|
268
|
+
SearchFilterValues = Shapes::ListShape.new(name: 'SearchFilterValues')
|
269
|
+
SearchFilters = Shapes::ListShape.new(name: 'SearchFilters')
|
255
270
|
SingleInstanceHealth = Shapes::StructureShape.new(name: 'SingleInstanceHealth')
|
256
271
|
SolutionStackDescription = Shapes::StructureShape.new(name: 'SolutionStackDescription')
|
257
272
|
SolutionStackFileTypeList = Shapes::ListShape.new(name: 'SolutionStackFileTypeList')
|
@@ -422,6 +437,8 @@ module Aws::ElasticBeanstalk
|
|
422
437
|
CheckDNSAvailabilityResultMessage.add_member(:fully_qualified_cname, Shapes::ShapeRef.new(shape: DNSCname, location_name: "FullyQualifiedCNAME"))
|
423
438
|
CheckDNSAvailabilityResultMessage.struct_class = Types::CheckDNSAvailabilityResultMessage
|
424
439
|
|
440
|
+
CodeBuildNotInServiceRegionException.struct_class = Types::CodeBuildNotInServiceRegionException
|
441
|
+
|
425
442
|
ComposeEnvironmentsMessage.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "ApplicationName"))
|
426
443
|
ComposeEnvironmentsMessage.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
|
427
444
|
ComposeEnvironmentsMessage.add_member(:version_labels, Shapes::ShapeRef.new(shape: VersionLabels, location_name: "VersionLabels"))
|
@@ -783,6 +800,10 @@ module Aws::ElasticBeanstalk
|
|
783
800
|
|
784
801
|
InstancesHealthAttributes.member = Shapes::ShapeRef.new(shape: InstancesHealthAttribute)
|
785
802
|
|
803
|
+
InsufficientPrivilegesException.struct_class = Types::InsufficientPrivilegesException
|
804
|
+
|
805
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
806
|
+
|
786
807
|
Latency.add_member(:p999, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "P999"))
|
787
808
|
Latency.add_member(:p99, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "P99"))
|
788
809
|
Latency.add_member(:p95, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "P95"))
|
@@ -807,6 +828,15 @@ module Aws::ElasticBeanstalk
|
|
807
828
|
ListAvailableSolutionStacksResultMessage.add_member(:solution_stack_details, Shapes::ShapeRef.new(shape: AvailableSolutionStackDetailsList, location_name: "SolutionStackDetails"))
|
808
829
|
ListAvailableSolutionStacksResultMessage.struct_class = Types::ListAvailableSolutionStacksResultMessage
|
809
830
|
|
831
|
+
ListPlatformBranchesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilters, location_name: "Filters"))
|
832
|
+
ListPlatformBranchesRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: PlatformBranchMaxRecords, location_name: "MaxRecords"))
|
833
|
+
ListPlatformBranchesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
834
|
+
ListPlatformBranchesRequest.struct_class = Types::ListPlatformBranchesRequest
|
835
|
+
|
836
|
+
ListPlatformBranchesResult.add_member(:platform_branch_summary_list, Shapes::ShapeRef.new(shape: PlatformBranchSummaryList, location_name: "PlatformBranchSummaryList"))
|
837
|
+
ListPlatformBranchesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
838
|
+
ListPlatformBranchesResult.struct_class = Types::ListPlatformBranchesResult
|
839
|
+
|
810
840
|
ListPlatformVersionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: PlatformFilters, location_name: "Filters"))
|
811
841
|
ListPlatformVersionsRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: PlatformMaxRecords, location_name: "MaxRecords"))
|
812
842
|
ListPlatformVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
@@ -856,6 +886,8 @@ module Aws::ElasticBeanstalk
|
|
856
886
|
|
857
887
|
ManagedActionHistoryItems.member = Shapes::ShapeRef.new(shape: ManagedActionHistoryItem)
|
858
888
|
|
889
|
+
ManagedActionInvalidStateException.struct_class = Types::ManagedActionInvalidStateException
|
890
|
+
|
859
891
|
ManagedActions.member = Shapes::ShapeRef.new(shape: ManagedAction)
|
860
892
|
|
861
893
|
MaxAgeRule.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "Enabled"))
|
@@ -868,6 +900,8 @@ module Aws::ElasticBeanstalk
|
|
868
900
|
MaxCountRule.add_member(:delete_source_from_s3, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "DeleteSourceFromS3"))
|
869
901
|
MaxCountRule.struct_class = Types::MaxCountRule
|
870
902
|
|
903
|
+
OperationInProgressException.struct_class = Types::OperationInProgressException
|
904
|
+
|
871
905
|
OptionRestrictionRegex.add_member(:pattern, Shapes::ShapeRef.new(shape: RegexPattern, location_name: "Pattern"))
|
872
906
|
OptionRestrictionRegex.add_member(:label, Shapes::ShapeRef.new(shape: RegexLabel, location_name: "Label"))
|
873
907
|
OptionRestrictionRegex.struct_class = Types::OptionRestrictionRegex
|
@@ -879,6 +913,15 @@ module Aws::ElasticBeanstalk
|
|
879
913
|
|
880
914
|
OptionsSpecifierList.member = Shapes::ShapeRef.new(shape: OptionSpecification)
|
881
915
|
|
916
|
+
PlatformBranchSummary.add_member(:platform_name, Shapes::ShapeRef.new(shape: PlatformName, location_name: "PlatformName"))
|
917
|
+
PlatformBranchSummary.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "BranchName"))
|
918
|
+
PlatformBranchSummary.add_member(:lifecycle_state, Shapes::ShapeRef.new(shape: PlatformBranchLifecycleState, location_name: "LifecycleState"))
|
919
|
+
PlatformBranchSummary.add_member(:branch_order, Shapes::ShapeRef.new(shape: BranchOrder, location_name: "BranchOrder"))
|
920
|
+
PlatformBranchSummary.add_member(:supported_tier_list, Shapes::ShapeRef.new(shape: SupportedTierList, location_name: "SupportedTierList"))
|
921
|
+
PlatformBranchSummary.struct_class = Types::PlatformBranchSummary
|
922
|
+
|
923
|
+
PlatformBranchSummaryList.member = Shapes::ShapeRef.new(shape: PlatformBranchSummary)
|
924
|
+
|
882
925
|
PlatformDescription.add_member(:platform_arn, Shapes::ShapeRef.new(shape: PlatformArn, location_name: "PlatformArn"))
|
883
926
|
PlatformDescription.add_member(:platform_owner, Shapes::ShapeRef.new(shape: PlatformOwner, location_name: "PlatformOwner"))
|
884
927
|
PlatformDescription.add_member(:platform_name, Shapes::ShapeRef.new(shape: PlatformName, location_name: "PlatformName"))
|
@@ -897,6 +940,9 @@ module Aws::ElasticBeanstalk
|
|
897
940
|
PlatformDescription.add_member(:custom_ami_list, Shapes::ShapeRef.new(shape: CustomAmiList, location_name: "CustomAmiList"))
|
898
941
|
PlatformDescription.add_member(:supported_tier_list, Shapes::ShapeRef.new(shape: SupportedTierList, location_name: "SupportedTierList"))
|
899
942
|
PlatformDescription.add_member(:supported_addon_list, Shapes::ShapeRef.new(shape: SupportedAddonList, location_name: "SupportedAddonList"))
|
943
|
+
PlatformDescription.add_member(:platform_lifecycle_state, Shapes::ShapeRef.new(shape: PlatformLifecycleState, location_name: "PlatformLifecycleState"))
|
944
|
+
PlatformDescription.add_member(:platform_branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "PlatformBranchName"))
|
945
|
+
PlatformDescription.add_member(:platform_branch_lifecycle_state, Shapes::ShapeRef.new(shape: PlatformBranchLifecycleState, location_name: "PlatformBranchLifecycleState"))
|
900
946
|
PlatformDescription.struct_class = Types::PlatformDescription
|
901
947
|
|
902
948
|
PlatformFilter.add_member(:type, Shapes::ShapeRef.new(shape: PlatformFilterType, location_name: "Type"))
|
@@ -928,10 +974,16 @@ module Aws::ElasticBeanstalk
|
|
928
974
|
PlatformSummary.add_member(:operating_system_version, Shapes::ShapeRef.new(shape: OperatingSystemVersion, location_name: "OperatingSystemVersion"))
|
929
975
|
PlatformSummary.add_member(:supported_tier_list, Shapes::ShapeRef.new(shape: SupportedTierList, location_name: "SupportedTierList"))
|
930
976
|
PlatformSummary.add_member(:supported_addon_list, Shapes::ShapeRef.new(shape: SupportedAddonList, location_name: "SupportedAddonList"))
|
977
|
+
PlatformSummary.add_member(:platform_lifecycle_state, Shapes::ShapeRef.new(shape: PlatformLifecycleState, location_name: "PlatformLifecycleState"))
|
978
|
+
PlatformSummary.add_member(:platform_version, Shapes::ShapeRef.new(shape: PlatformVersion, location_name: "PlatformVersion"))
|
979
|
+
PlatformSummary.add_member(:platform_branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "PlatformBranchName"))
|
980
|
+
PlatformSummary.add_member(:platform_branch_lifecycle_state, Shapes::ShapeRef.new(shape: PlatformBranchLifecycleState, location_name: "PlatformBranchLifecycleState"))
|
931
981
|
PlatformSummary.struct_class = Types::PlatformSummary
|
932
982
|
|
933
983
|
PlatformSummaryList.member = Shapes::ShapeRef.new(shape: PlatformSummary)
|
934
984
|
|
985
|
+
PlatformVersionStillReferencedException.struct_class = Types::PlatformVersionStillReferencedException
|
986
|
+
|
935
987
|
Queue.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
936
988
|
Queue.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "URL"))
|
937
989
|
Queue.struct_class = Types::Queue
|
@@ -947,6 +999,8 @@ module Aws::ElasticBeanstalk
|
|
947
999
|
RequestEnvironmentInfoMessage.add_member(:info_type, Shapes::ShapeRef.new(shape: EnvironmentInfoType, required: true, location_name: "InfoType"))
|
948
1000
|
RequestEnvironmentInfoMessage.struct_class = Types::RequestEnvironmentInfoMessage
|
949
1001
|
|
1002
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1003
|
+
|
950
1004
|
ResourceQuota.add_member(:maximum, Shapes::ShapeRef.new(shape: BoxedInt, location_name: "Maximum"))
|
951
1005
|
ResourceQuota.struct_class = Types::ResourceQuota
|
952
1006
|
|
@@ -961,6 +1015,8 @@ module Aws::ElasticBeanstalk
|
|
961
1015
|
ResourceTagsDescriptionMessage.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "ResourceTags"))
|
962
1016
|
ResourceTagsDescriptionMessage.struct_class = Types::ResourceTagsDescriptionMessage
|
963
1017
|
|
1018
|
+
ResourceTypeNotSupportedException.struct_class = Types::ResourceTypeNotSupportedException
|
1019
|
+
|
964
1020
|
RestartAppServerMessage.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "EnvironmentId"))
|
965
1021
|
RestartAppServerMessage.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "EnvironmentName"))
|
966
1022
|
RestartAppServerMessage.struct_class = Types::RestartAppServerMessage
|
@@ -977,6 +1033,19 @@ module Aws::ElasticBeanstalk
|
|
977
1033
|
S3Location.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
|
978
1034
|
S3Location.struct_class = Types::S3Location
|
979
1035
|
|
1036
|
+
S3LocationNotInServiceRegionException.struct_class = Types::S3LocationNotInServiceRegionException
|
1037
|
+
|
1038
|
+
S3SubscriptionRequiredException.struct_class = Types::S3SubscriptionRequiredException
|
1039
|
+
|
1040
|
+
SearchFilter.add_member(:attribute, Shapes::ShapeRef.new(shape: SearchFilterAttribute, location_name: "Attribute"))
|
1041
|
+
SearchFilter.add_member(:operator, Shapes::ShapeRef.new(shape: SearchFilterOperator, location_name: "Operator"))
|
1042
|
+
SearchFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchFilterValues, location_name: "Values"))
|
1043
|
+
SearchFilter.struct_class = Types::SearchFilter
|
1044
|
+
|
1045
|
+
SearchFilterValues.member = Shapes::ShapeRef.new(shape: SearchFilterValue)
|
1046
|
+
|
1047
|
+
SearchFilters.member = Shapes::ShapeRef.new(shape: SearchFilter)
|
1048
|
+
|
980
1049
|
SingleInstanceHealth.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
981
1050
|
SingleInstanceHealth.add_member(:health_status, Shapes::ShapeRef.new(shape: String, location_name: "HealthStatus"))
|
982
1051
|
SingleInstanceHealth.add_member(:color, Shapes::ShapeRef.new(shape: String, location_name: "Color"))
|
@@ -1000,6 +1069,8 @@ module Aws::ElasticBeanstalk
|
|
1000
1069
|
SourceBuildInformation.add_member(:source_location, Shapes::ShapeRef.new(shape: SourceLocation, required: true, location_name: "SourceLocation"))
|
1001
1070
|
SourceBuildInformation.struct_class = Types::SourceBuildInformation
|
1002
1071
|
|
1072
|
+
SourceBundleDeletionException.struct_class = Types::SourceBundleDeletionException
|
1073
|
+
|
1003
1074
|
SourceConfiguration.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "ApplicationName"))
|
1004
1075
|
SourceConfiguration.add_member(:template_name, Shapes::ShapeRef.new(shape: ConfigurationTemplateName, location_name: "TemplateName"))
|
1005
1076
|
SourceConfiguration.struct_class = Types::SourceConfiguration
|
@@ -1040,6 +1111,20 @@ module Aws::ElasticBeanstalk
|
|
1040
1111
|
TerminateEnvironmentMessage.add_member(:force_terminate, Shapes::ShapeRef.new(shape: ForceTerminate, location_name: "ForceTerminate"))
|
1041
1112
|
TerminateEnvironmentMessage.struct_class = Types::TerminateEnvironmentMessage
|
1042
1113
|
|
1114
|
+
TooManyApplicationVersionsException.struct_class = Types::TooManyApplicationVersionsException
|
1115
|
+
|
1116
|
+
TooManyApplicationsException.struct_class = Types::TooManyApplicationsException
|
1117
|
+
|
1118
|
+
TooManyBucketsException.struct_class = Types::TooManyBucketsException
|
1119
|
+
|
1120
|
+
TooManyConfigurationTemplatesException.struct_class = Types::TooManyConfigurationTemplatesException
|
1121
|
+
|
1122
|
+
TooManyEnvironmentsException.struct_class = Types::TooManyEnvironmentsException
|
1123
|
+
|
1124
|
+
TooManyPlatformsException.struct_class = Types::TooManyPlatformsException
|
1125
|
+
|
1126
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
1127
|
+
|
1043
1128
|
Trigger.add_member(:name, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Name"))
|
1044
1129
|
Trigger.struct_class = Types::Trigger
|
1045
1130
|
|
@@ -1402,6 +1487,20 @@ module Aws::ElasticBeanstalk
|
|
1402
1487
|
o.output = Shapes::ShapeRef.new(shape: ListAvailableSolutionStacksResultMessage)
|
1403
1488
|
end)
|
1404
1489
|
|
1490
|
+
api.add_operation(:list_platform_branches, Seahorse::Model::Operation.new.tap do |o|
|
1491
|
+
o.name = "ListPlatformBranches"
|
1492
|
+
o.http_method = "POST"
|
1493
|
+
o.http_request_uri = "/"
|
1494
|
+
o.input = Shapes::ShapeRef.new(shape: ListPlatformBranchesRequest)
|
1495
|
+
o.output = Shapes::ShapeRef.new(shape: ListPlatformBranchesResult)
|
1496
|
+
o[:pager] = Aws::Pager.new(
|
1497
|
+
limit_key: "max_records",
|
1498
|
+
tokens: {
|
1499
|
+
"next_token" => "next_token"
|
1500
|
+
}
|
1501
|
+
)
|
1502
|
+
end)
|
1503
|
+
|
1405
1504
|
api.add_operation(:list_platform_versions, Seahorse::Model::Operation.new.tap do |o|
|
1406
1505
|
o.name = "ListPlatformVersions"
|
1407
1506
|
o.http_method = "POST"
|
@@ -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
|