aws-sdk-ec2 1.113.0 → 1.114.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 +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +34 -12
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +26 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e575a36c63861ae7baabf0bcbadc795833cfd7df
|
4
|
+
data.tar.gz: 8b9658ca66818088a490b3b8967e26165765c155
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a87f121051d81be5360dc9869cce834eb5f68a6dd83b42fedbb6b32259c97e1e8e1337b2742109c2b67debdb99a593d4351e1fe3e6d0c45e052a14097c17dbee
|
7
|
+
data.tar.gz: af182c17fd1fe5ea03124727529d4e0a9df10be472cb9b7008584e35c7c4efc6ae153b87c7501616de1f171c8c387f913c7a2f93cc9948e70eff0e527bdcb962
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4467,6 +4467,9 @@ module Aws::EC2
|
|
4467
4467
|
#
|
4468
4468
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
4469
4469
|
#
|
4470
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
4471
|
+
# The tags to apply to the FPGA image during creation.
|
4472
|
+
#
|
4470
4473
|
# @return [Types::CreateFpgaImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4471
4474
|
#
|
4472
4475
|
# * {Types::CreateFpgaImageResult#fpga_image_id #fpga_image_id} => String
|
@@ -4487,6 +4490,17 @@ module Aws::EC2
|
|
4487
4490
|
# description: "String",
|
4488
4491
|
# name: "String",
|
4489
4492
|
# client_token: "String",
|
4493
|
+
# tag_specifications: [
|
4494
|
+
# {
|
4495
|
+
# 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
|
4496
|
+
# tags: [
|
4497
|
+
# {
|
4498
|
+
# key: "String",
|
4499
|
+
# value: "String",
|
4500
|
+
# },
|
4501
|
+
# ],
|
4502
|
+
# },
|
4503
|
+
# ],
|
4490
4504
|
# })
|
4491
4505
|
#
|
4492
4506
|
# @example Response structure
|
@@ -28626,18 +28640,26 @@ module Aws::EC2
|
|
28626
28640
|
# You can't register an image where a secondary (non-root) snapshot has
|
28627
28641
|
# AWS Marketplace product codes.
|
28628
28642
|
#
|
28629
|
-
#
|
28630
|
-
# SUSE Linux Enterprise Server (SLES), use the EC2 billing
|
28631
|
-
# associated with an AMI to verify the subscription status
|
28632
|
-
# updates.
|
28633
|
-
# billing code,
|
28634
|
-
#
|
28635
|
-
#
|
28636
|
-
#
|
28637
|
-
#
|
28643
|
+
# Windows and some Linux distributions, such as Red Hat Enterprise Linux
|
28644
|
+
# (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing
|
28645
|
+
# product code associated with an AMI to verify the subscription status
|
28646
|
+
# for package updates. To create a new AMI for operating systems that
|
28647
|
+
# require a billing product code, do the following:
|
28648
|
+
#
|
28649
|
+
# 1. Launch an instance from an existing AMI with that billing product
|
28650
|
+
# code.
|
28651
|
+
#
|
28652
|
+
# 2. Customize the instance.
|
28653
|
+
#
|
28654
|
+
# 3. Create a new AMI from the instance using CreateImage to preserve
|
28655
|
+
# the billing product code association.
|
28638
28656
|
#
|
28639
|
-
#
|
28640
|
-
#
|
28657
|
+
# If you purchase a Reserved Instance to apply to an On-Demand Instance
|
28658
|
+
# that was launched from an AMI with a billing product code, make sure
|
28659
|
+
# that the Reserved Instance has the matching billing product code. If
|
28660
|
+
# you purchase a Reserved Instance without the matching billing product
|
28661
|
+
# code, the Reserved Instance will not be applied to the On-Demand
|
28662
|
+
# Instance.
|
28641
28663
|
#
|
28642
28664
|
# If needed, you can deregister an AMI at any time. Any modifications
|
28643
28665
|
# you make to an AMI backed by an instance store volume invalidates its
|
@@ -32692,7 +32714,7 @@ module Aws::EC2
|
|
32692
32714
|
params: params,
|
32693
32715
|
config: config)
|
32694
32716
|
context[:gem_name] = 'aws-sdk-ec2'
|
32695
|
-
context[:gem_version] = '1.
|
32717
|
+
context[:gem_version] = '1.114.0'
|
32696
32718
|
Seahorse::Client::Request.new(handlers, context)
|
32697
32719
|
end
|
32698
32720
|
|
@@ -2469,6 +2469,7 @@ module Aws::EC2
|
|
2469
2469
|
CreateFpgaImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
2470
2470
|
CreateFpgaImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
2471
2471
|
CreateFpgaImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
2472
|
+
CreateFpgaImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2472
2473
|
CreateFpgaImageRequest.struct_class = Types::CreateFpgaImageRequest
|
2473
2474
|
|
2474
2475
|
CreateFpgaImageResult.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, location_name: "fpgaImageId"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -5127,6 +5127,17 @@ module Aws::EC2
|
|
5127
5127
|
# description: "String",
|
5128
5128
|
# name: "String",
|
5129
5129
|
# client_token: "String",
|
5130
|
+
# tag_specifications: [
|
5131
|
+
# {
|
5132
|
+
# 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
|
5133
|
+
# tags: [
|
5134
|
+
# {
|
5135
|
+
# key: "String",
|
5136
|
+
# value: "String",
|
5137
|
+
# },
|
5138
|
+
# ],
|
5139
|
+
# },
|
5140
|
+
# ],
|
5130
5141
|
# }
|
5131
5142
|
#
|
5132
5143
|
# @!attribute [rw] dry_run
|
@@ -5163,6 +5174,10 @@ module Aws::EC2
|
|
5163
5174
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
5164
5175
|
# @return [String]
|
5165
5176
|
#
|
5177
|
+
# @!attribute [rw] tag_specifications
|
5178
|
+
# The tags to apply to the FPGA image during creation.
|
5179
|
+
# @return [Array<Types::TagSpecification>]
|
5180
|
+
#
|
5166
5181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImageRequest AWS API Documentation
|
5167
5182
|
#
|
5168
5183
|
class CreateFpgaImageRequest < Struct.new(
|
@@ -5171,7 +5186,8 @@ module Aws::EC2
|
|
5171
5186
|
:logs_storage_location,
|
5172
5187
|
:description,
|
5173
5188
|
:name,
|
5174
|
-
:client_token
|
5189
|
+
:client_token,
|
5190
|
+
:tag_specifications)
|
5175
5191
|
include Aws::Structure
|
5176
5192
|
end
|
5177
5193
|
|
@@ -38814,12 +38830,18 @@ module Aws::EC2
|
|
38814
38830
|
# @!attribute [rw] resource_type
|
38815
38831
|
# The type of resource to tag. Currently, the resource types that
|
38816
38832
|
# support tagging on creation are: `capacity-reservation` \|
|
38817
|
-
# `client-vpn-endpoint` \| `dedicated-host` \| `fleet` \| `
|
38818
|
-
# \| `
|
38833
|
+
# `client-vpn-endpoint` \| `dedicated-host` \| `fleet` \| `fpga-image`
|
38834
|
+
# \| `instance` \| `launch-template` \| `snapshot` \|
|
38835
|
+
# `traffic-mirror-filter` \| `traffic-mirror-session` \|
|
38836
|
+
# `traffic-mirror-target` \| `transit-gateway` \|
|
38819
38837
|
# `transit-gateway-attachment` \| `transit-gateway-route-table` \|
|
38820
38838
|
# `volume`.
|
38821
38839
|
#
|
38822
|
-
# To tag a resource after it has been created, see CreateTags.
|
38840
|
+
# To tag a resource after it has been created, see [CreateTags][1].
|
38841
|
+
#
|
38842
|
+
#
|
38843
|
+
#
|
38844
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
38823
38845
|
# @return [String]
|
38824
38846
|
#
|
38825
38847
|
# @!attribute [rw] tags
|
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.
|
4
|
+
version: 1.114.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-10-
|
11
|
+
date: 2019-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|