aws-sdk-ec2 1.199.0 → 1.204.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 +364 -36
- data/lib/aws-sdk-ec2/client_api.rb +110 -2
- data/lib/aws-sdk-ec2/customizations.rb +2 -2
- data/lib/aws-sdk-ec2/instance.rb +9 -3
- data/lib/aws-sdk-ec2/resource.rb +20 -0
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/subnet.rb +20 -0
- data/lib/aws-sdk-ec2/types.rb +576 -57
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 509a6dded30d28bd581080e151a82330d7a8f0fce793778efba36443099c0ffa
|
4
|
+
data.tar.gz: 471eec900fb0e9b94c56fc35d2af412ee32c81f992a9c8e9f2af72708ed96115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca30f016bfb21f3310a8e0bc3c3677ea0e7665bd634703aa7209510d987ccb0b4fe049f5b27ff90146d8f1da649bf0538f5233e1d443d482baf6e9c42bff6cd3
|
7
|
+
data.tar.gz: 58181ecaf893fa11a5be1b145ff68aaf59f08ac9bc01017a2eb4079aa8ea6b975e7b7d9067e4284060b92f3dda1af963ad4477ea7c598872e19b75d8d5fd1a05
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -466,6 +466,7 @@ module Aws::EC2
|
|
466
466
|
# resp.transit_gateway_vpc_attachment.creation_time #=> Time
|
467
467
|
# resp.transit_gateway_vpc_attachment.options.dns_support #=> String, one of "enable", "disable"
|
468
468
|
# resp.transit_gateway_vpc_attachment.options.ipv_6_support #=> String, one of "enable", "disable"
|
469
|
+
# resp.transit_gateway_vpc_attachment.options.appliance_mode_support #=> String, one of "enable", "disable"
|
469
470
|
# resp.transit_gateway_vpc_attachment.tags #=> Array
|
470
471
|
# resp.transit_gateway_vpc_attachment.tags[0].key #=> String
|
471
472
|
# resp.transit_gateway_vpc_attachment.tags[0].value #=> String
|
@@ -1401,6 +1402,74 @@ module Aws::EC2
|
|
1401
1402
|
req.send_request(options)
|
1402
1403
|
end
|
1403
1404
|
|
1405
|
+
# Associates an AWS Identity and Access Management (IAM) role with an
|
1406
|
+
# AWS Certificate Manager (ACM) certificate. This enables the
|
1407
|
+
# certificate to be used by the ACM for Nitro Enclaves application
|
1408
|
+
# inside an enclave. For more information, see [AWS Certificate Manager
|
1409
|
+
# for Nitro Enclaves][1] in the *Amazon Elastic Compute Cloud User
|
1410
|
+
# Guide*.
|
1411
|
+
#
|
1412
|
+
# When the IAM role is associated with the ACM certificate, places the
|
1413
|
+
# certificate, certificate chain, and encrypted private key in an Amazon
|
1414
|
+
# S3 bucket that only the associated IAM role can access. The private
|
1415
|
+
# key of the certificate is encrypted with an AWS-managed KMS key that
|
1416
|
+
# has an attached attestation-based key policy.
|
1417
|
+
#
|
1418
|
+
# To enable the IAM role to access the Amazon S3 object, you must grant
|
1419
|
+
# it permission to call `s3:GetObject` on the Amazon S3 bucket returned
|
1420
|
+
# by the command. To enable the IAM role to access the AWS KMS key, you
|
1421
|
+
# must grant it permission to call `kms:Decrypt` on AWS KMS key returned
|
1422
|
+
# by the command. For more information, see [ Grant the role permission
|
1423
|
+
# to access the certificate and encryption key][2] in the *Amazon
|
1424
|
+
# Elastic Compute Cloud User Guide*.
|
1425
|
+
#
|
1426
|
+
#
|
1427
|
+
#
|
1428
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-refapp.html
|
1429
|
+
# [2]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-refapp.html#add-policy
|
1430
|
+
#
|
1431
|
+
# @option params [String] :certificate_arn
|
1432
|
+
# The ARN of the ACM certificate with which to associate the IAM role.
|
1433
|
+
#
|
1434
|
+
# @option params [String] :role_arn
|
1435
|
+
# The ARN of the IAM role to associate with the ACM certificate. You can
|
1436
|
+
# associate up to 16 IAM roles with an ACM certificate.
|
1437
|
+
#
|
1438
|
+
# @option params [Boolean] :dry_run
|
1439
|
+
# Checks whether you have the required permissions for the action,
|
1440
|
+
# without actually making the request, and provides an error response.
|
1441
|
+
# If you have the required permissions, the error response is
|
1442
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1443
|
+
#
|
1444
|
+
# @return [Types::AssociateEnclaveCertificateIamRoleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1445
|
+
#
|
1446
|
+
# * {Types::AssociateEnclaveCertificateIamRoleResult#certificate_s3_bucket_name #certificate_s3_bucket_name} => String
|
1447
|
+
# * {Types::AssociateEnclaveCertificateIamRoleResult#certificate_s3_object_key #certificate_s3_object_key} => String
|
1448
|
+
# * {Types::AssociateEnclaveCertificateIamRoleResult#encryption_kms_key_id #encryption_kms_key_id} => String
|
1449
|
+
#
|
1450
|
+
# @example Request syntax with placeholder values
|
1451
|
+
#
|
1452
|
+
# resp = client.associate_enclave_certificate_iam_role({
|
1453
|
+
# certificate_arn: "ResourceArn",
|
1454
|
+
# role_arn: "ResourceArn",
|
1455
|
+
# dry_run: false,
|
1456
|
+
# })
|
1457
|
+
#
|
1458
|
+
# @example Response structure
|
1459
|
+
#
|
1460
|
+
# resp.certificate_s3_bucket_name #=> String
|
1461
|
+
# resp.certificate_s3_object_key #=> String
|
1462
|
+
# resp.encryption_kms_key_id #=> String
|
1463
|
+
#
|
1464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateEnclaveCertificateIamRole AWS API Documentation
|
1465
|
+
#
|
1466
|
+
# @overload associate_enclave_certificate_iam_role(params = {})
|
1467
|
+
# @param [Hash] params ({})
|
1468
|
+
def associate_enclave_certificate_iam_role(params = {}, options = {})
|
1469
|
+
req = build_request(:associate_enclave_certificate_iam_role, params)
|
1470
|
+
req.send_request(options)
|
1471
|
+
end
|
1472
|
+
|
1404
1473
|
# Associates an IAM instance profile with a running or stopped instance.
|
1405
1474
|
# You cannot associate more than one IAM instance profile with an
|
1406
1475
|
# instance.
|
@@ -3896,6 +3965,12 @@ module Aws::EC2
|
|
3896
3965
|
# security group IDs are specified in the request, the default security
|
3897
3966
|
# group for the VPC is applied.
|
3898
3967
|
#
|
3968
|
+
# @option params [String] :self_service_portal
|
3969
|
+
# Specify whether to enable the self-service portal for the Client VPN
|
3970
|
+
# endpoint.
|
3971
|
+
#
|
3972
|
+
# Default Value: `enabled`
|
3973
|
+
#
|
3899
3974
|
# @return [Types::CreateClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3900
3975
|
#
|
3901
3976
|
# * {Types::CreateClientVpnEndpointResult#client_vpn_endpoint_id #client_vpn_endpoint_id} => String
|
@@ -3918,6 +3993,7 @@ module Aws::EC2
|
|
3918
3993
|
# },
|
3919
3994
|
# federated_authentication: {
|
3920
3995
|
# saml_provider_arn: "String",
|
3996
|
+
# self_service_saml_provider_arn: "String",
|
3921
3997
|
# },
|
3922
3998
|
# },
|
3923
3999
|
# ],
|
@@ -3946,6 +4022,7 @@ module Aws::EC2
|
|
3946
4022
|
# ],
|
3947
4023
|
# security_group_ids: ["SecurityGroupId"],
|
3948
4024
|
# vpc_id: "VpcId",
|
4025
|
+
# self_service_portal: "enabled", # accepts enabled, disabled
|
3949
4026
|
# })
|
3950
4027
|
#
|
3951
4028
|
# @example Response structure
|
@@ -5625,6 +5702,9 @@ module Aws::EC2
|
|
5625
5702
|
# http_put_response_hop_limit: 1,
|
5626
5703
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
5627
5704
|
# },
|
5705
|
+
# enclave_options: {
|
5706
|
+
# enabled: false,
|
5707
|
+
# },
|
5628
5708
|
# },
|
5629
5709
|
# tag_specifications: [
|
5630
5710
|
# {
|
@@ -5906,6 +5986,9 @@ module Aws::EC2
|
|
5906
5986
|
# http_put_response_hop_limit: 1,
|
5907
5987
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
5908
5988
|
# },
|
5989
|
+
# enclave_options: {
|
5990
|
+
# enabled: false,
|
5991
|
+
# },
|
5909
5992
|
# },
|
5910
5993
|
# })
|
5911
5994
|
#
|
@@ -6001,6 +6084,7 @@ module Aws::EC2
|
|
6001
6084
|
# resp.launch_template_version.launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
|
6002
6085
|
# resp.launch_template_version.launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
|
6003
6086
|
# resp.launch_template_version.launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
6087
|
+
# resp.launch_template_version.launch_template_data.enclave_options.enabled #=> Boolean
|
6004
6088
|
# resp.warning.errors #=> Array
|
6005
6089
|
# resp.warning.errors[0].code #=> String
|
6006
6090
|
# resp.warning.errors[0].message #=> String
|
@@ -7680,7 +7764,13 @@ module Aws::EC2
|
|
7680
7764
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-data-feeds.html
|
7681
7765
|
#
|
7682
7766
|
# @option params [required, String] :bucket
|
7683
|
-
# The Amazon S3 bucket in which to store the Spot Instance
|
7767
|
+
# The name of the Amazon S3 bucket in which to store the Spot Instance
|
7768
|
+
# data feed. For more information about bucket names, see [Rules for
|
7769
|
+
# bucket naming][1] in the *Amazon S3 Developer Guide*.
|
7770
|
+
#
|
7771
|
+
#
|
7772
|
+
#
|
7773
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules
|
7684
7774
|
#
|
7685
7775
|
# @option params [Boolean] :dry_run
|
7686
7776
|
# Checks whether you have the required permissions for the action,
|
@@ -7689,7 +7779,7 @@ module Aws::EC2
|
|
7689
7779
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7690
7780
|
#
|
7691
7781
|
# @option params [String] :prefix
|
7692
|
-
#
|
7782
|
+
# The prefix for the data feed file names.
|
7693
7783
|
#
|
7694
7784
|
# @return [Types::CreateSpotDatafeedSubscriptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7695
7785
|
#
|
@@ -8896,6 +8986,7 @@ module Aws::EC2
|
|
8896
8986
|
# options: {
|
8897
8987
|
# dns_support: "enable", # accepts enable, disable
|
8898
8988
|
# ipv_6_support: "enable", # accepts enable, disable
|
8989
|
+
# appliance_mode_support: "enable", # accepts enable, disable
|
8899
8990
|
# },
|
8900
8991
|
# tag_specifications: [
|
8901
8992
|
# {
|
@@ -8923,6 +9014,7 @@ module Aws::EC2
|
|
8923
9014
|
# resp.transit_gateway_vpc_attachment.creation_time #=> Time
|
8924
9015
|
# resp.transit_gateway_vpc_attachment.options.dns_support #=> String, one of "enable", "disable"
|
8925
9016
|
# resp.transit_gateway_vpc_attachment.options.ipv_6_support #=> String, one of "enable", "disable"
|
9017
|
+
# resp.transit_gateway_vpc_attachment.options.appliance_mode_support #=> String, one of "enable", "disable"
|
8926
9018
|
# resp.transit_gateway_vpc_attachment.tags #=> Array
|
8927
9019
|
# resp.transit_gateway_vpc_attachment.tags[0].key #=> String
|
8928
9020
|
# resp.transit_gateway_vpc_attachment.tags[0].value #=> String
|
@@ -12028,6 +12120,7 @@ module Aws::EC2
|
|
12028
12120
|
# resp.transit_gateway_vpc_attachment.creation_time #=> Time
|
12029
12121
|
# resp.transit_gateway_vpc_attachment.options.dns_support #=> String, one of "enable", "disable"
|
12030
12122
|
# resp.transit_gateway_vpc_attachment.options.ipv_6_support #=> String, one of "enable", "disable"
|
12123
|
+
# resp.transit_gateway_vpc_attachment.options.appliance_mode_support #=> String, one of "enable", "disable"
|
12031
12124
|
# resp.transit_gateway_vpc_attachment.tags #=> Array
|
12032
12125
|
# resp.transit_gateway_vpc_attachment.tags[0].key #=> String
|
12033
12126
|
# resp.transit_gateway_vpc_attachment.tags[0].value #=> String
|
@@ -13893,6 +13986,7 @@ module Aws::EC2
|
|
13893
13986
|
# resp.client_vpn_endpoints[0].authentication_options[0].active_directory.directory_id #=> String
|
13894
13987
|
# resp.client_vpn_endpoints[0].authentication_options[0].mutual_authentication.client_root_certificate_chain #=> String
|
13895
13988
|
# resp.client_vpn_endpoints[0].authentication_options[0].federated_authentication.saml_provider_arn #=> String
|
13989
|
+
# resp.client_vpn_endpoints[0].authentication_options[0].federated_authentication.self_service_saml_provider_arn #=> String
|
13896
13990
|
# resp.client_vpn_endpoints[0].connection_log_options.enabled #=> Boolean
|
13897
13991
|
# resp.client_vpn_endpoints[0].connection_log_options.cloudwatch_log_group #=> String
|
13898
13992
|
# resp.client_vpn_endpoints[0].connection_log_options.cloudwatch_log_stream #=> String
|
@@ -13902,6 +13996,7 @@ module Aws::EC2
|
|
13902
13996
|
# resp.client_vpn_endpoints[0].security_group_ids #=> Array
|
13903
13997
|
# resp.client_vpn_endpoints[0].security_group_ids[0] #=> String
|
13904
13998
|
# resp.client_vpn_endpoints[0].vpc_id #=> String
|
13999
|
+
# resp.client_vpn_endpoints[0].self_service_portal_url #=> String
|
13905
14000
|
# resp.next_token #=> String
|
13906
14001
|
#
|
13907
14002
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnEndpoints AWS API Documentation
|
@@ -16443,6 +16538,7 @@ module Aws::EC2
|
|
16443
16538
|
# * {Types::InstanceAttribute#block_device_mappings #block_device_mappings} => Array<Types::InstanceBlockDeviceMapping>
|
16444
16539
|
# * {Types::InstanceAttribute#disable_api_termination #disable_api_termination} => Types::AttributeBooleanValue
|
16445
16540
|
# * {Types::InstanceAttribute#ena_support #ena_support} => Types::AttributeBooleanValue
|
16541
|
+
# * {Types::InstanceAttribute#enclave_options #enclave_options} => Types::EnclaveOptions
|
16446
16542
|
# * {Types::InstanceAttribute#ebs_optimized #ebs_optimized} => Types::AttributeBooleanValue
|
16447
16543
|
# * {Types::InstanceAttribute#instance_id #instance_id} => String
|
16448
16544
|
# * {Types::InstanceAttribute#instance_initiated_shutdown_behavior #instance_initiated_shutdown_behavior} => Types::AttributeValue
|
@@ -16527,7 +16623,7 @@ module Aws::EC2
|
|
16527
16623
|
# @example Request syntax with placeholder values
|
16528
16624
|
#
|
16529
16625
|
# resp = client.describe_instance_attribute({
|
16530
|
-
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport
|
16626
|
+
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
16531
16627
|
# dry_run: false,
|
16532
16628
|
# instance_id: "InstanceId", # required
|
16533
16629
|
# })
|
@@ -16545,6 +16641,7 @@ module Aws::EC2
|
|
16545
16641
|
# resp.block_device_mappings[0].ebs.volume_id #=> String
|
16546
16642
|
# resp.disable_api_termination.value #=> Boolean
|
16547
16643
|
# resp.ena_support.value #=> Boolean
|
16644
|
+
# resp.enclave_options.enabled #=> Boolean
|
16548
16645
|
# resp.ebs_optimized.value #=> Boolean
|
16549
16646
|
# resp.instance_id #=> String
|
16550
16647
|
# resp.instance_initiated_shutdown_behavior #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
@@ -17023,26 +17120,26 @@ module Aws::EC2
|
|
17023
17120
|
# baseline bandwidth performance for an EBS-optimized instance type,
|
17024
17121
|
# in Mbps.
|
17025
17122
|
#
|
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
17123
|
# * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
|
17031
17124
|
# input/output storage operations per second for an EBS-optimized
|
17032
17125
|
# instance type.
|
17033
17126
|
#
|
17127
|
+
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
17128
|
+
# baseline throughput performance for an EBS-optimized instance type,
|
17129
|
+
# in MBps.
|
17130
|
+
#
|
17034
17131
|
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
17035
17132
|
# maximum bandwidth performance for an EBS-optimized instance type, in
|
17036
17133
|
# Mbps.
|
17037
17134
|
#
|
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
17135
|
# * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
|
17043
17136
|
# input/output storage operations per second for an EBS-optimized
|
17044
17137
|
# instance type.
|
17045
17138
|
#
|
17139
|
+
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
17140
|
+
# maximum throughput performance for an EBS-optimized instance type,
|
17141
|
+
# in MBps.
|
17142
|
+
#
|
17046
17143
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
17047
17144
|
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
17048
17145
|
#
|
@@ -17050,8 +17147,8 @@ module Aws::EC2
|
|
17050
17147
|
# supported. (`supported` \| `unsupported`)
|
17051
17148
|
#
|
17052
17149
|
# * `ebs-info.nvme-support` - Indicates whether non-volatile memory
|
17053
|
-
# express (NVMe) is supported
|
17054
|
-
# \| `unsupported`)
|
17150
|
+
# express (NVMe) is supported for EBS volumes. (`required` \|
|
17151
|
+
# `supported` \| `unsupported`)
|
17055
17152
|
#
|
17056
17153
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
17057
17154
|
# eligible to use in the free tier. (`true` \| `false`)
|
@@ -17059,7 +17156,7 @@ module Aws::EC2
|
|
17059
17156
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation is
|
17060
17157
|
# supported. (`true` \| `false`)
|
17061
17158
|
#
|
17062
|
-
# * `hypervisor` - The hypervisor
|
17159
|
+
# * `hypervisor` - The hypervisor. (`nitro` \| `xen`)
|
17063
17160
|
#
|
17064
17161
|
# * `instance-storage-info.disk.count` - The number of local disks.
|
17065
17162
|
#
|
@@ -17069,21 +17166,28 @@ module Aws::EC2
|
|
17069
17166
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
17070
17167
|
# local instance storage disks. (`hdd` \| `ssd`)
|
17071
17168
|
#
|
17169
|
+
# * `instance-storage-info.nvme-support` - Indicates whether
|
17170
|
+
# non-volatile memory express (NVMe) is supported for instance store.
|
17171
|
+
# (`required` \| `supported`) \| `unsupported`)
|
17172
|
+
#
|
17072
17173
|
# * `instance-storage-info.total-size-in-gb` - The total amount of
|
17073
17174
|
# storage available from all local instance storage, in GB.
|
17074
17175
|
#
|
17075
17176
|
# * `instance-storage-supported` - Indicates whether the instance type
|
17076
17177
|
# has local instance storage. (`true` \| `false`)
|
17077
17178
|
#
|
17179
|
+
# * `instance-type` - The instance type (for example `c5.2xlarge` or
|
17180
|
+
# c5*).
|
17181
|
+
#
|
17078
17182
|
# * `memory-info.size-in-mib` - The memory size.
|
17079
17183
|
#
|
17184
|
+
# * `network-info.efa-supported` - Indicates whether the instance type
|
17185
|
+
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
17186
|
+
#
|
17080
17187
|
# * `network-info.ena-support` - Indicates whether Elastic Network
|
17081
17188
|
# Adapter (ENA) is supported or required. (`required` \| `supported`
|
17082
17189
|
# \| `unsupported`)
|
17083
17190
|
#
|
17084
|
-
# * `network-info.efa-supported` - Indicates whether the instance type
|
17085
|
-
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
17086
|
-
#
|
17087
17191
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number of
|
17088
17192
|
# private IPv4 addresses per network interface.
|
17089
17193
|
#
|
@@ -17096,12 +17200,23 @@ module Aws::EC2
|
|
17096
17200
|
# * `network-info.maximum-network-interfaces` - The maximum number of
|
17097
17201
|
# network interfaces per instance.
|
17098
17202
|
#
|
17099
|
-
# * `network-info.network-performance` -
|
17100
|
-
#
|
17203
|
+
# * `network-info.network-performance` - The network performance (for
|
17204
|
+
# example, "25 Gigabit").
|
17205
|
+
#
|
17206
|
+
# * `processor-info.supported-architecture` - The CPU architecture.
|
17207
|
+
# (`arm64` \| `i386` \| `x86_64`)
|
17101
17208
|
#
|
17102
17209
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
|
17103
17210
|
# in GHz.
|
17104
17211
|
#
|
17212
|
+
# * `supported-root-device-type` - The root device type. (`ebs` \|
|
17213
|
+
# `instance-store`)
|
17214
|
+
#
|
17215
|
+
# * `supported-usage-class` - The usage class. (`on-demand` \| `spot`)
|
17216
|
+
#
|
17217
|
+
# * `supported-virtualization-type` - The virtualization type. (`hvm` \|
|
17218
|
+
# `paravirtual`)
|
17219
|
+
#
|
17105
17220
|
# * `vcpu-info.default-cores` - The default number of cores for the
|
17106
17221
|
# instance type.
|
17107
17222
|
#
|
@@ -17111,6 +17226,13 @@ module Aws::EC2
|
|
17111
17226
|
# * `vcpu-info.default-vcpus` - The default number of vCPUs for the
|
17112
17227
|
# instance type.
|
17113
17228
|
#
|
17229
|
+
# * `vcpu-info.valid-cores` - The number of cores that can be configured
|
17230
|
+
# for the instance type.
|
17231
|
+
#
|
17232
|
+
# * `vcpu-info.valid-threads-per-core` - The number of threads per core
|
17233
|
+
# that can be configured for the instance type. For example, "1" or
|
17234
|
+
# "1,2".
|
17235
|
+
#
|
17114
17236
|
# @option params [Integer] :max_results
|
17115
17237
|
# The maximum number of results to return for the request in a single
|
17116
17238
|
# page. The remaining results can be seen by sending another request
|
@@ -17172,6 +17294,7 @@ module Aws::EC2
|
|
17172
17294
|
# resp.instance_types[0].instance_storage_info.disks[0].size_in_gb #=> Integer
|
17173
17295
|
# resp.instance_types[0].instance_storage_info.disks[0].count #=> Integer
|
17174
17296
|
# resp.instance_types[0].instance_storage_info.disks[0].type #=> String, one of "hdd", "ssd"
|
17297
|
+
# resp.instance_types[0].instance_storage_info.nvme_support #=> String, one of "unsupported", "supported", "required"
|
17175
17298
|
# resp.instance_types[0].ebs_info.ebs_optimized_support #=> String, one of "unsupported", "supported", "default"
|
17176
17299
|
# resp.instance_types[0].ebs_info.encryption_support #=> String, one of "unsupported", "supported"
|
17177
17300
|
# resp.instance_types[0].ebs_info.ebs_optimized_info.baseline_bandwidth_in_mbps #=> Integer
|
@@ -17747,6 +17870,7 @@ module Aws::EC2
|
|
17747
17870
|
# resp.reservations[0].instances[0].metadata_options.http_tokens #=> String, one of "optional", "required"
|
17748
17871
|
# resp.reservations[0].instances[0].metadata_options.http_put_response_hop_limit #=> Integer
|
17749
17872
|
# resp.reservations[0].instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
17873
|
+
# resp.reservations[0].instances[0].enclave_options.enabled #=> Boolean
|
17750
17874
|
# resp.reservations[0].owner_id #=> String
|
17751
17875
|
# resp.reservations[0].requester_id #=> String
|
17752
17876
|
# resp.reservations[0].reservation_id #=> String
|
@@ -18326,6 +18450,7 @@ module Aws::EC2
|
|
18326
18450
|
# resp.launch_template_versions[0].launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
|
18327
18451
|
# resp.launch_template_versions[0].launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
|
18328
18452
|
# resp.launch_template_versions[0].launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
18453
|
+
# resp.launch_template_versions[0].launch_template_data.enclave_options.enabled #=> Boolean
|
18329
18454
|
# resp.next_token #=> String
|
18330
18455
|
#
|
18331
18456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions AWS API Documentation
|
@@ -22861,8 +22986,10 @@ module Aws::EC2
|
|
22861
22986
|
# * `instance-type` - The type of instance (for example, `m3.medium`).
|
22862
22987
|
#
|
22863
22988
|
# * `product-description` - The product description for the Spot price
|
22864
|
-
# (`Linux/UNIX` \| `
|
22865
|
-
#
|
22989
|
+
# (`Linux/UNIX` \| `Red Hat Enterprise Linux` \| `SUSE Linux` \|
|
22990
|
+
# `Windows` \| `Linux/UNIX (Amazon VPC)` \| `Red Hat Enterprise Linux
|
22991
|
+
# (Amazon VPC)` \| `SUSE Linux (Amazon VPC)` \| `Windows (Amazon
|
22992
|
+
# VPC)`).
|
22866
22993
|
#
|
22867
22994
|
# * `spot-price` - The Spot price. The value must match exactly (or use
|
22868
22995
|
# wildcards; greater than or less than comparison is not supported).
|
@@ -24055,6 +24182,7 @@ module Aws::EC2
|
|
24055
24182
|
# resp.transit_gateway_vpc_attachments[0].creation_time #=> Time
|
24056
24183
|
# resp.transit_gateway_vpc_attachments[0].options.dns_support #=> String, one of "enable", "disable"
|
24057
24184
|
# resp.transit_gateway_vpc_attachments[0].options.ipv_6_support #=> String, one of "enable", "disable"
|
24185
|
+
# resp.transit_gateway_vpc_attachments[0].options.appliance_mode_support #=> String, one of "enable", "disable"
|
24058
24186
|
# resp.transit_gateway_vpc_attachments[0].tags #=> Array
|
24059
24187
|
# resp.transit_gateway_vpc_attachments[0].tags[0].key #=> String
|
24060
24188
|
# resp.transit_gateway_vpc_attachments[0].tags[0].value #=> String
|
@@ -26784,6 +26912,52 @@ module Aws::EC2
|
|
26784
26912
|
req.send_request(options)
|
26785
26913
|
end
|
26786
26914
|
|
26915
|
+
# Disassociates an IAM role from an AWS Certificate Manager (ACM)
|
26916
|
+
# certificate. Disassociating an IAM role from an ACM certificate
|
26917
|
+
# removes the Amazon S3 object that contains the certificate,
|
26918
|
+
# certificate chain, and encrypted private key from the Amazon S3
|
26919
|
+
# bucket. It also revokes the IAM role's permission to use the AWS Key
|
26920
|
+
# Management Service (KMS) key used to encrypt the private key. This
|
26921
|
+
# effectively revokes the role's permission to use the certificate.
|
26922
|
+
#
|
26923
|
+
# @option params [String] :certificate_arn
|
26924
|
+
# The ARN of the ACM certificate from which to disassociate the IAM
|
26925
|
+
# role.
|
26926
|
+
#
|
26927
|
+
# @option params [String] :role_arn
|
26928
|
+
# The ARN of the IAM role to disassociate.
|
26929
|
+
#
|
26930
|
+
# @option params [Boolean] :dry_run
|
26931
|
+
# Checks whether you have the required permissions for the action,
|
26932
|
+
# without actually making the request, and provides an error response.
|
26933
|
+
# If you have the required permissions, the error response is
|
26934
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
26935
|
+
#
|
26936
|
+
# @return [Types::DisassociateEnclaveCertificateIamRoleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
26937
|
+
#
|
26938
|
+
# * {Types::DisassociateEnclaveCertificateIamRoleResult#return #return} => Boolean
|
26939
|
+
#
|
26940
|
+
# @example Request syntax with placeholder values
|
26941
|
+
#
|
26942
|
+
# resp = client.disassociate_enclave_certificate_iam_role({
|
26943
|
+
# certificate_arn: "ResourceArn",
|
26944
|
+
# role_arn: "ResourceArn",
|
26945
|
+
# dry_run: false,
|
26946
|
+
# })
|
26947
|
+
#
|
26948
|
+
# @example Response structure
|
26949
|
+
#
|
26950
|
+
# resp.return #=> Boolean
|
26951
|
+
#
|
26952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateEnclaveCertificateIamRole AWS API Documentation
|
26953
|
+
#
|
26954
|
+
# @overload disassociate_enclave_certificate_iam_role(params = {})
|
26955
|
+
# @param [Hash] params ({})
|
26956
|
+
def disassociate_enclave_certificate_iam_role(params = {}, options = {})
|
26957
|
+
req = build_request(:disassociate_enclave_certificate_iam_role, params)
|
26958
|
+
req.send_request(options)
|
26959
|
+
end
|
26960
|
+
|
26787
26961
|
# Disassociates an IAM instance profile from a running or stopped
|
26788
26962
|
# instance.
|
26789
26963
|
#
|
@@ -27678,6 +27852,51 @@ module Aws::EC2
|
|
27678
27852
|
req.send_request(options)
|
27679
27853
|
end
|
27680
27854
|
|
27855
|
+
# Returns the IAM roles that are associated with the specified AWS
|
27856
|
+
# Certificate Manager (ACM) certificate. It also returns the name of the
|
27857
|
+
# Amazon S3 bucket and the Amazon S3 object key where the certificate,
|
27858
|
+
# certificate chain, and encrypted private key bundle are stored, and
|
27859
|
+
# the ARN of the AWS Key Management Service (KMS) key that's used to
|
27860
|
+
# encrypt the private key.
|
27861
|
+
#
|
27862
|
+
# @option params [String] :certificate_arn
|
27863
|
+
# The ARN of the ACM certificate for which to view the associated IAM
|
27864
|
+
# roles, encryption keys, and Amazon S3 object information.
|
27865
|
+
#
|
27866
|
+
# @option params [Boolean] :dry_run
|
27867
|
+
# Checks whether you have the required permissions for the action,
|
27868
|
+
# without actually making the request, and provides an error response.
|
27869
|
+
# If you have the required permissions, the error response is
|
27870
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27871
|
+
#
|
27872
|
+
# @return [Types::GetAssociatedEnclaveCertificateIamRolesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27873
|
+
#
|
27874
|
+
# * {Types::GetAssociatedEnclaveCertificateIamRolesResult#associated_roles #associated_roles} => Array<Types::AssociatedRole>
|
27875
|
+
#
|
27876
|
+
# @example Request syntax with placeholder values
|
27877
|
+
#
|
27878
|
+
# resp = client.get_associated_enclave_certificate_iam_roles({
|
27879
|
+
# certificate_arn: "ResourceArn",
|
27880
|
+
# dry_run: false,
|
27881
|
+
# })
|
27882
|
+
#
|
27883
|
+
# @example Response structure
|
27884
|
+
#
|
27885
|
+
# resp.associated_roles #=> Array
|
27886
|
+
# resp.associated_roles[0].associated_role_arn #=> String
|
27887
|
+
# resp.associated_roles[0].certificate_s3_bucket_name #=> String
|
27888
|
+
# resp.associated_roles[0].certificate_s3_object_key #=> String
|
27889
|
+
# resp.associated_roles[0].encryption_kms_key_id #=> String
|
27890
|
+
#
|
27891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAssociatedEnclaveCertificateIamRoles AWS API Documentation
|
27892
|
+
#
|
27893
|
+
# @overload get_associated_enclave_certificate_iam_roles(params = {})
|
27894
|
+
# @param [Hash] params ({})
|
27895
|
+
def get_associated_enclave_certificate_iam_roles(params = {}, options = {})
|
27896
|
+
req = build_request(:get_associated_enclave_certificate_iam_roles, params)
|
27897
|
+
req.send_request(options)
|
27898
|
+
end
|
27899
|
+
|
27681
27900
|
# Gets information about the IPv6 CIDR block associations for a
|
27682
27901
|
# specified IPv6 address pool.
|
27683
27902
|
#
|
@@ -28414,6 +28633,7 @@ module Aws::EC2
|
|
28414
28633
|
# resp.launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
|
28415
28634
|
# resp.launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
|
28416
28635
|
# resp.launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
28636
|
+
# resp.launch_template_data.enclave_options.enabled #=> Boolean
|
28417
28637
|
#
|
28418
28638
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
|
28419
28639
|
#
|
@@ -29954,6 +30174,10 @@ module Aws::EC2
|
|
29954
30174
|
# @option params [String] :vpc_id
|
29955
30175
|
# The ID of the VPC to associate with the Client VPN endpoint.
|
29956
30176
|
#
|
30177
|
+
# @option params [String] :self_service_portal
|
30178
|
+
# Specify whether to enable the self-service portal for the Client VPN
|
30179
|
+
# endpoint.
|
30180
|
+
#
|
29957
30181
|
# @return [Types::ModifyClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
29958
30182
|
#
|
29959
30183
|
# * {Types::ModifyClientVpnEndpointResult#return #return} => Boolean
|
@@ -29978,6 +30202,7 @@ module Aws::EC2
|
|
29978
30202
|
# dry_run: false,
|
29979
30203
|
# security_group_ids: ["SecurityGroupId"],
|
29980
30204
|
# vpc_id: "VpcId",
|
30205
|
+
# self_service_portal: "enabled", # accepts enabled, disabled
|
29981
30206
|
# })
|
29982
30207
|
#
|
29983
30208
|
# @example Response structure
|
@@ -30861,7 +31086,7 @@ module Aws::EC2
|
|
30861
31086
|
# source_dest_check: {
|
30862
31087
|
# value: false,
|
30863
31088
|
# },
|
30864
|
-
# attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport
|
31089
|
+
# attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
30865
31090
|
# block_device_mappings: [
|
30866
31091
|
# {
|
30867
31092
|
# device_name: "String",
|
@@ -32351,6 +32576,7 @@ module Aws::EC2
|
|
32351
32576
|
# options: {
|
32352
32577
|
# dns_support: "enable", # accepts enable, disable
|
32353
32578
|
# ipv_6_support: "enable", # accepts enable, disable
|
32579
|
+
# appliance_mode_support: "enable", # accepts enable, disable
|
32354
32580
|
# },
|
32355
32581
|
# dry_run: false,
|
32356
32582
|
# })
|
@@ -32367,6 +32593,7 @@ module Aws::EC2
|
|
32367
32593
|
# resp.transit_gateway_vpc_attachment.creation_time #=> Time
|
32368
32594
|
# resp.transit_gateway_vpc_attachment.options.dns_support #=> String, one of "enable", "disable"
|
32369
32595
|
# resp.transit_gateway_vpc_attachment.options.ipv_6_support #=> String, one of "enable", "disable"
|
32596
|
+
# resp.transit_gateway_vpc_attachment.options.appliance_mode_support #=> String, one of "enable", "disable"
|
32370
32597
|
# resp.transit_gateway_vpc_attachment.tags #=> Array
|
32371
32598
|
# resp.transit_gateway_vpc_attachment.tags[0].key #=> String
|
32372
32599
|
# resp.transit_gateway_vpc_attachment.tags[0].value #=> String
|
@@ -34049,7 +34276,7 @@ module Aws::EC2
|
|
34049
34276
|
# instances. The operation succeeds if the instances are valid and
|
34050
34277
|
# belong to you. Requests to reboot terminated instances are ignored.
|
34051
34278
|
#
|
34052
|
-
# If an instance does not cleanly shut down within
|
34279
|
+
# If an instance does not cleanly shut down within a few minutes, Amazon
|
34053
34280
|
# EC2 performs a hard reboot.
|
34054
34281
|
#
|
34055
34282
|
# For more information about troubleshooting, see [Getting console
|
@@ -34528,6 +34755,7 @@ module Aws::EC2
|
|
34528
34755
|
# resp.transit_gateway_vpc_attachment.creation_time #=> Time
|
34529
34756
|
# resp.transit_gateway_vpc_attachment.options.dns_support #=> String, one of "enable", "disable"
|
34530
34757
|
# resp.transit_gateway_vpc_attachment.options.ipv_6_support #=> String, one of "enable", "disable"
|
34758
|
+
# resp.transit_gateway_vpc_attachment.options.appliance_mode_support #=> String, one of "enable", "disable"
|
34531
34759
|
# resp.transit_gateway_vpc_attachment.tags #=> Array
|
34532
34760
|
# resp.transit_gateway_vpc_attachment.tags[0].key #=> String
|
34533
34761
|
# resp.transit_gateway_vpc_attachment.tags[0].value #=> String
|
@@ -35706,6 +35934,10 @@ module Aws::EC2
|
|
35706
35934
|
# You can't specify an Availability Zone group or a launch group if you
|
35707
35935
|
# specify a duration.
|
35708
35936
|
#
|
35937
|
+
# New accounts or accounts with no previous billing history with AWS are
|
35938
|
+
# not eligible for Spot Instances with a defined duration (also known as
|
35939
|
+
# Spot blocks).
|
35940
|
+
#
|
35709
35941
|
# @option params [String] :client_token
|
35710
35942
|
# Unique, case-sensitive identifier that you provide to ensure the
|
35711
35943
|
# idempotency of the request. For more information, see [How to Ensure
|
@@ -35756,11 +35988,17 @@ module Aws::EC2
|
|
35756
35988
|
# current date and time.
|
35757
35989
|
#
|
35758
35990
|
# @option params [Time,DateTime,Date,Integer,String] :valid_until
|
35759
|
-
# The end date of the request
|
35760
|
-
#
|
35761
|
-
#
|
35762
|
-
#
|
35763
|
-
#
|
35991
|
+
# The end date of the request, in UTC format
|
35992
|
+
# (*YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z).
|
35993
|
+
#
|
35994
|
+
# * For a persistent request, the request remains active until the
|
35995
|
+
# `ValidUntil` date and time is reached. Otherwise, the request
|
35996
|
+
# remains active until you cancel it.
|
35997
|
+
#
|
35998
|
+
# * For a one-time request, the request remains active until all
|
35999
|
+
# instances launch, the request is canceled, or the `ValidUntil` date
|
36000
|
+
# and time is reached. By default, the request is valid for 7 days
|
36001
|
+
# from the date the request was created.
|
35764
36002
|
#
|
35765
36003
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
35766
36004
|
# The key-value pair for tagging the Spot Instance request on creation.
|
@@ -36194,7 +36432,7 @@ module Aws::EC2
|
|
36194
36432
|
# @example Request syntax with placeholder values
|
36195
36433
|
#
|
36196
36434
|
# resp = client.reset_instance_attribute({
|
36197
|
-
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport
|
36435
|
+
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
36198
36436
|
# dry_run: false,
|
36199
36437
|
# instance_id: "InstanceId", # required
|
36200
36438
|
# })
|
@@ -36461,10 +36699,19 @@ module Aws::EC2
|
|
36461
36699
|
end
|
36462
36700
|
|
36463
36701
|
# \[VPC only\] Removes the specified egress rules from a security group
|
36464
|
-
# for EC2-VPC. This action
|
36702
|
+
# for EC2-VPC. This action does not apply to security groups for use in
|
36465
36703
|
# EC2-Classic. To remove a rule, the values that you specify (for
|
36466
36704
|
# example, ports) must match the existing rule's values exactly.
|
36467
36705
|
#
|
36706
|
+
# <note markdown="1"> \[Default VPC\] If the values you specify do not match the existing
|
36707
|
+
# rule's values, no error is returned, and the output describes the
|
36708
|
+
# security group rules that were not revoked.
|
36709
|
+
#
|
36710
|
+
# AWS recommends that you use DescribeSecurityGroups to verify that the
|
36711
|
+
# rule has been removed.
|
36712
|
+
#
|
36713
|
+
# </note>
|
36714
|
+
#
|
36468
36715
|
# Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or
|
36469
36716
|
# source security group. For the TCP and UDP protocols, you must also
|
36470
36717
|
# specify the destination port or range of ports. For the ICMP protocol,
|
@@ -36509,7 +36756,10 @@ module Aws::EC2
|
|
36509
36756
|
# Not supported. Use a set of IP permissions to specify a destination
|
36510
36757
|
# security group.
|
36511
36758
|
#
|
36512
|
-
# @return [
|
36759
|
+
# @return [Types::RevokeSecurityGroupEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
36760
|
+
#
|
36761
|
+
# * {Types::RevokeSecurityGroupEgressResult#return #return} => Boolean
|
36762
|
+
# * {Types::RevokeSecurityGroupEgressResult#unknown_ip_permissions #unknown_ip_permissions} => Array<Types::IpPermission>
|
36513
36763
|
#
|
36514
36764
|
# @example Request syntax with placeholder values
|
36515
36765
|
#
|
@@ -36560,6 +36810,31 @@ module Aws::EC2
|
|
36560
36810
|
# source_security_group_owner_id: "String",
|
36561
36811
|
# })
|
36562
36812
|
#
|
36813
|
+
# @example Response structure
|
36814
|
+
#
|
36815
|
+
# resp.return #=> Boolean
|
36816
|
+
# resp.unknown_ip_permissions #=> Array
|
36817
|
+
# resp.unknown_ip_permissions[0].from_port #=> Integer
|
36818
|
+
# resp.unknown_ip_permissions[0].ip_protocol #=> String
|
36819
|
+
# resp.unknown_ip_permissions[0].ip_ranges #=> Array
|
36820
|
+
# resp.unknown_ip_permissions[0].ip_ranges[0].cidr_ip #=> String
|
36821
|
+
# resp.unknown_ip_permissions[0].ip_ranges[0].description #=> String
|
36822
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges #=> Array
|
36823
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges[0].cidr_ipv_6 #=> String
|
36824
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges[0].description #=> String
|
36825
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
|
36826
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
|
36827
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids[0].prefix_list_id #=> String
|
36828
|
+
# resp.unknown_ip_permissions[0].to_port #=> Integer
|
36829
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs #=> Array
|
36830
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].description #=> String
|
36831
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_id #=> String
|
36832
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_name #=> String
|
36833
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].peering_status #=> String
|
36834
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].user_id #=> String
|
36835
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_id #=> String
|
36836
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_peering_connection_id #=> String
|
36837
|
+
#
|
36563
36838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress AWS API Documentation
|
36564
36839
|
#
|
36565
36840
|
# @overload revoke_security_group_egress(params = {})
|
@@ -36573,9 +36848,12 @@ module Aws::EC2
|
|
36573
36848
|
# rule, the values that you specify (for example, ports) must match the
|
36574
36849
|
# existing rule's values exactly.
|
36575
36850
|
#
|
36576
|
-
# <note markdown="1"> \[EC2-Classic
|
36577
|
-
# existing rule's values, no error is returned
|
36578
|
-
#
|
36851
|
+
# <note markdown="1"> \[EC2-Classic , default VPC\] If the values you specify do not match
|
36852
|
+
# the existing rule's values, no error is returned, and the output
|
36853
|
+
# describes the security group rules that were not revoked.
|
36854
|
+
#
|
36855
|
+
# AWS recommends that you use DescribeSecurityGroups to verify that the
|
36856
|
+
# rule has been removed.
|
36579
36857
|
#
|
36580
36858
|
# </note>
|
36581
36859
|
#
|
@@ -36647,7 +36925,10 @@ module Aws::EC2
|
|
36647
36925
|
# If you have the required permissions, the error response is
|
36648
36926
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
36649
36927
|
#
|
36650
|
-
# @return [
|
36928
|
+
# @return [Types::RevokeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
36929
|
+
#
|
36930
|
+
# * {Types::RevokeSecurityGroupIngressResult#return #return} => Boolean
|
36931
|
+
# * {Types::RevokeSecurityGroupIngressResult#unknown_ip_permissions #unknown_ip_permissions} => Array<Types::IpPermission>
|
36651
36932
|
#
|
36652
36933
|
# @example Request syntax with placeholder values
|
36653
36934
|
#
|
@@ -36699,6 +36980,31 @@ module Aws::EC2
|
|
36699
36980
|
# dry_run: false,
|
36700
36981
|
# })
|
36701
36982
|
#
|
36983
|
+
# @example Response structure
|
36984
|
+
#
|
36985
|
+
# resp.return #=> Boolean
|
36986
|
+
# resp.unknown_ip_permissions #=> Array
|
36987
|
+
# resp.unknown_ip_permissions[0].from_port #=> Integer
|
36988
|
+
# resp.unknown_ip_permissions[0].ip_protocol #=> String
|
36989
|
+
# resp.unknown_ip_permissions[0].ip_ranges #=> Array
|
36990
|
+
# resp.unknown_ip_permissions[0].ip_ranges[0].cidr_ip #=> String
|
36991
|
+
# resp.unknown_ip_permissions[0].ip_ranges[0].description #=> String
|
36992
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges #=> Array
|
36993
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges[0].cidr_ipv_6 #=> String
|
36994
|
+
# resp.unknown_ip_permissions[0].ipv_6_ranges[0].description #=> String
|
36995
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids #=> Array
|
36996
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids[0].description #=> String
|
36997
|
+
# resp.unknown_ip_permissions[0].prefix_list_ids[0].prefix_list_id #=> String
|
36998
|
+
# resp.unknown_ip_permissions[0].to_port #=> Integer
|
36999
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs #=> Array
|
37000
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].description #=> String
|
37001
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_id #=> String
|
37002
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].group_name #=> String
|
37003
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].peering_status #=> String
|
37004
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].user_id #=> String
|
37005
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_id #=> String
|
37006
|
+
# resp.unknown_ip_permissions[0].user_id_group_pairs[0].vpc_peering_connection_id #=> String
|
37007
|
+
#
|
36702
37008
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress AWS API Documentation
|
36703
37009
|
#
|
36704
37010
|
# @overload revoke_security_group_ingress(params = {})
|
@@ -37081,6 +37387,9 @@ module Aws::EC2
|
|
37081
37387
|
# information, see [Hibernate your instance][1] in the *Amazon Elastic
|
37082
37388
|
# Compute Cloud User Guide*.
|
37083
37389
|
#
|
37390
|
+
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
37391
|
+
# instance.
|
37392
|
+
#
|
37084
37393
|
#
|
37085
37394
|
#
|
37086
37395
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
@@ -37096,6 +37405,21 @@ module Aws::EC2
|
|
37096
37405
|
#
|
37097
37406
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
37098
37407
|
#
|
37408
|
+
# @option params [Types::EnclaveOptionsRequest] :enclave_options
|
37409
|
+
# Indicates whether the instance is enabled for AWS Nitro Enclaves. For
|
37410
|
+
# more information, see [ AWS Nitro Enclaves][1] in the *Amazon Elastic
|
37411
|
+
# Compute Cloud User Guide*.
|
37412
|
+
#
|
37413
|
+
# You can't enable AWS Nitro Enclaves and hibernation on the same
|
37414
|
+
# instance. For more information about AWS Nitro Enclaves requirements,
|
37415
|
+
# see [ AWS Nitro Enclaves][2] in the *Amazon Elastic Compute Cloud User
|
37416
|
+
# Guide*.
|
37417
|
+
#
|
37418
|
+
#
|
37419
|
+
#
|
37420
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html
|
37421
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html#nitro-enclave-reqs
|
37422
|
+
#
|
37099
37423
|
# @return [Types::Reservation] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
37100
37424
|
#
|
37101
37425
|
# * {Types::Reservation#groups #groups} => Array<Types::GroupIdentifier>
|
@@ -37296,6 +37620,9 @@ module Aws::EC2
|
|
37296
37620
|
# http_put_response_hop_limit: 1,
|
37297
37621
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
37298
37622
|
# },
|
37623
|
+
# enclave_options: {
|
37624
|
+
# enabled: false,
|
37625
|
+
# },
|
37299
37626
|
# })
|
37300
37627
|
#
|
37301
37628
|
# @example Response structure
|
@@ -37420,6 +37747,7 @@ module Aws::EC2
|
|
37420
37747
|
# resp.instances[0].metadata_options.http_tokens #=> String, one of "optional", "required"
|
37421
37748
|
# resp.instances[0].metadata_options.http_put_response_hop_limit #=> Integer
|
37422
37749
|
# resp.instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
37750
|
+
# resp.instances[0].enclave_options.enabled #=> Boolean
|
37423
37751
|
# resp.owner_id #=> String
|
37424
37752
|
# resp.requester_id #=> String
|
37425
37753
|
# resp.reservation_id #=> String
|
@@ -38789,7 +39117,7 @@ module Aws::EC2
|
|
38789
39117
|
params: params,
|
38790
39118
|
config: config)
|
38791
39119
|
context[:gem_name] = 'aws-sdk-ec2'
|
38792
|
-
context[:gem_version] = '1.
|
39120
|
+
context[:gem_version] = '1.204.0'
|
38793
39121
|
Seahorse::Client::Request.new(handlers, context)
|
38794
39122
|
end
|
38795
39123
|
|