aws-sdk-ec2 1.550.0 → 1.552.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +567 -109
- data/lib/aws-sdk-ec2/client_api.rb +246 -1
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +17 -17
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +674 -8
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2/waiters.rb +45 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +232 -102
- data/sig/instance.rbs +1 -1
- data/sig/resource.rbs +17 -17
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +1 -1
- data/sig/subnet.rbs +2 -2
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +150 -5
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- data/sig/waiters.rbs +20 -0
- metadata +3 -3
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -6539,6 +6539,13 @@ module Aws::EC2
|
|
6539
6539
|
# The IP address of the client.
|
6540
6540
|
# @return [String]
|
6541
6541
|
#
|
6542
|
+
# @!attribute [rw] client_ipv_6_address
|
6543
|
+
# The IPv6 address assigned to the client connection when using a
|
6544
|
+
# dual-stack Client VPN endpoint. This field is only populated when
|
6545
|
+
# the endpoint is configured for dual-stack addressing, and the client
|
6546
|
+
# is using IPv6 for connectivity.
|
6547
|
+
# @return [String]
|
6548
|
+
#
|
6542
6549
|
# @!attribute [rw] common_name
|
6543
6550
|
# The common name associated with the client. This is either the name
|
6544
6551
|
# of the client certificate, or the Active Directory user name.
|
@@ -6570,6 +6577,7 @@ module Aws::EC2
|
|
6570
6577
|
:ingress_packets,
|
6571
6578
|
:egress_packets,
|
6572
6579
|
:client_ip,
|
6580
|
+
:client_ipv_6_address,
|
6573
6581
|
:common_name,
|
6574
6582
|
:status,
|
6575
6583
|
:connection_end_time,
|
@@ -6733,6 +6741,18 @@ module Aws::EC2
|
|
6733
6741
|
# reconnect automatically. The default value is `true`.
|
6734
6742
|
# @return [Boolean]
|
6735
6743
|
#
|
6744
|
+
# @!attribute [rw] endpoint_ip_address_type
|
6745
|
+
# The IP address type of the Client VPN endpoint. Possible values are
|
6746
|
+
# `ipv4` for IPv4 addressing only, `ipv6` for IPv6 addressing only, or
|
6747
|
+
# `dual-stack `for both IPv4 and IPv6 addressing.
|
6748
|
+
# @return [String]
|
6749
|
+
#
|
6750
|
+
# @!attribute [rw] traffic_ip_address_type
|
6751
|
+
# The IP address type of the Client VPN endpoint. Possible values are
|
6752
|
+
# either `ipv4` for IPv4 addressing only, `ipv6` for IPv6 addressing
|
6753
|
+
# only, or `dual-stack` for both IPv4 and IPv6 addressing.
|
6754
|
+
# @return [String]
|
6755
|
+
#
|
6736
6756
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnEndpoint AWS API Documentation
|
6737
6757
|
#
|
6738
6758
|
class ClientVpnEndpoint < Struct.new(
|
@@ -6760,7 +6780,9 @@ module Aws::EC2
|
|
6760
6780
|
:session_timeout_hours,
|
6761
6781
|
:client_login_banner_options,
|
6762
6782
|
:client_route_enforcement_options,
|
6763
|
-
:disconnect_on_session_timeout
|
6783
|
+
:disconnect_on_session_timeout,
|
6784
|
+
:endpoint_ip_address_type,
|
6785
|
+
:traffic_ip_address_type)
|
6764
6786
|
SENSITIVE = []
|
6765
6787
|
include Aws::Structure
|
6766
6788
|
end
|
@@ -8600,6 +8622,22 @@ module Aws::EC2
|
|
8600
8622
|
# `true`.
|
8601
8623
|
# @return [Boolean]
|
8602
8624
|
#
|
8625
|
+
# @!attribute [rw] endpoint_ip_address_type
|
8626
|
+
# The IP address type for the Client VPN endpoint. Valid values are
|
8627
|
+
# `ipv4` (default) for IPv4 addressing only, `ipv6` for IPv6
|
8628
|
+
# addressing only, or `dual-stack` for both IPv4 and IPv6 addressing.
|
8629
|
+
# When set to `dual-stack,` clients can connect to the endpoint using
|
8630
|
+
# either IPv4 or IPv6 addresses..
|
8631
|
+
# @return [String]
|
8632
|
+
#
|
8633
|
+
# @!attribute [rw] traffic_ip_address_type
|
8634
|
+
# The IP address type for traffic within the Client VPN tunnel. Valid
|
8635
|
+
# values are `ipv4` (default) for IPv4 traffic only, `ipv6` for IPv6
|
8636
|
+
# addressing only, or `dual-stack` for both IPv4 and IPv6 traffic.
|
8637
|
+
# When set to `dual-stack`, clients can access both IPv4 and IPv6
|
8638
|
+
# resources through the VPN .
|
8639
|
+
# @return [String]
|
8640
|
+
#
|
8603
8641
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnEndpointRequest AWS API Documentation
|
8604
8642
|
#
|
8605
8643
|
class CreateClientVpnEndpointRequest < Struct.new(
|
@@ -8622,7 +8660,9 @@ module Aws::EC2
|
|
8622
8660
|
:session_timeout_hours,
|
8623
8661
|
:client_login_banner_options,
|
8624
8662
|
:client_route_enforcement_options,
|
8625
|
-
:disconnect_on_session_timeout
|
8663
|
+
:disconnect_on_session_timeout,
|
8664
|
+
:endpoint_ip_address_type,
|
8665
|
+
:traffic_ip_address_type)
|
8626
8666
|
SENSITIVE = []
|
8627
8667
|
include Aws::Structure
|
8628
8668
|
end
|
@@ -9760,6 +9800,71 @@ module Aws::EC2
|
|
9760
9800
|
include Aws::Structure
|
9761
9801
|
end
|
9762
9802
|
|
9803
|
+
# @!attribute [rw] image_id
|
9804
|
+
# The ID of the image to report on.
|
9805
|
+
# @return [String]
|
9806
|
+
#
|
9807
|
+
# @!attribute [rw] dry_run
|
9808
|
+
# Checks whether you have the required permissions for the action,
|
9809
|
+
# without actually making the request, and provides an error response.
|
9810
|
+
# If you have the required permissions, the error response is
|
9811
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9812
|
+
# @return [Boolean]
|
9813
|
+
#
|
9814
|
+
# @!attribute [rw] resource_types
|
9815
|
+
# The resource types to include in the report.
|
9816
|
+
# @return [Array<Types::ImageUsageResourceTypeRequest>]
|
9817
|
+
#
|
9818
|
+
# @!attribute [rw] account_ids
|
9819
|
+
# The Amazon Web Services account IDs to include in the report. To
|
9820
|
+
# include all accounts, omit this parameter.
|
9821
|
+
# @return [Array<String>]
|
9822
|
+
#
|
9823
|
+
# @!attribute [rw] client_token
|
9824
|
+
# A unique, case-sensitive identifier that you provide to ensure
|
9825
|
+
# idempotency of the request.
|
9826
|
+
#
|
9827
|
+
# **A suitable default value is auto-generated.** You should normally
|
9828
|
+
# not need to pass this option.
|
9829
|
+
# @return [String]
|
9830
|
+
#
|
9831
|
+
# @!attribute [rw] tag_specifications
|
9832
|
+
# The tags to apply to the report on creation. The `ResourceType` must
|
9833
|
+
# be set to `image-usage-report`; any other value will cause the
|
9834
|
+
# report creation to fail.
|
9835
|
+
#
|
9836
|
+
# To tag a report after it has been created, see [CreateTags][1].
|
9837
|
+
#
|
9838
|
+
#
|
9839
|
+
#
|
9840
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
9841
|
+
# @return [Array<Types::TagSpecification>]
|
9842
|
+
#
|
9843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageUsageReportRequest AWS API Documentation
|
9844
|
+
#
|
9845
|
+
class CreateImageUsageReportRequest < Struct.new(
|
9846
|
+
:image_id,
|
9847
|
+
:dry_run,
|
9848
|
+
:resource_types,
|
9849
|
+
:account_ids,
|
9850
|
+
:client_token,
|
9851
|
+
:tag_specifications)
|
9852
|
+
SENSITIVE = []
|
9853
|
+
include Aws::Structure
|
9854
|
+
end
|
9855
|
+
|
9856
|
+
# @!attribute [rw] report_id
|
9857
|
+
# The ID of the report.
|
9858
|
+
# @return [String]
|
9859
|
+
#
|
9860
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageUsageReportResult AWS API Documentation
|
9861
|
+
#
|
9862
|
+
class CreateImageUsageReportResult < Struct.new(
|
9863
|
+
:report_id)
|
9864
|
+
SENSITIVE = []
|
9865
|
+
include Aws::Structure
|
9866
|
+
end
|
9867
|
+
|
9763
9868
|
# @!attribute [rw] dry_run
|
9764
9869
|
# Checks whether you have the required permissions for the action,
|
9765
9870
|
# without actually making the request, and provides an error response.
|
@@ -16326,6 +16431,39 @@ module Aws::EC2
|
|
16326
16431
|
include Aws::Structure
|
16327
16432
|
end
|
16328
16433
|
|
16434
|
+
# @!attribute [rw] report_id
|
16435
|
+
# The ID of the report to delete.
|
16436
|
+
# @return [String]
|
16437
|
+
#
|
16438
|
+
# @!attribute [rw] dry_run
|
16439
|
+
# Checks whether you have the required permissions for the action,
|
16440
|
+
# without actually making the request, and provides an error response.
|
16441
|
+
# If you have the required permissions, the error response is
|
16442
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
16443
|
+
# @return [Boolean]
|
16444
|
+
#
|
16445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteImageUsageReportRequest AWS API Documentation
|
16446
|
+
#
|
16447
|
+
class DeleteImageUsageReportRequest < Struct.new(
|
16448
|
+
:report_id,
|
16449
|
+
:dry_run)
|
16450
|
+
SENSITIVE = []
|
16451
|
+
include Aws::Structure
|
16452
|
+
end
|
16453
|
+
|
16454
|
+
# @!attribute [rw] return
|
16455
|
+
# Returns `true` if the request succeeds; otherwise, it returns an
|
16456
|
+
# error.
|
16457
|
+
# @return [Boolean]
|
16458
|
+
#
|
16459
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteImageUsageReportResult AWS API Documentation
|
16460
|
+
#
|
16461
|
+
class DeleteImageUsageReportResult < Struct.new(
|
16462
|
+
:return)
|
16463
|
+
SENSITIVE = []
|
16464
|
+
include Aws::Structure
|
16465
|
+
end
|
16466
|
+
|
16329
16467
|
# @!attribute [rw] dry_run
|
16330
16468
|
# Checks whether you have the required permissions for the action,
|
16331
16469
|
# without actually making the request, and provides an error response.
|
@@ -22459,6 +22597,244 @@ module Aws::EC2
|
|
22459
22597
|
include Aws::Structure
|
22460
22598
|
end
|
22461
22599
|
|
22600
|
+
# @!attribute [rw] image_ids
|
22601
|
+
# The IDs of the images to check for resource references.
|
22602
|
+
# @return [Array<String>]
|
22603
|
+
#
|
22604
|
+
# @!attribute [rw] include_all_resource_types
|
22605
|
+
# Specifies whether to check all supported Amazon Web Services
|
22606
|
+
# resource types for image references. When specified, default values
|
22607
|
+
# are applied for `ResourceTypeOptions`. For the default values, see
|
22608
|
+
# [How AMI reference checks work][1] in the *Amazon EC2 User Guide*.
|
22609
|
+
# If you also specify `ResourceTypes` with `ResourceTypeOptions`, your
|
22610
|
+
# specified values override the default values.
|
22611
|
+
#
|
22612
|
+
# Supported resource types: `ec2:Instance` \| `ec2:LaunchTemplate` \|
|
22613
|
+
# `ssm:Parameter` \| `imagebuilder:ImageRecipe` \|
|
22614
|
+
# `imagebuilder:ContainerRecipe`
|
22615
|
+
#
|
22616
|
+
# Either `IncludeAllResourceTypes` or `ResourceTypes` must be
|
22617
|
+
# specified.
|
22618
|
+
#
|
22619
|
+
#
|
22620
|
+
#
|
22621
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-ami-references-works.html
|
22622
|
+
# @return [Boolean]
|
22623
|
+
#
|
22624
|
+
# @!attribute [rw] resource_types
|
22625
|
+
# The Amazon Web Services resource types to check for image
|
22626
|
+
# references.
|
22627
|
+
#
|
22628
|
+
# Either `IncludeAllResourceTypes` or `ResourceTypes` must be
|
22629
|
+
# specified.
|
22630
|
+
# @return [Array<Types::ResourceTypeRequest>]
|
22631
|
+
#
|
22632
|
+
# @!attribute [rw] next_token
|
22633
|
+
# The token returned from a previous paginated request. Pagination
|
22634
|
+
# continues from the end of the items returned by the previous
|
22635
|
+
# request.
|
22636
|
+
# @return [String]
|
22637
|
+
#
|
22638
|
+
# @!attribute [rw] dry_run
|
22639
|
+
# Checks whether you have the required permissions for the action,
|
22640
|
+
# without actually making the request, and provides an error response.
|
22641
|
+
# If you have the required permissions, the error response is
|
22642
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
22643
|
+
# @return [Boolean]
|
22644
|
+
#
|
22645
|
+
# @!attribute [rw] max_results
|
22646
|
+
# The maximum number of items to return for this request. To get the
|
22647
|
+
# next page of items, make another request with the token returned in
|
22648
|
+
# the output. For more information, see [Pagination][1].
|
22649
|
+
#
|
22650
|
+
#
|
22651
|
+
#
|
22652
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
22653
|
+
# @return [Integer]
|
22654
|
+
#
|
22655
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageReferencesRequest AWS API Documentation
|
22656
|
+
#
|
22657
|
+
class DescribeImageReferencesRequest < Struct.new(
|
22658
|
+
:image_ids,
|
22659
|
+
:include_all_resource_types,
|
22660
|
+
:resource_types,
|
22661
|
+
:next_token,
|
22662
|
+
:dry_run,
|
22663
|
+
:max_results)
|
22664
|
+
SENSITIVE = []
|
22665
|
+
include Aws::Structure
|
22666
|
+
end
|
22667
|
+
|
22668
|
+
# @!attribute [rw] next_token
|
22669
|
+
# The token to include in another request to get the next page of
|
22670
|
+
# items. This value is `null` when there are no more items to return.
|
22671
|
+
# @return [String]
|
22672
|
+
#
|
22673
|
+
# @!attribute [rw] image_references
|
22674
|
+
# The resources that are referencing the specified images.
|
22675
|
+
# @return [Array<Types::ImageReference>]
|
22676
|
+
#
|
22677
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageReferencesResult AWS API Documentation
|
22678
|
+
#
|
22679
|
+
class DescribeImageReferencesResult < Struct.new(
|
22680
|
+
:next_token,
|
22681
|
+
:image_references)
|
22682
|
+
SENSITIVE = []
|
22683
|
+
include Aws::Structure
|
22684
|
+
end
|
22685
|
+
|
22686
|
+
# @!attribute [rw] image_ids
|
22687
|
+
# The IDs of the images for filtering the report entries. If
|
22688
|
+
# specified, only report entries containing these images are returned.
|
22689
|
+
# @return [Array<String>]
|
22690
|
+
#
|
22691
|
+
# @!attribute [rw] report_ids
|
22692
|
+
# The IDs of the usage reports.
|
22693
|
+
# @return [Array<String>]
|
22694
|
+
#
|
22695
|
+
# @!attribute [rw] next_token
|
22696
|
+
# The token returned from a previous paginated request. Pagination
|
22697
|
+
# continues from the end of the items returned by the previous
|
22698
|
+
# request.
|
22699
|
+
# @return [String]
|
22700
|
+
#
|
22701
|
+
# @!attribute [rw] filters
|
22702
|
+
# The filters.
|
22703
|
+
#
|
22704
|
+
# * `account-id` - A 12-digit Amazon Web Services account ID.
|
22705
|
+
#
|
22706
|
+
# * `creation-time` - The time when the report was created, in the ISO
|
22707
|
+
# 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for
|
22708
|
+
# example, `2025-11-29T11:04:43.305Z`. You can use a wildcard (`*`),
|
22709
|
+
# for example, `2025-11-29T*`, which matches an entire day.
|
22710
|
+
#
|
22711
|
+
# * `resource-type` - The resource type (`ec2:Instance` \|
|
22712
|
+
# `ec2:LaunchTemplate`).
|
22713
|
+
# @return [Array<Types::Filter>]
|
22714
|
+
#
|
22715
|
+
# @!attribute [rw] dry_run
|
22716
|
+
# Checks whether you have the required permissions for the action,
|
22717
|
+
# without actually making the request, and provides an error response.
|
22718
|
+
# If you have the required permissions, the error response is
|
22719
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
22720
|
+
# @return [Boolean]
|
22721
|
+
#
|
22722
|
+
# @!attribute [rw] max_results
|
22723
|
+
# The maximum number of items to return for this request. To get the
|
22724
|
+
# next page of items, make another request with the token returned in
|
22725
|
+
# the output. For more information, see [Pagination][1].
|
22726
|
+
#
|
22727
|
+
#
|
22728
|
+
#
|
22729
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
22730
|
+
# @return [Integer]
|
22731
|
+
#
|
22732
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageUsageReportEntriesRequest AWS API Documentation
|
22733
|
+
#
|
22734
|
+
class DescribeImageUsageReportEntriesRequest < Struct.new(
|
22735
|
+
:image_ids,
|
22736
|
+
:report_ids,
|
22737
|
+
:next_token,
|
22738
|
+
:filters,
|
22739
|
+
:dry_run,
|
22740
|
+
:max_results)
|
22741
|
+
SENSITIVE = []
|
22742
|
+
include Aws::Structure
|
22743
|
+
end
|
22744
|
+
|
22745
|
+
# @!attribute [rw] next_token
|
22746
|
+
# The token to include in another request to get the next page of
|
22747
|
+
# items. This value is `null` when there are no more items to return.
|
22748
|
+
# @return [String]
|
22749
|
+
#
|
22750
|
+
# @!attribute [rw] image_usage_report_entries
|
22751
|
+
# The content of the usage reports.
|
22752
|
+
# @return [Array<Types::ImageUsageReportEntry>]
|
22753
|
+
#
|
22754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageUsageReportEntriesResult AWS API Documentation
|
22755
|
+
#
|
22756
|
+
class DescribeImageUsageReportEntriesResult < Struct.new(
|
22757
|
+
:next_token,
|
22758
|
+
:image_usage_report_entries)
|
22759
|
+
SENSITIVE = []
|
22760
|
+
include Aws::Structure
|
22761
|
+
end
|
22762
|
+
|
22763
|
+
# @!attribute [rw] image_ids
|
22764
|
+
# The IDs of the images for filtering the reports. If specified, only
|
22765
|
+
# reports containing these images are returned.
|
22766
|
+
# @return [Array<String>]
|
22767
|
+
#
|
22768
|
+
# @!attribute [rw] report_ids
|
22769
|
+
# The IDs of the image usage reports.
|
22770
|
+
# @return [Array<String>]
|
22771
|
+
#
|
22772
|
+
# @!attribute [rw] next_token
|
22773
|
+
# The token returned from a previous paginated request. Pagination
|
22774
|
+
# continues from the end of the items returned by the previous
|
22775
|
+
# request.
|
22776
|
+
# @return [String]
|
22777
|
+
#
|
22778
|
+
# @!attribute [rw] filters
|
22779
|
+
# The filters.
|
22780
|
+
#
|
22781
|
+
# * `creation-time` - The time when the report was created, in the ISO
|
22782
|
+
# 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for
|
22783
|
+
# example, `2025-11-29T11:04:43.305Z`. You can use a wildcard (`*`),
|
22784
|
+
# for example, `2025-11-29T*`, which matches an entire day.
|
22785
|
+
#
|
22786
|
+
# * `state` - The state of the report (`available` \| `pending` \|
|
22787
|
+
# `error`).
|
22788
|
+
# @return [Array<Types::Filter>]
|
22789
|
+
#
|
22790
|
+
# @!attribute [rw] dry_run
|
22791
|
+
# Checks whether you have the required permissions for the action,
|
22792
|
+
# without actually making the request, and provides an error response.
|
22793
|
+
# If you have the required permissions, the error response is
|
22794
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
22795
|
+
# @return [Boolean]
|
22796
|
+
#
|
22797
|
+
# @!attribute [rw] max_results
|
22798
|
+
# The maximum number of items to return for this request. To get the
|
22799
|
+
# next page of items, make another request with the token returned in
|
22800
|
+
# the output. For more information, see [Pagination][1].
|
22801
|
+
#
|
22802
|
+
#
|
22803
|
+
#
|
22804
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
22805
|
+
# @return [Integer]
|
22806
|
+
#
|
22807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageUsageReportsRequest AWS API Documentation
|
22808
|
+
#
|
22809
|
+
class DescribeImageUsageReportsRequest < Struct.new(
|
22810
|
+
:image_ids,
|
22811
|
+
:report_ids,
|
22812
|
+
:next_token,
|
22813
|
+
:filters,
|
22814
|
+
:dry_run,
|
22815
|
+
:max_results)
|
22816
|
+
SENSITIVE = []
|
22817
|
+
include Aws::Structure
|
22818
|
+
end
|
22819
|
+
|
22820
|
+
# @!attribute [rw] next_token
|
22821
|
+
# The token to include in another request to get the next page of
|
22822
|
+
# items. This value is `null` when there are no more items to return.
|
22823
|
+
# @return [String]
|
22824
|
+
#
|
22825
|
+
# @!attribute [rw] image_usage_reports
|
22826
|
+
# The image usage reports.
|
22827
|
+
# @return [Array<Types::ImageUsageReport>]
|
22828
|
+
#
|
22829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageUsageReportsResult AWS API Documentation
|
22830
|
+
#
|
22831
|
+
class DescribeImageUsageReportsResult < Struct.new(
|
22832
|
+
:next_token,
|
22833
|
+
:image_usage_reports)
|
22834
|
+
SENSITIVE = []
|
22835
|
+
include Aws::Structure
|
22836
|
+
end
|
22837
|
+
|
22462
22838
|
# @!attribute [rw] executable_users
|
22463
22839
|
# Scopes the images by users with explicit launch permissions. Specify
|
22464
22840
|
# an Amazon Web Services account ID, `self` (the sender of the
|
@@ -31564,6 +31940,9 @@ module Aws::EC2
|
|
31564
31940
|
#
|
31565
31941
|
# * `resource-configuration-group-arn` - The Amazon Resource Name
|
31566
31942
|
# (ARN) of the resource configuration of type GROUP.
|
31943
|
+
#
|
31944
|
+
# * `service-network-resource-association-id` - The ID of the
|
31945
|
+
# association.
|
31567
31946
|
# @return [Array<Types::Filter>]
|
31568
31947
|
#
|
31569
31948
|
# @!attribute [rw] max_results
|
@@ -37819,12 +38198,17 @@ module Aws::EC2
|
|
37819
38198
|
# Describes an EC2 Fleet.
|
37820
38199
|
#
|
37821
38200
|
# @!attribute [rw] activity_status
|
37822
|
-
# The progress of the EC2 Fleet.
|
37823
|
-
#
|
37824
|
-
#
|
37825
|
-
#
|
37826
|
-
#
|
37827
|
-
#
|
38201
|
+
# The progress of the EC2 Fleet.
|
38202
|
+
#
|
38203
|
+
# For fleets of type `instant`, the status is `fulfilled` after all
|
38204
|
+
# requests are placed, regardless of whether target capacity is met
|
38205
|
+
# (this is the only possible status for `instant` fleets).
|
38206
|
+
#
|
38207
|
+
# For fleets of type `request` or `maintain`, the status is
|
38208
|
+
# `pending_fulfillment` after all requests are placed, `fulfilled`
|
38209
|
+
# when the fleet size meets or exceeds target capacity,
|
38210
|
+
# `pending_termination` while instances are terminating when fleet
|
38211
|
+
# size is decreased, and `error` if there's an error.
|
37828
38212
|
# @return [String]
|
37829
38213
|
#
|
37830
38214
|
# @!attribute [rw] create_time
|
@@ -43494,6 +43878,226 @@ module Aws::EC2
|
|
43494
43878
|
include Aws::Structure
|
43495
43879
|
end
|
43496
43880
|
|
43881
|
+
# A resource that is referencing an image.
|
43882
|
+
#
|
43883
|
+
# @!attribute [rw] image_id
|
43884
|
+
# The ID of the referenced image.
|
43885
|
+
# @return [String]
|
43886
|
+
#
|
43887
|
+
# @!attribute [rw] resource_type
|
43888
|
+
# The type of resource referencing the image.
|
43889
|
+
# @return [String]
|
43890
|
+
#
|
43891
|
+
# @!attribute [rw] arn
|
43892
|
+
# The Amazon Resource Name (ARN) of the resource referencing the
|
43893
|
+
# image.
|
43894
|
+
# @return [String]
|
43895
|
+
#
|
43896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageReference AWS API Documentation
|
43897
|
+
#
|
43898
|
+
class ImageReference < Struct.new(
|
43899
|
+
:image_id,
|
43900
|
+
:resource_type,
|
43901
|
+
:arn)
|
43902
|
+
SENSITIVE = []
|
43903
|
+
include Aws::Structure
|
43904
|
+
end
|
43905
|
+
|
43906
|
+
# The configuration and status of an image usage report.
|
43907
|
+
#
|
43908
|
+
# @!attribute [rw] image_id
|
43909
|
+
# The ID of the image that was specified when the report was created.
|
43910
|
+
# @return [String]
|
43911
|
+
#
|
43912
|
+
# @!attribute [rw] report_id
|
43913
|
+
# The ID of the report.
|
43914
|
+
# @return [String]
|
43915
|
+
#
|
43916
|
+
# @!attribute [rw] resource_types
|
43917
|
+
# The resource types that were specified when the report was created.
|
43918
|
+
# @return [Array<Types::ImageUsageResourceType>]
|
43919
|
+
#
|
43920
|
+
# @!attribute [rw] account_ids
|
43921
|
+
# The IDs of the Amazon Web Services accounts that were specified when
|
43922
|
+
# the report was created.
|
43923
|
+
# @return [Array<String>]
|
43924
|
+
#
|
43925
|
+
# @!attribute [rw] state
|
43926
|
+
# The current state of the report. Possible values:
|
43927
|
+
#
|
43928
|
+
# * `available` - The report is available to view.
|
43929
|
+
#
|
43930
|
+
# * `pending` - The report is being created and not available to view.
|
43931
|
+
#
|
43932
|
+
# * `error` - The report could not be created.
|
43933
|
+
# @return [String]
|
43934
|
+
#
|
43935
|
+
# @!attribute [rw] state_reason
|
43936
|
+
# Provides additional details when the report is in an `error` state.
|
43937
|
+
# @return [String]
|
43938
|
+
#
|
43939
|
+
# @!attribute [rw] creation_time
|
43940
|
+
# The date and time when the report was created.
|
43941
|
+
# @return [Time]
|
43942
|
+
#
|
43943
|
+
# @!attribute [rw] expiration_time
|
43944
|
+
# The date and time when Amazon EC2 will delete the report (30 days
|
43945
|
+
# after the report was created).
|
43946
|
+
# @return [Time]
|
43947
|
+
#
|
43948
|
+
# @!attribute [rw] tags
|
43949
|
+
# Any tags assigned to the report.
|
43950
|
+
# @return [Array<Types::Tag>]
|
43951
|
+
#
|
43952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageReport AWS API Documentation
|
43953
|
+
#
|
43954
|
+
class ImageUsageReport < Struct.new(
|
43955
|
+
:image_id,
|
43956
|
+
:report_id,
|
43957
|
+
:resource_types,
|
43958
|
+
:account_ids,
|
43959
|
+
:state,
|
43960
|
+
:state_reason,
|
43961
|
+
:creation_time,
|
43962
|
+
:expiration_time,
|
43963
|
+
:tags)
|
43964
|
+
SENSITIVE = []
|
43965
|
+
include Aws::Structure
|
43966
|
+
end
|
43967
|
+
|
43968
|
+
# A single entry in an image usage report, detailing how an image is
|
43969
|
+
# being used by a specific Amazon Web Services account and resource
|
43970
|
+
# type.
|
43971
|
+
#
|
43972
|
+
# @!attribute [rw] resource_type
|
43973
|
+
# The type of resource (`ec2:Instance` or `ec2:LaunchTemplate`).
|
43974
|
+
# @return [String]
|
43975
|
+
#
|
43976
|
+
# @!attribute [rw] report_id
|
43977
|
+
# The ID of the report.
|
43978
|
+
# @return [String]
|
43979
|
+
#
|
43980
|
+
# @!attribute [rw] usage_count
|
43981
|
+
# The number of times resources of this type reference this image in
|
43982
|
+
# the account.
|
43983
|
+
# @return [Integer]
|
43984
|
+
#
|
43985
|
+
# @!attribute [rw] account_id
|
43986
|
+
# The ID of the account that uses the image.
|
43987
|
+
# @return [String]
|
43988
|
+
#
|
43989
|
+
# @!attribute [rw] image_id
|
43990
|
+
# The ID of the image.
|
43991
|
+
# @return [String]
|
43992
|
+
#
|
43993
|
+
# @!attribute [rw] report_creation_time
|
43994
|
+
# The date and time the report creation was initiated.
|
43995
|
+
# @return [Time]
|
43996
|
+
#
|
43997
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageReportEntry AWS API Documentation
|
43998
|
+
#
|
43999
|
+
class ImageUsageReportEntry < Struct.new(
|
44000
|
+
:resource_type,
|
44001
|
+
:report_id,
|
44002
|
+
:usage_count,
|
44003
|
+
:account_id,
|
44004
|
+
:image_id,
|
44005
|
+
:report_creation_time)
|
44006
|
+
SENSITIVE = []
|
44007
|
+
include Aws::Structure
|
44008
|
+
end
|
44009
|
+
|
44010
|
+
# A resource type to include in the report. Associated options can also
|
44011
|
+
# be specified if the resource type is a launch template.
|
44012
|
+
#
|
44013
|
+
# @!attribute [rw] resource_type
|
44014
|
+
# The resource type.
|
44015
|
+
#
|
44016
|
+
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate`
|
44017
|
+
# @return [String]
|
44018
|
+
#
|
44019
|
+
# @!attribute [rw] resource_type_options
|
44020
|
+
# The options that affect the scope of the report. Valid only when
|
44021
|
+
# `ResourceType` is `ec2:LaunchTemplate`.
|
44022
|
+
# @return [Array<Types::ImageUsageResourceTypeOption>]
|
44023
|
+
#
|
44024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageResourceType AWS API Documentation
|
44025
|
+
#
|
44026
|
+
class ImageUsageResourceType < Struct.new(
|
44027
|
+
:resource_type,
|
44028
|
+
:resource_type_options)
|
44029
|
+
SENSITIVE = []
|
44030
|
+
include Aws::Structure
|
44031
|
+
end
|
44032
|
+
|
44033
|
+
# The options that affect the scope of the report.
|
44034
|
+
#
|
44035
|
+
# @!attribute [rw] option_name
|
44036
|
+
# The name of the option.
|
44037
|
+
# @return [String]
|
44038
|
+
#
|
44039
|
+
# @!attribute [rw] option_values
|
44040
|
+
# The number of launch template versions to check.
|
44041
|
+
# @return [Array<String>]
|
44042
|
+
#
|
44043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageResourceTypeOption AWS API Documentation
|
44044
|
+
#
|
44045
|
+
class ImageUsageResourceTypeOption < Struct.new(
|
44046
|
+
:option_name,
|
44047
|
+
:option_values)
|
44048
|
+
SENSITIVE = []
|
44049
|
+
include Aws::Structure
|
44050
|
+
end
|
44051
|
+
|
44052
|
+
# The options that affect the scope of the report.
|
44053
|
+
#
|
44054
|
+
# @!attribute [rw] option_name
|
44055
|
+
# The name of the option.
|
44056
|
+
#
|
44057
|
+
# Valid value: `version-depth` - The number of launch template
|
44058
|
+
# versions to check.
|
44059
|
+
# @return [String]
|
44060
|
+
#
|
44061
|
+
# @!attribute [rw] option_values
|
44062
|
+
# A value for the specified option.
|
44063
|
+
#
|
44064
|
+
# Valid values: Integers between `1` and `10000`
|
44065
|
+
#
|
44066
|
+
# Default: `20`
|
44067
|
+
# @return [Array<String>]
|
44068
|
+
#
|
44069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageResourceTypeOptionRequest AWS API Documentation
|
44070
|
+
#
|
44071
|
+
class ImageUsageResourceTypeOptionRequest < Struct.new(
|
44072
|
+
:option_name,
|
44073
|
+
:option_values)
|
44074
|
+
SENSITIVE = []
|
44075
|
+
include Aws::Structure
|
44076
|
+
end
|
44077
|
+
|
44078
|
+
# A resource type to include in the report. Associated options can also
|
44079
|
+
# be specified if the resource type is a launch template.
|
44080
|
+
#
|
44081
|
+
# @!attribute [rw] resource_type
|
44082
|
+
# The resource type.
|
44083
|
+
#
|
44084
|
+
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate`
|
44085
|
+
# @return [String]
|
44086
|
+
#
|
44087
|
+
# @!attribute [rw] resource_type_options
|
44088
|
+
# The options that affect the scope of the report. Valid only when
|
44089
|
+
# `ResourceType` is `ec2:LaunchTemplate`.
|
44090
|
+
# @return [Array<Types::ImageUsageResourceTypeOptionRequest>]
|
44091
|
+
#
|
44092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageResourceTypeRequest AWS API Documentation
|
44093
|
+
#
|
44094
|
+
class ImageUsageResourceTypeRequest < Struct.new(
|
44095
|
+
:resource_type,
|
44096
|
+
:resource_type_options)
|
44097
|
+
SENSITIVE = []
|
44098
|
+
include Aws::Structure
|
44099
|
+
end
|
44100
|
+
|
43497
44101
|
# @!attribute [rw] client_vpn_endpoint_id
|
43498
44102
|
# The ID of the Client VPN endpoint to which the client certificate
|
43499
44103
|
# revocation list applies.
|
@@ -66053,6 +66657,68 @@ module Aws::EC2
|
|
66053
66657
|
include Aws::Structure
|
66054
66658
|
end
|
66055
66659
|
|
66660
|
+
# The options that affect the scope of the response.
|
66661
|
+
#
|
66662
|
+
# @!attribute [rw] option_name
|
66663
|
+
# The name of the option.
|
66664
|
+
#
|
66665
|
+
# * For `ec2:Instance`:
|
66666
|
+
#
|
66667
|
+
# Specify `state-name` - The current state of the EC2 instance.
|
66668
|
+
#
|
66669
|
+
# * For `ec2:LaunchTemplate`:
|
66670
|
+
#
|
66671
|
+
# Specify `version-depth` - The number of launch template versions
|
66672
|
+
# to check, starting from the most recent version.
|
66673
|
+
# @return [String]
|
66674
|
+
#
|
66675
|
+
# @!attribute [rw] option_values
|
66676
|
+
# A value for the specified option.
|
66677
|
+
#
|
66678
|
+
# * For `state-name`:
|
66679
|
+
#
|
66680
|
+
# * Valid values: `pending` \| `running` \| `shutting-down` \|
|
66681
|
+
# `terminated` \| `stopping` \| `stopped`
|
66682
|
+
#
|
66683
|
+
# * Default: All states
|
66684
|
+
# * For `version-depth`:
|
66685
|
+
#
|
66686
|
+
# * Valid values: Integers between `1` and `10000`
|
66687
|
+
#
|
66688
|
+
# * Default: `10`
|
66689
|
+
# @return [Array<String>]
|
66690
|
+
#
|
66691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResourceTypeOption AWS API Documentation
|
66692
|
+
#
|
66693
|
+
class ResourceTypeOption < Struct.new(
|
66694
|
+
:option_name,
|
66695
|
+
:option_values)
|
66696
|
+
SENSITIVE = []
|
66697
|
+
include Aws::Structure
|
66698
|
+
end
|
66699
|
+
|
66700
|
+
# A resource type to check for image references. Associated options can
|
66701
|
+
# also be specified if the resource type is an EC2 instance or launch
|
66702
|
+
# template.
|
66703
|
+
#
|
66704
|
+
# @!attribute [rw] resource_type
|
66705
|
+
# The resource type.
|
66706
|
+
# @return [String]
|
66707
|
+
#
|
66708
|
+
# @!attribute [rw] resource_type_options
|
66709
|
+
# The options that affect the scope of the response. Valid only when
|
66710
|
+
# `ResourceType` is `ec2:Instance` or `ec2:LaunchTemplate`.
|
66711
|
+
# @return [Array<Types::ResourceTypeOption>]
|
66712
|
+
#
|
66713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResourceTypeRequest AWS API Documentation
|
66714
|
+
#
|
66715
|
+
class ResourceTypeRequest < Struct.new(
|
66716
|
+
:resource_type,
|
66717
|
+
:resource_type_options)
|
66718
|
+
SENSITIVE = []
|
66719
|
+
include Aws::Structure
|
66720
|
+
end
|
66721
|
+
|
66056
66722
|
# Describes the error that's returned when you cannot delete a launch
|
66057
66723
|
# template version.
|
66058
66724
|
#
|