aws-sdk-ec2 1.229.0 → 1.234.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +668 -57
- data/lib/aws-sdk-ec2/client_api.rb +246 -2
- data/lib/aws-sdk-ec2/instance.rb +4 -4
- data/lib/aws-sdk-ec2/network_interface.rb +7 -10
- data/lib/aws-sdk-ec2/resource.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +813 -33
- data/lib/aws-sdk-ec2/vpc.rb +2 -0
- data/lib/aws-sdk-ec2/waiters.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -973,10 +973,10 @@ module Aws::EC2
|
|
973
973
|
# This option is supported only for HVM instances. Specifying this
|
974
974
|
# option with a PV instance can make it unreachable.
|
975
975
|
# @option options [Array<String>] :groups
|
976
|
-
# \[EC2-VPC\]
|
977
|
-
# specify at least one security
|
978
|
-
# security group for the VPC. You
|
979
|
-
# not the security group name.
|
976
|
+
# \[EC2-VPC\] Replaces the security groups of the instance with the
|
977
|
+
# specified security groups. You must specify at least one security
|
978
|
+
# group, even if it's just the default security group for the VPC. You
|
979
|
+
# must specify the security group ID, not the security group name.
|
980
980
|
# @option options [Types::AttributeValue] :instance_initiated_shutdown_behavior
|
981
981
|
# Specifies whether an instance stops or terminates when you initiate
|
982
982
|
# shutdown from the instance (using the operating system command for
|
@@ -120,7 +120,7 @@ module Aws::EC2
|
|
120
120
|
data[:requester_managed]
|
121
121
|
end
|
122
122
|
|
123
|
-
# Indicates whether
|
123
|
+
# Indicates whether source/destination checking is enabled.
|
124
124
|
# @return [Boolean]
|
125
125
|
def source_dest_check
|
126
126
|
data[:source_dest_check]
|
@@ -535,15 +535,12 @@ module Aws::EC2
|
|
535
535
|
# one group, even if it's just the default security group in the VPC.
|
536
536
|
# You must specify the ID of the security group, not the name.
|
537
537
|
# @option options [Types::AttributeBooleanValue] :source_dest_check
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
|
538
|
+
# Enable or disable source/destination checks, which ensure that the
|
539
|
+
# instance is either the source or the destination of any traffic that
|
540
|
+
# it receives. If the value is `true`, source/destination checks are
|
541
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
542
|
+
# You must disable source/destination checks if the instance runs
|
543
|
+
# services such as network address translation, routing, or firewalls.
|
547
544
|
# @return [EmptyStructure]
|
548
545
|
def modify_attribute(options = {})
|
549
546
|
options = options.merge(network_interface_id: @id)
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -3229,6 +3229,8 @@ module Aws::EC2
|
|
3229
3229
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
3230
3230
|
# block associated with the subnet.
|
3231
3231
|
#
|
3232
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
3233
|
+
#
|
3232
3234
|
# * `owner-id` - The ID of the AWS account that owns the subnet.
|
3233
3235
|
#
|
3234
3236
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -1944,6 +1944,46 @@ module Aws::EC2
|
|
1944
1944
|
include Aws::Structure
|
1945
1945
|
end
|
1946
1946
|
|
1947
|
+
# Describes integration options for Amazon Athena.
|
1948
|
+
#
|
1949
|
+
# @note When making an API call, you may pass AthenaIntegration
|
1950
|
+
# data as a hash:
|
1951
|
+
#
|
1952
|
+
# {
|
1953
|
+
# integration_result_s3_destination_arn: "String", # required
|
1954
|
+
# partition_load_frequency: "none", # required, accepts none, daily, weekly, monthly
|
1955
|
+
# partition_start_date: Time.now,
|
1956
|
+
# partition_end_date: Time.now,
|
1957
|
+
# }
|
1958
|
+
#
|
1959
|
+
# @!attribute [rw] integration_result_s3_destination_arn
|
1960
|
+
# The location in Amazon S3 to store the generated CloudFormation
|
1961
|
+
# template.
|
1962
|
+
# @return [String]
|
1963
|
+
#
|
1964
|
+
# @!attribute [rw] partition_load_frequency
|
1965
|
+
# The schedule for adding new partitions to the table.
|
1966
|
+
# @return [String]
|
1967
|
+
#
|
1968
|
+
# @!attribute [rw] partition_start_date
|
1969
|
+
# The start date for the partition.
|
1970
|
+
# @return [Time]
|
1971
|
+
#
|
1972
|
+
# @!attribute [rw] partition_end_date
|
1973
|
+
# The end date for the partition.
|
1974
|
+
# @return [Time]
|
1975
|
+
#
|
1976
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AthenaIntegration AWS API Documentation
|
1977
|
+
#
|
1978
|
+
class AthenaIntegration < Struct.new(
|
1979
|
+
:integration_result_s3_destination_arn,
|
1980
|
+
:partition_load_frequency,
|
1981
|
+
:partition_start_date,
|
1982
|
+
:partition_end_date)
|
1983
|
+
SENSITIVE = []
|
1984
|
+
include Aws::Structure
|
1985
|
+
end
|
1986
|
+
|
1947
1987
|
# @note When making an API call, you may pass AttachClassicLinkVpcRequest
|
1948
1988
|
# data as a hash:
|
1949
1989
|
#
|
@@ -8380,6 +8420,86 @@ module Aws::EC2
|
|
8380
8420
|
include Aws::Structure
|
8381
8421
|
end
|
8382
8422
|
|
8423
|
+
# @note When making an API call, you may pass CreateReplaceRootVolumeTaskRequest
|
8424
|
+
# data as a hash:
|
8425
|
+
#
|
8426
|
+
# {
|
8427
|
+
# instance_id: "InstanceId", # required
|
8428
|
+
# snapshot_id: "SnapshotId",
|
8429
|
+
# client_token: "String",
|
8430
|
+
# dry_run: false,
|
8431
|
+
# tag_specifications: [
|
8432
|
+
# {
|
8433
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
8434
|
+
# tags: [
|
8435
|
+
# {
|
8436
|
+
# key: "String",
|
8437
|
+
# value: "String",
|
8438
|
+
# },
|
8439
|
+
# ],
|
8440
|
+
# },
|
8441
|
+
# ],
|
8442
|
+
# }
|
8443
|
+
#
|
8444
|
+
# @!attribute [rw] instance_id
|
8445
|
+
# The ID of the instance for which to replace the root volume.
|
8446
|
+
# @return [String]
|
8447
|
+
#
|
8448
|
+
# @!attribute [rw] snapshot_id
|
8449
|
+
# The ID of the snapshot from which to restore the replacement root
|
8450
|
+
# volume. If you want to restore the volume to the initial launch
|
8451
|
+
# state, omit this parameter.
|
8452
|
+
# @return [String]
|
8453
|
+
#
|
8454
|
+
# @!attribute [rw] client_token
|
8455
|
+
# Unique, case-sensitive identifier you provide to ensure the
|
8456
|
+
# idempotency of the request. If you do not specify a client token, a
|
8457
|
+
# randomly generated token is used for the request to ensure
|
8458
|
+
# idempotency. For more information, see [Ensuring Idempotency][1].
|
8459
|
+
#
|
8460
|
+
# **A suitable default value is auto-generated.** You should normally
|
8461
|
+
# not need to pass this option.
|
8462
|
+
#
|
8463
|
+
#
|
8464
|
+
#
|
8465
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
8466
|
+
# @return [String]
|
8467
|
+
#
|
8468
|
+
# @!attribute [rw] dry_run
|
8469
|
+
# Checks whether you have the required permissions for the action,
|
8470
|
+
# without actually making the request, and provides an error response.
|
8471
|
+
# If you have the required permissions, the error response is
|
8472
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
8473
|
+
# @return [Boolean]
|
8474
|
+
#
|
8475
|
+
# @!attribute [rw] tag_specifications
|
8476
|
+
# The tags to apply to the root volume replacement task.
|
8477
|
+
# @return [Array<Types::TagSpecification>]
|
8478
|
+
#
|
8479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReplaceRootVolumeTaskRequest AWS API Documentation
|
8480
|
+
#
|
8481
|
+
class CreateReplaceRootVolumeTaskRequest < Struct.new(
|
8482
|
+
:instance_id,
|
8483
|
+
:snapshot_id,
|
8484
|
+
:client_token,
|
8485
|
+
:dry_run,
|
8486
|
+
:tag_specifications)
|
8487
|
+
SENSITIVE = []
|
8488
|
+
include Aws::Structure
|
8489
|
+
end
|
8490
|
+
|
8491
|
+
# @!attribute [rw] replace_root_volume_task
|
8492
|
+
# Information about the root volume replacement task.
|
8493
|
+
# @return [Types::ReplaceRootVolumeTask]
|
8494
|
+
#
|
8495
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReplaceRootVolumeTaskResult AWS API Documentation
|
8496
|
+
#
|
8497
|
+
class CreateReplaceRootVolumeTaskResult < Struct.new(
|
8498
|
+
:replace_root_volume_task)
|
8499
|
+
SENSITIVE = []
|
8500
|
+
include Aws::Structure
|
8501
|
+
end
|
8502
|
+
|
8383
8503
|
# Contains the parameters for CreateReservedInstancesListing.
|
8384
8504
|
#
|
8385
8505
|
# @note When making an API call, you may pass CreateReservedInstancesListingRequest
|
@@ -8449,6 +8569,83 @@ module Aws::EC2
|
|
8449
8569
|
include Aws::Structure
|
8450
8570
|
end
|
8451
8571
|
|
8572
|
+
# @note When making an API call, you may pass CreateRestoreImageTaskRequest
|
8573
|
+
# data as a hash:
|
8574
|
+
#
|
8575
|
+
# {
|
8576
|
+
# bucket: "String", # required
|
8577
|
+
# object_key: "String", # required
|
8578
|
+
# name: "String",
|
8579
|
+
# tag_specifications: [
|
8580
|
+
# {
|
8581
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
8582
|
+
# tags: [
|
8583
|
+
# {
|
8584
|
+
# key: "String",
|
8585
|
+
# value: "String",
|
8586
|
+
# },
|
8587
|
+
# ],
|
8588
|
+
# },
|
8589
|
+
# ],
|
8590
|
+
# dry_run: false,
|
8591
|
+
# }
|
8592
|
+
#
|
8593
|
+
# @!attribute [rw] bucket
|
8594
|
+
# The name of the S3 bucket that contains the stored AMI object.
|
8595
|
+
# @return [String]
|
8596
|
+
#
|
8597
|
+
# @!attribute [rw] object_key
|
8598
|
+
# The name of the stored AMI object in the bucket.
|
8599
|
+
# @return [String]
|
8600
|
+
#
|
8601
|
+
# @!attribute [rw] name
|
8602
|
+
# The name for the restored AMI. The name must be unique for AMIs in
|
8603
|
+
# the Region for this account. If you do not provide a name, the new
|
8604
|
+
# AMI gets the same name as the original AMI.
|
8605
|
+
# @return [String]
|
8606
|
+
#
|
8607
|
+
# @!attribute [rw] tag_specifications
|
8608
|
+
# The tags to apply to the AMI and snapshots on restoration. You can
|
8609
|
+
# tag the AMI, the snapshots, or both.
|
8610
|
+
#
|
8611
|
+
# * To tag the AMI, the value for `ResourceType` must be `image`.
|
8612
|
+
#
|
8613
|
+
# * To tag the snapshots, the value for `ResourceType` must be
|
8614
|
+
# `snapshot`. The same tag is applied to all of the snapshots that
|
8615
|
+
# are created.
|
8616
|
+
# @return [Array<Types::TagSpecification>]
|
8617
|
+
#
|
8618
|
+
# @!attribute [rw] dry_run
|
8619
|
+
# Checks whether you have the required permissions for the action,
|
8620
|
+
# without actually making the request, and provides an error response.
|
8621
|
+
# If you have the required permissions, the error response is
|
8622
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
8623
|
+
# @return [Boolean]
|
8624
|
+
#
|
8625
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRestoreImageTaskRequest AWS API Documentation
|
8626
|
+
#
|
8627
|
+
class CreateRestoreImageTaskRequest < Struct.new(
|
8628
|
+
:bucket,
|
8629
|
+
:object_key,
|
8630
|
+
:name,
|
8631
|
+
:tag_specifications,
|
8632
|
+
:dry_run)
|
8633
|
+
SENSITIVE = []
|
8634
|
+
include Aws::Structure
|
8635
|
+
end
|
8636
|
+
|
8637
|
+
# @!attribute [rw] image_id
|
8638
|
+
# The AMI ID.
|
8639
|
+
# @return [String]
|
8640
|
+
#
|
8641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRestoreImageTaskResult AWS API Documentation
|
8642
|
+
#
|
8643
|
+
class CreateRestoreImageTaskResult < Struct.new(
|
8644
|
+
:image_id)
|
8645
|
+
SENSITIVE = []
|
8646
|
+
include Aws::Structure
|
8647
|
+
end
|
8648
|
+
|
8452
8649
|
# @note When making an API call, you may pass CreateRouteRequest
|
8453
8650
|
# data as a hash:
|
8454
8651
|
#
|
@@ -8956,6 +9153,67 @@ module Aws::EC2
|
|
8956
9153
|
include Aws::Structure
|
8957
9154
|
end
|
8958
9155
|
|
9156
|
+
# @note When making an API call, you may pass CreateStoreImageTaskRequest
|
9157
|
+
# data as a hash:
|
9158
|
+
#
|
9159
|
+
# {
|
9160
|
+
# image_id: "ImageId", # required
|
9161
|
+
# bucket: "String", # required
|
9162
|
+
# s3_object_tags: [
|
9163
|
+
# {
|
9164
|
+
# key: "String",
|
9165
|
+
# value: "String",
|
9166
|
+
# },
|
9167
|
+
# ],
|
9168
|
+
# dry_run: false,
|
9169
|
+
# }
|
9170
|
+
#
|
9171
|
+
# @!attribute [rw] image_id
|
9172
|
+
# The ID of the AMI.
|
9173
|
+
# @return [String]
|
9174
|
+
#
|
9175
|
+
# @!attribute [rw] bucket
|
9176
|
+
# The name of the S3 bucket in which the AMI object will be stored.
|
9177
|
+
# The bucket must be in the Region in which the request is being made.
|
9178
|
+
# The AMI object appears in the bucket only after the upload task has
|
9179
|
+
# completed.
|
9180
|
+
# @return [String]
|
9181
|
+
#
|
9182
|
+
# @!attribute [rw] s3_object_tags
|
9183
|
+
# The tags to apply to the AMI object that will be stored in the S3
|
9184
|
+
# bucket.
|
9185
|
+
# @return [Array<Types::S3ObjectTag>]
|
9186
|
+
#
|
9187
|
+
# @!attribute [rw] dry_run
|
9188
|
+
# Checks whether you have the required permissions for the action,
|
9189
|
+
# without actually making the request, and provides an error response.
|
9190
|
+
# If you have the required permissions, the error response is
|
9191
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9192
|
+
# @return [Boolean]
|
9193
|
+
#
|
9194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateStoreImageTaskRequest AWS API Documentation
|
9195
|
+
#
|
9196
|
+
class CreateStoreImageTaskRequest < Struct.new(
|
9197
|
+
:image_id,
|
9198
|
+
:bucket,
|
9199
|
+
:s3_object_tags,
|
9200
|
+
:dry_run)
|
9201
|
+
SENSITIVE = []
|
9202
|
+
include Aws::Structure
|
9203
|
+
end
|
9204
|
+
|
9205
|
+
# @!attribute [rw] object_key
|
9206
|
+
# The name of the stored AMI object in the S3 bucket.
|
9207
|
+
# @return [String]
|
9208
|
+
#
|
9209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateStoreImageTaskResult AWS API Documentation
|
9210
|
+
#
|
9211
|
+
class CreateStoreImageTaskResult < Struct.new(
|
9212
|
+
:object_key)
|
9213
|
+
SENSITIVE = []
|
9214
|
+
include Aws::Structure
|
9215
|
+
end
|
9216
|
+
|
8959
9217
|
# @note When making an API call, you may pass CreateSubnetRequest
|
8960
9218
|
# data as a hash:
|
8961
9219
|
#
|
@@ -14436,6 +14694,9 @@ module Aws::EC2
|
|
14436
14694
|
# constraints, or instance limit constraints. Failed requests are
|
14437
14695
|
# retained for 60 minutes.
|
14438
14696
|
#
|
14697
|
+
# * `start-date` - The date and time at which the Capacity Reservation
|
14698
|
+
# was started.
|
14699
|
+
#
|
14439
14700
|
# * `end-date` - The date and time at which the Capacity Reservation
|
14440
14701
|
# expires. When a Capacity Reservation expires, the reserved
|
14441
14702
|
# capacity is released and you can no longer launch instances into
|
@@ -17658,6 +17919,9 @@ module Aws::EC2
|
|
17658
17919
|
#
|
17659
17920
|
# * `memory-info.size-in-mib` - The memory size.
|
17660
17921
|
#
|
17922
|
+
# * `network-info.efa-info.maximum-efa-interfaces` - The maximum
|
17923
|
+
# number of Elastic Fabric Adapters (EFAs) per instance.
|
17924
|
+
#
|
17661
17925
|
# * `network-info.efa-supported` - Indicates whether the instance type
|
17662
17926
|
# supports Elastic Fabric Adapter (EFA) (`true` \| `false`).
|
17663
17927
|
#
|
@@ -20316,6 +20580,82 @@ module Aws::EC2
|
|
20316
20580
|
include Aws::Structure
|
20317
20581
|
end
|
20318
20582
|
|
20583
|
+
# @note When making an API call, you may pass DescribeReplaceRootVolumeTasksRequest
|
20584
|
+
# data as a hash:
|
20585
|
+
#
|
20586
|
+
# {
|
20587
|
+
# replace_root_volume_task_ids: ["ReplaceRootVolumeTaskId"],
|
20588
|
+
# filters: [
|
20589
|
+
# {
|
20590
|
+
# name: "String",
|
20591
|
+
# values: ["String"],
|
20592
|
+
# },
|
20593
|
+
# ],
|
20594
|
+
# max_results: 1,
|
20595
|
+
# next_token: "NextToken",
|
20596
|
+
# dry_run: false,
|
20597
|
+
# }
|
20598
|
+
#
|
20599
|
+
# @!attribute [rw] replace_root_volume_task_ids
|
20600
|
+
# The ID of the root volume replacement task to view.
|
20601
|
+
# @return [Array<String>]
|
20602
|
+
#
|
20603
|
+
# @!attribute [rw] filters
|
20604
|
+
# Filter to use:
|
20605
|
+
#
|
20606
|
+
# * `instance-id` - The ID of the instance for which the root volume
|
20607
|
+
# replacement task was created.
|
20608
|
+
#
|
20609
|
+
# ^
|
20610
|
+
# @return [Array<Types::Filter>]
|
20611
|
+
#
|
20612
|
+
# @!attribute [rw] max_results
|
20613
|
+
# The maximum number of results to return with a single call. To
|
20614
|
+
# retrieve the remaining results, make another call with the returned
|
20615
|
+
# `nextToken` value.
|
20616
|
+
# @return [Integer]
|
20617
|
+
#
|
20618
|
+
# @!attribute [rw] next_token
|
20619
|
+
# The token for the next page of results.
|
20620
|
+
# @return [String]
|
20621
|
+
#
|
20622
|
+
# @!attribute [rw] dry_run
|
20623
|
+
# Checks whether you have the required permissions for the action,
|
20624
|
+
# without actually making the request, and provides an error response.
|
20625
|
+
# If you have the required permissions, the error response is
|
20626
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
20627
|
+
# @return [Boolean]
|
20628
|
+
#
|
20629
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReplaceRootVolumeTasksRequest AWS API Documentation
|
20630
|
+
#
|
20631
|
+
class DescribeReplaceRootVolumeTasksRequest < Struct.new(
|
20632
|
+
:replace_root_volume_task_ids,
|
20633
|
+
:filters,
|
20634
|
+
:max_results,
|
20635
|
+
:next_token,
|
20636
|
+
:dry_run)
|
20637
|
+
SENSITIVE = []
|
20638
|
+
include Aws::Structure
|
20639
|
+
end
|
20640
|
+
|
20641
|
+
# @!attribute [rw] replace_root_volume_tasks
|
20642
|
+
# Information about the root volume replacement task.
|
20643
|
+
# @return [Array<Types::ReplaceRootVolumeTask>]
|
20644
|
+
#
|
20645
|
+
# @!attribute [rw] next_token
|
20646
|
+
# The token to use to retrieve the next page of results. This value is
|
20647
|
+
# `null` when there are no more results to return.
|
20648
|
+
# @return [String]
|
20649
|
+
#
|
20650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReplaceRootVolumeTasksResult AWS API Documentation
|
20651
|
+
#
|
20652
|
+
class DescribeReplaceRootVolumeTasksResult < Struct.new(
|
20653
|
+
:replace_root_volume_tasks,
|
20654
|
+
:next_token)
|
20655
|
+
SENSITIVE = []
|
20656
|
+
include Aws::Structure
|
20657
|
+
end
|
20658
|
+
|
20319
20659
|
# Contains the parameters for DescribeReservedInstancesListings.
|
20320
20660
|
#
|
20321
20661
|
# @note When making an API call, you may pass DescribeReservedInstancesListingsRequest
|
@@ -22217,6 +22557,86 @@ module Aws::EC2
|
|
22217
22557
|
include Aws::Structure
|
22218
22558
|
end
|
22219
22559
|
|
22560
|
+
# @note When making an API call, you may pass DescribeStoreImageTasksRequest
|
22561
|
+
# data as a hash:
|
22562
|
+
#
|
22563
|
+
# {
|
22564
|
+
# image_ids: ["ImageId"],
|
22565
|
+
# dry_run: false,
|
22566
|
+
# filters: [
|
22567
|
+
# {
|
22568
|
+
# name: "String",
|
22569
|
+
# values: ["String"],
|
22570
|
+
# },
|
22571
|
+
# ],
|
22572
|
+
# next_token: "String",
|
22573
|
+
# max_results: 1,
|
22574
|
+
# }
|
22575
|
+
#
|
22576
|
+
# @!attribute [rw] image_ids
|
22577
|
+
# The AMI IDs for which to show progress. Up to 20 AMI IDs can be
|
22578
|
+
# included in a request.
|
22579
|
+
# @return [Array<String>]
|
22580
|
+
#
|
22581
|
+
# @!attribute [rw] dry_run
|
22582
|
+
# Checks whether you have the required permissions for the action,
|
22583
|
+
# without actually making the request, and provides an error response.
|
22584
|
+
# If you have the required permissions, the error response is
|
22585
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
22586
|
+
# @return [Boolean]
|
22587
|
+
#
|
22588
|
+
# @!attribute [rw] filters
|
22589
|
+
# The filters.
|
22590
|
+
#
|
22591
|
+
# * `task-state` - Returns tasks in a certain state (`InProgress` \|
|
22592
|
+
# `Completed` \| `Failed`)
|
22593
|
+
#
|
22594
|
+
# * `bucket` - Returns task information for tasks that targeted a
|
22595
|
+
# specific bucket. For the filter value, specify the bucket name.
|
22596
|
+
# @return [Array<Types::Filter>]
|
22597
|
+
#
|
22598
|
+
# @!attribute [rw] next_token
|
22599
|
+
# The token for the next page of results.
|
22600
|
+
# @return [String]
|
22601
|
+
#
|
22602
|
+
# @!attribute [rw] max_results
|
22603
|
+
# The maximum number of results to return in a single call. To
|
22604
|
+
# retrieve the remaining results, make another call with the returned
|
22605
|
+
# `NextToken` value. This value can be between 1 and 200. You cannot
|
22606
|
+
# specify this parameter and the `ImageIDs` parameter in the same
|
22607
|
+
# call.
|
22608
|
+
# @return [Integer]
|
22609
|
+
#
|
22610
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasksRequest AWS API Documentation
|
22611
|
+
#
|
22612
|
+
class DescribeStoreImageTasksRequest < Struct.new(
|
22613
|
+
:image_ids,
|
22614
|
+
:dry_run,
|
22615
|
+
:filters,
|
22616
|
+
:next_token,
|
22617
|
+
:max_results)
|
22618
|
+
SENSITIVE = []
|
22619
|
+
include Aws::Structure
|
22620
|
+
end
|
22621
|
+
|
22622
|
+
# @!attribute [rw] store_image_task_results
|
22623
|
+
# The information about the AMI store tasks.
|
22624
|
+
# @return [Array<Types::StoreImageTaskResult>]
|
22625
|
+
#
|
22626
|
+
# @!attribute [rw] next_token
|
22627
|
+
# The token to use to retrieve the next page of results. This value is
|
22628
|
+
# `null` when there are no more results to return.
|
22629
|
+
# @return [String]
|
22630
|
+
#
|
22631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasksResult AWS API Documentation
|
22632
|
+
#
|
22633
|
+
class DescribeStoreImageTasksResult < Struct.new(
|
22634
|
+
:store_image_task_results,
|
22635
|
+
:next_token)
|
22636
|
+
SENSITIVE = []
|
22637
|
+
include Aws::Structure
|
22638
|
+
end
|
22639
|
+
|
22220
22640
|
# @note When making an API call, you may pass DescribeSubnetsRequest
|
22221
22641
|
# data as a hash:
|
22222
22642
|
#
|
@@ -22263,6 +22683,8 @@ module Aws::EC2
|
|
22263
22683
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
22264
22684
|
# block associated with the subnet.
|
22265
22685
|
#
|
22686
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
22687
|
+
#
|
22266
22688
|
# * `owner-id` - The ID of the AWS account that owns the subnet.
|
22267
22689
|
#
|
22268
22690
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
@@ -25455,6 +25877,42 @@ module Aws::EC2
|
|
25455
25877
|
include Aws::Structure
|
25456
25878
|
end
|
25457
25879
|
|
25880
|
+
# @note When making an API call, you may pass DisableSerialConsoleAccessRequest
|
25881
|
+
# data as a hash:
|
25882
|
+
#
|
25883
|
+
# {
|
25884
|
+
# dry_run: false,
|
25885
|
+
# }
|
25886
|
+
#
|
25887
|
+
# @!attribute [rw] dry_run
|
25888
|
+
# Checks whether you have the required permissions for the action,
|
25889
|
+
# without actually making the request, and provides an error response.
|
25890
|
+
# If you have the required permissions, the error response is
|
25891
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25892
|
+
# @return [Boolean]
|
25893
|
+
#
|
25894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSerialConsoleAccessRequest AWS API Documentation
|
25895
|
+
#
|
25896
|
+
class DisableSerialConsoleAccessRequest < Struct.new(
|
25897
|
+
:dry_run)
|
25898
|
+
SENSITIVE = []
|
25899
|
+
include Aws::Structure
|
25900
|
+
end
|
25901
|
+
|
25902
|
+
# @!attribute [rw] serial_console_access_enabled
|
25903
|
+
# If `true`, access to the EC2 serial console of all instances is
|
25904
|
+
# enabled for your account. If `false`, access to the EC2 serial
|
25905
|
+
# console of all instances is disabled for your account.
|
25906
|
+
# @return [Boolean]
|
25907
|
+
#
|
25908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSerialConsoleAccessResult AWS API Documentation
|
25909
|
+
#
|
25910
|
+
class DisableSerialConsoleAccessResult < Struct.new(
|
25911
|
+
:serial_console_access_enabled)
|
25912
|
+
SENSITIVE = []
|
25913
|
+
include Aws::Structure
|
25914
|
+
end
|
25915
|
+
|
25458
25916
|
# @note When making an API call, you may pass DisableTransitGatewayRouteTablePropagationRequest
|
25459
25917
|
# data as a hash:
|
25460
25918
|
#
|
@@ -26487,6 +26945,20 @@ module Aws::EC2
|
|
26487
26945
|
include Aws::Structure
|
26488
26946
|
end
|
26489
26947
|
|
26948
|
+
# Describes the Elastic Fabric Adapters for the instance type.
|
26949
|
+
#
|
26950
|
+
# @!attribute [rw] maximum_efa_interfaces
|
26951
|
+
# The maximum number of Elastic Fabric Adapters for the instance type.
|
26952
|
+
# @return [Integer]
|
26953
|
+
#
|
26954
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EfaInfo AWS API Documentation
|
26955
|
+
#
|
26956
|
+
class EfaInfo < Struct.new(
|
26957
|
+
:maximum_efa_interfaces)
|
26958
|
+
SENSITIVE = []
|
26959
|
+
include Aws::Structure
|
26960
|
+
end
|
26961
|
+
|
26490
26962
|
# Describes an egress-only internet gateway.
|
26491
26963
|
#
|
26492
26964
|
# @!attribute [rw] attachments
|
@@ -26936,6 +27408,42 @@ module Aws::EC2
|
|
26936
27408
|
include Aws::Structure
|
26937
27409
|
end
|
26938
27410
|
|
27411
|
+
# @note When making an API call, you may pass EnableSerialConsoleAccessRequest
|
27412
|
+
# data as a hash:
|
27413
|
+
#
|
27414
|
+
# {
|
27415
|
+
# dry_run: false,
|
27416
|
+
# }
|
27417
|
+
#
|
27418
|
+
# @!attribute [rw] dry_run
|
27419
|
+
# Checks whether you have the required permissions for the action,
|
27420
|
+
# without actually making the request, and provides an error response.
|
27421
|
+
# If you have the required permissions, the error response is
|
27422
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27423
|
+
# @return [Boolean]
|
27424
|
+
#
|
27425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSerialConsoleAccessRequest AWS API Documentation
|
27426
|
+
#
|
27427
|
+
class EnableSerialConsoleAccessRequest < Struct.new(
|
27428
|
+
:dry_run)
|
27429
|
+
SENSITIVE = []
|
27430
|
+
include Aws::Structure
|
27431
|
+
end
|
27432
|
+
|
27433
|
+
# @!attribute [rw] serial_console_access_enabled
|
27434
|
+
# If `true`, access to the EC2 serial console of all instances is
|
27435
|
+
# enabled for your account. If `false`, access to the EC2 serial
|
27436
|
+
# console of all instances is disabled for your account.
|
27437
|
+
# @return [Boolean]
|
27438
|
+
#
|
27439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSerialConsoleAccessResult AWS API Documentation
|
27440
|
+
#
|
27441
|
+
class EnableSerialConsoleAccessResult < Struct.new(
|
27442
|
+
:serial_console_access_enabled)
|
27443
|
+
SENSITIVE = []
|
27444
|
+
include Aws::Structure
|
27445
|
+
end
|
27446
|
+
|
26939
27447
|
# @note When making an API call, you may pass EnableTransitGatewayRouteTablePropagationRequest
|
26940
27448
|
# data as a hash:
|
26941
27449
|
#
|
@@ -28390,7 +28898,7 @@ module Aws::EC2
|
|
28390
28898
|
# If the Spot `AllocationStrategy` is set to
|
28391
28899
|
# `capacity-optimized-prioritized`, EC2 Fleet uses priority on a
|
28392
28900
|
# best-effort basis to determine which launch template override to use
|
28393
|
-
#
|
28901
|
+
# in fulfilling Spot capacity, but optimizes for capacity first.
|
28394
28902
|
#
|
28395
28903
|
# Valid values are whole numbers starting at `0`. The lower the
|
28396
28904
|
# number, the higher the priority. If no number is set, the override
|
@@ -28475,7 +28983,7 @@ module Aws::EC2
|
|
28475
28983
|
# If the Spot `AllocationStrategy` is set to
|
28476
28984
|
# `capacity-optimized-prioritized`, EC2 Fleet uses priority on a
|
28477
28985
|
# best-effort basis to determine which launch template override to use
|
28478
|
-
#
|
28986
|
+
# in fulfilling Spot capacity, but optimizes for capacity first.
|
28479
28987
|
#
|
28480
28988
|
# Valid values are whole numbers starting at `0`. The lower the
|
28481
28989
|
# number, the higher the priority. If no number is set, the launch
|
@@ -29546,6 +30054,68 @@ module Aws::EC2
|
|
29546
30054
|
include Aws::Structure
|
29547
30055
|
end
|
29548
30056
|
|
30057
|
+
# @note When making an API call, you may pass GetFlowLogsIntegrationTemplateRequest
|
30058
|
+
# data as a hash:
|
30059
|
+
#
|
30060
|
+
# {
|
30061
|
+
# dry_run: false,
|
30062
|
+
# flow_log_id: "VpcFlowLogId", # required
|
30063
|
+
# config_delivery_s3_destination_arn: "String", # required
|
30064
|
+
# integrate_services: { # required
|
30065
|
+
# athena_integrations: [
|
30066
|
+
# {
|
30067
|
+
# integration_result_s3_destination_arn: "String", # required
|
30068
|
+
# partition_load_frequency: "none", # required, accepts none, daily, weekly, monthly
|
30069
|
+
# partition_start_date: Time.now,
|
30070
|
+
# partition_end_date: Time.now,
|
30071
|
+
# },
|
30072
|
+
# ],
|
30073
|
+
# },
|
30074
|
+
# }
|
30075
|
+
#
|
30076
|
+
# @!attribute [rw] dry_run
|
30077
|
+
# Checks whether you have the required permissions for the action,
|
30078
|
+
# without actually making the request, and provides an error response.
|
30079
|
+
# If you have the required permissions, the error response is
|
30080
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30081
|
+
# @return [Boolean]
|
30082
|
+
#
|
30083
|
+
# @!attribute [rw] flow_log_id
|
30084
|
+
# The ID of the flow log.
|
30085
|
+
# @return [String]
|
30086
|
+
#
|
30087
|
+
# @!attribute [rw] config_delivery_s3_destination_arn
|
30088
|
+
# To store the CloudFormation template in Amazon S3, specify the
|
30089
|
+
# location in Amazon S3.
|
30090
|
+
# @return [String]
|
30091
|
+
#
|
30092
|
+
# @!attribute [rw] integrate_services
|
30093
|
+
# Information about the service integration.
|
30094
|
+
# @return [Types::IntegrateServices]
|
30095
|
+
#
|
30096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetFlowLogsIntegrationTemplateRequest AWS API Documentation
|
30097
|
+
#
|
30098
|
+
class GetFlowLogsIntegrationTemplateRequest < Struct.new(
|
30099
|
+
:dry_run,
|
30100
|
+
:flow_log_id,
|
30101
|
+
:config_delivery_s3_destination_arn,
|
30102
|
+
:integrate_services)
|
30103
|
+
SENSITIVE = []
|
30104
|
+
include Aws::Structure
|
30105
|
+
end
|
30106
|
+
|
30107
|
+
# @!attribute [rw] result
|
30108
|
+
# The generated CloudFormation template.
|
30109
|
+
# @return [String]
|
30110
|
+
#
|
30111
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetFlowLogsIntegrationTemplateResult AWS API Documentation
|
30112
|
+
#
|
30113
|
+
class GetFlowLogsIntegrationTemplateResult < Struct.new(
|
30114
|
+
:result)
|
30115
|
+
SENSITIVE = []
|
30116
|
+
include Aws::Structure
|
30117
|
+
end
|
30118
|
+
|
29549
30119
|
# @note When making an API call, you may pass GetGroupsForCapacityReservationRequest
|
29550
30120
|
# data as a hash:
|
29551
30121
|
#
|
@@ -29980,6 +30550,42 @@ module Aws::EC2
|
|
29980
30550
|
include Aws::Structure
|
29981
30551
|
end
|
29982
30552
|
|
30553
|
+
# @note When making an API call, you may pass GetSerialConsoleAccessStatusRequest
|
30554
|
+
# data as a hash:
|
30555
|
+
#
|
30556
|
+
# {
|
30557
|
+
# dry_run: false,
|
30558
|
+
# }
|
30559
|
+
#
|
30560
|
+
# @!attribute [rw] dry_run
|
30561
|
+
# Checks whether you have the required permissions for the action,
|
30562
|
+
# without actually making the request, and provides an error response.
|
30563
|
+
# If you have the required permissions, the error response is
|
30564
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30565
|
+
# @return [Boolean]
|
30566
|
+
#
|
30567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSerialConsoleAccessStatusRequest AWS API Documentation
|
30568
|
+
#
|
30569
|
+
class GetSerialConsoleAccessStatusRequest < Struct.new(
|
30570
|
+
:dry_run)
|
30571
|
+
SENSITIVE = []
|
30572
|
+
include Aws::Structure
|
30573
|
+
end
|
30574
|
+
|
30575
|
+
# @!attribute [rw] serial_console_access_enabled
|
30576
|
+
# If `true`, access to the EC2 serial console of all instances is
|
30577
|
+
# enabled for your account. If `false`, access to the EC2 serial
|
30578
|
+
# console of all instances is disabled for your account.
|
30579
|
+
# @return [Boolean]
|
30580
|
+
#
|
30581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSerialConsoleAccessStatusResult AWS API Documentation
|
30582
|
+
#
|
30583
|
+
class GetSerialConsoleAccessStatusResult < Struct.new(
|
30584
|
+
:serial_console_access_enabled)
|
30585
|
+
SENSITIVE = []
|
30586
|
+
include Aws::Structure
|
30587
|
+
end
|
30588
|
+
|
29983
30589
|
# @note When making an API call, you may pass GetTransitGatewayAttachmentPropagationsRequest
|
29984
30590
|
# data as a hash:
|
29985
30591
|
#
|
@@ -33340,8 +33946,7 @@ module Aws::EC2
|
|
33340
33946
|
# @return [Array<Types::InstancePrivateIpAddress>]
|
33341
33947
|
#
|
33342
33948
|
# @!attribute [rw] source_dest_check
|
33343
|
-
# Indicates whether
|
33344
|
-
# network interface.
|
33949
|
+
# Indicates whether source/destination checking is enabled.
|
33345
33950
|
# @return [Boolean]
|
33346
33951
|
#
|
33347
33952
|
# @!attribute [rw] status
|
@@ -34139,6 +34744,34 @@ module Aws::EC2
|
|
34139
34744
|
include Aws::Structure
|
34140
34745
|
end
|
34141
34746
|
|
34747
|
+
# Describes service integrations with VPC Flow logs.
|
34748
|
+
#
|
34749
|
+
# @note When making an API call, you may pass IntegrateServices
|
34750
|
+
# data as a hash:
|
34751
|
+
#
|
34752
|
+
# {
|
34753
|
+
# athena_integrations: [
|
34754
|
+
# {
|
34755
|
+
# integration_result_s3_destination_arn: "String", # required
|
34756
|
+
# partition_load_frequency: "none", # required, accepts none, daily, weekly, monthly
|
34757
|
+
# partition_start_date: Time.now,
|
34758
|
+
# partition_end_date: Time.now,
|
34759
|
+
# },
|
34760
|
+
# ],
|
34761
|
+
# }
|
34762
|
+
#
|
34763
|
+
# @!attribute [rw] athena_integrations
|
34764
|
+
# Information about the integration with Amazon Athena.
|
34765
|
+
# @return [Array<Types::AthenaIntegration>]
|
34766
|
+
#
|
34767
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IntegrateServices AWS API Documentation
|
34768
|
+
#
|
34769
|
+
class IntegrateServices < Struct.new(
|
34770
|
+
:athena_integrations)
|
34771
|
+
SENSITIVE = []
|
34772
|
+
include Aws::Structure
|
34773
|
+
end
|
34774
|
+
|
34142
34775
|
# Describes an internet gateway.
|
34143
34776
|
#
|
34144
34777
|
# @!attribute [rw] attachments
|
@@ -35838,7 +36471,7 @@ module Aws::EC2
|
|
35838
36471
|
# If the Spot `AllocationStrategy` is set to
|
35839
36472
|
# `capacityOptimizedPrioritized`, Spot Fleet uses priority on a
|
35840
36473
|
# best-effort basis to determine which launch template override to use
|
35841
|
-
#
|
36474
|
+
# in fulfilling Spot capacity, but optimizes for capacity first.
|
35842
36475
|
#
|
35843
36476
|
# Valid values are whole numbers starting at `0`. The lower the
|
35844
36477
|
# number, the higher the priority. If no number is set, the launch
|
@@ -37800,10 +38433,10 @@ module Aws::EC2
|
|
37800
38433
|
# @return [Types::AttributeBooleanValue]
|
37801
38434
|
#
|
37802
38435
|
# @!attribute [rw] groups
|
37803
|
-
# \[EC2-VPC\]
|
37804
|
-
# specify at least one security
|
37805
|
-
#
|
37806
|
-
# not the security group name.
|
38436
|
+
# \[EC2-VPC\] Replaces the security groups of the instance with the
|
38437
|
+
# specified security groups. You must specify at least one security
|
38438
|
+
# group, even if it's just the default security group for the VPC.
|
38439
|
+
# You must specify the security group ID, not the security group name.
|
37807
38440
|
# @return [Array<String>]
|
37808
38441
|
#
|
37809
38442
|
# @!attribute [rw] instance_id
|
@@ -38416,15 +39049,12 @@ module Aws::EC2
|
|
38416
39049
|
# @return [String]
|
38417
39050
|
#
|
38418
39051
|
# @!attribute [rw] source_dest_check
|
38419
|
-
#
|
38420
|
-
#
|
38421
|
-
#
|
38422
|
-
#
|
38423
|
-
#
|
38424
|
-
#
|
38425
|
-
#
|
38426
|
-
#
|
38427
|
-
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
|
39052
|
+
# Enable or disable source/destination checks, which ensure that the
|
39053
|
+
# instance is either the source or the destination of any traffic that
|
39054
|
+
# it receives. If the value is `true`, source/destination checks are
|
39055
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
39056
|
+
# You must disable source/destination checks if the instance runs
|
39057
|
+
# services such as network address translation, routing, or firewalls.
|
38428
39058
|
# @return [Types::AttributeBooleanValue]
|
38429
39059
|
#
|
38430
39060
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeRequest AWS API Documentation
|
@@ -39384,7 +40014,8 @@ module Aws::EC2
|
|
39384
40014
|
# * `io2`\: 100-64,000 IOPS
|
39385
40015
|
#
|
39386
40016
|
# Default: If no IOPS value is specified, the existing value is
|
39387
|
-
# retained
|
40017
|
+
# retained, unless a volume type is modified that supports different
|
40018
|
+
# values.
|
39388
40019
|
# @return [Integer]
|
39389
40020
|
#
|
39390
40021
|
# @!attribute [rw] throughput
|
@@ -40880,6 +41511,10 @@ module Aws::EC2
|
|
40880
41511
|
# Indicates whether Elastic Fabric Adapter (EFA) is supported.
|
40881
41512
|
# @return [Boolean]
|
40882
41513
|
#
|
41514
|
+
# @!attribute [rw] efa_info
|
41515
|
+
# Describes the Elastic Fabric Adapters for the instance type.
|
41516
|
+
# @return [Types::EfaInfo]
|
41517
|
+
#
|
40883
41518
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInfo AWS API Documentation
|
40884
41519
|
#
|
40885
41520
|
class NetworkInfo < Struct.new(
|
@@ -40892,7 +41527,8 @@ module Aws::EC2
|
|
40892
41527
|
:ipv_6_addresses_per_interface,
|
40893
41528
|
:ipv_6_supported,
|
40894
41529
|
:ena_support,
|
40895
|
-
:efa_supported
|
41530
|
+
:efa_supported,
|
41531
|
+
:efa_info)
|
40896
41532
|
SENSITIVE = []
|
40897
41533
|
include Aws::Structure
|
40898
41534
|
end
|
@@ -41106,7 +41742,7 @@ module Aws::EC2
|
|
41106
41742
|
# @return [Boolean]
|
41107
41743
|
#
|
41108
41744
|
# @!attribute [rw] source_dest_check
|
41109
|
-
# Indicates whether
|
41745
|
+
# Indicates whether source/destination checking is enabled.
|
41110
41746
|
# @return [Boolean]
|
41111
41747
|
#
|
41112
41748
|
# @!attribute [rw] status
|
@@ -44055,6 +44691,66 @@ module Aws::EC2
|
|
44055
44691
|
include Aws::Structure
|
44056
44692
|
end
|
44057
44693
|
|
44694
|
+
# Information about a root volume replacement task.
|
44695
|
+
#
|
44696
|
+
# @!attribute [rw] replace_root_volume_task_id
|
44697
|
+
# The ID of the root volume replacement task.
|
44698
|
+
# @return [String]
|
44699
|
+
#
|
44700
|
+
# @!attribute [rw] instance_id
|
44701
|
+
# The ID of the instance for which the root volume replacement task
|
44702
|
+
# was created.
|
44703
|
+
# @return [String]
|
44704
|
+
#
|
44705
|
+
# @!attribute [rw] task_state
|
44706
|
+
# The state of the task. The task can be in one of the following
|
44707
|
+
# states:
|
44708
|
+
#
|
44709
|
+
# * `pending` - the replacement volume is being created.
|
44710
|
+
#
|
44711
|
+
# * `in-progress` - the original volume is being detached and the
|
44712
|
+
# replacement volume is being attached.
|
44713
|
+
#
|
44714
|
+
# * `succeeded` - the replacement volume has been successfully
|
44715
|
+
# attached to the instance and the instance is available.
|
44716
|
+
#
|
44717
|
+
# * `failing` - the replacement task is in the process of failing.
|
44718
|
+
#
|
44719
|
+
# * `failed` - the replacement task has failed but the original root
|
44720
|
+
# volume is still attached.
|
44721
|
+
#
|
44722
|
+
# * `failing-detached` - the replacement task is in the process of
|
44723
|
+
# failing. The instance might have no root volume attached.
|
44724
|
+
#
|
44725
|
+
# * `failed-detached` - the replacement task has failed and the
|
44726
|
+
# instance has no root volume attached.
|
44727
|
+
# @return [String]
|
44728
|
+
#
|
44729
|
+
# @!attribute [rw] start_time
|
44730
|
+
# The time the task was started.
|
44731
|
+
# @return [String]
|
44732
|
+
#
|
44733
|
+
# @!attribute [rw] complete_time
|
44734
|
+
# The time the task completed.
|
44735
|
+
# @return [String]
|
44736
|
+
#
|
44737
|
+
# @!attribute [rw] tags
|
44738
|
+
# The tags assigned to the task.
|
44739
|
+
# @return [Array<Types::Tag>]
|
44740
|
+
#
|
44741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRootVolumeTask AWS API Documentation
|
44742
|
+
#
|
44743
|
+
class ReplaceRootVolumeTask < Struct.new(
|
44744
|
+
:replace_root_volume_task_id,
|
44745
|
+
:instance_id,
|
44746
|
+
:task_state,
|
44747
|
+
:start_time,
|
44748
|
+
:complete_time,
|
44749
|
+
:tags)
|
44750
|
+
SENSITIVE = []
|
44751
|
+
include Aws::Structure
|
44752
|
+
end
|
44753
|
+
|
44058
44754
|
# @note When making an API call, you may pass ReplaceRouteRequest
|
44059
44755
|
# data as a hash:
|
44060
44756
|
#
|
@@ -44979,7 +45675,7 @@ module Aws::EC2
|
|
44979
45675
|
# launch_group: "String",
|
44980
45676
|
# launch_specification: {
|
44981
45677
|
# security_group_ids: ["SecurityGroupId"],
|
44982
|
-
# security_groups: ["
|
45678
|
+
# security_groups: ["String"],
|
44983
45679
|
# addressing_type: "String",
|
44984
45680
|
# block_device_mappings: [
|
44985
45681
|
# {
|
@@ -45240,7 +45936,7 @@ module Aws::EC2
|
|
45240
45936
|
#
|
45241
45937
|
# {
|
45242
45938
|
# security_group_ids: ["SecurityGroupId"],
|
45243
|
-
# security_groups: ["
|
45939
|
+
# security_groups: ["String"],
|
45244
45940
|
# addressing_type: "String",
|
45245
45941
|
# block_device_mappings: [
|
45246
45942
|
# {
|
@@ -45386,9 +46082,7 @@ module Aws::EC2
|
|
45386
46082
|
# @return [String]
|
45387
46083
|
#
|
45388
46084
|
# @!attribute [rw] subnet_id
|
45389
|
-
# The
|
45390
|
-
# multiple subnets, separate them using commas; for example,
|
45391
|
-
# "subnet-1234abcdeexample1, subnet-0987cdef6example2".
|
46085
|
+
# The ID of the subnet in which to launch the instance.
|
45392
46086
|
# @return [String]
|
45393
46087
|
#
|
45394
46088
|
# @!attribute [rw] user_data
|
@@ -47776,6 +48470,45 @@ module Aws::EC2
|
|
47776
48470
|
include Aws::Structure
|
47777
48471
|
end
|
47778
48472
|
|
48473
|
+
# The tags to apply to the AMI object that will be stored in the S3
|
48474
|
+
# bucket. For more information, see [Categorizing your storage using
|
48475
|
+
# tags][1] in the *Amazon Simple Storage Service User Guide*.
|
48476
|
+
#
|
48477
|
+
#
|
48478
|
+
#
|
48479
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html
|
48480
|
+
#
|
48481
|
+
# @note When making an API call, you may pass S3ObjectTag
|
48482
|
+
# data as a hash:
|
48483
|
+
#
|
48484
|
+
# {
|
48485
|
+
# key: "String",
|
48486
|
+
# value: "String",
|
48487
|
+
# }
|
48488
|
+
#
|
48489
|
+
# @!attribute [rw] key
|
48490
|
+
# The key of the tag.
|
48491
|
+
#
|
48492
|
+
# Constraints: Tag keys are case-sensitive and can be up to 128
|
48493
|
+
# Unicode characters in length. May not begin with `aws`\:.
|
48494
|
+
# @return [String]
|
48495
|
+
#
|
48496
|
+
# @!attribute [rw] value
|
48497
|
+
# The value of the tag.
|
48498
|
+
#
|
48499
|
+
# Constraints: Tag values are case-sensitive and can be up to 256
|
48500
|
+
# Unicode characters in length.
|
48501
|
+
# @return [String]
|
48502
|
+
#
|
48503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/S3ObjectTag AWS API Documentation
|
48504
|
+
#
|
48505
|
+
class S3ObjectTag < Struct.new(
|
48506
|
+
:key,
|
48507
|
+
:value)
|
48508
|
+
SENSITIVE = []
|
48509
|
+
include Aws::Structure
|
48510
|
+
end
|
48511
|
+
|
47779
48512
|
# Describes the storage parameters for S3 and S3 buckets for an instance
|
47780
48513
|
# store-backed AMI.
|
47781
48514
|
#
|
@@ -51381,6 +52114,53 @@ module Aws::EC2
|
|
51381
52114
|
include Aws::Structure
|
51382
52115
|
end
|
51383
52116
|
|
52117
|
+
# The information about the AMI store task, including the progress of
|
52118
|
+
# the task.
|
52119
|
+
#
|
52120
|
+
# @!attribute [rw] ami_id
|
52121
|
+
# The ID of the AMI that is being stored.
|
52122
|
+
# @return [String]
|
52123
|
+
#
|
52124
|
+
# @!attribute [rw] task_start_time
|
52125
|
+
# The time the task started.
|
52126
|
+
# @return [Time]
|
52127
|
+
#
|
52128
|
+
# @!attribute [rw] bucket
|
52129
|
+
# The name of the S3 bucket that contains the stored AMI object.
|
52130
|
+
# @return [String]
|
52131
|
+
#
|
52132
|
+
# @!attribute [rw] s3object_key
|
52133
|
+
# The name of the stored AMI object in the bucket.
|
52134
|
+
# @return [String]
|
52135
|
+
#
|
52136
|
+
# @!attribute [rw] progress_percentage
|
52137
|
+
# The progress of the task as a percentage.
|
52138
|
+
# @return [Integer]
|
52139
|
+
#
|
52140
|
+
# @!attribute [rw] store_task_state
|
52141
|
+
# The state of the store task (`InProgress`, `Completed`, or
|
52142
|
+
# `Failed`).
|
52143
|
+
# @return [String]
|
52144
|
+
#
|
52145
|
+
# @!attribute [rw] store_task_failure_reason
|
52146
|
+
# If the tasks fails, the reason for the failure is returned. If the
|
52147
|
+
# task succeeds, `null` is returned.
|
52148
|
+
# @return [String]
|
52149
|
+
#
|
52150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StoreImageTaskResult AWS API Documentation
|
52151
|
+
#
|
52152
|
+
class StoreImageTaskResult < Struct.new(
|
52153
|
+
:ami_id,
|
52154
|
+
:task_start_time,
|
52155
|
+
:bucket,
|
52156
|
+
:s3object_key,
|
52157
|
+
:progress_percentage,
|
52158
|
+
:store_task_state,
|
52159
|
+
:store_task_failure_reason)
|
52160
|
+
SENSITIVE = []
|
52161
|
+
include Aws::Structure
|
52162
|
+
end
|
52163
|
+
|
51384
52164
|
# Describes a subnet.
|
51385
52165
|
#
|
51386
52166
|
# @!attribute [rw] availability_zone
|
@@ -53704,23 +54484,23 @@ module Aws::EC2
|
|
53704
54484
|
# data as a hash:
|
53705
54485
|
#
|
53706
54486
|
# {
|
53707
|
-
# ipv_6_addresses: ["String"], # required
|
53708
54487
|
# network_interface_id: "NetworkInterfaceId", # required
|
54488
|
+
# ipv_6_addresses: ["String"], # required
|
53709
54489
|
# }
|
53710
54490
|
#
|
53711
|
-
# @!attribute [rw] ipv_6_addresses
|
53712
|
-
# The IPv6 addresses to unassign from the network interface.
|
53713
|
-
# @return [Array<String>]
|
53714
|
-
#
|
53715
54491
|
# @!attribute [rw] network_interface_id
|
53716
54492
|
# The ID of the network interface.
|
53717
54493
|
# @return [String]
|
53718
54494
|
#
|
54495
|
+
# @!attribute [rw] ipv_6_addresses
|
54496
|
+
# The IPv6 addresses to unassign from the network interface.
|
54497
|
+
# @return [Array<String>]
|
54498
|
+
#
|
53719
54499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesRequest AWS API Documentation
|
53720
54500
|
#
|
53721
54501
|
class UnassignIpv6AddressesRequest < Struct.new(
|
53722
|
-
:
|
53723
|
-
:
|
54502
|
+
:network_interface_id,
|
54503
|
+
:ipv_6_addresses)
|
53724
54504
|
SENSITIVE = []
|
53725
54505
|
include Aws::Structure
|
53726
54506
|
end
|