aws-sdk-ec2 1.115.0 → 1.116.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da3da5db1cfa5b6a44646baf379978de414dcfc1
4
- data.tar.gz: 564ff1045cd7ab6d7c0caf43f026da20ebf91fd3
3
+ metadata.gz: 3f961fa1cf8a24f9b4d87a9866f8d52090a087bb
4
+ data.tar.gz: '0522391d4e8be6ca5fb6f3971373306492171e3f'
5
5
  SHA512:
6
- metadata.gz: d41a1ab42e98f03d16a36974a6631250c4bd46678737349c7bce7de8252fd412ca8bd5763bdbc664433bcfc40a8b4eea56fc2beb42b0d61b2652dd82325477b9
7
- data.tar.gz: 785de8c3d404416b7d40311b31551f5d798720aa7f386ec317bdbedc8b7c64a5a1879e45ef4c624193896de4f5f1e2bdaa5e46d776f0ad5e177d4263dc759d40
6
+ metadata.gz: 85384d395233e22ad6b9127b7cf70ebfaae31105f1992f08c155c3f32ba29e9994d6b0e4fd9c1c67f5968b8364fc5eb32c0da4603a2817d989a75ef5f9de94da
7
+ data.tar.gz: ad5e9576e63e98ddd5eceab4a91b0bb3631377bb2506f658fe77f74559d7b6f1e00b29641a47437c7202e0aceeddf57de507439c1ccb92299eebc7290ba2d430
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.115.0'
68
+ GEM_VERSION = '1.116.0'
69
69
 
70
70
  end
@@ -3116,6 +3116,8 @@ module Aws::EC2
3116
3116
  # @option params [required, String] :source_snapshot_id
3117
3117
  # The ID of the EBS snapshot to copy.
3118
3118
  #
3119
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
3120
+ #
3119
3121
  # @option params [Boolean] :dry_run
3120
3122
  # Checks whether you have the required permissions for the action,
3121
3123
  # without actually making the request, and provides an error response.
@@ -3125,6 +3127,7 @@ module Aws::EC2
3125
3127
  # @return [Types::CopySnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3126
3128
  #
3127
3129
  # * {Types::CopySnapshotResult#snapshot_id #snapshot_id} => String
3130
+ # * {Types::CopySnapshotResult#tags #tags} => Array&lt;Types::Tag&gt;
3128
3131
  #
3129
3132
  #
3130
3133
  # @example Example: To copy a snapshot
@@ -3175,16 +3178,30 @@ module Aws::EC2
3175
3178
  # description: "String",
3176
3179
  # destination_region: "String",
3177
3180
  # encrypted: false,
3178
- # kms_key_id: "KmsKeyId",
3181
+ # kms_key_id: "String",
3179
3182
  # presigned_url: "String",
3180
3183
  # source_region: "String", # required
3181
3184
  # source_snapshot_id: "String", # required
3185
+ # tag_specifications: [
3186
+ # {
3187
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
3188
+ # tags: [
3189
+ # {
3190
+ # key: "String",
3191
+ # value: "String",
3192
+ # },
3193
+ # ],
3194
+ # },
3195
+ # ],
3182
3196
  # dry_run: false,
3183
3197
  # })
3184
3198
  #
3185
3199
  # @example Response structure
3186
3200
  #
3187
3201
  # resp.snapshot_id #=> String
3202
+ # resp.tags #=> Array
3203
+ # resp.tags[0].key #=> String
3204
+ # resp.tags[0].value #=> String
3188
3205
  #
3189
3206
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshot AWS API Documentation
3190
3207
  #
@@ -32728,7 +32745,7 @@ module Aws::EC2
32728
32745
  params: params,
32729
32746
  config: config)
32730
32747
  context[:gem_name] = 'aws-sdk-ec2'
32731
- context[:gem_version] = '1.115.0'
32748
+ context[:gem_version] = '1.116.0'
32732
32749
  Seahorse::Client::Request.new(handlers, context)
32733
32750
  end
32734
32751
 
@@ -2354,14 +2354,16 @@ module Aws::EC2
2354
2354
  CopySnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
2355
2355
  CopySnapshotRequest.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "destinationRegion"))
2356
2356
  CopySnapshotRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
2357
- CopySnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
2357
+ CopySnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
2358
2358
  CopySnapshotRequest.add_member(:presigned_url, Shapes::ShapeRef.new(shape: String, location_name: "presignedUrl"))
2359
2359
  CopySnapshotRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
2360
2360
  CopySnapshotRequest.add_member(:source_snapshot_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceSnapshotId"))
2361
+ CopySnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
2361
2362
  CopySnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
2362
2363
  CopySnapshotRequest.struct_class = Types::CopySnapshotRequest
2363
2364
 
2364
2365
  CopySnapshotResult.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
2366
+ CopySnapshotResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
2365
2367
  CopySnapshotResult.struct_class = Types::CopySnapshotResult
2366
2368
 
2367
2369
  CpuOptions.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
@@ -282,9 +282,20 @@ module Aws::EC2
282
282
  # description: "String",
283
283
  # destination_region: "String",
284
284
  # encrypted: false,
285
- # kms_key_id: "KmsKeyId",
285
+ # kms_key_id: "String",
286
286
  # presigned_url: "String",
287
287
  # source_region: "String", # required
288
+ # tag_specifications: [
289
+ # {
290
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
291
+ # tags: [
292
+ # {
293
+ # key: "String",
294
+ # value: "String",
295
+ # },
296
+ # ],
297
+ # },
298
+ # ],
288
299
  # dry_run: false,
289
300
  # })
290
301
  # @param [Hash] options ({})
@@ -354,6 +365,7 @@ module Aws::EC2
354
365
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
355
366
  # @option options [required, String] :source_region
356
367
  # The ID of the Region that contains the snapshot to be copied.
368
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
357
369
  # @option options [Boolean] :dry_run
358
370
  # Checks whether you have the required permissions for the action,
359
371
  # without actually making the request, and provides an error response.
@@ -3817,10 +3817,21 @@ module Aws::EC2
3817
3817
  # description: "String",
3818
3818
  # destination_region: "String",
3819
3819
  # encrypted: false,
3820
- # kms_key_id: "KmsKeyId",
3820
+ # kms_key_id: "String",
3821
3821
  # presigned_url: "String",
3822
3822
  # source_region: "String", # required
3823
3823
  # source_snapshot_id: "String", # required
3824
+ # tag_specifications: [
3825
+ # {
3826
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
3827
+ # tags: [
3828
+ # {
3829
+ # key: "String",
3830
+ # value: "String",
3831
+ # },
3832
+ # ],
3833
+ # },
3834
+ # ],
3824
3835
  # dry_run: false,
3825
3836
  # }
3826
3837
  #
@@ -3909,6 +3920,9 @@ module Aws::EC2
3909
3920
  # The ID of the EBS snapshot to copy.
3910
3921
  # @return [String]
3911
3922
  #
3923
+ # @!attribute [rw] tag_specifications
3924
+ # @return [Array<Types::TagSpecification>]
3925
+ #
3912
3926
  # @!attribute [rw] dry_run
3913
3927
  # Checks whether you have the required permissions for the action,
3914
3928
  # without actually making the request, and provides an error response.
@@ -3926,6 +3940,7 @@ module Aws::EC2
3926
3940
  :presigned_url,
3927
3941
  :source_region,
3928
3942
  :source_snapshot_id,
3943
+ :tag_specifications,
3929
3944
  :dry_run)
3930
3945
  include Aws::Structure
3931
3946
  end
@@ -3936,10 +3951,14 @@ module Aws::EC2
3936
3951
  # The ID of the new snapshot.
3937
3952
  # @return [String]
3938
3953
  #
3954
+ # @!attribute [rw] tags
3955
+ # @return [Array<Types::Tag>]
3956
+ #
3939
3957
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshotResult AWS API Documentation
3940
3958
  #
3941
3959
  class CopySnapshotResult < Struct.new(
3942
- :snapshot_id)
3960
+ :snapshot_id,
3961
+ :tags)
3943
3962
  include Aws::Structure
3944
3963
  end
3945
3964
 
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.115.0
4
+ version: 1.116.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: 2019-11-04 00:00:00.000000000 Z
11
+ date: 2019-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4