aws-sdk-elasticbeanstalk 1.30.0 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9ab9f45555ae5d4a648182b57ae1bc06eb61d327c5450092686c46d2733908e
4
- data.tar.gz: 7ffa61ee380b37e0ceeb6220ad6bdc22eae1b99b411815abdcf41e44df713e42
3
+ metadata.gz: 25cb9d8226b7b531d34e36e9eae0091a81429bf644dc3a4d5f31f26cf2aae49b
4
+ data.tar.gz: 94da08b892daf40648f100301b6772a40f448a96f40952dc5fb301b1df73ce9d
5
5
  SHA512:
6
- metadata.gz: 912c8dfcf3281a4f59e18086b14b6c0ad0c1e665a84a3551612ab260ddc46cc43a281e834a6afbf4d1361e8e6dece6d7e4fb09246a4e71a9c166e61b964b30fd
7
- data.tar.gz: 7ea36aca651d02560581ed74ae33f6961c1580224404e4a0432af99c786804dfcb5c679e911ad18e2108912e14998c6ff97357f33b14f2d282c5887b0be68289
6
+ metadata.gz: 2fabb1555cff81c348cc1d87ebc9fcd3d419c10c5857b40e3c21f6a393390f3b38d460854c92dd49b7f03c9ef78b41cf0b190c2eabb31af6bfa3ef0871f5f67c
7
+ data.tar.gz: 501400df82ea6e972854351e786dc27345bb20a072e45bbd47272ea38f6834faeec626f104e723ed100a4031c3b5ae1cb52e8193208cbe89cf8dbb51e91434c3
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-elasticbeanstalk/customizations'
45
45
  # @service
46
46
  module Aws::ElasticBeanstalk
47
47
 
48
- GEM_VERSION = '1.30.0'
48
+ GEM_VERSION = '1.31.0'
49
49
 
50
50
  end
@@ -390,6 +390,41 @@ module Aws::ElasticBeanstalk
390
390
  req.send_request(options)
391
391
  end
392
392
 
393
+ # Add or change the operations role used by an environment. After this
394
+ # call is made, Elastic Beanstalk uses the associated operations role
395
+ # for permissions to downstream services during subsequent calls acting
396
+ # on this environment. For more information, see [Operations roles][1]
397
+ # in the *AWS Elastic Beanstalk Developer Guide*.
398
+ #
399
+ #
400
+ #
401
+ # [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html
402
+ #
403
+ # @option params [required, String] :environment_name
404
+ # The name of the environment to which to set the operations role.
405
+ #
406
+ # @option params [required, String] :operations_role
407
+ # The Amazon Resource Name (ARN) of an existing IAM role to be used as
408
+ # the environment's operations role.
409
+ #
410
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
411
+ #
412
+ # @example Request syntax with placeholder values
413
+ #
414
+ # resp = client.associate_environment_operations_role({
415
+ # environment_name: "EnvironmentName", # required
416
+ # operations_role: "OperationsRole", # required
417
+ # })
418
+ #
419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AssociateEnvironmentOperationsRole AWS API Documentation
420
+ #
421
+ # @overload associate_environment_operations_role(params = {})
422
+ # @param [Hash] params ({})
423
+ def associate_environment_operations_role(params = {}, options = {})
424
+ req = build_request(:associate_environment_operations_role, params)
425
+ req.send_request(options)
426
+ end
427
+
393
428
  # Checks if the specified CNAME is available.
394
429
  #
395
430
  # @option params [required, String] :cname_prefix
@@ -511,6 +546,7 @@ module Aws::ElasticBeanstalk
511
546
  # resp.environments[0].environment_links[0].link_name #=> String
512
547
  # resp.environments[0].environment_links[0].environment_name #=> String
513
548
  # resp.environments[0].environment_arn #=> String
549
+ # resp.environments[0].operations_role #=> String
514
550
  # resp.next_token #=> String
515
551
  #
516
552
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments AWS API Documentation
@@ -1068,7 +1104,7 @@ module Aws::ElasticBeanstalk
1068
1104
  #
1069
1105
  # @option params [String] :platform_arn
1070
1106
  # The Amazon Resource Name (ARN) of the custom platform to use with the
1071
- # environment. For more information, see [ Custom Platforms][1] in the
1107
+ # environment. For more information, see [Custom Platforms][1] in the
1072
1108
  # *AWS Elastic Beanstalk Developer Guide*.
1073
1109
  #
1074
1110
  # <note markdown="1"> If you specify `PlatformArn`, don't specify `SolutionStackName`.
@@ -1089,6 +1125,19 @@ module Aws::ElasticBeanstalk
1089
1125
  # A list of custom user-defined configuration options to remove from the
1090
1126
  # configuration set for this new environment.
1091
1127
  #
1128
+ # @option params [String] :operations_role
1129
+ # The Amazon Resource Name (ARN) of an existing IAM role to be used as
1130
+ # the environment's operations role. If specified, Elastic Beanstalk
1131
+ # uses the operations role for permissions to downstream services during
1132
+ # this call and during subsequent calls acting on this environment. To
1133
+ # specify an operations role, you must have the `iam:PassRole`
1134
+ # permission for the role. For more information, see [Operations
1135
+ # roles][1] in the *AWS Elastic Beanstalk Developer Guide*.
1136
+ #
1137
+ #
1138
+ #
1139
+ # [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html
1140
+ #
1092
1141
  # @return [Types::EnvironmentDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1093
1142
  #
1094
1143
  # * {Types::EnvironmentDescription#environment_name #environment_name} => String
@@ -1111,6 +1160,7 @@ module Aws::ElasticBeanstalk
1111
1160
  # * {Types::EnvironmentDescription#tier #tier} => Types::EnvironmentTier
1112
1161
  # * {Types::EnvironmentDescription#environment_links #environment_links} => Array&lt;Types::EnvironmentLink&gt;
1113
1162
  # * {Types::EnvironmentDescription#environment_arn #environment_arn} => String
1163
+ # * {Types::EnvironmentDescription#operations_role #operations_role} => String
1114
1164
  #
1115
1165
  #
1116
1166
  # @example Example: To create a new environment for an application
@@ -1182,6 +1232,7 @@ module Aws::ElasticBeanstalk
1182
1232
  # option_name: "ConfigurationOptionName",
1183
1233
  # },
1184
1234
  # ],
1235
+ # operations_role: "OperationsRole",
1185
1236
  # })
1186
1237
  #
1187
1238
  # @example Response structure
@@ -1214,6 +1265,7 @@ module Aws::ElasticBeanstalk
1214
1265
  # resp.environment_links[0].link_name #=> String
1215
1266
  # resp.environment_links[0].environment_name #=> String
1216
1267
  # resp.environment_arn #=> String
1268
+ # resp.operations_role #=> String
1217
1269
  #
1218
1270
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironment AWS API Documentation
1219
1271
  #
@@ -2474,6 +2526,7 @@ module Aws::ElasticBeanstalk
2474
2526
  # resp.environments[0].environment_links[0].link_name #=> String
2475
2527
  # resp.environments[0].environment_links[0].environment_name #=> String
2476
2528
  # resp.environments[0].environment_arn #=> String
2529
+ # resp.environments[0].operations_role #=> String
2477
2530
  # resp.next_token #=> String
2478
2531
  #
2479
2532
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironments AWS API Documentation
@@ -2853,6 +2906,37 @@ module Aws::ElasticBeanstalk
2853
2906
  req.send_request(options)
2854
2907
  end
2855
2908
 
2909
+ # Disassociate the operations role from an environment. After this call
2910
+ # is made, Elastic Beanstalk uses the caller's permissions for
2911
+ # permissions to downstream services during subsequent calls acting on
2912
+ # this environment. For more information, see [Operations roles][1] in
2913
+ # the *AWS Elastic Beanstalk Developer Guide*.
2914
+ #
2915
+ #
2916
+ #
2917
+ # [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html
2918
+ #
2919
+ # @option params [required, String] :environment_name
2920
+ # The name of the environment from which to disassociate the operations
2921
+ # role.
2922
+ #
2923
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2924
+ #
2925
+ # @example Request syntax with placeholder values
2926
+ #
2927
+ # resp = client.disassociate_environment_operations_role({
2928
+ # environment_name: "EnvironmentName", # required
2929
+ # })
2930
+ #
2931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DisassociateEnvironmentOperationsRole AWS API Documentation
2932
+ #
2933
+ # @overload disassociate_environment_operations_role(params = {})
2934
+ # @param [Hash] params ({})
2935
+ def disassociate_environment_operations_role(params = {}, options = {})
2936
+ req = build_request(:disassociate_environment_operations_role, params)
2937
+ req.send_request(options)
2938
+ end
2939
+
2856
2940
  # Returns a list of the available solution stack names, with the public
2857
2941
  # version first and then in reverse chronological order.
2858
2942
  #
@@ -3518,6 +3602,7 @@ module Aws::ElasticBeanstalk
3518
3602
  # * {Types::EnvironmentDescription#tier #tier} => Types::EnvironmentTier
3519
3603
  # * {Types::EnvironmentDescription#environment_links #environment_links} => Array&lt;Types::EnvironmentLink&gt;
3520
3604
  # * {Types::EnvironmentDescription#environment_arn #environment_arn} => String
3605
+ # * {Types::EnvironmentDescription#operations_role #operations_role} => String
3521
3606
  #
3522
3607
  #
3523
3608
  # @example Example: To terminate an environment
@@ -3587,6 +3672,7 @@ module Aws::ElasticBeanstalk
3587
3672
  # resp.environment_links[0].link_name #=> String
3588
3673
  # resp.environment_links[0].environment_name #=> String
3589
3674
  # resp.environment_arn #=> String
3675
+ # resp.operations_role #=> String
3590
3676
  #
3591
3677
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment AWS API Documentation
3592
3678
  #
@@ -4057,6 +4143,7 @@ module Aws::ElasticBeanstalk
4057
4143
  # * {Types::EnvironmentDescription#tier #tier} => Types::EnvironmentTier
4058
4144
  # * {Types::EnvironmentDescription#environment_links #environment_links} => Array&lt;Types::EnvironmentLink&gt;
4059
4145
  # * {Types::EnvironmentDescription#environment_arn #environment_arn} => String
4146
+ # * {Types::EnvironmentDescription#operations_role #operations_role} => String
4060
4147
  #
4061
4148
  #
4062
4149
  # @example Example: To update an environment to a new version
@@ -4203,6 +4290,7 @@ module Aws::ElasticBeanstalk
4203
4290
  # resp.environment_links[0].link_name #=> String
4204
4291
  # resp.environment_links[0].environment_name #=> String
4205
4292
  # resp.environment_arn #=> String
4293
+ # resp.operations_role #=> String
4206
4294
  #
4207
4295
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment AWS API Documentation
4208
4296
  #
@@ -4249,14 +4337,16 @@ module Aws::ElasticBeanstalk
4249
4337
  # Must be the ARN of an Elastic Beanstalk resource.
4250
4338
  #
4251
4339
  # @option params [Array<Types::Tag>] :tags_to_add
4252
- # A list of tags to add or update.
4340
+ # A list of tags to add or update. If a key of an existing tag is added,
4341
+ # the tag's value is updated.
4253
4342
  #
4254
- # If a key of an existing tag is added, the tag's value is updated.
4343
+ # Specify at least one of these parameters: `TagsToAdd`, `TagsToRemove`.
4255
4344
  #
4256
4345
  # @option params [Array<String>] :tags_to_remove
4257
- # A list of tag keys to remove.
4346
+ # A list of tag keys to remove. If a tag key doesn't exist, it is
4347
+ # silently ignored.
4258
4348
  #
4259
- # If a tag key doesn't exist, it is silently ignored.
4349
+ # Specify at least one of these parameters: `TagsToAdd`, `TagsToRemove`.
4260
4350
  #
4261
4351
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4262
4352
  #
@@ -4381,7 +4471,7 @@ module Aws::ElasticBeanstalk
4381
4471
  params: params,
4382
4472
  config: config)
4383
4473
  context[:gem_name] = 'aws-sdk-elasticbeanstalk'
4384
- context[:gem_version] = '1.30.0'
4474
+ context[:gem_version] = '1.31.0'
4385
4475
  Seahorse::Client::Request.new(handlers, context)
4386
4476
  end
4387
4477
 
@@ -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')
@@ -116,6 +117,7 @@ module Aws::ElasticBeanstalk
116
117
  DescribePlatformVersionRequest = Shapes::StructureShape.new(name: 'DescribePlatformVersionRequest')
117
118
  DescribePlatformVersionResult = Shapes::StructureShape.new(name: 'DescribePlatformVersionResult')
118
119
  Description = Shapes::StringShape.new(name: 'Description')
120
+ DisassociateEnvironmentOperationsRoleMessage = Shapes::StructureShape.new(name: 'DisassociateEnvironmentOperationsRoleMessage')
119
121
  Ec2InstanceId = Shapes::StringShape.new(name: 'Ec2InstanceId')
120
122
  ElasticBeanstalkServiceException = Shapes::StructureShape.new(name: 'ElasticBeanstalkServiceException')
121
123
  EndpointURL = Shapes::StringShape.new(name: 'EndpointURL')
@@ -202,6 +204,7 @@ module Aws::ElasticBeanstalk
202
204
  OperatingSystemName = Shapes::StringShape.new(name: 'OperatingSystemName')
203
205
  OperatingSystemVersion = Shapes::StringShape.new(name: 'OperatingSystemVersion')
204
206
  OperationInProgressException = Shapes::StructureShape.new(name: 'OperationInProgressException')
207
+ OperationsRole = Shapes::StringShape.new(name: 'OperationsRole')
205
208
  OptionNamespace = Shapes::StringShape.new(name: 'OptionNamespace')
206
209
  OptionRestrictionMaxLength = Shapes::IntegerShape.new(name: 'OptionRestrictionMaxLength')
207
210
  OptionRestrictionMaxValue = Shapes::IntegerShape.new(name: 'OptionRestrictionMaxValue')
@@ -399,6 +402,10 @@ module Aws::ElasticBeanstalk
399
402
  ApplyEnvironmentManagedActionResult.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
400
403
  ApplyEnvironmentManagedActionResult.struct_class = Types::ApplyEnvironmentManagedActionResult
401
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
+
402
409
  AutoScalingGroup.add_member(:name, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Name"))
403
410
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
404
411
 
@@ -537,6 +544,7 @@ module Aws::ElasticBeanstalk
537
544
  CreateEnvironmentMessage.add_member(:platform_arn, Shapes::ShapeRef.new(shape: PlatformArn, location_name: "PlatformArn"))
538
545
  CreateEnvironmentMessage.add_member(:option_settings, Shapes::ShapeRef.new(shape: ConfigurationOptionSettingsList, location_name: "OptionSettings"))
539
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"))
540
548
  CreateEnvironmentMessage.struct_class = Types::CreateEnvironmentMessage
541
549
 
542
550
  CreatePlatformVersionRequest.add_member(:platform_name, Shapes::ShapeRef.new(shape: PlatformName, required: true, location_name: "PlatformName"))
@@ -692,6 +700,9 @@ module Aws::ElasticBeanstalk
692
700
  DescribePlatformVersionResult.add_member(:platform_description, Shapes::ShapeRef.new(shape: PlatformDescription, location_name: "PlatformDescription"))
693
701
  DescribePlatformVersionResult.struct_class = Types::DescribePlatformVersionResult
694
702
 
703
+ DisassociateEnvironmentOperationsRoleMessage.add_member(:environment_name, Shapes::ShapeRef.new(shape: EnvironmentName, required: true, location_name: "EnvironmentName"))
704
+ DisassociateEnvironmentOperationsRoleMessage.struct_class = Types::DisassociateEnvironmentOperationsRoleMessage
705
+
695
706
  ElasticBeanstalkServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
696
707
  ElasticBeanstalkServiceException.struct_class = Types::ElasticBeanstalkServiceException
697
708
 
@@ -715,6 +726,7 @@ module Aws::ElasticBeanstalk
715
726
  EnvironmentDescription.add_member(:tier, Shapes::ShapeRef.new(shape: EnvironmentTier, location_name: "Tier"))
716
727
  EnvironmentDescription.add_member(:environment_links, Shapes::ShapeRef.new(shape: EnvironmentLinks, location_name: "EnvironmentLinks"))
717
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"))
718
730
  EnvironmentDescription.struct_class = Types::EnvironmentDescription
719
731
 
720
732
  EnvironmentDescriptionsList.member = Shapes::ShapeRef.new(shape: EnvironmentDescription)
@@ -1224,6 +1236,15 @@ module Aws::ElasticBeanstalk
1224
1236
  o.errors << Shapes::ShapeRef.new(shape: ManagedActionInvalidStateException)
1225
1237
  end)
1226
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
+
1227
1248
  api.add_operation(:check_dns_availability, Seahorse::Model::Operation.new.tap do |o|
1228
1249
  o.name = "CheckDNSAvailability"
1229
1250
  o.http_method = "POST"
@@ -1479,6 +1500,15 @@ module Aws::ElasticBeanstalk
1479
1500
  o.errors << Shapes::ShapeRef.new(shape: ElasticBeanstalkServiceException)
1480
1501
  end)
1481
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
+
1482
1512
  api.add_operation(:list_available_solution_stacks, Seahorse::Model::Operation.new.tap do |o|
1483
1513
  o.name = "ListAvailableSolutionStacks"
1484
1514
  o.http_method = "POST"
@@ -431,6 +431,33 @@ module Aws::ElasticBeanstalk
431
431
  include Aws::Structure
432
432
  end
433
433
 
434
+ # Request to add or change the operations role used by an environment.
435
+ #
436
+ # @note When making an API call, you may pass AssociateEnvironmentOperationsRoleMessage
437
+ # data as a hash:
438
+ #
439
+ # {
440
+ # environment_name: "EnvironmentName", # required
441
+ # operations_role: "OperationsRole", # required
442
+ # }
443
+ #
444
+ # @!attribute [rw] environment_name
445
+ # The name of the environment to which to set the operations role.
446
+ # @return [String]
447
+ #
448
+ # @!attribute [rw] operations_role
449
+ # The Amazon Resource Name (ARN) of an existing IAM role to be used as
450
+ # the environment's operations role.
451
+ # @return [String]
452
+ #
453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AssociateEnvironmentOperationsRoleMessage AWS API Documentation
454
+ #
455
+ class AssociateEnvironmentOperationsRoleMessage < Struct.new(
456
+ :environment_name,
457
+ :operations_role)
458
+ include Aws::Structure
459
+ end
460
+
434
461
  # Describes an Auto Scaling launch configuration.
435
462
  #
436
463
  # @!attribute [rw] name
@@ -1321,6 +1348,7 @@ module Aws::ElasticBeanstalk
1321
1348
  # option_name: "ConfigurationOptionName",
1322
1349
  # },
1323
1350
  # ],
1351
+ # operations_role: "OperationsRole",
1324
1352
  # }
1325
1353
  #
1326
1354
  # @!attribute [rw] application_name
@@ -1413,7 +1441,7 @@ module Aws::ElasticBeanstalk
1413
1441
  #
1414
1442
  # @!attribute [rw] platform_arn
1415
1443
  # The Amazon Resource Name (ARN) of the custom platform to use with
1416
- # the environment. For more information, see [ Custom Platforms][1] in
1444
+ # the environment. For more information, see [Custom Platforms][1] in
1417
1445
  # the *AWS Elastic Beanstalk Developer Guide*.
1418
1446
  #
1419
1447
  # <note markdown="1"> If you specify `PlatformArn`, don't specify `SolutionStackName`.
@@ -1437,6 +1465,21 @@ module Aws::ElasticBeanstalk
1437
1465
  # the configuration set for this new environment.
1438
1466
  # @return [Array<Types::OptionSpecification>]
1439
1467
  #
1468
+ # @!attribute [rw] operations_role
1469
+ # The Amazon Resource Name (ARN) of an existing IAM role to be used as
1470
+ # the environment's operations role. If specified, Elastic Beanstalk
1471
+ # uses the operations role for permissions to downstream services
1472
+ # during this call and during subsequent calls acting on this
1473
+ # environment. To specify an operations role, you must have the
1474
+ # `iam:PassRole` permission for the role. For more information, see
1475
+ # [Operations roles][1] in the *AWS Elastic Beanstalk Developer
1476
+ # Guide*.
1477
+ #
1478
+ #
1479
+ #
1480
+ # [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html
1481
+ # @return [String]
1482
+ #
1440
1483
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironmentMessage AWS API Documentation
1441
1484
  #
1442
1485
  class CreateEnvironmentMessage < Struct.new(
@@ -1452,7 +1495,8 @@ module Aws::ElasticBeanstalk
1452
1495
  :solution_stack_name,
1453
1496
  :platform_arn,
1454
1497
  :option_settings,
1455
- :options_to_remove)
1498
+ :options_to_remove,
1499
+ :operations_role)
1456
1500
  include Aws::Structure
1457
1501
  end
1458
1502
 
@@ -2456,6 +2500,27 @@ module Aws::ElasticBeanstalk
2456
2500
  include Aws::Structure
2457
2501
  end
2458
2502
 
2503
+ # Request to disassociate the operations role from an environment.
2504
+ #
2505
+ # @note When making an API call, you may pass DisassociateEnvironmentOperationsRoleMessage
2506
+ # data as a hash:
2507
+ #
2508
+ # {
2509
+ # environment_name: "EnvironmentName", # required
2510
+ # }
2511
+ #
2512
+ # @!attribute [rw] environment_name
2513
+ # The name of the environment from which to disassociate the
2514
+ # operations role.
2515
+ # @return [String]
2516
+ #
2517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DisassociateEnvironmentOperationsRoleMessage AWS API Documentation
2518
+ #
2519
+ class DisassociateEnvironmentOperationsRoleMessage < Struct.new(
2520
+ :environment_name)
2521
+ include Aws::Structure
2522
+ end
2523
+
2459
2524
  # A generic service exception has occurred.
2460
2525
  #
2461
2526
  # @!attribute [rw] message
@@ -2595,6 +2660,16 @@ module Aws::ElasticBeanstalk
2595
2660
  # other API requests that require an ARN.
2596
2661
  # @return [String]
2597
2662
  #
2663
+ # @!attribute [rw] operations_role
2664
+ # The Amazon Resource Name (ARN) of the environment's operations
2665
+ # role. For more information, see [Operations roles][1] in the *AWS
2666
+ # Elastic Beanstalk Developer Guide*.
2667
+ #
2668
+ #
2669
+ #
2670
+ # [1]: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html
2671
+ # @return [String]
2672
+ #
2598
2673
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentDescription AWS API Documentation
2599
2674
  #
2600
2675
  class EnvironmentDescription < Struct.new(
@@ -2617,7 +2692,8 @@ module Aws::ElasticBeanstalk
2617
2692
  :resources,
2618
2693
  :tier,
2619
2694
  :environment_links,
2620
- :environment_arn)
2695
+ :environment_arn,
2696
+ :operations_role)
2621
2697
  include Aws::Structure
2622
2698
  end
2623
2699
 
@@ -5017,15 +5093,19 @@ module Aws::ElasticBeanstalk
5017
5093
  # @return [String]
5018
5094
  #
5019
5095
  # @!attribute [rw] tags_to_add
5020
- # A list of tags to add or update.
5096
+ # A list of tags to add or update. If a key of an existing tag is
5097
+ # added, the tag's value is updated.
5021
5098
  #
5022
- # If a key of an existing tag is added, the tag's value is updated.
5099
+ # Specify at least one of these parameters: `TagsToAdd`,
5100
+ # `TagsToRemove`.
5023
5101
  # @return [Array<Types::Tag>]
5024
5102
  #
5025
5103
  # @!attribute [rw] tags_to_remove
5026
- # A list of tag keys to remove.
5104
+ # A list of tag keys to remove. If a tag key doesn't exist, it is
5105
+ # silently ignored.
5027
5106
  #
5028
- # If a tag key doesn't exist, it is silently ignored.
5107
+ # Specify at least one of these parameters: `TagsToAdd`,
5108
+ # `TagsToRemove`.
5029
5109
  # @return [Array<String>]
5030
5110
  #
5031
5111
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResourceMessage AWS API Documentation
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.30.0
4
+ version: 1.31.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: 2020-05-28 00:00:00.000000000 Z
11
+ date: 2020-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core