aws-sdk-ec2 1.230.0 → 1.235.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/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +677 -68
- data/lib/aws-sdk-ec2/client_api.rb +240 -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 +803 -44
- data/lib/aws-sdk-ec2/vpc.rb +2 -0
- data/lib/aws-sdk-ec2/waiters.rb +1 -1
- metadata +3 -4
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
|
@@ -17659,8 +17920,7 @@ module Aws::EC2
|
|
17659
17920
|
# * `memory-info.size-in-mib` - The memory size.
|
17660
17921
|
#
|
17661
17922
|
# * `network-info.efa-info.maximum-efa-interfaces` - The maximum
|
17662
|
-
# number of Elastic Fabric Adapters (EFAs) per instance.
|
17663
|
-
# `false`).
|
17923
|
+
# number of Elastic Fabric Adapters (EFAs) per instance.
|
17664
17924
|
#
|
17665
17925
|
# * `network-info.efa-supported` - Indicates whether the instance type
|
17666
17926
|
# supports Elastic Fabric Adapter (EFA) (`true` \| `false`).
|
@@ -20320,6 +20580,82 @@ module Aws::EC2
|
|
20320
20580
|
include Aws::Structure
|
20321
20581
|
end
|
20322
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
|
+
|
20323
20659
|
# Contains the parameters for DescribeReservedInstancesListings.
|
20324
20660
|
#
|
20325
20661
|
# @note When making an API call, you may pass DescribeReservedInstancesListingsRequest
|
@@ -20539,11 +20875,12 @@ module Aws::EC2
|
|
20539
20875
|
# holders and are for use with Amazon VPC. (`Linux/UNIX` \|
|
20540
20876
|
# `Linux/UNIX (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon
|
20541
20877
|
# VPC)` \| `Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux
|
20542
|
-
# (Amazon VPC)` \| `
|
20543
|
-
#
|
20544
|
-
#
|
20545
|
-
# SQL Server Web
|
20546
|
-
#
|
20878
|
+
# (Amazon VPC)` \| `Red Hat Enterprise Linux with HA (Amazon VPC)`
|
20879
|
+
# \| `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
|
20880
|
+
# Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
|
20881
|
+
# `Windows with SQL Server Web` \| ` Windows with SQL Server Web
|
20882
|
+
# (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
|
20883
|
+
# with SQL Server Enterprise (Amazon VPC)`)
|
20547
20884
|
#
|
20548
20885
|
# * `reserved-instances-offering-id` - The Reserved Instances offering
|
20549
20886
|
# ID.
|
@@ -20729,11 +21066,12 @@ module Aws::EC2
|
|
20729
21066
|
# holders and are for use with Amazon VPC (`Linux/UNIX` \|
|
20730
21067
|
# `Linux/UNIX (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon
|
20731
21068
|
# VPC)` \| `Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux
|
20732
|
-
# (Amazon VPC)` \| `
|
20733
|
-
#
|
20734
|
-
#
|
20735
|
-
# SQL Server Web
|
20736
|
-
#
|
21069
|
+
# (Amazon VPC)` \| `Red Hat Enterprise Linux with HA (Amazon VPC)`
|
21070
|
+
# \| `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
|
21071
|
+
# Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
|
21072
|
+
# `Windows with SQL Server Web` \| `Windows with SQL Server Web
|
21073
|
+
# (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
|
21074
|
+
# with SQL Server Enterprise (Amazon VPC)`).
|
20737
21075
|
#
|
20738
21076
|
# * `reserved-instances-id` - The ID of the Reserved Instance.
|
20739
21077
|
#
|
@@ -22221,6 +22559,86 @@ module Aws::EC2
|
|
22221
22559
|
include Aws::Structure
|
22222
22560
|
end
|
22223
22561
|
|
22562
|
+
# @note When making an API call, you may pass DescribeStoreImageTasksRequest
|
22563
|
+
# data as a hash:
|
22564
|
+
#
|
22565
|
+
# {
|
22566
|
+
# image_ids: ["ImageId"],
|
22567
|
+
# dry_run: false,
|
22568
|
+
# filters: [
|
22569
|
+
# {
|
22570
|
+
# name: "String",
|
22571
|
+
# values: ["String"],
|
22572
|
+
# },
|
22573
|
+
# ],
|
22574
|
+
# next_token: "String",
|
22575
|
+
# max_results: 1,
|
22576
|
+
# }
|
22577
|
+
#
|
22578
|
+
# @!attribute [rw] image_ids
|
22579
|
+
# The AMI IDs for which to show progress. Up to 20 AMI IDs can be
|
22580
|
+
# included in a request.
|
22581
|
+
# @return [Array<String>]
|
22582
|
+
#
|
22583
|
+
# @!attribute [rw] dry_run
|
22584
|
+
# Checks whether you have the required permissions for the action,
|
22585
|
+
# without actually making the request, and provides an error response.
|
22586
|
+
# If you have the required permissions, the error response is
|
22587
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
22588
|
+
# @return [Boolean]
|
22589
|
+
#
|
22590
|
+
# @!attribute [rw] filters
|
22591
|
+
# The filters.
|
22592
|
+
#
|
22593
|
+
# * `task-state` - Returns tasks in a certain state (`InProgress` \|
|
22594
|
+
# `Completed` \| `Failed`)
|
22595
|
+
#
|
22596
|
+
# * `bucket` - Returns task information for tasks that targeted a
|
22597
|
+
# specific bucket. For the filter value, specify the bucket name.
|
22598
|
+
# @return [Array<Types::Filter>]
|
22599
|
+
#
|
22600
|
+
# @!attribute [rw] next_token
|
22601
|
+
# The token for the next page of results.
|
22602
|
+
# @return [String]
|
22603
|
+
#
|
22604
|
+
# @!attribute [rw] max_results
|
22605
|
+
# The maximum number of results to return in a single call. To
|
22606
|
+
# retrieve the remaining results, make another call with the returned
|
22607
|
+
# `NextToken` value. This value can be between 1 and 200. You cannot
|
22608
|
+
# specify this parameter and the `ImageIDs` parameter in the same
|
22609
|
+
# call.
|
22610
|
+
# @return [Integer]
|
22611
|
+
#
|
22612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasksRequest AWS API Documentation
|
22613
|
+
#
|
22614
|
+
class DescribeStoreImageTasksRequest < Struct.new(
|
22615
|
+
:image_ids,
|
22616
|
+
:dry_run,
|
22617
|
+
:filters,
|
22618
|
+
:next_token,
|
22619
|
+
:max_results)
|
22620
|
+
SENSITIVE = []
|
22621
|
+
include Aws::Structure
|
22622
|
+
end
|
22623
|
+
|
22624
|
+
# @!attribute [rw] store_image_task_results
|
22625
|
+
# The information about the AMI store tasks.
|
22626
|
+
# @return [Array<Types::StoreImageTaskResult>]
|
22627
|
+
#
|
22628
|
+
# @!attribute [rw] next_token
|
22629
|
+
# The token to use to retrieve the next page of results. This value is
|
22630
|
+
# `null` when there are no more results to return.
|
22631
|
+
# @return [String]
|
22632
|
+
#
|
22633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasksResult AWS API Documentation
|
22634
|
+
#
|
22635
|
+
class DescribeStoreImageTasksResult < Struct.new(
|
22636
|
+
:store_image_task_results,
|
22637
|
+
:next_token)
|
22638
|
+
SENSITIVE = []
|
22639
|
+
include Aws::Structure
|
22640
|
+
end
|
22641
|
+
|
22224
22642
|
# @note When making an API call, you may pass DescribeSubnetsRequest
|
22225
22643
|
# data as a hash:
|
22226
22644
|
#
|
@@ -22267,6 +22685,8 @@ module Aws::EC2
|
|
22267
22685
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
22268
22686
|
# block associated with the subnet.
|
22269
22687
|
#
|
22688
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
22689
|
+
#
|
22270
22690
|
# * `owner-id` - The ID of the AWS account that owns the subnet.
|
22271
22691
|
#
|
22272
22692
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
@@ -25459,6 +25879,42 @@ module Aws::EC2
|
|
25459
25879
|
include Aws::Structure
|
25460
25880
|
end
|
25461
25881
|
|
25882
|
+
# @note When making an API call, you may pass DisableSerialConsoleAccessRequest
|
25883
|
+
# data as a hash:
|
25884
|
+
#
|
25885
|
+
# {
|
25886
|
+
# dry_run: false,
|
25887
|
+
# }
|
25888
|
+
#
|
25889
|
+
# @!attribute [rw] dry_run
|
25890
|
+
# Checks whether you have the required permissions for the action,
|
25891
|
+
# without actually making the request, and provides an error response.
|
25892
|
+
# If you have the required permissions, the error response is
|
25893
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25894
|
+
# @return [Boolean]
|
25895
|
+
#
|
25896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSerialConsoleAccessRequest AWS API Documentation
|
25897
|
+
#
|
25898
|
+
class DisableSerialConsoleAccessRequest < Struct.new(
|
25899
|
+
:dry_run)
|
25900
|
+
SENSITIVE = []
|
25901
|
+
include Aws::Structure
|
25902
|
+
end
|
25903
|
+
|
25904
|
+
# @!attribute [rw] serial_console_access_enabled
|
25905
|
+
# If `true`, access to the EC2 serial console of all instances is
|
25906
|
+
# enabled for your account. If `false`, access to the EC2 serial
|
25907
|
+
# console of all instances is disabled for your account.
|
25908
|
+
# @return [Boolean]
|
25909
|
+
#
|
25910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSerialConsoleAccessResult AWS API Documentation
|
25911
|
+
#
|
25912
|
+
class DisableSerialConsoleAccessResult < Struct.new(
|
25913
|
+
:serial_console_access_enabled)
|
25914
|
+
SENSITIVE = []
|
25915
|
+
include Aws::Structure
|
25916
|
+
end
|
25917
|
+
|
25462
25918
|
# @note When making an API call, you may pass DisableTransitGatewayRouteTablePropagationRequest
|
25463
25919
|
# data as a hash:
|
25464
25920
|
#
|
@@ -26954,6 +27410,42 @@ module Aws::EC2
|
|
26954
27410
|
include Aws::Structure
|
26955
27411
|
end
|
26956
27412
|
|
27413
|
+
# @note When making an API call, you may pass EnableSerialConsoleAccessRequest
|
27414
|
+
# data as a hash:
|
27415
|
+
#
|
27416
|
+
# {
|
27417
|
+
# dry_run: false,
|
27418
|
+
# }
|
27419
|
+
#
|
27420
|
+
# @!attribute [rw] dry_run
|
27421
|
+
# Checks whether you have the required permissions for the action,
|
27422
|
+
# without actually making the request, and provides an error response.
|
27423
|
+
# If you have the required permissions, the error response is
|
27424
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27425
|
+
# @return [Boolean]
|
27426
|
+
#
|
27427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSerialConsoleAccessRequest AWS API Documentation
|
27428
|
+
#
|
27429
|
+
class EnableSerialConsoleAccessRequest < Struct.new(
|
27430
|
+
:dry_run)
|
27431
|
+
SENSITIVE = []
|
27432
|
+
include Aws::Structure
|
27433
|
+
end
|
27434
|
+
|
27435
|
+
# @!attribute [rw] serial_console_access_enabled
|
27436
|
+
# If `true`, access to the EC2 serial console of all instances is
|
27437
|
+
# enabled for your account. If `false`, access to the EC2 serial
|
27438
|
+
# console of all instances is disabled for your account.
|
27439
|
+
# @return [Boolean]
|
27440
|
+
#
|
27441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSerialConsoleAccessResult AWS API Documentation
|
27442
|
+
#
|
27443
|
+
class EnableSerialConsoleAccessResult < Struct.new(
|
27444
|
+
:serial_console_access_enabled)
|
27445
|
+
SENSITIVE = []
|
27446
|
+
include Aws::Structure
|
27447
|
+
end
|
27448
|
+
|
26957
27449
|
# @note When making an API call, you may pass EnableTransitGatewayRouteTablePropagationRequest
|
26958
27450
|
# data as a hash:
|
26959
27451
|
#
|
@@ -28408,7 +28900,7 @@ module Aws::EC2
|
|
28408
28900
|
# If the Spot `AllocationStrategy` is set to
|
28409
28901
|
# `capacity-optimized-prioritized`, EC2 Fleet uses priority on a
|
28410
28902
|
# best-effort basis to determine which launch template override to use
|
28411
|
-
#
|
28903
|
+
# in fulfilling Spot capacity, but optimizes for capacity first.
|
28412
28904
|
#
|
28413
28905
|
# Valid values are whole numbers starting at `0`. The lower the
|
28414
28906
|
# number, the higher the priority. If no number is set, the override
|
@@ -28493,7 +28985,7 @@ module Aws::EC2
|
|
28493
28985
|
# If the Spot `AllocationStrategy` is set to
|
28494
28986
|
# `capacity-optimized-prioritized`, EC2 Fleet uses priority on a
|
28495
28987
|
# best-effort basis to determine which launch template override to use
|
28496
|
-
#
|
28988
|
+
# in fulfilling Spot capacity, but optimizes for capacity first.
|
28497
28989
|
#
|
28498
28990
|
# Valid values are whole numbers starting at `0`. The lower the
|
28499
28991
|
# number, the higher the priority. If no number is set, the launch
|
@@ -29564,6 +30056,68 @@ module Aws::EC2
|
|
29564
30056
|
include Aws::Structure
|
29565
30057
|
end
|
29566
30058
|
|
30059
|
+
# @note When making an API call, you may pass GetFlowLogsIntegrationTemplateRequest
|
30060
|
+
# data as a hash:
|
30061
|
+
#
|
30062
|
+
# {
|
30063
|
+
# dry_run: false,
|
30064
|
+
# flow_log_id: "VpcFlowLogId", # required
|
30065
|
+
# config_delivery_s3_destination_arn: "String", # required
|
30066
|
+
# integrate_services: { # required
|
30067
|
+
# athena_integrations: [
|
30068
|
+
# {
|
30069
|
+
# integration_result_s3_destination_arn: "String", # required
|
30070
|
+
# partition_load_frequency: "none", # required, accepts none, daily, weekly, monthly
|
30071
|
+
# partition_start_date: Time.now,
|
30072
|
+
# partition_end_date: Time.now,
|
30073
|
+
# },
|
30074
|
+
# ],
|
30075
|
+
# },
|
30076
|
+
# }
|
30077
|
+
#
|
30078
|
+
# @!attribute [rw] dry_run
|
30079
|
+
# Checks whether you have the required permissions for the action,
|
30080
|
+
# without actually making the request, and provides an error response.
|
30081
|
+
# If you have the required permissions, the error response is
|
30082
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30083
|
+
# @return [Boolean]
|
30084
|
+
#
|
30085
|
+
# @!attribute [rw] flow_log_id
|
30086
|
+
# The ID of the flow log.
|
30087
|
+
# @return [String]
|
30088
|
+
#
|
30089
|
+
# @!attribute [rw] config_delivery_s3_destination_arn
|
30090
|
+
# To store the CloudFormation template in Amazon S3, specify the
|
30091
|
+
# location in Amazon S3.
|
30092
|
+
# @return [String]
|
30093
|
+
#
|
30094
|
+
# @!attribute [rw] integrate_services
|
30095
|
+
# Information about the service integration.
|
30096
|
+
# @return [Types::IntegrateServices]
|
30097
|
+
#
|
30098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetFlowLogsIntegrationTemplateRequest AWS API Documentation
|
30099
|
+
#
|
30100
|
+
class GetFlowLogsIntegrationTemplateRequest < Struct.new(
|
30101
|
+
:dry_run,
|
30102
|
+
:flow_log_id,
|
30103
|
+
:config_delivery_s3_destination_arn,
|
30104
|
+
:integrate_services)
|
30105
|
+
SENSITIVE = []
|
30106
|
+
include Aws::Structure
|
30107
|
+
end
|
30108
|
+
|
30109
|
+
# @!attribute [rw] result
|
30110
|
+
# The generated CloudFormation template.
|
30111
|
+
# @return [String]
|
30112
|
+
#
|
30113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetFlowLogsIntegrationTemplateResult AWS API Documentation
|
30114
|
+
#
|
30115
|
+
class GetFlowLogsIntegrationTemplateResult < Struct.new(
|
30116
|
+
:result)
|
30117
|
+
SENSITIVE = []
|
30118
|
+
include Aws::Structure
|
30119
|
+
end
|
30120
|
+
|
29567
30121
|
# @note When making an API call, you may pass GetGroupsForCapacityReservationRequest
|
29568
30122
|
# data as a hash:
|
29569
30123
|
#
|
@@ -29998,6 +30552,42 @@ module Aws::EC2
|
|
29998
30552
|
include Aws::Structure
|
29999
30553
|
end
|
30000
30554
|
|
30555
|
+
# @note When making an API call, you may pass GetSerialConsoleAccessStatusRequest
|
30556
|
+
# data as a hash:
|
30557
|
+
#
|
30558
|
+
# {
|
30559
|
+
# dry_run: false,
|
30560
|
+
# }
|
30561
|
+
#
|
30562
|
+
# @!attribute [rw] dry_run
|
30563
|
+
# Checks whether you have the required permissions for the action,
|
30564
|
+
# without actually making the request, and provides an error response.
|
30565
|
+
# If you have the required permissions, the error response is
|
30566
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30567
|
+
# @return [Boolean]
|
30568
|
+
#
|
30569
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSerialConsoleAccessStatusRequest AWS API Documentation
|
30570
|
+
#
|
30571
|
+
class GetSerialConsoleAccessStatusRequest < Struct.new(
|
30572
|
+
:dry_run)
|
30573
|
+
SENSITIVE = []
|
30574
|
+
include Aws::Structure
|
30575
|
+
end
|
30576
|
+
|
30577
|
+
# @!attribute [rw] serial_console_access_enabled
|
30578
|
+
# If `true`, access to the EC2 serial console of all instances is
|
30579
|
+
# enabled for your account. If `false`, access to the EC2 serial
|
30580
|
+
# console of all instances is disabled for your account.
|
30581
|
+
# @return [Boolean]
|
30582
|
+
#
|
30583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSerialConsoleAccessStatusResult AWS API Documentation
|
30584
|
+
#
|
30585
|
+
class GetSerialConsoleAccessStatusResult < Struct.new(
|
30586
|
+
:serial_console_access_enabled)
|
30587
|
+
SENSITIVE = []
|
30588
|
+
include Aws::Structure
|
30589
|
+
end
|
30590
|
+
|
30001
30591
|
# @note When making an API call, you may pass GetTransitGatewayAttachmentPropagationsRequest
|
30002
30592
|
# data as a hash:
|
30003
30593
|
#
|
@@ -33358,8 +33948,7 @@ module Aws::EC2
|
|
33358
33948
|
# @return [Array<Types::InstancePrivateIpAddress>]
|
33359
33949
|
#
|
33360
33950
|
# @!attribute [rw] source_dest_check
|
33361
|
-
# Indicates whether
|
33362
|
-
# network interface.
|
33951
|
+
# Indicates whether source/destination checking is enabled.
|
33363
33952
|
# @return [Boolean]
|
33364
33953
|
#
|
33365
33954
|
# @!attribute [rw] status
|
@@ -34157,6 +34746,34 @@ module Aws::EC2
|
|
34157
34746
|
include Aws::Structure
|
34158
34747
|
end
|
34159
34748
|
|
34749
|
+
# Describes service integrations with VPC Flow logs.
|
34750
|
+
#
|
34751
|
+
# @note When making an API call, you may pass IntegrateServices
|
34752
|
+
# data as a hash:
|
34753
|
+
#
|
34754
|
+
# {
|
34755
|
+
# athena_integrations: [
|
34756
|
+
# {
|
34757
|
+
# integration_result_s3_destination_arn: "String", # required
|
34758
|
+
# partition_load_frequency: "none", # required, accepts none, daily, weekly, monthly
|
34759
|
+
# partition_start_date: Time.now,
|
34760
|
+
# partition_end_date: Time.now,
|
34761
|
+
# },
|
34762
|
+
# ],
|
34763
|
+
# }
|
34764
|
+
#
|
34765
|
+
# @!attribute [rw] athena_integrations
|
34766
|
+
# Information about the integration with Amazon Athena.
|
34767
|
+
# @return [Array<Types::AthenaIntegration>]
|
34768
|
+
#
|
34769
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IntegrateServices AWS API Documentation
|
34770
|
+
#
|
34771
|
+
class IntegrateServices < Struct.new(
|
34772
|
+
:athena_integrations)
|
34773
|
+
SENSITIVE = []
|
34774
|
+
include Aws::Structure
|
34775
|
+
end
|
34776
|
+
|
34160
34777
|
# Describes an internet gateway.
|
34161
34778
|
#
|
34162
34779
|
# @!attribute [rw] attachments
|
@@ -35856,7 +36473,7 @@ module Aws::EC2
|
|
35856
36473
|
# If the Spot `AllocationStrategy` is set to
|
35857
36474
|
# `capacityOptimizedPrioritized`, Spot Fleet uses priority on a
|
35858
36475
|
# best-effort basis to determine which launch template override to use
|
35859
|
-
#
|
36476
|
+
# in fulfilling Spot capacity, but optimizes for capacity first.
|
35860
36477
|
#
|
35861
36478
|
# Valid values are whole numbers starting at `0`. The lower the
|
35862
36479
|
# number, the higher the priority. If no number is set, the launch
|
@@ -37818,10 +38435,10 @@ module Aws::EC2
|
|
37818
38435
|
# @return [Types::AttributeBooleanValue]
|
37819
38436
|
#
|
37820
38437
|
# @!attribute [rw] groups
|
37821
|
-
# \[EC2-VPC\]
|
37822
|
-
# specify at least one security
|
37823
|
-
#
|
37824
|
-
# not the security group name.
|
38438
|
+
# \[EC2-VPC\] Replaces the security groups of the instance with the
|
38439
|
+
# specified security groups. You must specify at least one security
|
38440
|
+
# group, even if it's just the default security group for the VPC.
|
38441
|
+
# You must specify the security group ID, not the security group name.
|
37825
38442
|
# @return [Array<String>]
|
37826
38443
|
#
|
37827
38444
|
# @!attribute [rw] instance_id
|
@@ -38434,15 +39051,12 @@ module Aws::EC2
|
|
38434
39051
|
# @return [String]
|
38435
39052
|
#
|
38436
39053
|
# @!attribute [rw] source_dest_check
|
38437
|
-
#
|
38438
|
-
#
|
38439
|
-
#
|
38440
|
-
#
|
38441
|
-
#
|
38442
|
-
#
|
38443
|
-
#
|
38444
|
-
#
|
38445
|
-
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
|
39054
|
+
# Enable or disable source/destination checks, which ensure that the
|
39055
|
+
# instance is either the source or the destination of any traffic that
|
39056
|
+
# it receives. If the value is `true`, source/destination checks are
|
39057
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
39058
|
+
# You must disable source/destination checks if the instance runs
|
39059
|
+
# services such as network address translation, routing, or firewalls.
|
38446
39060
|
# @return [Types::AttributeBooleanValue]
|
38447
39061
|
#
|
38448
39062
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeRequest AWS API Documentation
|
@@ -39402,7 +40016,8 @@ module Aws::EC2
|
|
39402
40016
|
# * `io2`\: 100-64,000 IOPS
|
39403
40017
|
#
|
39404
40018
|
# Default: If no IOPS value is specified, the existing value is
|
39405
|
-
# retained
|
40019
|
+
# retained, unless a volume type is modified that supports different
|
40020
|
+
# values.
|
39406
40021
|
# @return [Integer]
|
39407
40022
|
#
|
39408
40023
|
# @!attribute [rw] throughput
|
@@ -41129,7 +41744,7 @@ module Aws::EC2
|
|
41129
41744
|
# @return [Boolean]
|
41130
41745
|
#
|
41131
41746
|
# @!attribute [rw] source_dest_check
|
41132
|
-
# Indicates whether
|
41747
|
+
# Indicates whether source/destination checking is enabled.
|
41133
41748
|
# @return [Boolean]
|
41134
41749
|
#
|
41135
41750
|
# @!attribute [rw] status
|
@@ -44078,6 +44693,66 @@ module Aws::EC2
|
|
44078
44693
|
include Aws::Structure
|
44079
44694
|
end
|
44080
44695
|
|
44696
|
+
# Information about a root volume replacement task.
|
44697
|
+
#
|
44698
|
+
# @!attribute [rw] replace_root_volume_task_id
|
44699
|
+
# The ID of the root volume replacement task.
|
44700
|
+
# @return [String]
|
44701
|
+
#
|
44702
|
+
# @!attribute [rw] instance_id
|
44703
|
+
# The ID of the instance for which the root volume replacement task
|
44704
|
+
# was created.
|
44705
|
+
# @return [String]
|
44706
|
+
#
|
44707
|
+
# @!attribute [rw] task_state
|
44708
|
+
# The state of the task. The task can be in one of the following
|
44709
|
+
# states:
|
44710
|
+
#
|
44711
|
+
# * `pending` - the replacement volume is being created.
|
44712
|
+
#
|
44713
|
+
# * `in-progress` - the original volume is being detached and the
|
44714
|
+
# replacement volume is being attached.
|
44715
|
+
#
|
44716
|
+
# * `succeeded` - the replacement volume has been successfully
|
44717
|
+
# attached to the instance and the instance is available.
|
44718
|
+
#
|
44719
|
+
# * `failing` - the replacement task is in the process of failing.
|
44720
|
+
#
|
44721
|
+
# * `failed` - the replacement task has failed but the original root
|
44722
|
+
# volume is still attached.
|
44723
|
+
#
|
44724
|
+
# * `failing-detached` - the replacement task is in the process of
|
44725
|
+
# failing. The instance might have no root volume attached.
|
44726
|
+
#
|
44727
|
+
# * `failed-detached` - the replacement task has failed and the
|
44728
|
+
# instance has no root volume attached.
|
44729
|
+
# @return [String]
|
44730
|
+
#
|
44731
|
+
# @!attribute [rw] start_time
|
44732
|
+
# The time the task was started.
|
44733
|
+
# @return [String]
|
44734
|
+
#
|
44735
|
+
# @!attribute [rw] complete_time
|
44736
|
+
# The time the task completed.
|
44737
|
+
# @return [String]
|
44738
|
+
#
|
44739
|
+
# @!attribute [rw] tags
|
44740
|
+
# The tags assigned to the task.
|
44741
|
+
# @return [Array<Types::Tag>]
|
44742
|
+
#
|
44743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRootVolumeTask AWS API Documentation
|
44744
|
+
#
|
44745
|
+
class ReplaceRootVolumeTask < Struct.new(
|
44746
|
+
:replace_root_volume_task_id,
|
44747
|
+
:instance_id,
|
44748
|
+
:task_state,
|
44749
|
+
:start_time,
|
44750
|
+
:complete_time,
|
44751
|
+
:tags)
|
44752
|
+
SENSITIVE = []
|
44753
|
+
include Aws::Structure
|
44754
|
+
end
|
44755
|
+
|
44081
44756
|
# @note When making an API call, you may pass ReplaceRouteRequest
|
44082
44757
|
# data as a hash:
|
44083
44758
|
#
|
@@ -45002,7 +45677,7 @@ module Aws::EC2
|
|
45002
45677
|
# launch_group: "String",
|
45003
45678
|
# launch_specification: {
|
45004
45679
|
# security_group_ids: ["SecurityGroupId"],
|
45005
|
-
# security_groups: ["
|
45680
|
+
# security_groups: ["String"],
|
45006
45681
|
# addressing_type: "String",
|
45007
45682
|
# block_device_mappings: [
|
45008
45683
|
# {
|
@@ -45263,7 +45938,7 @@ module Aws::EC2
|
|
45263
45938
|
#
|
45264
45939
|
# {
|
45265
45940
|
# security_group_ids: ["SecurityGroupId"],
|
45266
|
-
# security_groups: ["
|
45941
|
+
# security_groups: ["String"],
|
45267
45942
|
# addressing_type: "String",
|
45268
45943
|
# block_device_mappings: [
|
45269
45944
|
# {
|
@@ -45409,9 +46084,7 @@ module Aws::EC2
|
|
45409
46084
|
# @return [String]
|
45410
46085
|
#
|
45411
46086
|
# @!attribute [rw] subnet_id
|
45412
|
-
# The
|
45413
|
-
# multiple subnets, separate them using commas; for example,
|
45414
|
-
# "subnet-1234abcdeexample1, subnet-0987cdef6example2".
|
46087
|
+
# The ID of the subnet in which to launch the instance.
|
45415
46088
|
# @return [String]
|
45416
46089
|
#
|
45417
46090
|
# @!attribute [rw] user_data
|
@@ -47799,6 +48472,45 @@ module Aws::EC2
|
|
47799
48472
|
include Aws::Structure
|
47800
48473
|
end
|
47801
48474
|
|
48475
|
+
# The tags to apply to the AMI object that will be stored in the S3
|
48476
|
+
# bucket. For more information, see [Categorizing your storage using
|
48477
|
+
# tags][1] in the *Amazon Simple Storage Service User Guide*.
|
48478
|
+
#
|
48479
|
+
#
|
48480
|
+
#
|
48481
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html
|
48482
|
+
#
|
48483
|
+
# @note When making an API call, you may pass S3ObjectTag
|
48484
|
+
# data as a hash:
|
48485
|
+
#
|
48486
|
+
# {
|
48487
|
+
# key: "String",
|
48488
|
+
# value: "String",
|
48489
|
+
# }
|
48490
|
+
#
|
48491
|
+
# @!attribute [rw] key
|
48492
|
+
# The key of the tag.
|
48493
|
+
#
|
48494
|
+
# Constraints: Tag keys are case-sensitive and can be up to 128
|
48495
|
+
# Unicode characters in length. May not begin with `aws`\:.
|
48496
|
+
# @return [String]
|
48497
|
+
#
|
48498
|
+
# @!attribute [rw] value
|
48499
|
+
# The value of the tag.
|
48500
|
+
#
|
48501
|
+
# Constraints: Tag values are case-sensitive and can be up to 256
|
48502
|
+
# Unicode characters in length.
|
48503
|
+
# @return [String]
|
48504
|
+
#
|
48505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/S3ObjectTag AWS API Documentation
|
48506
|
+
#
|
48507
|
+
class S3ObjectTag < Struct.new(
|
48508
|
+
:key,
|
48509
|
+
:value)
|
48510
|
+
SENSITIVE = []
|
48511
|
+
include Aws::Structure
|
48512
|
+
end
|
48513
|
+
|
47802
48514
|
# Describes the storage parameters for S3 and S3 buckets for an instance
|
47803
48515
|
# store-backed AMI.
|
47804
48516
|
#
|
@@ -51404,6 +52116,53 @@ module Aws::EC2
|
|
51404
52116
|
include Aws::Structure
|
51405
52117
|
end
|
51406
52118
|
|
52119
|
+
# The information about the AMI store task, including the progress of
|
52120
|
+
# the task.
|
52121
|
+
#
|
52122
|
+
# @!attribute [rw] ami_id
|
52123
|
+
# The ID of the AMI that is being stored.
|
52124
|
+
# @return [String]
|
52125
|
+
#
|
52126
|
+
# @!attribute [rw] task_start_time
|
52127
|
+
# The time the task started.
|
52128
|
+
# @return [Time]
|
52129
|
+
#
|
52130
|
+
# @!attribute [rw] bucket
|
52131
|
+
# The name of the S3 bucket that contains the stored AMI object.
|
52132
|
+
# @return [String]
|
52133
|
+
#
|
52134
|
+
# @!attribute [rw] s3object_key
|
52135
|
+
# The name of the stored AMI object in the bucket.
|
52136
|
+
# @return [String]
|
52137
|
+
#
|
52138
|
+
# @!attribute [rw] progress_percentage
|
52139
|
+
# The progress of the task as a percentage.
|
52140
|
+
# @return [Integer]
|
52141
|
+
#
|
52142
|
+
# @!attribute [rw] store_task_state
|
52143
|
+
# The state of the store task (`InProgress`, `Completed`, or
|
52144
|
+
# `Failed`).
|
52145
|
+
# @return [String]
|
52146
|
+
#
|
52147
|
+
# @!attribute [rw] store_task_failure_reason
|
52148
|
+
# If the tasks fails, the reason for the failure is returned. If the
|
52149
|
+
# task succeeds, `null` is returned.
|
52150
|
+
# @return [String]
|
52151
|
+
#
|
52152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StoreImageTaskResult AWS API Documentation
|
52153
|
+
#
|
52154
|
+
class StoreImageTaskResult < Struct.new(
|
52155
|
+
:ami_id,
|
52156
|
+
:task_start_time,
|
52157
|
+
:bucket,
|
52158
|
+
:s3object_key,
|
52159
|
+
:progress_percentage,
|
52160
|
+
:store_task_state,
|
52161
|
+
:store_task_failure_reason)
|
52162
|
+
SENSITIVE = []
|
52163
|
+
include Aws::Structure
|
52164
|
+
end
|
52165
|
+
|
51407
52166
|
# Describes a subnet.
|
51408
52167
|
#
|
51409
52168
|
# @!attribute [rw] availability_zone
|
@@ -53727,23 +54486,23 @@ module Aws::EC2
|
|
53727
54486
|
# data as a hash:
|
53728
54487
|
#
|
53729
54488
|
# {
|
53730
|
-
# ipv_6_addresses: ["String"], # required
|
53731
54489
|
# network_interface_id: "NetworkInterfaceId", # required
|
54490
|
+
# ipv_6_addresses: ["String"], # required
|
53732
54491
|
# }
|
53733
54492
|
#
|
53734
|
-
# @!attribute [rw] ipv_6_addresses
|
53735
|
-
# The IPv6 addresses to unassign from the network interface.
|
53736
|
-
# @return [Array<String>]
|
53737
|
-
#
|
53738
54493
|
# @!attribute [rw] network_interface_id
|
53739
54494
|
# The ID of the network interface.
|
53740
54495
|
# @return [String]
|
53741
54496
|
#
|
54497
|
+
# @!attribute [rw] ipv_6_addresses
|
54498
|
+
# The IPv6 addresses to unassign from the network interface.
|
54499
|
+
# @return [Array<String>]
|
54500
|
+
#
|
53742
54501
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesRequest AWS API Documentation
|
53743
54502
|
#
|
53744
54503
|
class UnassignIpv6AddressesRequest < Struct.new(
|
53745
|
-
:
|
53746
|
-
:
|
54504
|
+
:network_interface_id,
|
54505
|
+
:ipv_6_addresses)
|
53747
54506
|
SENSITIVE = []
|
53748
54507
|
include Aws::Structure
|
53749
54508
|
end
|