aws-sdk-ec2 1.147.0 → 1.148.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
  SHA1:
3
- metadata.gz: 3ce3e14e0d19ef3d0bd434b83de70b210bac76a7
4
- data.tar.gz: 8f0294ea7f8988e0a176643a0a5e7a41a60aab0b
3
+ metadata.gz: e237ddc45d0c86c27022eeeae77550c1788ae6a6
4
+ data.tar.gz: 7a273302f0d94dd55ce77338f5ed6603d348422e
5
5
  SHA512:
6
- metadata.gz: 42ec82d6aab1dff57c0891ccb1f50a7e45958b4569a072ad7c54b81ec89a8605974a069755b17ef3d9a49240a4c8b55079c3e5971150a2e4f974c87a476a4f86
7
- data.tar.gz: 34a01ab6a76343197521e17e3da1c5a418ae152eb27f699c0fe1d5f439ab99020608b3320f813441a6655f3e1a418adb86babb15a38ca4a63750c2b02597eb2e
6
+ metadata.gz: b72f69423c2a6c379d3005846530e8e6e31a549672d01780093d1791902aa0703630292a701b779a07795fe188975b9e0930c1aee973d4a9c028c5b3b4104db2
7
+ data.tar.gz: ec5fdf56b502b9dc7676050e953b86b8509314f8f6bc118ce49c741d8547f043c0d9bf4c74886b7507a1442d8b3eee89b41704cfc80e7cdf25d4e21f1791520a
@@ -69,6 +69,6 @@ require_relative 'aws-sdk-ec2/customizations'
69
69
  # @service
70
70
  module Aws::EC2
71
71
 
72
- GEM_VERSION = '1.147.0'
72
+ GEM_VERSION = '1.148.0'
73
73
 
74
74
  end
@@ -27733,6 +27733,47 @@ module Aws::EC2
27733
27733
  req.send_request(options)
27734
27734
  end
27735
27735
 
27736
+ # Enables or disables a Zone Group for your account. To use Local Zones,
27737
+ # you must first enable the Zone Group.
27738
+ #
27739
+ # @option params [required, String] :group_name
27740
+ # The names of the Zone Group.
27741
+ #
27742
+ # @option params [required, String] :opt_in_status
27743
+ # Indicates whether to enable or disable Zone Group membership. The
27744
+ # valid values are `opted-in`.
27745
+ #
27746
+ # @option params [Boolean] :dry_run
27747
+ # Checks whether you have the required permissions for the action,
27748
+ # without actually making the request, and provides an error response.
27749
+ # If you have the required permissions, the error response is
27750
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
27751
+ #
27752
+ # @return [Types::ModifyAvailabilityZoneGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
27753
+ #
27754
+ # * {Types::ModifyAvailabilityZoneGroupResult#return #return} => Boolean
27755
+ #
27756
+ # @example Request syntax with placeholder values
27757
+ #
27758
+ # resp = client.modify_availability_zone_group({
27759
+ # group_name: "String", # required
27760
+ # opt_in_status: "opted-in", # required, accepts opted-in, not-opted-in
27761
+ # dry_run: false,
27762
+ # })
27763
+ #
27764
+ # @example Response structure
27765
+ #
27766
+ # resp.return #=> Boolean
27767
+ #
27768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAvailabilityZoneGroup AWS API Documentation
27769
+ #
27770
+ # @overload modify_availability_zone_group(params = {})
27771
+ # @param [Hash] params ({})
27772
+ def modify_availability_zone_group(params = {}, options = {})
27773
+ req = build_request(:modify_availability_zone_group, params)
27774
+ req.send_request(options)
27775
+ end
27776
+
27736
27777
  # Modifies a Capacity Reservation's capacity and the conditions under
27737
27778
  # which it is to be released. You cannot change a Capacity
27738
27779
  # Reservation's instance type, EBS optimization, instance store
@@ -36089,7 +36130,7 @@ module Aws::EC2
36089
36130
  params: params,
36090
36131
  config: config)
36091
36132
  context[:gem_name] = 'aws-sdk-ec2'
36092
- context[:gem_version] = '1.147.0'
36133
+ context[:gem_version] = '1.148.0'
36093
36134
  Seahorse::Client::Request.new(handlers, context)
36094
36135
  end
36095
36136
 
@@ -1270,6 +1270,9 @@ module Aws::EC2
1270
1270
  MemoryInfo = Shapes::StructureShape.new(name: 'MemoryInfo')
1271
1271
  MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
1272
1272
  MillisecondDateTime = Shapes::TimestampShape.new(name: 'MillisecondDateTime')
1273
+ ModifyAvailabilityZoneGroupRequest = Shapes::StructureShape.new(name: 'ModifyAvailabilityZoneGroupRequest')
1274
+ ModifyAvailabilityZoneGroupResult = Shapes::StructureShape.new(name: 'ModifyAvailabilityZoneGroupResult')
1275
+ ModifyAvailabilityZoneOptInStatus = Shapes::StringShape.new(name: 'ModifyAvailabilityZoneOptInStatus')
1273
1276
  ModifyCapacityReservationRequest = Shapes::StructureShape.new(name: 'ModifyCapacityReservationRequest')
1274
1277
  ModifyCapacityReservationResult = Shapes::StructureShape.new(name: 'ModifyCapacityReservationResult')
1275
1278
  ModifyClientVpnEndpointRequest = Shapes::StructureShape.new(name: 'ModifyClientVpnEndpointRequest')
@@ -6882,6 +6885,14 @@ module Aws::EC2
6882
6885
  MemoryInfo.add_member(:size_in_mi_b, Shapes::ShapeRef.new(shape: MemorySize, location_name: "sizeInMiB"))
6883
6886
  MemoryInfo.struct_class = Types::MemoryInfo
6884
6887
 
6888
+ ModifyAvailabilityZoneGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupName"))
6889
+ ModifyAvailabilityZoneGroupRequest.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: ModifyAvailabilityZoneOptInStatus, required: true, location_name: "OptInStatus"))
6890
+ ModifyAvailabilityZoneGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6891
+ ModifyAvailabilityZoneGroupRequest.struct_class = Types::ModifyAvailabilityZoneGroupRequest
6892
+
6893
+ ModifyAvailabilityZoneGroupResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
6894
+ ModifyAvailabilityZoneGroupResult.struct_class = Types::ModifyAvailabilityZoneGroupResult
6895
+
6885
6896
  ModifyCapacityReservationRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
6886
6897
  ModifyCapacityReservationRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstanceCount"))
6887
6898
  ModifyCapacityReservationRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndDate"))
@@ -12688,6 +12699,14 @@ module Aws::EC2
12688
12699
  o.output = Shapes::ShapeRef.new(shape: ImportVolumeResult)
12689
12700
  end)
12690
12701
 
12702
+ api.add_operation(:modify_availability_zone_group, Seahorse::Model::Operation.new.tap do |o|
12703
+ o.name = "ModifyAvailabilityZoneGroup"
12704
+ o.http_method = "POST"
12705
+ o.http_request_uri = "/"
12706
+ o.input = Shapes::ShapeRef.new(shape: ModifyAvailabilityZoneGroupRequest)
12707
+ o.output = Shapes::ShapeRef.new(shape: ModifyAvailabilityZoneGroupResult)
12708
+ end)
12709
+
12691
12710
  api.add_operation(:modify_capacity_reservation, Seahorse::Model::Operation.new.tap do |o|
12692
12711
  o.name = "ModifyCapacityReservation"
12693
12712
  o.http_method = "POST"
@@ -31344,6 +31344,51 @@ module Aws::EC2
31344
31344
  include Aws::Structure
31345
31345
  end
31346
31346
 
31347
+ # @note When making an API call, you may pass ModifyAvailabilityZoneGroupRequest
31348
+ # data as a hash:
31349
+ #
31350
+ # {
31351
+ # group_name: "String", # required
31352
+ # opt_in_status: "opted-in", # required, accepts opted-in, not-opted-in
31353
+ # dry_run: false,
31354
+ # }
31355
+ #
31356
+ # @!attribute [rw] group_name
31357
+ # The names of the Zone Group.
31358
+ # @return [String]
31359
+ #
31360
+ # @!attribute [rw] opt_in_status
31361
+ # Indicates whether to enable or disable Zone Group membership. The
31362
+ # valid values are `opted-in`.
31363
+ # @return [String]
31364
+ #
31365
+ # @!attribute [rw] dry_run
31366
+ # Checks whether you have the required permissions for the action,
31367
+ # without actually making the request, and provides an error response.
31368
+ # If you have the required permissions, the error response is
31369
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31370
+ # @return [Boolean]
31371
+ #
31372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAvailabilityZoneGroupRequest AWS API Documentation
31373
+ #
31374
+ class ModifyAvailabilityZoneGroupRequest < Struct.new(
31375
+ :group_name,
31376
+ :opt_in_status,
31377
+ :dry_run)
31378
+ include Aws::Structure
31379
+ end
31380
+
31381
+ # @!attribute [rw] return
31382
+ # Is `true` if the request succeeds, and an error otherwise.
31383
+ # @return [Boolean]
31384
+ #
31385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAvailabilityZoneGroupResult AWS API Documentation
31386
+ #
31387
+ class ModifyAvailabilityZoneGroupResult < Struct.new(
31388
+ :return)
31389
+ include Aws::Structure
31390
+ end
31391
+
31347
31392
  # @note When making an API call, you may pass ModifyCapacityReservationRequest
31348
31393
  # data as a hash:
31349
31394
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.147.0
4
+ version: 1.148.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-03-05 00:00:00.000000000 Z
11
+ date: 2020-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4