aws-sdk-ec2 1.27.0 → 1.28.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: 7296fa602eb022a69ade3d5450ee342327a7c8bd
4
- data.tar.gz: 8e1501631f076d4e6a72ad30976c608e5ea6b528
3
+ metadata.gz: 3e4c3c16aad34bfa414c36263c192433e4486e32
4
+ data.tar.gz: 8f117969d81d82fdaa8deb62ce09947c706790c8
5
5
  SHA512:
6
- metadata.gz: 9f0322d0d0c6dd3790b9b40805ca22359570ab0a2c9b552bcdc3e10c440732bf94ab4a141d5cf15e0cbf1e64f9ed679a376d76895508a266e1cdbf773a13ca12
7
- data.tar.gz: f3ddfdc32ad4b49a019d22a558230bbe6b8ecb42f17418e9d3aecb18e3c98bc4ce99ad3ed3c170f8b3f7faa86e31d01db6ba123dce90b6ede0b43ed0ebf203c6
6
+ metadata.gz: 2e71f663f4f2225eebdd7e5d006d633a8223ba6ab02f22856d9bc97b0b53283e57552726390d7b085c288731ef8e77914c225982fc52432935d3242a542ef52e
7
+ data.tar.gz: c21dbde61ac0094ae2ef1c80b0bae8a85e7df780cb270a4141aac831f24f318389590ef87d73d450f5c687f2ff5e6898a941bce60393738d41e5d161c8d8f4ee
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.27.0'
68
+ GEM_VERSION = '1.28.0'
69
69
 
70
70
  end
@@ -4818,13 +4818,17 @@ module Aws::EC2
4818
4818
  # automatically encrypted. Your encrypted volumes and any associated
4819
4819
  # snapshots always remain protected.
4820
4820
  #
4821
- # For more information, see [Amazon Elastic Block Store][1] and [Amazon
4822
- # EBS Encryption][2] in the *Amazon Elastic Compute Cloud User Guide*.
4821
+ # You can tag your snapshots during creation. For more information, see
4822
+ # [Tagging Your Amazon EC2 Resources][1].
4823
4823
  #
4824
+ # For more information, see [Amazon Elastic Block Store][2] and [Amazon
4825
+ # EBS Encryption][3] in the *Amazon Elastic Compute Cloud User Guide*.
4824
4826
  #
4825
4827
  #
4826
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html
4827
- # [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
4828
+ #
4829
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
4830
+ # [2]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html
4831
+ # [3]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
4828
4832
  #
4829
4833
  # @option params [String] :description
4830
4834
  # A description for the snapshot.
@@ -4832,6 +4836,9 @@ module Aws::EC2
4832
4836
  # @option params [required, String] :volume_id
4833
4837
  # The ID of the EBS volume.
4834
4838
  #
4839
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4840
+ # The tags to apply to the snapshot during creation.
4841
+ #
4835
4842
  # @option params [Boolean] :dry_run
4836
4843
  # Checks whether you have the required permissions for the action,
4837
4844
  # without actually making the request, and provides an error response.
@@ -4884,6 +4891,17 @@ module Aws::EC2
4884
4891
  # resp = client.create_snapshot({
4885
4892
  # description: "String",
4886
4893
  # volume_id: "String", # required
4894
+ # tag_specifications: [
4895
+ # {
4896
+ # resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
4897
+ # tags: [
4898
+ # {
4899
+ # key: "String",
4900
+ # value: "String",
4901
+ # },
4902
+ # ],
4903
+ # },
4904
+ # ],
4887
4905
  # dry_run: false,
4888
4906
  # })
4889
4907
  #
@@ -24028,7 +24046,7 @@ module Aws::EC2
24028
24046
  params: params,
24029
24047
  config: config)
24030
24048
  context[:gem_name] = 'aws-sdk-ec2'
24031
- context[:gem_version] = '1.27.0'
24049
+ context[:gem_version] = '1.28.0'
24032
24050
  Seahorse::Client::Request.new(handlers, context)
24033
24051
  end
24034
24052
 
@@ -1807,6 +1807,7 @@ module Aws::EC2
1807
1807
 
1808
1808
  CreateSnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1809
1809
  CreateSnapshotRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VolumeId"))
1810
+ CreateSnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
1810
1811
  CreateSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
1811
1812
  CreateSnapshotRequest.struct_class = Types::CreateSnapshotRequest
1812
1813
 
@@ -622,6 +622,17 @@ module Aws::EC2
622
622
  # snapshot = ec2.create_snapshot({
623
623
  # description: "String",
624
624
  # volume_id: "String", # required
625
+ # tag_specifications: [
626
+ # {
627
+ # resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
628
+ # tags: [
629
+ # {
630
+ # key: "String",
631
+ # value: "String",
632
+ # },
633
+ # ],
634
+ # },
635
+ # ],
625
636
  # dry_run: false,
626
637
  # })
627
638
  # @param [Hash] options ({})
@@ -629,6 +640,8 @@ module Aws::EC2
629
640
  # A description for the snapshot.
630
641
  # @option options [required, String] :volume_id
631
642
  # The ID of the EBS volume.
643
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
644
+ # The tags to apply to the snapshot during creation.
632
645
  # @option options [Boolean] :dry_run
633
646
  # Checks whether you have the required permissions for the action,
634
647
  # without actually making the request, and provides an error response.
@@ -4255,6 +4255,17 @@ module Aws::EC2
4255
4255
  # {
4256
4256
  # description: "String",
4257
4257
  # volume_id: "String", # required
4258
+ # tag_specifications: [
4259
+ # {
4260
+ # resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
4261
+ # tags: [
4262
+ # {
4263
+ # key: "String",
4264
+ # value: "String",
4265
+ # },
4266
+ # ],
4267
+ # },
4268
+ # ],
4258
4269
  # dry_run: false,
4259
4270
  # }
4260
4271
  #
@@ -4266,6 +4277,10 @@ module Aws::EC2
4266
4277
  # The ID of the EBS volume.
4267
4278
  # @return [String]
4268
4279
  #
4280
+ # @!attribute [rw] tag_specifications
4281
+ # The tags to apply to the snapshot during creation.
4282
+ # @return [Array<Types::TagSpecification>]
4283
+ #
4269
4284
  # @!attribute [rw] dry_run
4270
4285
  # Checks whether you have the required permissions for the action,
4271
4286
  # without actually making the request, and provides an error response.
@@ -4278,6 +4293,7 @@ module Aws::EC2
4278
4293
  class CreateSnapshotRequest < Struct.new(
4279
4294
  :description,
4280
4295
  :volume_id,
4296
+ :tag_specifications,
4281
4297
  :dry_run)
4282
4298
  include Aws::Structure
4283
4299
  end
@@ -279,11 +279,24 @@ module Aws::EC2
279
279
  #
280
280
  # snapshot = volume.create_snapshot({
281
281
  # description: "String",
282
+ # tag_specifications: [
283
+ # {
284
+ # resource_type: "customer-gateway", # accepts customer-gateway, dhcp-options, image, instance, internet-gateway, network-acl, network-interface, reserved-instances, route-table, snapshot, spot-instances-request, subnet, security-group, volume, vpc, vpn-connection, vpn-gateway
285
+ # tags: [
286
+ # {
287
+ # key: "String",
288
+ # value: "String",
289
+ # },
290
+ # ],
291
+ # },
292
+ # ],
282
293
  # dry_run: false,
283
294
  # })
284
295
  # @param [Hash] options ({})
285
296
  # @option options [String] :description
286
297
  # A description for the snapshot.
298
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
299
+ # The tags to apply to the snapshot during creation.
287
300
  # @option options [Boolean] :dry_run
288
301
  # Checks whether you have the required permissions for the action,
289
302
  # without actually making the request, and provides an error response.
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.27.0
4
+ version: 1.28.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: 2018-02-12 00:00:00.000000000 Z
11
+ date: 2018-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4