aws-sdk-ec2 1.255.0 → 1.256.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
  SHA256:
3
- metadata.gz: 5b992423b0b82c86a55e765379f5d255170b0e1416d3dc99e7139ab038f921d4
4
- data.tar.gz: ce8cbedbe5d4bfe3786f09eea60b8f84e624d7ac26ff2f1f006c36b55f57521b
3
+ metadata.gz: 91c08c2d64f0dab974dd33bd2ca05aa8860ed18bc90bb347d0f914170cc2c3b9
4
+ data.tar.gz: 929ca266433078f42b56005b95c7a1aefae1a1b115d42f00bbeea4c685717bec
5
5
  SHA512:
6
- metadata.gz: 894abc7e045b4b6915e7dce3c0d7f1794e0e7ca8ef4918d8386bd92274155b323fb51bc746481e9385a652bebf1991abe438db381f0c2be480b1cbd03ccfc372
7
- data.tar.gz: 7da76aab16b5b4846ec6b43da30cc0ab82d761417e2f26f826b23cb620f0d31f01971e6f4e584b148503219f02db8751c194368f04974d716d5ef6fddc9a0d60
6
+ metadata.gz: 370eb759b30c39b30e63387e0ae305cee53eb75926567d7e67d7c7321d4f747ae2237518ed350bf44459b35064dac2066cb6ad14503e8e705fe3e9cefd32384c
7
+ data.tar.gz: f634e298a9f2e5b71736c353f64b53f81d4903360921e77ede0f40c9bc9acf59a3c277a54fc3b5726594d165932d36100c2ac80ba45a8bf507df6622d5287810
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.256.0 (2021-08-19)
5
+ ------------------
6
+
7
+ * Feature - The ImportImage API now supports the ability to create AMIs with AWS-managed licenses for Microsoft SQL Server for both Windows and Linux.
8
+
4
9
  1.255.0 (2021-08-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.255.0
1
+ 1.256.0
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.255.0'
75
+ GEM_VERSION = '1.256.0'
76
76
 
77
77
  end
@@ -18372,6 +18372,7 @@ module Aws::EC2
18372
18372
  # resp.import_image_tasks[0].tags[0].value #=> String
18373
18373
  # resp.import_image_tasks[0].license_specifications #=> Array
18374
18374
  # resp.import_image_tasks[0].license_specifications[0].license_configuration_arn #=> String
18375
+ # resp.import_image_tasks[0].usage_operation #=> String
18375
18376
  # resp.next_token #=> String
18376
18377
  #
18377
18378
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks AWS API Documentation
@@ -31061,8 +31062,8 @@ module Aws::EC2
31061
31062
  #
31062
31063
  # @option params [required, Types::ExportTaskS3LocationRequest] :s3_export_location
31063
31064
  # Information about the destination Amazon S3 bucket. The bucket must
31064
- # exist and grant WRITE and READ\_ACP permissions to the AWS account
31065
- # vm-import-export@amazon.com.
31065
+ # exist and grant WRITE and READ\_ACP permissions to the Amazon Web
31066
+ # Services account vm-import-export@amazon.com.
31066
31067
  #
31067
31068
  # @option params [String] :role_name
31068
31069
  # The name of the role that grants VM Import/Export permission to export
@@ -32929,10 +32930,10 @@ module Aws::EC2
32929
32930
  #
32930
32931
  # @option params [Boolean] :encrypted
32931
32932
  # Specifies whether the destination AMI of the imported image should be
32932
- # encrypted. The default CMK for EBS is used unless you specify a
32933
- # non-default AWS Key Management Service (AWS KMS) CMK using `KmsKeyId`.
32934
- # For more information, see [Amazon EBS Encryption][1] in the *Amazon
32935
- # Elastic Compute Cloud User Guide*.
32933
+ # encrypted. The default KMS key for EBS is used unless you specify a
32934
+ # non-default KMS key using `KmsKeyId`. For more information, see
32935
+ # [Amazon EBS Encryption][1] in the *Amazon Elastic Compute Cloud User
32936
+ # Guide*.
32936
32937
  #
32937
32938
  #
32938
32939
  #
@@ -32944,40 +32945,43 @@ module Aws::EC2
32944
32945
  # Valid values: `xen`
32945
32946
  #
32946
32947
  # @option params [String] :kms_key_id
32947
- # An identifier for the symmetric AWS Key Management Service (AWS KMS)
32948
- # customer master key (CMK) to use when creating the encrypted AMI. This
32949
- # parameter is only required if you want to use a non-default CMK; if
32950
- # this parameter is not specified, the default CMK for EBS is used. If a
32951
- # `KmsKeyId` is specified, the `Encrypted` flag must also be set.
32948
+ # An identifier for the symmetric KMS key to use when creating the
32949
+ # encrypted AMI. This parameter is only required if you want to use a
32950
+ # non-default KMS key; if this parameter is not specified, the default
32951
+ # KMS key for EBS is used. If a `KmsKeyId` is specified, the `Encrypted`
32952
+ # flag must also be set.
32952
32953
  #
32953
- # The CMK identifier may be provided in any of the following formats:
32954
+ # The KMS key identifier may be provided in any of the following
32955
+ # formats:
32954
32956
  #
32955
32957
  # * Key ID
32956
32958
  #
32957
32959
  # * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
32958
- # followed by the Region of the CMK, the AWS account ID of the CMK
32959
- # owner, the `alias` namespace, and then the CMK alias. For example,
32960
+ # followed by the Region of the key, the Amazon Web Services account
32961
+ # ID of the key owner, the `alias` namespace, and then the key alias.
32962
+ # For example,
32960
32963
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
32961
32964
  #
32962
32965
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
32963
- # followed by the Region of the CMK, the AWS account ID of the CMK
32964
- # owner, the `key` namespace, and then the CMK ID. For example,
32966
+ # followed by the Region of the key, the Amazon Web Services account
32967
+ # ID of the key owner, the `key` namespace, and then the key ID. For
32968
+ # example,
32965
32969
  # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
32966
32970
  #
32967
32971
  # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
32968
- # namespace, followed by the Region of the CMK, the AWS account ID of
32969
- # the CMK owner, the `alias` namespace, and then the CMK alias. For
32970
- # example,
32972
+ # namespace, followed by the Region of the key, the Amazon Web
32973
+ # Services account ID of the key owner, the `alias` namespace, and
32974
+ # then the key alias. For example,
32971
32975
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
32972
32976
  #
32973
- # AWS parses `KmsKeyId` asynchronously, meaning that the action you call
32974
- # may appear to complete even though you provided an invalid identifier.
32975
- # This action will eventually report failure.
32977
+ # Amazon Web Services parses `KmsKeyId` asynchronously, meaning that the
32978
+ # action you call may appear to complete even though you provided an
32979
+ # invalid identifier. This action will eventually report failure.
32976
32980
  #
32977
- # The specified CMK must exist in the Region that the AMI is being
32981
+ # The specified KMS key must exist in the Region that the AMI is being
32978
32982
  # copied to.
32979
32983
  #
32980
- # Amazon EBS does not support asymmetric CMKs.
32984
+ # Amazon EBS does not support asymmetric KMS keys.
32981
32985
  #
32982
32986
  # @option params [String] :license_type
32983
32987
  # The license type to be used for the Amazon Machine Image (AMI) after
@@ -32985,13 +32989,14 @@ module Aws::EC2
32985
32989
  #
32986
32990
  # By default, we detect the source-system operating system (OS) and
32987
32991
  # apply the appropriate license. Specify `AWS` to replace the
32988
- # source-system license with an AWS license, if appropriate. Specify
32989
- # `BYOL` to retain the source-system license, if appropriate.
32992
+ # source-system license with an Amazon Web Services license, if
32993
+ # appropriate. Specify `BYOL` to retain the source-system license, if
32994
+ # appropriate.
32990
32995
  #
32991
32996
  # To use `BYOL`, you must have existing licenses with rights to use
32992
- # these licenses in a third party cloud, such as AWS. For more
32993
- # information, see [Prerequisites][1] in the VM Import/Export User
32994
- # Guide.
32997
+ # these licenses in a third party cloud, such as Amazon Web Services.
32998
+ # For more information, see [Prerequisites][1] in the VM Import/Export
32999
+ # User Guide.
32995
33000
  #
32996
33001
  #
32997
33002
  #
@@ -33012,6 +33017,15 @@ module Aws::EC2
33012
33017
  # @option params [Array<Types::TagSpecification>] :tag_specifications
33013
33018
  # The tags to apply to the import image task during creation.
33014
33019
  #
33020
+ # @option params [String] :usage_operation
33021
+ # The usage operation value. For more information, see [AMI billing
33022
+ # information fields][1] in the *Amazon Elastic Compute Cloud User
33023
+ # Guide*.
33024
+ #
33025
+ #
33026
+ #
33027
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html
33028
+ #
33015
33029
  # @return [Types::ImportImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
33016
33030
  #
33017
33031
  # * {Types::ImportImageResult#architecture #architecture} => String
@@ -33029,6 +33043,7 @@ module Aws::EC2
33029
33043
  # * {Types::ImportImageResult#status_message #status_message} => String
33030
33044
  # * {Types::ImportImageResult#license_specifications #license_specifications} => Array&lt;Types::ImportImageLicenseConfigurationResponse&gt;
33031
33045
  # * {Types::ImportImageResult#tags #tags} => Array&lt;Types::Tag&gt;
33046
+ # * {Types::ImportImageResult#usage_operation #usage_operation} => String
33032
33047
  #
33033
33048
  # @example Request syntax with placeholder values
33034
33049
  #
@@ -33078,6 +33093,7 @@ module Aws::EC2
33078
33093
  # ],
33079
33094
  # },
33080
33095
  # ],
33096
+ # usage_operation: "String",
33081
33097
  # })
33082
33098
  #
33083
33099
  # @example Response structure
@@ -33111,6 +33127,7 @@ module Aws::EC2
33111
33127
  # resp.tags #=> Array
33112
33128
  # resp.tags[0].key #=> String
33113
33129
  # resp.tags[0].value #=> String
33130
+ # resp.usage_operation #=> String
33114
33131
  #
33115
33132
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImage AWS API Documentation
33116
33133
  #
@@ -33127,10 +33144,10 @@ module Aws::EC2
33127
33144
  # This API action supports only single-volume VMs. To import
33128
33145
  # multi-volume VMs, use ImportImage instead.
33129
33146
  #
33130
- # This API action is not supported by the AWS Command Line Interface
33131
- # (AWS CLI). For information about using the Amazon EC2 CLI, which is
33132
- # deprecated, see [Importing a VM to Amazon EC2][1] in the *Amazon EC2
33133
- # CLI Reference* PDF file.
33147
+ # This API action is not supported by the Command Line Interface (CLI).
33148
+ # For information about using the Amazon EC2 CLI, which is deprecated,
33149
+ # see [Importing a VM to Amazon EC2][1] in the *Amazon EC2 CLI
33150
+ # Reference* PDF file.
33134
33151
  #
33135
33152
  # For information about the import manifest referenced by this API
33136
33153
  # action, see [VM Import Manifest][2].
@@ -33354,50 +33371,53 @@ module Aws::EC2
33354
33371
  #
33355
33372
  # @option params [Boolean] :encrypted
33356
33373
  # Specifies whether the destination snapshot of the imported image
33357
- # should be encrypted. The default CMK for EBS is used unless you
33358
- # specify a non-default AWS Key Management Service (AWS KMS) CMK using
33359
- # `KmsKeyId`. For more information, see [Amazon EBS Encryption][1] in
33360
- # the *Amazon Elastic Compute Cloud User Guide*.
33374
+ # should be encrypted. The default KMS key for EBS is used unless you
33375
+ # specify a non-default KMS key using `KmsKeyId`. For more information,
33376
+ # see [Amazon EBS Encryption][1] in the *Amazon Elastic Compute Cloud
33377
+ # User Guide*.
33361
33378
  #
33362
33379
  #
33363
33380
  #
33364
33381
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
33365
33382
  #
33366
33383
  # @option params [String] :kms_key_id
33367
- # An identifier for the symmetric AWS Key Management Service (AWS KMS)
33368
- # customer master key (CMK) to use when creating the encrypted snapshot.
33369
- # This parameter is only required if you want to use a non-default CMK;
33370
- # if this parameter is not specified, the default CMK for EBS is used.
33371
- # If a `KmsKeyId` is specified, the `Encrypted` flag must also be set.
33384
+ # An identifier for the symmetric KMS key to use when creating the
33385
+ # encrypted snapshot. This parameter is only required if you want to use
33386
+ # a non-default KMS key; if this parameter is not specified, the default
33387
+ # KMS key for EBS is used. If a `KmsKeyId` is specified, the `Encrypted`
33388
+ # flag must also be set.
33372
33389
  #
33373
- # The CMK identifier may be provided in any of the following formats:
33390
+ # The KMS key identifier may be provided in any of the following
33391
+ # formats:
33374
33392
  #
33375
33393
  # * Key ID
33376
33394
  #
33377
33395
  # * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
33378
- # followed by the Region of the CMK, the AWS account ID of the CMK
33379
- # owner, the `alias` namespace, and then the CMK alias. For example,
33396
+ # followed by the Region of the key, the Amazon Web Services account
33397
+ # ID of the key owner, the `alias` namespace, and then the key alias.
33398
+ # For example,
33380
33399
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
33381
33400
  #
33382
33401
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
33383
- # followed by the Region of the CMK, the AWS account ID of the CMK
33384
- # owner, the `key` namespace, and then the CMK ID. For example,
33402
+ # followed by the Region of the key, the Amazon Web Services account
33403
+ # ID of the key owner, the `key` namespace, and then the key ID. For
33404
+ # example,
33385
33405
  # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
33386
33406
  #
33387
33407
  # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
33388
- # namespace, followed by the Region of the CMK, the AWS account ID of
33389
- # the CMK owner, the `alias` namespace, and then the CMK alias. For
33390
- # example,
33408
+ # namespace, followed by the Region of the key, the Amazon Web
33409
+ # Services account ID of the key owner, the `alias` namespace, and
33410
+ # then the key alias. For example,
33391
33411
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
33392
33412
  #
33393
- # AWS parses `KmsKeyId` asynchronously, meaning that the action you call
33394
- # may appear to complete even though you provided an invalid identifier.
33395
- # This action will eventually report failure.
33413
+ # Amazon Web Services parses `KmsKeyId` asynchronously, meaning that the
33414
+ # action you call may appear to complete even though you provided an
33415
+ # invalid identifier. This action will eventually report failure.
33396
33416
  #
33397
- # The specified CMK must exist in the Region that the snapshot is being
33398
- # copied to.
33417
+ # The specified KMS key must exist in the Region that the snapshot is
33418
+ # being copied to.
33399
33419
  #
33400
- # Amazon EBS does not support asymmetric CMKs.
33420
+ # Amazon EBS does not support asymmetric KMS keys.
33401
33421
  #
33402
33422
  # @option params [String] :role_name
33403
33423
  # The name of the role to use when not using the default role,
@@ -33486,10 +33506,10 @@ module Aws::EC2
33486
33506
  # multi-volume VMs, use ImportImage instead. To import a disk to a
33487
33507
  # snapshot, use ImportSnapshot instead.
33488
33508
  #
33489
- # This API action is not supported by the AWS Command Line Interface
33490
- # (AWS CLI). For information about using the Amazon EC2 CLI, which is
33491
- # deprecated, see [Importing Disks to Amazon EBS][1] in the *Amazon EC2
33492
- # CLI Reference* PDF file.
33509
+ # This API action is not supported by the Command Line Interface (CLI).
33510
+ # For information about using the Amazon EC2 CLI, which is deprecated,
33511
+ # see [Importing Disks to Amazon EBS][1] in the *Amazon EC2 CLI
33512
+ # Reference* PDF file.
33493
33513
  #
33494
33514
  # For information about the import manifest referenced by this API
33495
33515
  # action, see [VM Import Manifest][2].
@@ -43562,7 +43582,7 @@ module Aws::EC2
43562
43582
  params: params,
43563
43583
  config: config)
43564
43584
  context[:gem_name] = 'aws-sdk-ec2'
43565
- context[:gem_version] = '1.255.0'
43585
+ context[:gem_version] = '1.256.0'
43566
43586
  Seahorse::Client::Request.new(handlers, context)
43567
43587
  end
43568
43588
 
@@ -7161,6 +7161,7 @@ module Aws::EC2
7161
7161
  ImportImageRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: String, location_name: "RoleName"))
7162
7162
  ImportImageRequest.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListRequest, location_name: "LicenseSpecifications"))
7163
7163
  ImportImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
7164
+ ImportImageRequest.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "UsageOperation"))
7164
7165
  ImportImageRequest.struct_class = Types::ImportImageRequest
7165
7166
 
7166
7167
  ImportImageResult.add_member(:architecture, Shapes::ShapeRef.new(shape: String, location_name: "architecture"))
@@ -7178,6 +7179,7 @@ module Aws::EC2
7178
7179
  ImportImageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
7179
7180
  ImportImageResult.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListResponse, location_name: "licenseSpecifications"))
7180
7181
  ImportImageResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
7182
+ ImportImageResult.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "usageOperation"))
7181
7183
  ImportImageResult.struct_class = Types::ImportImageResult
7182
7184
 
7183
7185
  ImportImageTask.add_member(:architecture, Shapes::ShapeRef.new(shape: String, location_name: "architecture"))
@@ -7195,6 +7197,7 @@ module Aws::EC2
7195
7197
  ImportImageTask.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
7196
7198
  ImportImageTask.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
7197
7199
  ImportImageTask.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListResponse, location_name: "licenseSpecifications"))
7200
+ ImportImageTask.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "usageOperation"))
7198
7201
  ImportImageTask.struct_class = Types::ImportImageTask
7199
7202
 
7200
7203
  ImportImageTaskList.member = Shapes::ShapeRef.new(shape: ImportImageTask, location_name: "item")
@@ -29358,8 +29358,8 @@ module Aws::EC2
29358
29358
  #
29359
29359
  # @!attribute [rw] s3_export_location
29360
29360
  # Information about the destination Amazon S3 bucket. The bucket must
29361
- # exist and grant WRITE and READ\_ACP permissions to the AWS account
29362
- # vm-import-export@amazon.com.
29361
+ # exist and grant WRITE and READ\_ACP permissions to the Amazon Web
29362
+ # Services account vm-import-export@amazon.com.
29363
29363
  # @return [Types::ExportTaskS3LocationRequest]
29364
29364
  #
29365
29365
  # @!attribute [rw] role_name
@@ -29600,7 +29600,7 @@ module Aws::EC2
29600
29600
  # @!attribute [rw] s3_bucket
29601
29601
  # The Amazon S3 bucket for the destination image. The destination
29602
29602
  # bucket must exist and grant WRITE and READ\_ACP permissions to the
29603
- # AWS account `vm-import-export@amazon.com`.
29603
+ # Amazon Web Services account `vm-import-export@amazon.com`.
29604
29604
  # @return [String]
29605
29605
  #
29606
29606
  # @!attribute [rw] s3_key
@@ -29642,7 +29642,7 @@ module Aws::EC2
29642
29642
  # @!attribute [rw] s3_bucket
29643
29643
  # The Amazon S3 bucket for the destination image. The destination
29644
29644
  # bucket must exist and grant WRITE and READ\_ACP permissions to the
29645
- # AWS account `vm-import-export@amazon.com`.
29645
+ # Amazon Web Services account `vm-import-export@amazon.com`.
29646
29646
  # @return [String]
29647
29647
  #
29648
29648
  # @!attribute [rw] s3_prefix
@@ -33409,6 +33409,7 @@ module Aws::EC2
33409
33409
  # ],
33410
33410
  # },
33411
33411
  # ],
33412
+ # usage_operation: "String",
33412
33413
  # }
33413
33414
  #
33414
33415
  # @!attribute [rw] architecture
@@ -33442,10 +33443,10 @@ module Aws::EC2
33442
33443
  #
33443
33444
  # @!attribute [rw] encrypted
33444
33445
  # Specifies whether the destination AMI of the imported image should
33445
- # be encrypted. The default CMK for EBS is used unless you specify a
33446
- # non-default AWS Key Management Service (AWS KMS) CMK using
33447
- # `KmsKeyId`. For more information, see [Amazon EBS Encryption][1] in
33448
- # the *Amazon Elastic Compute Cloud User Guide*.
33446
+ # be encrypted. The default KMS key for EBS is used unless you specify
33447
+ # a non-default KMS key using `KmsKeyId`. For more information, see
33448
+ # [Amazon EBS Encryption][1] in the *Amazon Elastic Compute Cloud User
33449
+ # Guide*.
33449
33450
  #
33450
33451
  #
33451
33452
  #
@@ -33459,41 +33460,43 @@ module Aws::EC2
33459
33460
  # @return [String]
33460
33461
  #
33461
33462
  # @!attribute [rw] kms_key_id
33462
- # An identifier for the symmetric AWS Key Management Service (AWS KMS)
33463
- # customer master key (CMK) to use when creating the encrypted AMI.
33464
- # This parameter is only required if you want to use a non-default
33465
- # CMK; if this parameter is not specified, the default CMK for EBS is
33466
- # used. If a `KmsKeyId` is specified, the `Encrypted` flag must also
33467
- # be set.
33463
+ # An identifier for the symmetric KMS key to use when creating the
33464
+ # encrypted AMI. This parameter is only required if you want to use a
33465
+ # non-default KMS key; if this parameter is not specified, the default
33466
+ # KMS key for EBS is used. If a `KmsKeyId` is specified, the
33467
+ # `Encrypted` flag must also be set.
33468
33468
  #
33469
- # The CMK identifier may be provided in any of the following formats:
33469
+ # The KMS key identifier may be provided in any of the following
33470
+ # formats:
33470
33471
  #
33471
33472
  # * Key ID
33472
33473
  #
33473
33474
  # * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
33474
- # followed by the Region of the CMK, the AWS account ID of the CMK
33475
- # owner, the `alias` namespace, and then the CMK alias. For example,
33475
+ # followed by the Region of the key, the Amazon Web Services account
33476
+ # ID of the key owner, the `alias` namespace, and then the key
33477
+ # alias. For example,
33476
33478
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
33477
33479
  #
33478
33480
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
33479
- # followed by the Region of the CMK, the AWS account ID of the CMK
33480
- # owner, the `key` namespace, and then the CMK ID. For example,
33481
+ # followed by the Region of the key, the Amazon Web Services account
33482
+ # ID of the key owner, the `key` namespace, and then the key ID. For
33483
+ # example,
33481
33484
  # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
33482
33485
  #
33483
33486
  # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
33484
- # namespace, followed by the Region of the CMK, the AWS account ID
33485
- # of the CMK owner, the `alias` namespace, and then the CMK alias.
33486
- # For example,
33487
+ # namespace, followed by the Region of the key, the Amazon Web
33488
+ # Services account ID of the key owner, the `alias` namespace, and
33489
+ # then the key alias. For example,
33487
33490
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
33488
33491
  #
33489
- # AWS parses `KmsKeyId` asynchronously, meaning that the action you
33490
- # call may appear to complete even though you provided an invalid
33491
- # identifier. This action will eventually report failure.
33492
+ # Amazon Web Services parses `KmsKeyId` asynchronously, meaning that
33493
+ # the action you call may appear to complete even though you provided
33494
+ # an invalid identifier. This action will eventually report failure.
33492
33495
  #
33493
- # The specified CMK must exist in the Region that the AMI is being
33496
+ # The specified KMS key must exist in the Region that the AMI is being
33494
33497
  # copied to.
33495
33498
  #
33496
- # Amazon EBS does not support asymmetric CMKs.
33499
+ # Amazon EBS does not support asymmetric KMS keys.
33497
33500
  # @return [String]
33498
33501
  #
33499
33502
  # @!attribute [rw] license_type
@@ -33502,13 +33505,14 @@ module Aws::EC2
33502
33505
  #
33503
33506
  # By default, we detect the source-system operating system (OS) and
33504
33507
  # apply the appropriate license. Specify `AWS` to replace the
33505
- # source-system license with an AWS license, if appropriate. Specify
33506
- # `BYOL` to retain the source-system license, if appropriate.
33508
+ # source-system license with an Amazon Web Services license, if
33509
+ # appropriate. Specify `BYOL` to retain the source-system license, if
33510
+ # appropriate.
33507
33511
  #
33508
33512
  # To use `BYOL`, you must have existing licenses with rights to use
33509
- # these licenses in a third party cloud, such as AWS. For more
33510
- # information, see [Prerequisites][1] in the VM Import/Export User
33511
- # Guide.
33513
+ # these licenses in a third party cloud, such as Amazon Web Services.
33514
+ # For more information, see [Prerequisites][1] in the VM Import/Export
33515
+ # User Guide.
33512
33516
  #
33513
33517
  #
33514
33518
  #
@@ -33534,6 +33538,16 @@ module Aws::EC2
33534
33538
  # The tags to apply to the import image task during creation.
33535
33539
  # @return [Array<Types::TagSpecification>]
33536
33540
  #
33541
+ # @!attribute [rw] usage_operation
33542
+ # The usage operation value. For more information, see [AMI billing
33543
+ # information fields][1] in the *Amazon Elastic Compute Cloud User
33544
+ # Guide*.
33545
+ #
33546
+ #
33547
+ #
33548
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html
33549
+ # @return [String]
33550
+ #
33537
33551
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageRequest AWS API Documentation
33538
33552
  #
33539
33553
  class ImportImageRequest < Struct.new(
@@ -33550,7 +33564,8 @@ module Aws::EC2
33550
33564
  :platform,
33551
33565
  :role_name,
33552
33566
  :license_specifications,
33553
- :tag_specifications)
33567
+ :tag_specifications,
33568
+ :usage_operation)
33554
33569
  SENSITIVE = []
33555
33570
  include Aws::Structure
33556
33571
  end
@@ -33580,9 +33595,8 @@ module Aws::EC2
33580
33595
  # @return [String]
33581
33596
  #
33582
33597
  # @!attribute [rw] kms_key_id
33583
- # The identifier for the symmetric AWS Key Management Service (AWS
33584
- # KMS) customer master key (CMK) that was used to create the encrypted
33585
- # AMI.
33598
+ # The identifier for the symmetric KMS key that was used to create the
33599
+ # encrypted AMI.
33586
33600
  # @return [String]
33587
33601
  #
33588
33602
  # @!attribute [rw] license_type
@@ -33617,6 +33631,10 @@ module Aws::EC2
33617
33631
  # Any tags assigned to the import image task.
33618
33632
  # @return [Array<Types::Tag>]
33619
33633
  #
33634
+ # @!attribute [rw] usage_operation
33635
+ # The usage operation value.
33636
+ # @return [String]
33637
+ #
33620
33638
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageResult AWS API Documentation
33621
33639
  #
33622
33640
  class ImportImageResult < Struct.new(
@@ -33634,7 +33652,8 @@ module Aws::EC2
33634
33652
  :status,
33635
33653
  :status_message,
33636
33654
  :license_specifications,
33637
- :tags)
33655
+ :tags,
33656
+ :usage_operation)
33638
33657
  SENSITIVE = []
33639
33658
  include Aws::Structure
33640
33659
  end
@@ -33671,8 +33690,8 @@ module Aws::EC2
33671
33690
  # @return [String]
33672
33691
  #
33673
33692
  # @!attribute [rw] kms_key_id
33674
- # The identifier for the AWS Key Management Service (AWS KMS) customer
33675
- # master key (CMK) that was used to create the encrypted image.
33693
+ # The identifier for the KMS key that was used to create the encrypted
33694
+ # image.
33676
33695
  # @return [String]
33677
33696
  #
33678
33697
  # @!attribute [rw] license_type
@@ -33708,6 +33727,10 @@ module Aws::EC2
33708
33727
  # import image task.
33709
33728
  # @return [Array<Types::ImportImageLicenseConfigurationResponse>]
33710
33729
  #
33730
+ # @!attribute [rw] usage_operation
33731
+ # The usage operation value.
33732
+ # @return [String]
33733
+ #
33711
33734
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageTask AWS API Documentation
33712
33735
  #
33713
33736
  class ImportImageTask < Struct.new(
@@ -33725,7 +33748,8 @@ module Aws::EC2
33725
33748
  :status,
33726
33749
  :status_message,
33727
33750
  :tags,
33728
- :license_specifications)
33751
+ :license_specifications,
33752
+ :usage_operation)
33729
33753
  SENSITIVE = []
33730
33754
  include Aws::Structure
33731
33755
  end
@@ -34139,10 +34163,10 @@ module Aws::EC2
34139
34163
  #
34140
34164
  # @!attribute [rw] encrypted
34141
34165
  # Specifies whether the destination snapshot of the imported image
34142
- # should be encrypted. The default CMK for EBS is used unless you
34143
- # specify a non-default AWS Key Management Service (AWS KMS) CMK using
34144
- # `KmsKeyId`. For more information, see [Amazon EBS Encryption][1] in
34145
- # the *Amazon Elastic Compute Cloud User Guide*.
34166
+ # should be encrypted. The default KMS key for EBS is used unless you
34167
+ # specify a non-default KMS key using `KmsKeyId`. For more
34168
+ # information, see [Amazon EBS Encryption][1] in the *Amazon Elastic
34169
+ # Compute Cloud User Guide*.
34146
34170
  #
34147
34171
  #
34148
34172
  #
@@ -34150,41 +34174,43 @@ module Aws::EC2
34150
34174
  # @return [Boolean]
34151
34175
  #
34152
34176
  # @!attribute [rw] kms_key_id
34153
- # An identifier for the symmetric AWS Key Management Service (AWS KMS)
34154
- # customer master key (CMK) to use when creating the encrypted
34155
- # snapshot. This parameter is only required if you want to use a
34156
- # non-default CMK; if this parameter is not specified, the default CMK
34157
- # for EBS is used. If a `KmsKeyId` is specified, the `Encrypted` flag
34158
- # must also be set.
34177
+ # An identifier for the symmetric KMS key to use when creating the
34178
+ # encrypted snapshot. This parameter is only required if you want to
34179
+ # use a non-default KMS key; if this parameter is not specified, the
34180
+ # default KMS key for EBS is used. If a `KmsKeyId` is specified, the
34181
+ # `Encrypted` flag must also be set.
34159
34182
  #
34160
- # The CMK identifier may be provided in any of the following formats:
34183
+ # The KMS key identifier may be provided in any of the following
34184
+ # formats:
34161
34185
  #
34162
34186
  # * Key ID
34163
34187
  #
34164
34188
  # * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
34165
- # followed by the Region of the CMK, the AWS account ID of the CMK
34166
- # owner, the `alias` namespace, and then the CMK alias. For example,
34189
+ # followed by the Region of the key, the Amazon Web Services account
34190
+ # ID of the key owner, the `alias` namespace, and then the key
34191
+ # alias. For example,
34167
34192
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
34168
34193
  #
34169
34194
  # * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
34170
- # followed by the Region of the CMK, the AWS account ID of the CMK
34171
- # owner, the `key` namespace, and then the CMK ID. For example,
34195
+ # followed by the Region of the key, the Amazon Web Services account
34196
+ # ID of the key owner, the `key` namespace, and then the key ID. For
34197
+ # example,
34172
34198
  # arn:aws:kms:*us-east-1*\:*012345678910*\:key/*abcd1234-a123-456a-a12b-a123b4cd56ef*.
34173
34199
  #
34174
34200
  # * ARN using key alias. The alias ARN contains the `arn:aws:kms`
34175
- # namespace, followed by the Region of the CMK, the AWS account ID
34176
- # of the CMK owner, the `alias` namespace, and then the CMK alias.
34177
- # For example,
34201
+ # namespace, followed by the Region of the key, the Amazon Web
34202
+ # Services account ID of the key owner, the `alias` namespace, and
34203
+ # then the key alias. For example,
34178
34204
  # arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
34179
34205
  #
34180
- # AWS parses `KmsKeyId` asynchronously, meaning that the action you
34181
- # call may appear to complete even though you provided an invalid
34182
- # identifier. This action will eventually report failure.
34206
+ # Amazon Web Services parses `KmsKeyId` asynchronously, meaning that
34207
+ # the action you call may appear to complete even though you provided
34208
+ # an invalid identifier. This action will eventually report failure.
34183
34209
  #
34184
- # The specified CMK must exist in the Region that the snapshot is
34210
+ # The specified KMS key must exist in the Region that the snapshot is
34185
34211
  # being copied to.
34186
34212
  #
34187
- # Amazon EBS does not support asymmetric CMKs.
34213
+ # Amazon EBS does not support asymmetric KMS keys.
34188
34214
  # @return [String]
34189
34215
  #
34190
34216
  # @!attribute [rw] role_name
@@ -52634,8 +52660,8 @@ module Aws::EC2
52634
52660
  # @return [String]
52635
52661
  #
52636
52662
  # @!attribute [rw] kms_key_id
52637
- # The identifier for the AWS Key Management Service (AWS KMS) customer
52638
- # master key (CMK) that was used to create the encrypted snapshot.
52663
+ # The identifier for the KMS key that was used to create the encrypted
52664
+ # snapshot.
52639
52665
  # @return [String]
52640
52666
  #
52641
52667
  # @!attribute [rw] progress
@@ -57473,9 +57499,10 @@ module Aws::EC2
57473
57499
  # }
57474
57500
  #
57475
57501
  # @!attribute [rw] data
57476
- # The user data. If you are using an AWS SDK or command line tool,
57477
- # Base64-encoding is performed for you, and you can load the text from
57478
- # a file. Otherwise, you must provide Base64-encoded text.
57502
+ # The user data. If you are using an Amazon Web Services SDK or
57503
+ # command line tool, Base64-encoding is performed for you, and you can
57504
+ # load the text from a file. Otherwise, you must provide
57505
+ # Base64-encoded text.
57479
57506
  # @return [String]
57480
57507
  #
57481
57508
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserData AWS API Documentation
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.255.0
4
+ version: 1.256.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: 2021-08-17 00:00:00.000000000 Z
11
+ date: 2021-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4