aws-sdk-ec2 1.198.0 → 1.203.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: f06156e4770a819318fbcae3efd8fea0333346453be525f185f7f53d8a2b4b60
4
- data.tar.gz: 3c143413662867fde0f8c007ee175ad47f6db8578a97aa393b85805100b4e6c9
3
+ metadata.gz: 6036add83ebf9c38c44918cebd5ebbd55c1f343b8636a942424180b75f1b82e1
4
+ data.tar.gz: e55f72546ec179db10ac6518a52cee4de2a758badb03068881d7868e269e88fa
5
5
  SHA512:
6
- metadata.gz: d2c786b06080fd079b59917f5d1cdaa11a456aacf53e97322241f803f56c97909ab85c54688ad1e2d0ad50f330328468c900a03c102cdc414434ded728665144
7
- data.tar.gz: 43230be8736cdc45e24626ab4ff663c88329efbfcb55cf7ff26d2e762072026fd10ada32a6c70a413d4da886c468b4d619b19f39bc06f82edc765be4e90aeeda
6
+ metadata.gz: f3f01b624f73a5455c46b8cbacd6e1e69ac362185a229a6b7fc431f845513addc1dcf6ec1f3406e11b2dee7ff4a24e052fde1bf3a9a5a066b1ae6569f29270b1
7
+ data.tar.gz: 3d1a613a3f06b0d17d92c3724f752daf66397b64bca53765c072e934b17f4b661172fd9be9a8463fa44837c96241bb10d1e65e8fcaaf3ca56704a15a0942b269
@@ -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.198.0'
75
+ GEM_VERSION = '1.203.0'
76
76
 
77
77
  end
@@ -1401,6 +1401,74 @@ module Aws::EC2
1401
1401
  req.send_request(options)
1402
1402
  end
1403
1403
 
1404
+ # Associates an AWS Identity and Access Management (IAM) role with an
1405
+ # AWS Certificate Manager (ACM) certificate. This enables the
1406
+ # certificate to be used by the ACM for Nitro Enclaves application
1407
+ # inside an enclave. For more information, see [AWS Certificate Manager
1408
+ # for Nitro Enclaves][1] in the *Amazon Elastic Compute Cloud User
1409
+ # Guide*.
1410
+ #
1411
+ # When the IAM role is associated with the ACM certificate, places the
1412
+ # certificate, certificate chain, and encrypted private key in an Amazon
1413
+ # S3 bucket that only the associated IAM role can access. The private
1414
+ # key of the certificate is encrypted with an AWS-managed KMS key that
1415
+ # has an attached attestation-based key policy.
1416
+ #
1417
+ # To enable the IAM role to access the Amazon S3 object, you must grant
1418
+ # it permission to call `s3:GetObject` on the Amazon S3 bucket returned
1419
+ # by the command. To enable the IAM role to access the AWS KMS key, you
1420
+ # must grant it permission to call `kms:Decrypt` on AWS KMS key returned
1421
+ # by the command. For more information, see [ Grant the role permission
1422
+ # to access the certificate and encryption key][2] in the *Amazon
1423
+ # Elastic Compute Cloud User Guide*.
1424
+ #
1425
+ #
1426
+ #
1427
+ # [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-refapp.html
1428
+ # [2]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-refapp.html#add-policy
1429
+ #
1430
+ # @option params [String] :certificate_arn
1431
+ # The ARN of the ACM certificate with which to associate the IAM role.
1432
+ #
1433
+ # @option params [String] :role_arn
1434
+ # The ARN of the IAM role to associate with the ACM certificate. You can
1435
+ # associate up to 16 IAM roles with an ACM certificate.
1436
+ #
1437
+ # @option params [Boolean] :dry_run
1438
+ # Checks whether you have the required permissions for the action,
1439
+ # without actually making the request, and provides an error response.
1440
+ # If you have the required permissions, the error response is
1441
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1442
+ #
1443
+ # @return [Types::AssociateEnclaveCertificateIamRoleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1444
+ #
1445
+ # * {Types::AssociateEnclaveCertificateIamRoleResult#certificate_s3_bucket_name #certificate_s3_bucket_name} => String
1446
+ # * {Types::AssociateEnclaveCertificateIamRoleResult#certificate_s3_object_key #certificate_s3_object_key} => String
1447
+ # * {Types::AssociateEnclaveCertificateIamRoleResult#encryption_kms_key_id #encryption_kms_key_id} => String
1448
+ #
1449
+ # @example Request syntax with placeholder values
1450
+ #
1451
+ # resp = client.associate_enclave_certificate_iam_role({
1452
+ # certificate_arn: "ResourceArn",
1453
+ # role_arn: "ResourceArn",
1454
+ # dry_run: false,
1455
+ # })
1456
+ #
1457
+ # @example Response structure
1458
+ #
1459
+ # resp.certificate_s3_bucket_name #=> String
1460
+ # resp.certificate_s3_object_key #=> String
1461
+ # resp.encryption_kms_key_id #=> String
1462
+ #
1463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateEnclaveCertificateIamRole AWS API Documentation
1464
+ #
1465
+ # @overload associate_enclave_certificate_iam_role(params = {})
1466
+ # @param [Hash] params ({})
1467
+ def associate_enclave_certificate_iam_role(params = {}, options = {})
1468
+ req = build_request(:associate_enclave_certificate_iam_role, params)
1469
+ req.send_request(options)
1470
+ end
1471
+
1404
1472
  # Associates an IAM instance profile with a running or stopped instance.
1405
1473
  # You cannot associate more than one IAM instance profile with an
1406
1474
  # instance.
@@ -5625,6 +5693,9 @@ module Aws::EC2
5625
5693
  # http_put_response_hop_limit: 1,
5626
5694
  # http_endpoint: "disabled", # accepts disabled, enabled
5627
5695
  # },
5696
+ # enclave_options: {
5697
+ # enabled: false,
5698
+ # },
5628
5699
  # },
5629
5700
  # tag_specifications: [
5630
5701
  # {
@@ -5906,6 +5977,9 @@ module Aws::EC2
5906
5977
  # http_put_response_hop_limit: 1,
5907
5978
  # http_endpoint: "disabled", # accepts disabled, enabled
5908
5979
  # },
5980
+ # enclave_options: {
5981
+ # enabled: false,
5982
+ # },
5909
5983
  # },
5910
5984
  # })
5911
5985
  #
@@ -6001,6 +6075,7 @@ module Aws::EC2
6001
6075
  # resp.launch_template_version.launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
6002
6076
  # resp.launch_template_version.launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
6003
6077
  # resp.launch_template_version.launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
6078
+ # resp.launch_template_version.launch_template_data.enclave_options.enabled #=> Boolean
6004
6079
  # resp.warning.errors #=> Array
6005
6080
  # resp.warning.errors[0].code #=> String
6006
6081
  # resp.warning.errors[0].message #=> String
@@ -7680,7 +7755,13 @@ module Aws::EC2
7680
7755
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html
7681
7756
  #
7682
7757
  # @option params [required, String] :bucket
7683
- # The Amazon S3 bucket in which to store the Spot Instance data feed.
7758
+ # The name of the Amazon S3 bucket in which to store the Spot Instance
7759
+ # data feed. For more information about bucket names, see [Rules for
7760
+ # bucket naming][1] in the *Amazon S3 Developer Guide*.
7761
+ #
7762
+ #
7763
+ #
7764
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules
7684
7765
  #
7685
7766
  # @option params [Boolean] :dry_run
7686
7767
  # Checks whether you have the required permissions for the action,
@@ -7689,7 +7770,7 @@ module Aws::EC2
7689
7770
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
7690
7771
  #
7691
7772
  # @option params [String] :prefix
7692
- # A prefix for the data feed file names.
7773
+ # The prefix for the data feed file names.
7693
7774
  #
7694
7775
  # @return [Types::CreateSpotDatafeedSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7695
7776
  #
@@ -16443,6 +16524,7 @@ module Aws::EC2
16443
16524
  # * {Types::InstanceAttribute#block_device_mappings #block_device_mappings} => Array<Types::InstanceBlockDeviceMapping>
16444
16525
  # * {Types::InstanceAttribute#disable_api_termination #disable_api_termination} => Types::AttributeBooleanValue
16445
16526
  # * {Types::InstanceAttribute#ena_support #ena_support} => Types::AttributeBooleanValue
16527
+ # * {Types::InstanceAttribute#enclave_options #enclave_options} => Types::EnclaveOptions
16446
16528
  # * {Types::InstanceAttribute#ebs_optimized #ebs_optimized} => Types::AttributeBooleanValue
16447
16529
  # * {Types::InstanceAttribute#instance_id #instance_id} => String
16448
16530
  # * {Types::InstanceAttribute#instance_initiated_shutdown_behavior #instance_initiated_shutdown_behavior} => Types::AttributeValue
@@ -16527,7 +16609,7 @@ module Aws::EC2
16527
16609
  # @example Request syntax with placeholder values
16528
16610
  #
16529
16611
  # resp = client.describe_instance_attribute({
16530
- # attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport
16612
+ # attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
16531
16613
  # dry_run: false,
16532
16614
  # instance_id: "InstanceId", # required
16533
16615
  # })
@@ -16545,6 +16627,7 @@ module Aws::EC2
16545
16627
  # resp.block_device_mappings[0].ebs.volume_id #=> String
16546
16628
  # resp.disable_api_termination.value #=> Boolean
16547
16629
  # resp.ena_support.value #=> Boolean
16630
+ # resp.enclave_options.enabled #=> Boolean
16548
16631
  # resp.ebs_optimized.value #=> Boolean
16549
16632
  # resp.instance_id #=> String
16550
16633
  # resp.instance_initiated_shutdown_behavior #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
@@ -17023,26 +17106,26 @@ module Aws::EC2
17023
17106
  # baseline bandwidth performance for an EBS-optimized instance type,
17024
17107
  # in Mbps.
17025
17108
  #
17026
- # * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
17027
- # baseline throughput performance for an EBS-optimized instance type,
17028
- # in MBps.
17029
- #
17030
17109
  # * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
17031
17110
  # input/output storage operations per second for an EBS-optimized
17032
17111
  # instance type.
17033
17112
  #
17113
+ # * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
17114
+ # baseline throughput performance for an EBS-optimized instance type,
17115
+ # in MBps.
17116
+ #
17034
17117
  # * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
17035
17118
  # maximum bandwidth performance for an EBS-optimized instance type, in
17036
17119
  # Mbps.
17037
17120
  #
17038
- # * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
17039
- # maximum throughput performance for an EBS-optimized instance type,
17040
- # in MBps.
17041
- #
17042
17121
  # * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
17043
17122
  # input/output storage operations per second for an EBS-optimized
17044
17123
  # instance type.
17045
17124
  #
17125
+ # * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
17126
+ # maximum throughput performance for an EBS-optimized instance type,
17127
+ # in MBps.
17128
+ #
17046
17129
  # * `ebs-info.ebs-optimized-support` - Indicates whether the instance
17047
17130
  # type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
17048
17131
  #
@@ -17050,8 +17133,8 @@ module Aws::EC2
17050
17133
  # supported. (`supported` \| `unsupported`)
17051
17134
  #
17052
17135
  # * `ebs-info.nvme-support` - Indicates whether non-volatile memory
17053
- # express (NVMe) is supported or required. (`required` \| `supported`
17054
- # \| `unsupported`)
17136
+ # express (NVMe) is supported for EBS volumes. (`required` \|
17137
+ # `supported` \| `unsupported`)
17055
17138
  #
17056
17139
  # * `free-tier-eligible` - Indicates whether the instance type is
17057
17140
  # eligible to use in the free tier. (`true` \| `false`)
@@ -17059,7 +17142,7 @@ module Aws::EC2
17059
17142
  # * `hibernation-supported` - Indicates whether On-Demand hibernation is
17060
17143
  # supported. (`true` \| `false`)
17061
17144
  #
17062
- # * `hypervisor` - The hypervisor used. (`nitro` \| `xen`)
17145
+ # * `hypervisor` - The hypervisor. (`nitro` \| `xen`)
17063
17146
  #
17064
17147
  # * `instance-storage-info.disk.count` - The number of local disks.
17065
17148
  #
@@ -17069,21 +17152,28 @@ module Aws::EC2
17069
17152
  # * `instance-storage-info.disk.type` - The storage technology for the
17070
17153
  # local instance storage disks. (`hdd` \| `ssd`)
17071
17154
  #
17155
+ # * `instance-storage-info.nvme-support` - Indicates whether
17156
+ # non-volatile memory express (NVMe) is supported for instance store.
17157
+ # (`required` \| `supported`) \| `unsupported`)
17158
+ #
17072
17159
  # * `instance-storage-info.total-size-in-gb` - The total amount of
17073
17160
  # storage available from all local instance storage, in GB.
17074
17161
  #
17075
17162
  # * `instance-storage-supported` - Indicates whether the instance type
17076
17163
  # has local instance storage. (`true` \| `false`)
17077
17164
  #
17165
+ # * `instance-type` - The instance type (for example `c5.2xlarge` or
17166
+ # c5*).
17167
+ #
17078
17168
  # * `memory-info.size-in-mib` - The memory size.
17079
17169
  #
17170
+ # * `network-info.efa-supported` - Indicates whether the instance type
17171
+ # supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
17172
+ #
17080
17173
  # * `network-info.ena-support` - Indicates whether Elastic Network
17081
17174
  # Adapter (ENA) is supported or required. (`required` \| `supported`
17082
17175
  # \| `unsupported`)
17083
17176
  #
17084
- # * `network-info.efa-supported` - Indicates whether the instance type
17085
- # supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
17086
- #
17087
17177
  # * `network-info.ipv4-addresses-per-interface` - The maximum number of
17088
17178
  # private IPv4 addresses per network interface.
17089
17179
  #
@@ -17096,12 +17186,23 @@ module Aws::EC2
17096
17186
  # * `network-info.maximum-network-interfaces` - The maximum number of
17097
17187
  # network interfaces per instance.
17098
17188
  #
17099
- # * `network-info.network-performance` - Describes the network
17100
- # performance.
17189
+ # * `network-info.network-performance` - The network performance (for
17190
+ # example, "25 Gigabit").
17191
+ #
17192
+ # * `processor-info.supported-architecture` - The CPU architecture.
17193
+ # (`arm64` \| `i386` \| `x86_64`)
17101
17194
  #
17102
17195
  # * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
17103
17196
  # in GHz.
17104
17197
  #
17198
+ # * `supported-root-device-type` - The root device type. (`ebs` \|
17199
+ # `instance-store`)
17200
+ #
17201
+ # * `supported-usage-class` - The usage class. (`on-demand` \| `spot`)
17202
+ #
17203
+ # * `supported-virtualization-type` - The virtualization type. (`hvm` \|
17204
+ # `paravirtual`)
17205
+ #
17105
17206
  # * `vcpu-info.default-cores` - The default number of cores for the
17106
17207
  # instance type.
17107
17208
  #
@@ -17111,6 +17212,13 @@ module Aws::EC2
17111
17212
  # * `vcpu-info.default-vcpus` - The default number of vCPUs for the
17112
17213
  # instance type.
17113
17214
  #
17215
+ # * `vcpu-info.valid-cores` - The number of cores that can be configured
17216
+ # for the instance type.
17217
+ #
17218
+ # * `vcpu-info.valid-threads-per-core` - The number of threads per core
17219
+ # that can be configured for the instance type. For example, "1" or
17220
+ # "1,2".
17221
+ #
17114
17222
  # @option params [Integer] :max_results
17115
17223
  # The maximum number of results to return for the request in a single
17116
17224
  # page. The remaining results can be seen by sending another request
@@ -17172,6 +17280,7 @@ module Aws::EC2
17172
17280
  # resp.instance_types[0].instance_storage_info.disks[0].size_in_gb #=> Integer
17173
17281
  # resp.instance_types[0].instance_storage_info.disks[0].count #=> Integer
17174
17282
  # resp.instance_types[0].instance_storage_info.disks[0].type #=> String, one of "hdd", "ssd"
17283
+ # resp.instance_types[0].instance_storage_info.nvme_support #=> String, one of "unsupported", "supported", "required"
17175
17284
  # resp.instance_types[0].ebs_info.ebs_optimized_support #=> String, one of "unsupported", "supported", "default"
17176
17285
  # resp.instance_types[0].ebs_info.encryption_support #=> String, one of "unsupported", "supported"
17177
17286
  # resp.instance_types[0].ebs_info.ebs_optimized_info.baseline_bandwidth_in_mbps #=> Integer
@@ -17747,6 +17856,7 @@ module Aws::EC2
17747
17856
  # resp.reservations[0].instances[0].metadata_options.http_tokens #=> String, one of "optional", "required"
17748
17857
  # resp.reservations[0].instances[0].metadata_options.http_put_response_hop_limit #=> Integer
17749
17858
  # resp.reservations[0].instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
17859
+ # resp.reservations[0].instances[0].enclave_options.enabled #=> Boolean
17750
17860
  # resp.reservations[0].owner_id #=> String
17751
17861
  # resp.reservations[0].requester_id #=> String
17752
17862
  # resp.reservations[0].reservation_id #=> String
@@ -18326,6 +18436,7 @@ module Aws::EC2
18326
18436
  # resp.launch_template_versions[0].launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
18327
18437
  # resp.launch_template_versions[0].launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
18328
18438
  # resp.launch_template_versions[0].launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
18439
+ # resp.launch_template_versions[0].launch_template_data.enclave_options.enabled #=> Boolean
18329
18440
  # resp.next_token #=> String
18330
18441
  #
18331
18442
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions AWS API Documentation
@@ -18747,6 +18858,7 @@ module Aws::EC2
18747
18858
  # resp.local_gateway_virtual_interface_groups[0].local_gateway_virtual_interface_ids #=> Array
18748
18859
  # resp.local_gateway_virtual_interface_groups[0].local_gateway_virtual_interface_ids[0] #=> String
18749
18860
  # resp.local_gateway_virtual_interface_groups[0].local_gateway_id #=> String
18861
+ # resp.local_gateway_virtual_interface_groups[0].owner_id #=> String
18750
18862
  # resp.local_gateway_virtual_interface_groups[0].tags #=> Array
18751
18863
  # resp.local_gateway_virtual_interface_groups[0].tags[0].key #=> String
18752
18864
  # resp.local_gateway_virtual_interface_groups[0].tags[0].value #=> String
@@ -18815,6 +18927,7 @@ module Aws::EC2
18815
18927
  # resp.local_gateway_virtual_interfaces[0].peer_address #=> String
18816
18928
  # resp.local_gateway_virtual_interfaces[0].local_bgp_asn #=> Integer
18817
18929
  # resp.local_gateway_virtual_interfaces[0].peer_bgp_asn #=> Integer
18930
+ # resp.local_gateway_virtual_interfaces[0].owner_id #=> String
18818
18931
  # resp.local_gateway_virtual_interfaces[0].tags #=> Array
18819
18932
  # resp.local_gateway_virtual_interfaces[0].tags[0].key #=> String
18820
18933
  # resp.local_gateway_virtual_interfaces[0].tags[0].value #=> String
@@ -22859,8 +22972,10 @@ module Aws::EC2
22859
22972
  # * `instance-type` - The type of instance (for example, `m3.medium`).
22860
22973
  #
22861
22974
  # * `product-description` - The product description for the Spot price
22862
- # (`Linux/UNIX` \| `SUSE Linux` \| `Windows` \| `Linux/UNIX (Amazon
22863
- # VPC)` \| `SUSE Linux (Amazon VPC)` \| `Windows (Amazon VPC)`).
22975
+ # (`Linux/UNIX` \| `Red Hat Enterprise Linux` \| `SUSE Linux` \|
22976
+ # `Windows` \| `Linux/UNIX (Amazon VPC)` \| `Red Hat Enterprise Linux
22977
+ # (Amazon VPC)` \| `SUSE Linux (Amazon VPC)` \| `Windows (Amazon
22978
+ # VPC)`).
22864
22979
  #
22865
22980
  # * `spot-price` - The Spot price. The value must match exactly (or use
22866
22981
  # wildcards; greater than or less than comparison is not supported).
@@ -26782,6 +26897,52 @@ module Aws::EC2
26782
26897
  req.send_request(options)
26783
26898
  end
26784
26899
 
26900
+ # Disassociates an IAM role from an AWS Certificate Manager (ACM)
26901
+ # certificate. Disassociating an IAM role from an ACM certificate
26902
+ # removes the Amazon S3 object that contains the certificate,
26903
+ # certificate chain, and encrypted private key from the Amazon S3
26904
+ # bucket. It also revokes the IAM role's permission to use the AWS Key
26905
+ # Management Service (KMS) key used to encrypt the private key. This
26906
+ # effectively revokes the role's permission to use the certificate.
26907
+ #
26908
+ # @option params [String] :certificate_arn
26909
+ # The ARN of the ACM certificate from which to disassociate the IAM
26910
+ # role.
26911
+ #
26912
+ # @option params [String] :role_arn
26913
+ # The ARN of the IAM role to disassociate.
26914
+ #
26915
+ # @option params [Boolean] :dry_run
26916
+ # Checks whether you have the required permissions for the action,
26917
+ # without actually making the request, and provides an error response.
26918
+ # If you have the required permissions, the error response is
26919
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
26920
+ #
26921
+ # @return [Types::DisassociateEnclaveCertificateIamRoleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
26922
+ #
26923
+ # * {Types::DisassociateEnclaveCertificateIamRoleResult#return #return} => Boolean
26924
+ #
26925
+ # @example Request syntax with placeholder values
26926
+ #
26927
+ # resp = client.disassociate_enclave_certificate_iam_role({
26928
+ # certificate_arn: "ResourceArn",
26929
+ # role_arn: "ResourceArn",
26930
+ # dry_run: false,
26931
+ # })
26932
+ #
26933
+ # @example Response structure
26934
+ #
26935
+ # resp.return #=> Boolean
26936
+ #
26937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateEnclaveCertificateIamRole AWS API Documentation
26938
+ #
26939
+ # @overload disassociate_enclave_certificate_iam_role(params = {})
26940
+ # @param [Hash] params ({})
26941
+ def disassociate_enclave_certificate_iam_role(params = {}, options = {})
26942
+ req = build_request(:disassociate_enclave_certificate_iam_role, params)
26943
+ req.send_request(options)
26944
+ end
26945
+
26785
26946
  # Disassociates an IAM instance profile from a running or stopped
26786
26947
  # instance.
26787
26948
  #
@@ -27676,6 +27837,51 @@ module Aws::EC2
27676
27837
  req.send_request(options)
27677
27838
  end
27678
27839
 
27840
+ # Returns the IAM roles that are associated with the specified AWS
27841
+ # Certificate Manager (ACM) certificate. It also returns the name of the
27842
+ # Amazon S3 bucket and the Amazon S3 object key where the certificate,
27843
+ # certificate chain, and encrypted private key bundle are stored, and
27844
+ # the ARN of the AWS Key Management Service (KMS) key that's used to
27845
+ # encrypt the private key.
27846
+ #
27847
+ # @option params [String] :certificate_arn
27848
+ # The ARN of the ACM certificate for which to view the associated IAM
27849
+ # roles, encryption keys, and Amazon S3 object information.
27850
+ #
27851
+ # @option params [Boolean] :dry_run
27852
+ # Checks whether you have the required permissions for the action,
27853
+ # without actually making the request, and provides an error response.
27854
+ # If you have the required permissions, the error response is
27855
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
27856
+ #
27857
+ # @return [Types::GetAssociatedEnclaveCertificateIamRolesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
27858
+ #
27859
+ # * {Types::GetAssociatedEnclaveCertificateIamRolesResult#associated_roles #associated_roles} => Array&lt;Types::AssociatedRole&gt;
27860
+ #
27861
+ # @example Request syntax with placeholder values
27862
+ #
27863
+ # resp = client.get_associated_enclave_certificate_iam_roles({
27864
+ # certificate_arn: "ResourceArn",
27865
+ # dry_run: false,
27866
+ # })
27867
+ #
27868
+ # @example Response structure
27869
+ #
27870
+ # resp.associated_roles #=> Array
27871
+ # resp.associated_roles[0].associated_role_arn #=> String
27872
+ # resp.associated_roles[0].certificate_s3_bucket_name #=> String
27873
+ # resp.associated_roles[0].certificate_s3_object_key #=> String
27874
+ # resp.associated_roles[0].encryption_kms_key_id #=> String
27875
+ #
27876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAssociatedEnclaveCertificateIamRoles AWS API Documentation
27877
+ #
27878
+ # @overload get_associated_enclave_certificate_iam_roles(params = {})
27879
+ # @param [Hash] params ({})
27880
+ def get_associated_enclave_certificate_iam_roles(params = {}, options = {})
27881
+ req = build_request(:get_associated_enclave_certificate_iam_roles, params)
27882
+ req.send_request(options)
27883
+ end
27884
+
27679
27885
  # Gets information about the IPv6 CIDR block associations for a
27680
27886
  # specified IPv6 address pool.
27681
27887
  #
@@ -28412,6 +28618,7 @@ module Aws::EC2
28412
28618
  # resp.launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
28413
28619
  # resp.launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
28414
28620
  # resp.launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
28621
+ # resp.launch_template_data.enclave_options.enabled #=> Boolean
28415
28622
  #
28416
28623
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
28417
28624
  #
@@ -30859,7 +31066,7 @@ module Aws::EC2
30859
31066
  # source_dest_check: {
30860
31067
  # value: false,
30861
31068
  # },
30862
- # attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport
31069
+ # attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
30863
31070
  # block_device_mappings: [
30864
31071
  # {
30865
31072
  # device_name: "String",
@@ -34047,7 +34254,7 @@ module Aws::EC2
34047
34254
  # instances. The operation succeeds if the instances are valid and
34048
34255
  # belong to you. Requests to reboot terminated instances are ignored.
34049
34256
  #
34050
- # If an instance does not cleanly shut down within four minutes, Amazon
34257
+ # If an instance does not cleanly shut down within a few minutes, Amazon
34051
34258
  # EC2 performs a hard reboot.
34052
34259
  #
34053
34260
  # For more information about troubleshooting, see [Getting console
@@ -35704,6 +35911,10 @@ module Aws::EC2
35704
35911
  # You can't specify an Availability Zone group or a launch group if you
35705
35912
  # specify a duration.
35706
35913
  #
35914
+ # New accounts or accounts with no previous billing history with AWS are
35915
+ # not eligible for Spot Instances with a defined duration (also known as
35916
+ # Spot blocks).
35917
+ #
35707
35918
  # @option params [String] :client_token
35708
35919
  # Unique, case-sensitive identifier that you provide to ensure the
35709
35920
  # idempotency of the request. For more information, see [How to Ensure
@@ -35754,11 +35965,17 @@ module Aws::EC2
35754
35965
  # current date and time.
35755
35966
  #
35756
35967
  # @option params [Time,DateTime,Date,Integer,String] :valid_until
35757
- # The end date of the request. If this is a one-time request, the
35758
- # request remains active until all instances launch, the request is
35759
- # canceled, or this date is reached. If the request is persistent, it
35760
- # remains active until it is canceled or this date is reached. The
35761
- # default end date is 7 days from the current date.
35968
+ # The end date of the request, in UTC format
35969
+ # (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
35970
+ #
35971
+ # * For a persistent request, the request remains active until the
35972
+ # `ValidUntil` date and time is reached. Otherwise, the request
35973
+ # remains active until you cancel it.
35974
+ #
35975
+ # * For a one-time request, the request remains active until all
35976
+ # instances launch, the request is canceled, or the `ValidUntil` date
35977
+ # and time is reached. By default, the request is valid for 7 days
35978
+ # from the date the request was created.
35762
35979
  #
35763
35980
  # @option params [Array<Types::TagSpecification>] :tag_specifications
35764
35981
  # The key-value pair for tagging the Spot Instance request on creation.
@@ -36192,7 +36409,7 @@ module Aws::EC2
36192
36409
  # @example Request syntax with placeholder values
36193
36410
  #
36194
36411
  # resp = client.reset_instance_attribute({
36195
- # attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport
36412
+ # attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
36196
36413
  # dry_run: false,
36197
36414
  # instance_id: "InstanceId", # required
36198
36415
  # })
@@ -36459,10 +36676,19 @@ module Aws::EC2
36459
36676
  end
36460
36677
 
36461
36678
  # \[VPC only\] Removes the specified egress rules from a security group
36462
- # for EC2-VPC. This action doesn't apply to security groups for use in
36679
+ # for EC2-VPC. This action does not apply to security groups for use in
36463
36680
  # EC2-Classic. To remove a rule, the values that you specify (for
36464
36681
  # example, ports) must match the existing rule's values exactly.
36465
36682
  #
36683
+ # <note markdown="1"> \[Default VPC\] If the values you specify do not match the existing
36684
+ # rule's values, no error is returned, and the output describes the
36685
+ # security group rules that were not revoked.
36686
+ #
36687
+ # AWS recommends that you use DescribeSecurityGroups to verify that the
36688
+ # rule has been removed.
36689
+ #
36690
+ # </note>
36691
+ #
36466
36692
  # Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or
36467
36693
  # source security group. For the TCP and UDP protocols, you must also
36468
36694
  # specify the destination port or range of ports. For the ICMP protocol,
@@ -36507,7 +36733,10 @@ module Aws::EC2
36507
36733
  # Not supported. Use a set of IP permissions to specify a destination
36508
36734
  # security group.
36509
36735
  #
36510
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
36736
+ # @return [Types::RevokeSecurityGroupEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
36737
+ #
36738
+ # * {Types::RevokeSecurityGroupEgressResult#return #return} => Boolean
36739
+ # * {Types::RevokeSecurityGroupEgressResult#unknown_ip_permissions #unknown_ip_permissions} => Array&lt;Types::IpPermission&gt;
36511
36740
  #
36512
36741
  # @example Request syntax with placeholder values
36513
36742
  #
@@ -36558,6 +36787,31 @@ module Aws::EC2
36558
36787
  # source_security_group_owner_id: "String",
36559
36788
  # })
36560
36789
  #
36790
+ # @example Response structure
36791
+ #
36792
+ # resp.return #=> Boolean
36793
+ # resp.unknown_ip_permissions #=> Array
36794
+ # resp.unknown_ip_permissions[0].from_port #=> Integer
36795
+ # resp.unknown_ip_permissions[0].ip_protocol #=> String
36796
+ # resp.unknown_ip_permissions[0].ip_ranges #=> Array
36797
+ # resp.unknown_ip_permissions[0].ip_ranges[0].cidr_ip #=> String
36798
+ # resp.unknown_ip_permissions[0].ip_ranges[0].description #=> String
36799
+ # resp.unknown_ip_permissions[0].ipv_6_ranges #=> Array
36800
+ # resp.unknown_ip_permissions[0].ipv_6_ranges[0].cidr_ipv_6 #=> String
36801
+ # resp.unknown_ip_permissions[0].ipv_6_ranges[0].description #=> String
36802
+ # resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
36803
+ # resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
36804
+ # resp.unknown_ip_permissions[0].prefix_list_ids[0].prefix_list_id #=> String
36805
+ # resp.unknown_ip_permissions[0].to_port #=> Integer
36806
+ # resp.unknown_ip_permissions[0].user_id_group_pairs #=> Array
36807
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].description #=> String
36808
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_id #=> String
36809
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_name #=> String
36810
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].peering_status #=> String
36811
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].user_id #=> String
36812
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_id #=> String
36813
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_peering_connection_id #=> String
36814
+ #
36561
36815
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress AWS API Documentation
36562
36816
  #
36563
36817
  # @overload revoke_security_group_egress(params = {})
@@ -36571,9 +36825,12 @@ module Aws::EC2
36571
36825
  # rule, the values that you specify (for example, ports) must match the
36572
36826
  # existing rule's values exactly.
36573
36827
  #
36574
- # <note markdown="1"> \[EC2-Classic only\] If the values you specify do not match the
36575
- # existing rule's values, no error is returned. Use
36576
- # DescribeSecurityGroups to verify that the rule has been removed.
36828
+ # <note markdown="1"> \[EC2-Classic , default VPC\] If the values you specify do not match
36829
+ # the existing rule's values, no error is returned, and the output
36830
+ # describes the security group rules that were not revoked.
36831
+ #
36832
+ # AWS recommends that you use DescribeSecurityGroups to verify that the
36833
+ # rule has been removed.
36577
36834
  #
36578
36835
  # </note>
36579
36836
  #
@@ -36645,7 +36902,10 @@ module Aws::EC2
36645
36902
  # If you have the required permissions, the error response is
36646
36903
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
36647
36904
  #
36648
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
36905
+ # @return [Types::RevokeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
36906
+ #
36907
+ # * {Types::RevokeSecurityGroupIngressResult#return #return} => Boolean
36908
+ # * {Types::RevokeSecurityGroupIngressResult#unknown_ip_permissions #unknown_ip_permissions} => Array&lt;Types::IpPermission&gt;
36649
36909
  #
36650
36910
  # @example Request syntax with placeholder values
36651
36911
  #
@@ -36697,6 +36957,31 @@ module Aws::EC2
36697
36957
  # dry_run: false,
36698
36958
  # })
36699
36959
  #
36960
+ # @example Response structure
36961
+ #
36962
+ # resp.return #=> Boolean
36963
+ # resp.unknown_ip_permissions #=> Array
36964
+ # resp.unknown_ip_permissions[0].from_port #=> Integer
36965
+ # resp.unknown_ip_permissions[0].ip_protocol #=> String
36966
+ # resp.unknown_ip_permissions[0].ip_ranges #=> Array
36967
+ # resp.unknown_ip_permissions[0].ip_ranges[0].cidr_ip #=> String
36968
+ # resp.unknown_ip_permissions[0].ip_ranges[0].description #=> String
36969
+ # resp.unknown_ip_permissions[0].ipv_6_ranges #=> Array
36970
+ # resp.unknown_ip_permissions[0].ipv_6_ranges[0].cidr_ipv_6 #=> String
36971
+ # resp.unknown_ip_permissions[0].ipv_6_ranges[0].description #=> String
36972
+ # resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
36973
+ # resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
36974
+ # resp.unknown_ip_permissions[0].prefix_list_ids[0].prefix_list_id #=> String
36975
+ # resp.unknown_ip_permissions[0].to_port #=> Integer
36976
+ # resp.unknown_ip_permissions[0].user_id_group_pairs #=> Array
36977
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].description #=> String
36978
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_id #=> String
36979
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_name #=> String
36980
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].peering_status #=> String
36981
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].user_id #=> String
36982
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_id #=> String
36983
+ # resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_peering_connection_id #=> String
36984
+ #
36700
36985
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress AWS API Documentation
36701
36986
  #
36702
36987
  # @overload revoke_security_group_ingress(params = {})
@@ -37079,6 +37364,9 @@ module Aws::EC2
37079
37364
  # information, see [Hibernate your instance][1] in the *Amazon Elastic
37080
37365
  # Compute Cloud User Guide*.
37081
37366
  #
37367
+ # You can't enable hibernation and AWS Nitro Enclaves on the same
37368
+ # instance.
37369
+ #
37082
37370
  #
37083
37371
  #
37084
37372
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
@@ -37094,6 +37382,21 @@ module Aws::EC2
37094
37382
  #
37095
37383
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
37096
37384
  #
37385
+ # @option params [Types::EnclaveOptionsRequest] :enclave_options
37386
+ # Indicates whether the instance is enabled for AWS Nitro Enclaves. For
37387
+ # more information, see [ AWS Nitro Enclaves][1] in the *Amazon Elastic
37388
+ # Compute Cloud User Guide*.
37389
+ #
37390
+ # You can't enable AWS Nitro Enclaves and hibernation on the same
37391
+ # instance. For more information about AWS Nitro Enclaves requirements,
37392
+ # see [ AWS Nitro Enclaves][2] in the *Amazon Elastic Compute Cloud User
37393
+ # Guide*.
37394
+ #
37395
+ #
37396
+ #
37397
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html
37398
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html#nitro-enclave-reqs
37399
+ #
37097
37400
  # @return [Types::Reservation] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
37098
37401
  #
37099
37402
  # * {Types::Reservation#groups #groups} => Array&lt;Types::GroupIdentifier&gt;
@@ -37294,6 +37597,9 @@ module Aws::EC2
37294
37597
  # http_put_response_hop_limit: 1,
37295
37598
  # http_endpoint: "disabled", # accepts disabled, enabled
37296
37599
  # },
37600
+ # enclave_options: {
37601
+ # enabled: false,
37602
+ # },
37297
37603
  # })
37298
37604
  #
37299
37605
  # @example Response structure
@@ -37418,6 +37724,7 @@ module Aws::EC2
37418
37724
  # resp.instances[0].metadata_options.http_tokens #=> String, one of "optional", "required"
37419
37725
  # resp.instances[0].metadata_options.http_put_response_hop_limit #=> Integer
37420
37726
  # resp.instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
37727
+ # resp.instances[0].enclave_options.enabled #=> Boolean
37421
37728
  # resp.owner_id #=> String
37422
37729
  # resp.requester_id #=> String
37423
37730
  # resp.reservation_id #=> String
@@ -38787,7 +39094,7 @@ module Aws::EC2
38787
39094
  params: params,
38788
39095
  config: config)
38789
39096
  context[:gem_name] = 'aws-sdk-ec2'
38790
- context[:gem_version] = '1.198.0'
39097
+ context[:gem_version] = '1.203.0'
38791
39098
  Seahorse::Client::Request.new(handlers, context)
38792
39099
  end
38793
39100