aws-sdk-ec2 1.139.0 → 1.140.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +7 -4
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/image.rb +27 -0
- data/lib/aws-sdk-ec2/types.rb +25 -0
- 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: 0e32afaaafd160e212dfd8de543cf91346d527a6
|
4
|
+
data.tar.gz: 2dadc0e4462312a7f646440e018f2868b4e7197a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ae15e531ac4d2ffa52067361686362aa7edf4b8618d81417b4cad98805501dee0e9f4e70cffd26c8957ac4cf30183b65ebe3e55ef5405e83a00da6183ec349b
|
7
|
+
data.tar.gz: 4ae7bca69474b402b6d0efae852f5393b39a315627fcd33464e05cb4c834e495e1ab6c84f95df795c7a9d04af968083f2c0b8094c917cbfbd5b159634a42ab2b
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -14990,6 +14990,8 @@ module Aws::EC2
|
|
14990
14990
|
# resp.images[0].kernel_id #=> String
|
14991
14991
|
# resp.images[0].owner_id #=> String
|
14992
14992
|
# resp.images[0].platform #=> String, one of "Windows"
|
14993
|
+
# resp.images[0].platform_details #=> String
|
14994
|
+
# resp.images[0].usage_operation #=> String
|
14993
14995
|
# resp.images[0].product_codes #=> Array
|
14994
14996
|
# resp.images[0].product_codes[0].product_code_id #=> String
|
14995
14997
|
# resp.images[0].product_codes[0].product_code_type #=> String, one of "devpay", "marketplace"
|
@@ -31430,15 +31432,16 @@ module Aws::EC2
|
|
31430
31432
|
# (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing
|
31431
31433
|
# product code associated with an AMI to verify the subscription status
|
31432
31434
|
# for package updates. To create a new AMI for operating systems that
|
31433
|
-
# require a billing product code,
|
31435
|
+
# require a billing product code, instead of instead of registering the
|
31436
|
+
# AMI, do the following to preserve the billing product code
|
31437
|
+
# association:
|
31434
31438
|
#
|
31435
31439
|
# 1. Launch an instance from an existing AMI with that billing product
|
31436
31440
|
# code.
|
31437
31441
|
#
|
31438
31442
|
# 2. Customize the instance.
|
31439
31443
|
#
|
31440
|
-
# 3. Create
|
31441
|
-
# the billing product code association.
|
31444
|
+
# 3. Create an AMI from the instance using CreateImage.
|
31442
31445
|
#
|
31443
31446
|
# If you purchase a Reserved Instance to apply to an On-Demand Instance
|
31444
31447
|
# that was launched from an AMI with a billing product code, make sure
|
@@ -35923,7 +35926,7 @@ module Aws::EC2
|
|
35923
35926
|
params: params,
|
35924
35927
|
config: config)
|
35925
35928
|
context[:gem_name] = 'aws-sdk-ec2'
|
35926
|
-
context[:gem_version] = '1.
|
35929
|
+
context[:gem_version] = '1.140.0'
|
35927
35930
|
Seahorse::Client::Request.new(handlers, context)
|
35928
35931
|
end
|
35929
35932
|
|
@@ -5824,6 +5824,8 @@ module Aws::EC2
|
|
5824
5824
|
Image.add_member(:kernel_id, Shapes::ShapeRef.new(shape: String, location_name: "kernelId"))
|
5825
5825
|
Image.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "imageOwnerId"))
|
5826
5826
|
Image.add_member(:platform, Shapes::ShapeRef.new(shape: PlatformValues, location_name: "platform"))
|
5827
|
+
Image.add_member(:platform_details, Shapes::ShapeRef.new(shape: String, location_name: "platformDetails"))
|
5828
|
+
Image.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "usageOperation"))
|
5827
5829
|
Image.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeList, location_name: "productCodes"))
|
5828
5830
|
Image.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: String, location_name: "ramdiskId"))
|
5829
5831
|
Image.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "imageState"))
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -84,6 +84,33 @@ module Aws::EC2
|
|
84
84
|
data[:platform]
|
85
85
|
end
|
86
86
|
|
87
|
+
# The platform details associated with the billing code of the AMI. For
|
88
|
+
# more information, see [AMI Billing Information][1] in the *Amazon
|
89
|
+
# Elastic Compute Cloud User Guide*.
|
90
|
+
#
|
91
|
+
#
|
92
|
+
#
|
93
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info.html
|
94
|
+
# @return [String]
|
95
|
+
def platform_details
|
96
|
+
data[:platform_details]
|
97
|
+
end
|
98
|
+
|
99
|
+
# The operation of the Amazon EC2 instance and the billing code
|
100
|
+
# associated with the AMI. `usageOperation` corresponds to the
|
101
|
+
# [lineitem/Operation][1] column on your AWS Cost and Usage Report. For
|
102
|
+
# more information, see [AMI Billing Information][2] in the *Amazon
|
103
|
+
# Elastic Compute Cloud User Guide*.
|
104
|
+
#
|
105
|
+
#
|
106
|
+
#
|
107
|
+
# [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
|
108
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info.html
|
109
|
+
# @return [String]
|
110
|
+
def usage_operation
|
111
|
+
data[:usage_operation]
|
112
|
+
end
|
113
|
+
|
87
114
|
# Any product codes associated with the AMI.
|
88
115
|
# @return [Array<Types::ProductCode>]
|
89
116
|
def product_codes
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -26083,6 +26083,29 @@ module Aws::EC2
|
|
26083
26083
|
# blank.
|
26084
26084
|
# @return [String]
|
26085
26085
|
#
|
26086
|
+
# @!attribute [rw] platform_details
|
26087
|
+
# The platform details associated with the billing code of the AMI.
|
26088
|
+
# For more information, see [AMI Billing Information][1] in the
|
26089
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
26090
|
+
#
|
26091
|
+
#
|
26092
|
+
#
|
26093
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info.html
|
26094
|
+
# @return [String]
|
26095
|
+
#
|
26096
|
+
# @!attribute [rw] usage_operation
|
26097
|
+
# The operation of the Amazon EC2 instance and the billing code
|
26098
|
+
# associated with the AMI. `usageOperation` corresponds to the
|
26099
|
+
# [lineitem/Operation][1] column on your AWS Cost and Usage Report.
|
26100
|
+
# For more information, see [AMI Billing Information][2] in the
|
26101
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
26102
|
+
#
|
26103
|
+
#
|
26104
|
+
#
|
26105
|
+
# [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
|
26106
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info.html
|
26107
|
+
# @return [String]
|
26108
|
+
#
|
26086
26109
|
# @!attribute [rw] product_codes
|
26087
26110
|
# Any product codes associated with the AMI.
|
26088
26111
|
# @return [Array<Types::ProductCode>]
|
@@ -26161,6 +26184,8 @@ module Aws::EC2
|
|
26161
26184
|
:kernel_id,
|
26162
26185
|
:owner_id,
|
26163
26186
|
:platform,
|
26187
|
+
:platform_details,
|
26188
|
+
:usage_operation,
|
26164
26189
|
:product_codes,
|
26165
26190
|
:ramdisk_id,
|
26166
26191
|
:state,
|
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.140.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-02-
|
11
|
+
date: 2020-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|