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.
@@ -37,6 +37,7 @@ module Aws::ElasticBeanstalk
37
37
  ApplicationVersionStatus = Shapes::StringShape.new(name: 'ApplicationVersionStatus')
38
38
  ApplyEnvironmentManagedActionRequest = Shapes::StructureShape.new(name: 'ApplyEnvironmentManagedActionRequest')
39
39
  ApplyEnvironmentManagedActionResult = Shapes::StructureShape.new(name: 'ApplyEnvironmentManagedActionResult')
40
+ AssociateEnvironmentOperationsRoleMessage = Shapes::StructureShape.new(name: 'AssociateEnvironmentOperationsRoleMessage')
40
41
  AutoCreateApplication = Shapes::BooleanShape.new(name: 'AutoCreateApplication')
41
42
  AutoScalingGroup = Shapes::StructureShape.new(name: 'AutoScalingGroup')
42
43
  AutoScalingGroupList = Shapes::ListShape.new(name: 'AutoScalingGroupList')
@@ -44,6 +45,8 @@ module Aws::ElasticBeanstalk
44
45
  AvailableSolutionStackNamesList = Shapes::ListShape.new(name: 'AvailableSolutionStackNamesList')
45
46
  BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
46
47
  BoxedInt = Shapes::IntegerShape.new(name: 'BoxedInt')
48
+ BranchName = Shapes::StringShape.new(name: 'BranchName')
49
+ BranchOrder = Shapes::IntegerShape.new(name: 'BranchOrder')
47
50
  BuildConfiguration = Shapes::StructureShape.new(name: 'BuildConfiguration')
48
51
  Builder = Shapes::StructureShape.new(name: 'Builder')
49
52
  CPUUtilization = Shapes::StructureShape.new(name: 'CPUUtilization')
@@ -114,6 +117,7 @@ module Aws::ElasticBeanstalk
114
117
  DescribePlatformVersionRequest = Shapes::StructureShape.new(name: 'DescribePlatformVersionRequest')
115
118
  DescribePlatformVersionResult = Shapes::StructureShape.new(name: 'DescribePlatformVersionResult')
116
119
  Description = Shapes::StringShape.new(name: 'Description')
120
+ DisassociateEnvironmentOperationsRoleMessage = Shapes::StructureShape.new(name: 'DisassociateEnvironmentOperationsRoleMessage')
117
121
  Ec2InstanceId = Shapes::StringShape.new(name: 'Ec2InstanceId')
118
122
  ElasticBeanstalkServiceException = Shapes::StructureShape.new(name: 'ElasticBeanstalkServiceException')
119
123
  EndpointURL = Shapes::StringShape.new(name: 'EndpointURL')
@@ -170,6 +174,8 @@ module Aws::ElasticBeanstalk
170
174
  LaunchTemplateList = Shapes::ListShape.new(name: 'LaunchTemplateList')
171
175
  LaunchedAt = Shapes::TimestampShape.new(name: 'LaunchedAt')
172
176
  ListAvailableSolutionStacksResultMessage = Shapes::StructureShape.new(name: 'ListAvailableSolutionStacksResultMessage')
177
+ ListPlatformBranchesRequest = Shapes::StructureShape.new(name: 'ListPlatformBranchesRequest')
178
+ ListPlatformBranchesResult = Shapes::StructureShape.new(name: 'ListPlatformBranchesResult')
173
179
  ListPlatformVersionsRequest = Shapes::StructureShape.new(name: 'ListPlatformVersionsRequest')
174
180
  ListPlatformVersionsResult = Shapes::StructureShape.new(name: 'ListPlatformVersionsResult')
175
181
  ListTagsForResourceMessage = Shapes::StructureShape.new(name: 'ListTagsForResourceMessage')
@@ -198,6 +204,7 @@ module Aws::ElasticBeanstalk
198
204
  OperatingSystemName = Shapes::StringShape.new(name: 'OperatingSystemName')
199
205
  OperatingSystemVersion = Shapes::StringShape.new(name: 'OperatingSystemVersion')
200
206
  OperationInProgressException = Shapes::StructureShape.new(name: 'OperationInProgressException')
207
+ OperationsRole = Shapes::StringShape.new(name: 'OperationsRole')
201
208
  OptionNamespace = Shapes::StringShape.new(name: 'OptionNamespace')
202
209
  OptionRestrictionMaxLength = Shapes::IntegerShape.new(name: 'OptionRestrictionMaxLength')
203
210
  OptionRestrictionMaxValue = Shapes::IntegerShape.new(name: 'OptionRestrictionMaxValue')
@@ -206,6 +213,10 @@ module Aws::ElasticBeanstalk
206
213
  OptionSpecification = Shapes::StructureShape.new(name: 'OptionSpecification')
207
214
  OptionsSpecifierList = Shapes::ListShape.new(name: 'OptionsSpecifierList')
208
215
  PlatformArn = Shapes::StringShape.new(name: 'PlatformArn')
216
+ PlatformBranchLifecycleState = Shapes::StringShape.new(name: 'PlatformBranchLifecycleState')
217
+ PlatformBranchMaxRecords = Shapes::IntegerShape.new(name: 'PlatformBranchMaxRecords')
218
+ PlatformBranchSummary = Shapes::StructureShape.new(name: 'PlatformBranchSummary')
219
+ PlatformBranchSummaryList = Shapes::ListShape.new(name: 'PlatformBranchSummaryList')
209
220
  PlatformCategory = Shapes::StringShape.new(name: 'PlatformCategory')
210
221
  PlatformDescription = Shapes::StructureShape.new(name: 'PlatformDescription')
211
222
  PlatformFilter = Shapes::StructureShape.new(name: 'PlatformFilter')
@@ -216,6 +227,7 @@ module Aws::ElasticBeanstalk
216
227
  PlatformFilters = Shapes::ListShape.new(name: 'PlatformFilters')
217
228
  PlatformFramework = Shapes::StructureShape.new(name: 'PlatformFramework')
218
229
  PlatformFrameworks = Shapes::ListShape.new(name: 'PlatformFrameworks')
230
+ PlatformLifecycleState = Shapes::StringShape.new(name: 'PlatformLifecycleState')
219
231
  PlatformMaxRecords = Shapes::IntegerShape.new(name: 'PlatformMaxRecords')
220
232
  PlatformName = Shapes::StringShape.new(name: 'PlatformName')
221
233
  PlatformOwner = Shapes::StringShape.new(name: 'PlatformOwner')
@@ -252,6 +264,12 @@ module Aws::ElasticBeanstalk
252
264
  S3LocationNotInServiceRegionException = Shapes::StructureShape.new(name: 'S3LocationNotInServiceRegionException')
253
265
  S3SubscriptionRequiredException = Shapes::StructureShape.new(name: 'S3SubscriptionRequiredException')
254
266
  SampleTimestamp = Shapes::TimestampShape.new(name: 'SampleTimestamp')
267
+ SearchFilter = Shapes::StructureShape.new(name: 'SearchFilter')
268
+ SearchFilterAttribute = Shapes::StringShape.new(name: 'SearchFilterAttribute')
269
+ SearchFilterOperator = Shapes::StringShape.new(name: 'SearchFilterOperator')
270
+ SearchFilterValue = Shapes::StringShape.new(name: 'SearchFilterValue')
271
+ SearchFilterValues = Shapes::ListShape.new(name: 'SearchFilterValues')
272
+ SearchFilters = Shapes::ListShape.new(name: 'SearchFilters')
255
273
  SingleInstanceHealth = Shapes::StructureShape.new(name: 'SingleInstanceHealth')
256
274
  SolutionStackDescription = Shapes::StructureShape.new(name: 'SolutionStackDescription')
257
275
  SolutionStackFileTypeList = Shapes::ListShape.new(name: 'SolutionStackFileTypeList')
@@ -384,6 +402,10 @@ module Aws::ElasticBeanstalk
384
402
  ApplyEnvironmentManagedActionResult.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
385
403
  ApplyEnvironmentManagedActionResult.struct_class = Types::ApplyEnvironmentManagedActionResult
386
404
 
405
+ AssociateEnvironmentOperationsRoleMessage.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "EnvironmentName"))
406
+ AssociateEnvironmentOperationsRoleMessage.add_member(:operations_role, Shapes::ShapeRef.new(shape: OperationsRole, required: true, location_name: "OperationsRole"))
407
+ AssociateEnvironmentOperationsRoleMessage.struct_class = Types::AssociateEnvironmentOperationsRoleMessage
408
+
387
409
  AutoScalingGroup.add_member(:name, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Name"))
388
410
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
389
411
 
@@ -422,6 +444,8 @@ module Aws::ElasticBeanstalk
422
444
  CheckDNSAvailabilityResultMessage.add_member(:fully_qualified_cname, Shapes::ShapeRef.new(shape: DNSCname, location_name: "FullyQualifiedCNAME"))
423
445
  CheckDNSAvailabilityResultMessage.struct_class = Types::CheckDNSAvailabilityResultMessage
424
446
 
447
+ CodeBuildNotInServiceRegionException.struct_class = Types::CodeBuildNotInServiceRegionException
448
+
425
449
  ComposeEnvironmentsMessage.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "ApplicationName"))
426
450
  ComposeEnvironmentsMessage.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "GroupName"))
427
451
  ComposeEnvironmentsMessage.add_member(:version_labels, Shapes::ShapeRef.new(shape: VersionLabels, location_name: "VersionLabels"))
@@ -520,6 +544,7 @@ module Aws::ElasticBeanstalk
520
544
  CreateEnvironmentMessage.add_member(:platform_arn, Shapes::ShapeRef.new(shape: PlatformArn, location_name: "PlatformArn"))
521
545
  CreateEnvironmentMessage.add_member(:option_settings, Shapes::ShapeRef.new(shape: ConfigurationOptionSettingsList, location_name: "OptionSettings"))
522
546
  CreateEnvironmentMessage.add_member(:options_to_remove, Shapes::ShapeRef.new(shape: OptionsSpecifierList, location_name: "OptionsToRemove"))
547
+ CreateEnvironmentMessage.add_member(:operations_role, Shapes::ShapeRef.new(shape: OperationsRole, location_name: "OperationsRole"))
523
548
  CreateEnvironmentMessage.struct_class = Types::CreateEnvironmentMessage
524
549
 
525
550
  CreatePlatformVersionRequest.add_member(:platform_name, Shapes::ShapeRef.new(shape: PlatformName, required: true, location_name: "PlatformName"))
@@ -675,6 +700,9 @@ module Aws::ElasticBeanstalk
675
700
  DescribePlatformVersionResult.add_member(:platform_description, Shapes::ShapeRef.new(shape: PlatformDescription, location_name: "PlatformDescription"))
676
701
  DescribePlatformVersionResult.struct_class = Types::DescribePlatformVersionResult
677
702
 
703
+ DisassociateEnvironmentOperationsRoleMessage.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "EnvironmentName"))
704
+ DisassociateEnvironmentOperationsRoleMessage.struct_class = Types::DisassociateEnvironmentOperationsRoleMessage
705
+
678
706
  ElasticBeanstalkServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
679
707
  ElasticBeanstalkServiceException.struct_class = Types::ElasticBeanstalkServiceException
680
708
 
@@ -698,6 +726,7 @@ module Aws::ElasticBeanstalk
698
726
  EnvironmentDescription.add_member(:tier, Shapes::ShapeRef.new(shape: EnvironmentTier, location_name: "Tier"))
699
727
  EnvironmentDescription.add_member(:environment_links, Shapes::ShapeRef.new(shape: EnvironmentLinks, location_name: "EnvironmentLinks"))
700
728
  EnvironmentDescription.add_member(:environment_arn, Shapes::ShapeRef.new(shape: EnvironmentArn, location_name: "EnvironmentArn"))
729
+ EnvironmentDescription.add_member(:operations_role, Shapes::ShapeRef.new(shape: OperationsRole, location_name: "OperationsRole"))
701
730
  EnvironmentDescription.struct_class = Types::EnvironmentDescription
702
731
 
703
732
  EnvironmentDescriptionsList.member = Shapes::ShapeRef.new(shape: EnvironmentDescription)
@@ -783,6 +812,10 @@ module Aws::ElasticBeanstalk
783
812
 
784
813
  InstancesHealthAttributes.member = Shapes::ShapeRef.new(shape: InstancesHealthAttribute)
785
814
 
815
+ InsufficientPrivilegesException.struct_class = Types::InsufficientPrivilegesException
816
+
817
+ InvalidRequestException.struct_class = Types::InvalidRequestException
818
+
786
819
  Latency.add_member(:p999, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "P999"))
787
820
  Latency.add_member(:p99, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "P99"))
788
821
  Latency.add_member(:p95, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "P95"))
@@ -807,6 +840,15 @@ module Aws::ElasticBeanstalk
807
840
  ListAvailableSolutionStacksResultMessage.add_member(:solution_stack_details, Shapes::ShapeRef.new(shape: AvailableSolutionStackDetailsList, location_name: "SolutionStackDetails"))
808
841
  ListAvailableSolutionStacksResultMessage.struct_class = Types::ListAvailableSolutionStacksResultMessage
809
842
 
843
+ ListPlatformBranchesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchFilters, location_name: "Filters"))
844
+ ListPlatformBranchesRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: PlatformBranchMaxRecords, location_name: "MaxRecords"))
845
+ ListPlatformBranchesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
846
+ ListPlatformBranchesRequest.struct_class = Types::ListPlatformBranchesRequest
847
+
848
+ ListPlatformBranchesResult.add_member(:platform_branch_summary_list, Shapes::ShapeRef.new(shape: PlatformBranchSummaryList, location_name: "PlatformBranchSummaryList"))
849
+ ListPlatformBranchesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
850
+ ListPlatformBranchesResult.struct_class = Types::ListPlatformBranchesResult
851
+
810
852
  ListPlatformVersionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: PlatformFilters, location_name: "Filters"))
811
853
  ListPlatformVersionsRequest.add_member(:max_records, Shapes::ShapeRef.new(shape: PlatformMaxRecords, location_name: "MaxRecords"))
812
854
  ListPlatformVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
@@ -856,6 +898,8 @@ module Aws::ElasticBeanstalk
856
898
 
857
899
  ManagedActionHistoryItems.member = Shapes::ShapeRef.new(shape: ManagedActionHistoryItem)
858
900
 
901
+ ManagedActionInvalidStateException.struct_class = Types::ManagedActionInvalidStateException
902
+
859
903
  ManagedActions.member = Shapes::ShapeRef.new(shape: ManagedAction)
860
904
 
861
905
  MaxAgeRule.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "Enabled"))
@@ -868,6 +912,8 @@ module Aws::ElasticBeanstalk
868
912
  MaxCountRule.add_member(:delete_source_from_s3, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "DeleteSourceFromS3"))
869
913
  MaxCountRule.struct_class = Types::MaxCountRule
870
914
 
915
+ OperationInProgressException.struct_class = Types::OperationInProgressException
916
+
871
917
  OptionRestrictionRegex.add_member(:pattern, Shapes::ShapeRef.new(shape: RegexPattern, location_name: "Pattern"))
872
918
  OptionRestrictionRegex.add_member(:label, Shapes::ShapeRef.new(shape: RegexLabel, location_name: "Label"))
873
919
  OptionRestrictionRegex.struct_class = Types::OptionRestrictionRegex
@@ -879,6 +925,15 @@ module Aws::ElasticBeanstalk
879
925
 
880
926
  OptionsSpecifierList.member = Shapes::ShapeRef.new(shape: OptionSpecification)
881
927
 
928
+ PlatformBranchSummary.add_member(:platform_name, Shapes::ShapeRef.new(shape: PlatformName, location_name: "PlatformName"))
929
+ PlatformBranchSummary.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "BranchName"))
930
+ PlatformBranchSummary.add_member(:lifecycle_state, Shapes::ShapeRef.new(shape: PlatformBranchLifecycleState, location_name: "LifecycleState"))
931
+ PlatformBranchSummary.add_member(:branch_order, Shapes::ShapeRef.new(shape: BranchOrder, location_name: "BranchOrder"))
932
+ PlatformBranchSummary.add_member(:supported_tier_list, Shapes::ShapeRef.new(shape: SupportedTierList, location_name: "SupportedTierList"))
933
+ PlatformBranchSummary.struct_class = Types::PlatformBranchSummary
934
+
935
+ PlatformBranchSummaryList.member = Shapes::ShapeRef.new(shape: PlatformBranchSummary)
936
+
882
937
  PlatformDescription.add_member(:platform_arn, Shapes::ShapeRef.new(shape: PlatformArn, location_name: "PlatformArn"))
883
938
  PlatformDescription.add_member(:platform_owner, Shapes::ShapeRef.new(shape: PlatformOwner, location_name: "PlatformOwner"))
884
939
  PlatformDescription.add_member(:platform_name, Shapes::ShapeRef.new(shape: PlatformName, location_name: "PlatformName"))
@@ -897,6 +952,9 @@ module Aws::ElasticBeanstalk
897
952
  PlatformDescription.add_member(:custom_ami_list, Shapes::ShapeRef.new(shape: CustomAmiList, location_name: "CustomAmiList"))
898
953
  PlatformDescription.add_member(:supported_tier_list, Shapes::ShapeRef.new(shape: SupportedTierList, location_name: "SupportedTierList"))
899
954
  PlatformDescription.add_member(:supported_addon_list, Shapes::ShapeRef.new(shape: SupportedAddonList, location_name: "SupportedAddonList"))
955
+ PlatformDescription.add_member(:platform_lifecycle_state, Shapes::ShapeRef.new(shape: PlatformLifecycleState, location_name: "PlatformLifecycleState"))
956
+ PlatformDescription.add_member(:platform_branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "PlatformBranchName"))
957
+ PlatformDescription.add_member(:platform_branch_lifecycle_state, Shapes::ShapeRef.new(shape: PlatformBranchLifecycleState, location_name: "PlatformBranchLifecycleState"))
900
958
  PlatformDescription.struct_class = Types::PlatformDescription
901
959
 
902
960
  PlatformFilter.add_member(:type, Shapes::ShapeRef.new(shape: PlatformFilterType, location_name: "Type"))
@@ -928,10 +986,16 @@ module Aws::ElasticBeanstalk
928
986
  PlatformSummary.add_member(:operating_system_version, Shapes::ShapeRef.new(shape: OperatingSystemVersion, location_name: "OperatingSystemVersion"))
929
987
  PlatformSummary.add_member(:supported_tier_list, Shapes::ShapeRef.new(shape: SupportedTierList, location_name: "SupportedTierList"))
930
988
  PlatformSummary.add_member(:supported_addon_list, Shapes::ShapeRef.new(shape: SupportedAddonList, location_name: "SupportedAddonList"))
989
+ PlatformSummary.add_member(:platform_lifecycle_state, Shapes::ShapeRef.new(shape: PlatformLifecycleState, location_name: "PlatformLifecycleState"))
990
+ PlatformSummary.add_member(:platform_version, Shapes::ShapeRef.new(shape: PlatformVersion, location_name: "PlatformVersion"))
991
+ PlatformSummary.add_member(:platform_branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "PlatformBranchName"))
992
+ PlatformSummary.add_member(:platform_branch_lifecycle_state, Shapes::ShapeRef.new(shape: PlatformBranchLifecycleState, location_name: "PlatformBranchLifecycleState"))
931
993
  PlatformSummary.struct_class = Types::PlatformSummary
932
994
 
933
995
  PlatformSummaryList.member = Shapes::ShapeRef.new(shape: PlatformSummary)
934
996
 
997
+ PlatformVersionStillReferencedException.struct_class = Types::PlatformVersionStillReferencedException
998
+
935
999
  Queue.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
936
1000
  Queue.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "URL"))
937
1001
  Queue.struct_class = Types::Queue
@@ -947,6 +1011,8 @@ module Aws::ElasticBeanstalk
947
1011
  RequestEnvironmentInfoMessage.add_member(:info_type, Shapes::ShapeRef.new(shape: EnvironmentInfoType, required: true, location_name: "InfoType"))
948
1012
  RequestEnvironmentInfoMessage.struct_class = Types::RequestEnvironmentInfoMessage
949
1013
 
1014
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1015
+
950
1016
  ResourceQuota.add_member(:maximum, Shapes::ShapeRef.new(shape: BoxedInt, location_name: "Maximum"))
951
1017
  ResourceQuota.struct_class = Types::ResourceQuota
952
1018
 
@@ -961,6 +1027,8 @@ module Aws::ElasticBeanstalk
961
1027
  ResourceTagsDescriptionMessage.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "ResourceTags"))
962
1028
  ResourceTagsDescriptionMessage.struct_class = Types::ResourceTagsDescriptionMessage
963
1029
 
1030
+ ResourceTypeNotSupportedException.struct_class = Types::ResourceTypeNotSupportedException
1031
+
964
1032
  RestartAppServerMessage.add_member(:environment_id, Shapes::ShapeRef.new(shape: EnvironmentId, location_name: "EnvironmentId"))
965
1033
  RestartAppServerMessage.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, location_name: "EnvironmentName"))
966
1034
  RestartAppServerMessage.struct_class = Types::RestartAppServerMessage
@@ -977,6 +1045,19 @@ module Aws::ElasticBeanstalk
977
1045
  S3Location.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
978
1046
  S3Location.struct_class = Types::S3Location
979
1047
 
1048
+ S3LocationNotInServiceRegionException.struct_class = Types::S3LocationNotInServiceRegionException
1049
+
1050
+ S3SubscriptionRequiredException.struct_class = Types::S3SubscriptionRequiredException
1051
+
1052
+ SearchFilter.add_member(:attribute, Shapes::ShapeRef.new(shape: SearchFilterAttribute, location_name: "Attribute"))
1053
+ SearchFilter.add_member(:operator, Shapes::ShapeRef.new(shape: SearchFilterOperator, location_name: "Operator"))
1054
+ SearchFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchFilterValues, location_name: "Values"))
1055
+ SearchFilter.struct_class = Types::SearchFilter
1056
+
1057
+ SearchFilterValues.member = Shapes::ShapeRef.new(shape: SearchFilterValue)
1058
+
1059
+ SearchFilters.member = Shapes::ShapeRef.new(shape: SearchFilter)
1060
+
980
1061
  SingleInstanceHealth.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
981
1062
  SingleInstanceHealth.add_member(:health_status, Shapes::ShapeRef.new(shape: String, location_name: "HealthStatus"))
982
1063
  SingleInstanceHealth.add_member(:color, Shapes::ShapeRef.new(shape: String, location_name: "Color"))
@@ -1000,6 +1081,8 @@ module Aws::ElasticBeanstalk
1000
1081
  SourceBuildInformation.add_member(:source_location, Shapes::ShapeRef.new(shape: SourceLocation, required: true, location_name: "SourceLocation"))
1001
1082
  SourceBuildInformation.struct_class = Types::SourceBuildInformation
1002
1083
 
1084
+ SourceBundleDeletionException.struct_class = Types::SourceBundleDeletionException
1085
+
1003
1086
  SourceConfiguration.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "ApplicationName"))
1004
1087
  SourceConfiguration.add_member(:template_name, Shapes::ShapeRef.new(shape: ConfigurationTemplateName, location_name: "TemplateName"))
1005
1088
  SourceConfiguration.struct_class = Types::SourceConfiguration
@@ -1040,6 +1123,20 @@ module Aws::ElasticBeanstalk
1040
1123
  TerminateEnvironmentMessage.add_member(:force_terminate, Shapes::ShapeRef.new(shape: ForceTerminate, location_name: "ForceTerminate"))
1041
1124
  TerminateEnvironmentMessage.struct_class = Types::TerminateEnvironmentMessage
1042
1125
 
1126
+ TooManyApplicationVersionsException.struct_class = Types::TooManyApplicationVersionsException
1127
+
1128
+ TooManyApplicationsException.struct_class = Types::TooManyApplicationsException
1129
+
1130
+ TooManyBucketsException.struct_class = Types::TooManyBucketsException
1131
+
1132
+ TooManyConfigurationTemplatesException.struct_class = Types::TooManyConfigurationTemplatesException
1133
+
1134
+ TooManyEnvironmentsException.struct_class = Types::TooManyEnvironmentsException
1135
+
1136
+ TooManyPlatformsException.struct_class = Types::TooManyPlatformsException
1137
+
1138
+ TooManyTagsException.struct_class = Types::TooManyTagsException
1139
+
1043
1140
  Trigger.add_member(:name, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Name"))
1044
1141
  Trigger.struct_class = Types::Trigger
1045
1142
 
@@ -1139,6 +1236,15 @@ module Aws::ElasticBeanstalk
1139
1236
  o.errors << Shapes::ShapeRef.new(shape: ManagedActionInvalidStateException)
1140
1237
  end)
1141
1238
 
1239
+ api.add_operation(:associate_environment_operations_role, Seahorse::Model::Operation.new.tap do |o|
1240
+ o.name = "AssociateEnvironmentOperationsRole"
1241
+ o.http_method = "POST"
1242
+ o.http_request_uri = "/"
1243
+ o.input = Shapes::ShapeRef.new(shape: AssociateEnvironmentOperationsRoleMessage)
1244
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1245
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientPrivilegesException)
1246
+ end)
1247
+
1142
1248
  api.add_operation(:check_dns_availability, Seahorse::Model::Operation.new.tap do |o|
1143
1249
  o.name = "CheckDNSAvailability"
1144
1250
  o.http_method = "POST"
@@ -1394,6 +1500,15 @@ module Aws::ElasticBeanstalk
1394
1500
  o.errors << Shapes::ShapeRef.new(shape: ElasticBeanstalkServiceException)
1395
1501
  end)
1396
1502
 
1503
+ api.add_operation(:disassociate_environment_operations_role, Seahorse::Model::Operation.new.tap do |o|
1504
+ o.name = "DisassociateEnvironmentOperationsRole"
1505
+ o.http_method = "POST"
1506
+ o.http_request_uri = "/"
1507
+ o.input = Shapes::ShapeRef.new(shape: DisassociateEnvironmentOperationsRoleMessage)
1508
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1509
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientPrivilegesException)
1510
+ end)
1511
+
1397
1512
  api.add_operation(:list_available_solution_stacks, Seahorse::Model::Operation.new.tap do |o|
1398
1513
  o.name = "ListAvailableSolutionStacks"
1399
1514
  o.http_method = "POST"
@@ -1402,6 +1517,20 @@ module Aws::ElasticBeanstalk
1402
1517
  o.output = Shapes::ShapeRef.new(shape: ListAvailableSolutionStacksResultMessage)
1403
1518
  end)
1404
1519
 
1520
+ api.add_operation(:list_platform_branches, Seahorse::Model::Operation.new.tap do |o|
1521
+ o.name = "ListPlatformBranches"
1522
+ o.http_method = "POST"
1523
+ o.http_request_uri = "/"
1524
+ o.input = Shapes::ShapeRef.new(shape: ListPlatformBranchesRequest)
1525
+ o.output = Shapes::ShapeRef.new(shape: ListPlatformBranchesResult)
1526
+ o[:pager] = Aws::Pager.new(
1527
+ limit_key: "max_records",
1528
+ tokens: {
1529
+ "next_token" => "next_token"
1530
+ }
1531
+ )
1532
+ end)
1533
+
1405
1534
  api.add_operation(:list_platform_versions, Seahorse::Model::Operation.new.tap do |o|
1406
1535
  o.name = "ListPlatformVersions"
1407
1536
  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