aws-sdk-ec2 1.551.0 → 1.553.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.
@@ -7474,17 +7474,18 @@ module Aws::EC2
7474
7474
  # @return [String]
7475
7475
  #
7476
7476
  # @!attribute [rw] description
7477
- # A description for the new AMI in the destination Region.
7477
+ # A description for the new AMI.
7478
7478
  # @return [String]
7479
7479
  #
7480
7480
  # @!attribute [rw] encrypted
7481
- # Specifies whether the destination snapshots of the copied image
7482
- # should be encrypted. You can encrypt a copy of an unencrypted
7483
- # snapshot, but you cannot create an unencrypted copy of an encrypted
7484
- # snapshot. The default KMS key for Amazon EBS is used unless you
7485
- # specify a non-default Key Management Service (KMS) KMS key using
7486
- # `KmsKeyId`. For more information, see [Use encryption with
7487
- # EBS-backed AMIs][1] in the *Amazon EC2 User Guide*.
7481
+ # Specifies whether to encrypt the snapshots of the copied image.
7482
+ #
7483
+ # You can encrypt a copy of an unencrypted snapshot, but you cannot
7484
+ # create an unencrypted copy of an encrypted snapshot. The default KMS
7485
+ # key for Amazon EBS is used unless you specify a non-default Key
7486
+ # Management Service (KMS) KMS key using `KmsKeyId`. For more
7487
+ # information, see [Use encryption with EBS-backed AMIs][1] in the
7488
+ # *Amazon EC2 User Guide*.
7488
7489
  #
7489
7490
  #
7490
7491
  #
@@ -7520,7 +7521,7 @@ module Aws::EC2
7520
7521
  # @return [String]
7521
7522
  #
7522
7523
  # @!attribute [rw] name
7523
- # The name of the new AMI in the destination Region.
7524
+ # The name of the new AMI.
7524
7525
  # @return [String]
7525
7526
  #
7526
7527
  # @!attribute [rw] source_image_id
@@ -7532,25 +7533,29 @@ module Aws::EC2
7532
7533
  # @return [String]
7533
7534
  #
7534
7535
  # @!attribute [rw] destination_outpost_arn
7535
- # The Amazon Resource Name (ARN) of the Outpost to which to copy the
7536
- # AMI. Only specify this parameter when copying an AMI from an Amazon
7537
- # Web Services Region to an Outpost. The AMI must be in the Region of
7538
- # the destination Outpost. You cannot copy an AMI from an Outpost to a
7536
+ # The Amazon Resource Name (ARN) of the Outpost for the new AMI.
7537
+ #
7538
+ # Only specify this parameter when copying an AMI from an Amazon Web
7539
+ # Services Region to an Outpost. The AMI must be in the Region of the
7540
+ # destination Outpost. You can't copy an AMI from an Outpost to a
7539
7541
  # Region, from one Outpost to another, or within the same Outpost.
7540
7542
  #
7541
7543
  # For more information, see [Copy AMIs from an Amazon Web Services
7542
7544
  # Region to an Outpost][1] in the *Amazon EBS User Guide*.
7543
7545
  #
7546
+ # Only one of `DestinationAvailabilityZone`,
7547
+ # `DestinationAvailabilityZoneId`, or `DestinationOutpostArn` can be
7548
+ # specified.
7549
+ #
7544
7550
  #
7545
7551
  #
7546
7552
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis
7547
7553
  # @return [String]
7548
7554
  #
7549
7555
  # @!attribute [rw] copy_image_tags
7550
- # Indicates whether to include your user-defined AMI tags when copying
7551
- # the AMI.
7556
+ # Specifies whether to copy your user-defined AMI tags to the new AMI.
7552
7557
  #
7553
- # The following tags will not be copied:
7558
+ # The following tags are not be copied:
7554
7559
  #
7555
7560
  # * System tags (prefixed with `aws:`)
7556
7561
  #
@@ -7590,6 +7595,11 @@ module Aws::EC2
7590
7595
  # If you do not specify a value, the AMI copy operation is completed
7591
7596
  # on a best-effort basis.
7592
7597
  #
7598
+ # <note markdown="1"> This parameter is not supported when copying an AMI to or from a
7599
+ # Local Zone, or to an Outpost.
7600
+ #
7601
+ # </note>
7602
+ #
7593
7603
  # For more information, see [Time-based copies for Amazon EBS
7594
7604
  # snapshots and EBS-backed AMIs][1].
7595
7605
  #
@@ -7598,6 +7608,23 @@ module Aws::EC2
7598
7608
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html
7599
7609
  # @return [Integer]
7600
7610
  #
7611
+ # @!attribute [rw] destination_availability_zone
7612
+ # The Local Zone for the new AMI (for example, `cn-north-1-pkx-1a`).
7613
+ #
7614
+ # Only one of `DestinationAvailabilityZone`,
7615
+ # `DestinationAvailabilityZoneId`, or `DestinationOutpostArn` can be
7616
+ # specified.
7617
+ # @return [String]
7618
+ #
7619
+ # @!attribute [rw] destination_availability_zone_id
7620
+ # The ID of the Local Zone for the new AMI (for example,
7621
+ # `cnn1-pkx1-az1`).
7622
+ #
7623
+ # Only one of `DestinationAvailabilityZone`,
7624
+ # `DestinationAvailabilityZoneId`, or `DestinationOutpostArn` can be
7625
+ # specified.
7626
+ # @return [String]
7627
+ #
7601
7628
  # @!attribute [rw] dry_run
7602
7629
  # Checks whether you have the required permissions for the action,
7603
7630
  # without actually making the request, and provides an error response.
@@ -7619,6 +7646,8 @@ module Aws::EC2
7619
7646
  :copy_image_tags,
7620
7647
  :tag_specifications,
7621
7648
  :snapshot_copy_completion_duration_minutes,
7649
+ :destination_availability_zone,
7650
+ :destination_availability_zone_id,
7622
7651
  :dry_run)
7623
7652
  SENSITIVE = []
7624
7653
  include Aws::Structure
@@ -7644,11 +7673,11 @@ module Aws::EC2
7644
7673
  #
7645
7674
  # @!attribute [rw] destination_outpost_arn
7646
7675
  # The Amazon Resource Name (ARN) of the Outpost to which to copy the
7647
- # snapshot. Only specify this parameter when copying a snapshot from
7648
- # an Amazon Web Services Region to an Outpost. The snapshot must be in
7649
- # the Region for the destination Outpost. You cannot copy a snapshot
7650
- # from an Outpost to a Region, from one Outpost to another, or within
7651
- # the same Outpost.
7676
+ # snapshot.
7677
+ #
7678
+ # <note markdown="1"> Only supported when copying a snapshot to an Outpost.
7679
+ #
7680
+ # </note>
7652
7681
  #
7653
7682
  # For more information, see [ Copy snapshots from an Amazon Web
7654
7683
  # Services Region to an Outpost][1] in the *Amazon EBS User Guide*.
@@ -7744,6 +7773,11 @@ module Aws::EC2
7744
7773
  # @return [Array<Types::TagSpecification>]
7745
7774
  #
7746
7775
  # @!attribute [rw] completion_duration_minutes
7776
+ # <note markdown="1"> Not supported when copying snapshots to or from Local Zones or
7777
+ # Outposts.
7778
+ #
7779
+ # </note>
7780
+ #
7747
7781
  # Specify a completion duration, in 15 minute increments, to initiate
7748
7782
  # a time-based snapshot copy. Time-based snapshot copy operations
7749
7783
  # complete within the specified duration. For more information, see [
@@ -7757,6 +7791,15 @@ module Aws::EC2
7757
7791
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html
7758
7792
  # @return [Integer]
7759
7793
  #
7794
+ # @!attribute [rw] destination_availability_zone
7795
+ # The Local Zone, for example, `cn-north-1-pkx-1a` to which to copy
7796
+ # the snapshot.
7797
+ #
7798
+ # <note markdown="1"> Only supported when copying a snapshot to a Local Zone.
7799
+ #
7800
+ # </note>
7801
+ # @return [String]
7802
+ #
7760
7803
  # @!attribute [rw] dry_run
7761
7804
  # Checks whether you have the required permissions for the action,
7762
7805
  # without actually making the request, and provides an error response.
@@ -7777,6 +7820,7 @@ module Aws::EC2
7777
7820
  :source_snapshot_id,
7778
7821
  :tag_specifications,
7779
7822
  :completion_duration_minutes,
7823
+ :destination_availability_zone,
7780
7824
  :dry_run)
7781
7825
  SENSITIVE = [:presigned_url]
7782
7826
  include Aws::Structure
@@ -9800,6 +9844,71 @@ module Aws::EC2
9800
9844
  include Aws::Structure
9801
9845
  end
9802
9846
 
9847
+ # @!attribute [rw] image_id
9848
+ # The ID of the image to report on.
9849
+ # @return [String]
9850
+ #
9851
+ # @!attribute [rw] dry_run
9852
+ # Checks whether you have the required permissions for the action,
9853
+ # without actually making the request, and provides an error response.
9854
+ # If you have the required permissions, the error response is
9855
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9856
+ # @return [Boolean]
9857
+ #
9858
+ # @!attribute [rw] resource_types
9859
+ # The resource types to include in the report.
9860
+ # @return [Array<Types::ImageUsageResourceTypeRequest>]
9861
+ #
9862
+ # @!attribute [rw] account_ids
9863
+ # The Amazon Web Services account IDs to include in the report. To
9864
+ # include all accounts, omit this parameter.
9865
+ # @return [Array<String>]
9866
+ #
9867
+ # @!attribute [rw] client_token
9868
+ # A unique, case-sensitive identifier that you provide to ensure
9869
+ # idempotency of the request.
9870
+ #
9871
+ # **A suitable default value is auto-generated.** You should normally
9872
+ # not need to pass this option.
9873
+ # @return [String]
9874
+ #
9875
+ # @!attribute [rw] tag_specifications
9876
+ # The tags to apply to the report on creation. The `ResourceType` must
9877
+ # be set to `image-usage-report`; any other value will cause the
9878
+ # report creation to fail.
9879
+ #
9880
+ # To tag a report after it has been created, see [CreateTags][1].
9881
+ #
9882
+ #
9883
+ #
9884
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
9885
+ # @return [Array<Types::TagSpecification>]
9886
+ #
9887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageUsageReportRequest AWS API Documentation
9888
+ #
9889
+ class CreateImageUsageReportRequest < Struct.new(
9890
+ :image_id,
9891
+ :dry_run,
9892
+ :resource_types,
9893
+ :account_ids,
9894
+ :client_token,
9895
+ :tag_specifications)
9896
+ SENSITIVE = []
9897
+ include Aws::Structure
9898
+ end
9899
+
9900
+ # @!attribute [rw] report_id
9901
+ # The ID of the report.
9902
+ # @return [String]
9903
+ #
9904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageUsageReportResult AWS API Documentation
9905
+ #
9906
+ class CreateImageUsageReportResult < Struct.new(
9907
+ :report_id)
9908
+ SENSITIVE = []
9909
+ include Aws::Structure
9910
+ end
9911
+
9803
9912
  # @!attribute [rw] dry_run
9804
9913
  # Checks whether you have the required permissions for the action,
9805
9914
  # without actually making the request, and provides an error response.
@@ -16366,6 +16475,39 @@ module Aws::EC2
16366
16475
  include Aws::Structure
16367
16476
  end
16368
16477
 
16478
+ # @!attribute [rw] report_id
16479
+ # The ID of the report to delete.
16480
+ # @return [String]
16481
+ #
16482
+ # @!attribute [rw] dry_run
16483
+ # Checks whether you have the required permissions for the action,
16484
+ # without actually making the request, and provides an error response.
16485
+ # If you have the required permissions, the error response is
16486
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
16487
+ # @return [Boolean]
16488
+ #
16489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteImageUsageReportRequest AWS API Documentation
16490
+ #
16491
+ class DeleteImageUsageReportRequest < Struct.new(
16492
+ :report_id,
16493
+ :dry_run)
16494
+ SENSITIVE = []
16495
+ include Aws::Structure
16496
+ end
16497
+
16498
+ # @!attribute [rw] return
16499
+ # Returns `true` if the request succeeds; otherwise, it returns an
16500
+ # error.
16501
+ # @return [Boolean]
16502
+ #
16503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteImageUsageReportResult AWS API Documentation
16504
+ #
16505
+ class DeleteImageUsageReportResult < Struct.new(
16506
+ :return)
16507
+ SENSITIVE = []
16508
+ include Aws::Structure
16509
+ end
16510
+
16369
16511
  # @!attribute [rw] dry_run
16370
16512
  # Checks whether you have the required permissions for the action,
16371
16513
  # without actually making the request, and provides an error response.
@@ -22499,6 +22641,244 @@ module Aws::EC2
22499
22641
  include Aws::Structure
22500
22642
  end
22501
22643
 
22644
+ # @!attribute [rw] image_ids
22645
+ # The IDs of the images to check for resource references.
22646
+ # @return [Array<String>]
22647
+ #
22648
+ # @!attribute [rw] include_all_resource_types
22649
+ # Specifies whether to check all supported Amazon Web Services
22650
+ # resource types for image references. When specified, default values
22651
+ # are applied for `ResourceTypeOptions`. For the default values, see
22652
+ # [How AMI reference checks work][1] in the *Amazon EC2 User Guide*.
22653
+ # If you also specify `ResourceTypes` with `ResourceTypeOptions`, your
22654
+ # specified values override the default values.
22655
+ #
22656
+ # Supported resource types: `ec2:Instance` \| `ec2:LaunchTemplate` \|
22657
+ # `ssm:Parameter` \| `imagebuilder:ImageRecipe` \|
22658
+ # `imagebuilder:ContainerRecipe`
22659
+ #
22660
+ # Either `IncludeAllResourceTypes` or `ResourceTypes` must be
22661
+ # specified.
22662
+ #
22663
+ #
22664
+ #
22665
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-ami-references-works.html
22666
+ # @return [Boolean]
22667
+ #
22668
+ # @!attribute [rw] resource_types
22669
+ # The Amazon Web Services resource types to check for image
22670
+ # references.
22671
+ #
22672
+ # Either `IncludeAllResourceTypes` or `ResourceTypes` must be
22673
+ # specified.
22674
+ # @return [Array<Types::ResourceTypeRequest>]
22675
+ #
22676
+ # @!attribute [rw] next_token
22677
+ # The token returned from a previous paginated request. Pagination
22678
+ # continues from the end of the items returned by the previous
22679
+ # request.
22680
+ # @return [String]
22681
+ #
22682
+ # @!attribute [rw] dry_run
22683
+ # Checks whether you have the required permissions for the action,
22684
+ # without actually making the request, and provides an error response.
22685
+ # If you have the required permissions, the error response is
22686
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22687
+ # @return [Boolean]
22688
+ #
22689
+ # @!attribute [rw] max_results
22690
+ # The maximum number of items to return for this request. To get the
22691
+ # next page of items, make another request with the token returned in
22692
+ # the output. For more information, see [Pagination][1].
22693
+ #
22694
+ #
22695
+ #
22696
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
22697
+ # @return [Integer]
22698
+ #
22699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageReferencesRequest AWS API Documentation
22700
+ #
22701
+ class DescribeImageReferencesRequest < Struct.new(
22702
+ :image_ids,
22703
+ :include_all_resource_types,
22704
+ :resource_types,
22705
+ :next_token,
22706
+ :dry_run,
22707
+ :max_results)
22708
+ SENSITIVE = []
22709
+ include Aws::Structure
22710
+ end
22711
+
22712
+ # @!attribute [rw] next_token
22713
+ # The token to include in another request to get the next page of
22714
+ # items. This value is `null` when there are no more items to return.
22715
+ # @return [String]
22716
+ #
22717
+ # @!attribute [rw] image_references
22718
+ # The resources that are referencing the specified images.
22719
+ # @return [Array<Types::ImageReference>]
22720
+ #
22721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageReferencesResult AWS API Documentation
22722
+ #
22723
+ class DescribeImageReferencesResult < Struct.new(
22724
+ :next_token,
22725
+ :image_references)
22726
+ SENSITIVE = []
22727
+ include Aws::Structure
22728
+ end
22729
+
22730
+ # @!attribute [rw] image_ids
22731
+ # The IDs of the images for filtering the report entries. If
22732
+ # specified, only report entries containing these images are returned.
22733
+ # @return [Array<String>]
22734
+ #
22735
+ # @!attribute [rw] report_ids
22736
+ # The IDs of the usage reports.
22737
+ # @return [Array<String>]
22738
+ #
22739
+ # @!attribute [rw] next_token
22740
+ # The token returned from a previous paginated request. Pagination
22741
+ # continues from the end of the items returned by the previous
22742
+ # request.
22743
+ # @return [String]
22744
+ #
22745
+ # @!attribute [rw] filters
22746
+ # The filters.
22747
+ #
22748
+ # * `account-id` - A 12-digit Amazon Web Services account ID.
22749
+ #
22750
+ # * `creation-time` - The time when the report was created, in the ISO
22751
+ # 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for
22752
+ # example, `2025-11-29T11:04:43.305Z`. You can use a wildcard (`*`),
22753
+ # for example, `2025-11-29T*`, which matches an entire day.
22754
+ #
22755
+ # * `resource-type` - The resource type (`ec2:Instance` \|
22756
+ # `ec2:LaunchTemplate`).
22757
+ # @return [Array<Types::Filter>]
22758
+ #
22759
+ # @!attribute [rw] dry_run
22760
+ # Checks whether you have the required permissions for the action,
22761
+ # without actually making the request, and provides an error response.
22762
+ # If you have the required permissions, the error response is
22763
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22764
+ # @return [Boolean]
22765
+ #
22766
+ # @!attribute [rw] max_results
22767
+ # The maximum number of items to return for this request. To get the
22768
+ # next page of items, make another request with the token returned in
22769
+ # the output. For more information, see [Pagination][1].
22770
+ #
22771
+ #
22772
+ #
22773
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
22774
+ # @return [Integer]
22775
+ #
22776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageUsageReportEntriesRequest AWS API Documentation
22777
+ #
22778
+ class DescribeImageUsageReportEntriesRequest < Struct.new(
22779
+ :image_ids,
22780
+ :report_ids,
22781
+ :next_token,
22782
+ :filters,
22783
+ :dry_run,
22784
+ :max_results)
22785
+ SENSITIVE = []
22786
+ include Aws::Structure
22787
+ end
22788
+
22789
+ # @!attribute [rw] next_token
22790
+ # The token to include in another request to get the next page of
22791
+ # items. This value is `null` when there are no more items to return.
22792
+ # @return [String]
22793
+ #
22794
+ # @!attribute [rw] image_usage_report_entries
22795
+ # The content of the usage reports.
22796
+ # @return [Array<Types::ImageUsageReportEntry>]
22797
+ #
22798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageUsageReportEntriesResult AWS API Documentation
22799
+ #
22800
+ class DescribeImageUsageReportEntriesResult < Struct.new(
22801
+ :next_token,
22802
+ :image_usage_report_entries)
22803
+ SENSITIVE = []
22804
+ include Aws::Structure
22805
+ end
22806
+
22807
+ # @!attribute [rw] image_ids
22808
+ # The IDs of the images for filtering the reports. If specified, only
22809
+ # reports containing these images are returned.
22810
+ # @return [Array<String>]
22811
+ #
22812
+ # @!attribute [rw] report_ids
22813
+ # The IDs of the image usage reports.
22814
+ # @return [Array<String>]
22815
+ #
22816
+ # @!attribute [rw] next_token
22817
+ # The token returned from a previous paginated request. Pagination
22818
+ # continues from the end of the items returned by the previous
22819
+ # request.
22820
+ # @return [String]
22821
+ #
22822
+ # @!attribute [rw] filters
22823
+ # The filters.
22824
+ #
22825
+ # * `creation-time` - The time when the report was created, in the ISO
22826
+ # 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for
22827
+ # example, `2025-11-29T11:04:43.305Z`. You can use a wildcard (`*`),
22828
+ # for example, `2025-11-29T*`, which matches an entire day.
22829
+ #
22830
+ # * `state` - The state of the report (`available` \| `pending` \|
22831
+ # `error`).
22832
+ # @return [Array<Types::Filter>]
22833
+ #
22834
+ # @!attribute [rw] dry_run
22835
+ # Checks whether you have the required permissions for the action,
22836
+ # without actually making the request, and provides an error response.
22837
+ # If you have the required permissions, the error response is
22838
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
22839
+ # @return [Boolean]
22840
+ #
22841
+ # @!attribute [rw] max_results
22842
+ # The maximum number of items to return for this request. To get the
22843
+ # next page of items, make another request with the token returned in
22844
+ # the output. For more information, see [Pagination][1].
22845
+ #
22846
+ #
22847
+ #
22848
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
22849
+ # @return [Integer]
22850
+ #
22851
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageUsageReportsRequest AWS API Documentation
22852
+ #
22853
+ class DescribeImageUsageReportsRequest < Struct.new(
22854
+ :image_ids,
22855
+ :report_ids,
22856
+ :next_token,
22857
+ :filters,
22858
+ :dry_run,
22859
+ :max_results)
22860
+ SENSITIVE = []
22861
+ include Aws::Structure
22862
+ end
22863
+
22864
+ # @!attribute [rw] next_token
22865
+ # The token to include in another request to get the next page of
22866
+ # items. This value is `null` when there are no more items to return.
22867
+ # @return [String]
22868
+ #
22869
+ # @!attribute [rw] image_usage_reports
22870
+ # The image usage reports.
22871
+ # @return [Array<Types::ImageUsageReport>]
22872
+ #
22873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageUsageReportsResult AWS API Documentation
22874
+ #
22875
+ class DescribeImageUsageReportsResult < Struct.new(
22876
+ :next_token,
22877
+ :image_usage_reports)
22878
+ SENSITIVE = []
22879
+ include Aws::Structure
22880
+ end
22881
+
22502
22882
  # @!attribute [rw] executable_users
22503
22883
  # Scopes the images by users with explicit launch permissions. Specify
22504
22884
  # an Amazon Web Services account ID, `self` (the sender of the
@@ -31604,6 +31984,9 @@ module Aws::EC2
31604
31984
  #
31605
31985
  # * `resource-configuration-group-arn` - The Amazon Resource Name
31606
31986
  # (ARN) of the resource configuration of type GROUP.
31987
+ #
31988
+ # * `service-network-resource-association-id` - The ID of the
31989
+ # association.
31607
31990
  # @return [Array<Types::Filter>]
31608
31991
  #
31609
31992
  # @!attribute [rw] max_results
@@ -37859,12 +38242,17 @@ module Aws::EC2
37859
38242
  # Describes an EC2 Fleet.
37860
38243
  #
37861
38244
  # @!attribute [rw] activity_status
37862
- # The progress of the EC2 Fleet. If there is an error, the status is
37863
- # `error`. After all requests are placed, the status is
37864
- # `pending_fulfillment`. If the size of the EC2 Fleet is equal to or
37865
- # greater than its target capacity, the status is `fulfilled`. If the
37866
- # size of the EC2 Fleet is decreased, the status is
37867
- # `pending_termination` while instances are terminating.
38245
+ # The progress of the EC2 Fleet.
38246
+ #
38247
+ # For fleets of type `instant`, the status is `fulfilled` after all
38248
+ # requests are placed, regardless of whether target capacity is met
38249
+ # (this is the only possible status for `instant` fleets).
38250
+ #
38251
+ # For fleets of type `request` or `maintain`, the status is
38252
+ # `pending_fulfillment` after all requests are placed, `fulfilled`
38253
+ # when the fleet size meets or exceeds target capacity,
38254
+ # `pending_termination` while instances are terminating when fleet
38255
+ # size is decreased, and `error` if there's an error.
37868
38256
  # @return [String]
37869
38257
  #
37870
38258
  # @!attribute [rw] create_time
@@ -43534,6 +43922,226 @@ module Aws::EC2
43534
43922
  include Aws::Structure
43535
43923
  end
43536
43924
 
43925
+ # A resource that is referencing an image.
43926
+ #
43927
+ # @!attribute [rw] image_id
43928
+ # The ID of the referenced image.
43929
+ # @return [String]
43930
+ #
43931
+ # @!attribute [rw] resource_type
43932
+ # The type of resource referencing the image.
43933
+ # @return [String]
43934
+ #
43935
+ # @!attribute [rw] arn
43936
+ # The Amazon Resource Name (ARN) of the resource referencing the
43937
+ # image.
43938
+ # @return [String]
43939
+ #
43940
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageReference AWS API Documentation
43941
+ #
43942
+ class ImageReference < Struct.new(
43943
+ :image_id,
43944
+ :resource_type,
43945
+ :arn)
43946
+ SENSITIVE = []
43947
+ include Aws::Structure
43948
+ end
43949
+
43950
+ # The configuration and status of an image usage report.
43951
+ #
43952
+ # @!attribute [rw] image_id
43953
+ # The ID of the image that was specified when the report was created.
43954
+ # @return [String]
43955
+ #
43956
+ # @!attribute [rw] report_id
43957
+ # The ID of the report.
43958
+ # @return [String]
43959
+ #
43960
+ # @!attribute [rw] resource_types
43961
+ # The resource types that were specified when the report was created.
43962
+ # @return [Array<Types::ImageUsageResourceType>]
43963
+ #
43964
+ # @!attribute [rw] account_ids
43965
+ # The IDs of the Amazon Web Services accounts that were specified when
43966
+ # the report was created.
43967
+ # @return [Array<String>]
43968
+ #
43969
+ # @!attribute [rw] state
43970
+ # The current state of the report. Possible values:
43971
+ #
43972
+ # * `available` - The report is available to view.
43973
+ #
43974
+ # * `pending` - The report is being created and not available to view.
43975
+ #
43976
+ # * `error` - The report could not be created.
43977
+ # @return [String]
43978
+ #
43979
+ # @!attribute [rw] state_reason
43980
+ # Provides additional details when the report is in an `error` state.
43981
+ # @return [String]
43982
+ #
43983
+ # @!attribute [rw] creation_time
43984
+ # The date and time when the report was created.
43985
+ # @return [Time]
43986
+ #
43987
+ # @!attribute [rw] expiration_time
43988
+ # The date and time when Amazon EC2 will delete the report (30 days
43989
+ # after the report was created).
43990
+ # @return [Time]
43991
+ #
43992
+ # @!attribute [rw] tags
43993
+ # Any tags assigned to the report.
43994
+ # @return [Array<Types::Tag>]
43995
+ #
43996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageReport AWS API Documentation
43997
+ #
43998
+ class ImageUsageReport < Struct.new(
43999
+ :image_id,
44000
+ :report_id,
44001
+ :resource_types,
44002
+ :account_ids,
44003
+ :state,
44004
+ :state_reason,
44005
+ :creation_time,
44006
+ :expiration_time,
44007
+ :tags)
44008
+ SENSITIVE = []
44009
+ include Aws::Structure
44010
+ end
44011
+
44012
+ # A single entry in an image usage report, detailing how an image is
44013
+ # being used by a specific Amazon Web Services account and resource
44014
+ # type.
44015
+ #
44016
+ # @!attribute [rw] resource_type
44017
+ # The type of resource (`ec2:Instance` or `ec2:LaunchTemplate`).
44018
+ # @return [String]
44019
+ #
44020
+ # @!attribute [rw] report_id
44021
+ # The ID of the report.
44022
+ # @return [String]
44023
+ #
44024
+ # @!attribute [rw] usage_count
44025
+ # The number of times resources of this type reference this image in
44026
+ # the account.
44027
+ # @return [Integer]
44028
+ #
44029
+ # @!attribute [rw] account_id
44030
+ # The ID of the account that uses the image.
44031
+ # @return [String]
44032
+ #
44033
+ # @!attribute [rw] image_id
44034
+ # The ID of the image.
44035
+ # @return [String]
44036
+ #
44037
+ # @!attribute [rw] report_creation_time
44038
+ # The date and time the report creation was initiated.
44039
+ # @return [Time]
44040
+ #
44041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageReportEntry AWS API Documentation
44042
+ #
44043
+ class ImageUsageReportEntry < Struct.new(
44044
+ :resource_type,
44045
+ :report_id,
44046
+ :usage_count,
44047
+ :account_id,
44048
+ :image_id,
44049
+ :report_creation_time)
44050
+ SENSITIVE = []
44051
+ include Aws::Structure
44052
+ end
44053
+
44054
+ # A resource type to include in the report. Associated options can also
44055
+ # be specified if the resource type is a launch template.
44056
+ #
44057
+ # @!attribute [rw] resource_type
44058
+ # The resource type.
44059
+ #
44060
+ # Valid values: `ec2:Instance` \| `ec2:LaunchTemplate`
44061
+ # @return [String]
44062
+ #
44063
+ # @!attribute [rw] resource_type_options
44064
+ # The options that affect the scope of the report. Valid only when
44065
+ # `ResourceType` is `ec2:LaunchTemplate`.
44066
+ # @return [Array<Types::ImageUsageResourceTypeOption>]
44067
+ #
44068
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageResourceType AWS API Documentation
44069
+ #
44070
+ class ImageUsageResourceType < Struct.new(
44071
+ :resource_type,
44072
+ :resource_type_options)
44073
+ SENSITIVE = []
44074
+ include Aws::Structure
44075
+ end
44076
+
44077
+ # The options that affect the scope of the report.
44078
+ #
44079
+ # @!attribute [rw] option_name
44080
+ # The name of the option.
44081
+ # @return [String]
44082
+ #
44083
+ # @!attribute [rw] option_values
44084
+ # The number of launch template versions to check.
44085
+ # @return [Array<String>]
44086
+ #
44087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageResourceTypeOption AWS API Documentation
44088
+ #
44089
+ class ImageUsageResourceTypeOption < Struct.new(
44090
+ :option_name,
44091
+ :option_values)
44092
+ SENSITIVE = []
44093
+ include Aws::Structure
44094
+ end
44095
+
44096
+ # The options that affect the scope of the report.
44097
+ #
44098
+ # @!attribute [rw] option_name
44099
+ # The name of the option.
44100
+ #
44101
+ # Valid value: `version-depth` - The number of launch template
44102
+ # versions to check.
44103
+ # @return [String]
44104
+ #
44105
+ # @!attribute [rw] option_values
44106
+ # A value for the specified option.
44107
+ #
44108
+ # Valid values: Integers between `1` and `10000`
44109
+ #
44110
+ # Default: `20`
44111
+ # @return [Array<String>]
44112
+ #
44113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageResourceTypeOptionRequest AWS API Documentation
44114
+ #
44115
+ class ImageUsageResourceTypeOptionRequest < Struct.new(
44116
+ :option_name,
44117
+ :option_values)
44118
+ SENSITIVE = []
44119
+ include Aws::Structure
44120
+ end
44121
+
44122
+ # A resource type to include in the report. Associated options can also
44123
+ # be specified if the resource type is a launch template.
44124
+ #
44125
+ # @!attribute [rw] resource_type
44126
+ # The resource type.
44127
+ #
44128
+ # Valid values: `ec2:Instance` \| `ec2:LaunchTemplate`
44129
+ # @return [String]
44130
+ #
44131
+ # @!attribute [rw] resource_type_options
44132
+ # The options that affect the scope of the report. Valid only when
44133
+ # `ResourceType` is `ec2:LaunchTemplate`.
44134
+ # @return [Array<Types::ImageUsageResourceTypeOptionRequest>]
44135
+ #
44136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageUsageResourceTypeRequest AWS API Documentation
44137
+ #
44138
+ class ImageUsageResourceTypeRequest < Struct.new(
44139
+ :resource_type,
44140
+ :resource_type_options)
44141
+ SENSITIVE = []
44142
+ include Aws::Structure
44143
+ end
44144
+
43537
44145
  # @!attribute [rw] client_vpn_endpoint_id
43538
44146
  # The ID of the Client VPN endpoint to which the client certificate
43539
44147
  # revocation list applies.
@@ -66093,6 +66701,68 @@ module Aws::EC2
66093
66701
  include Aws::Structure
66094
66702
  end
66095
66703
 
66704
+ # The options that affect the scope of the response.
66705
+ #
66706
+ # @!attribute [rw] option_name
66707
+ # The name of the option.
66708
+ #
66709
+ # * For `ec2:Instance`:
66710
+ #
66711
+ # Specify `state-name` - The current state of the EC2 instance.
66712
+ #
66713
+ # * For `ec2:LaunchTemplate`:
66714
+ #
66715
+ # Specify `version-depth` - The number of launch template versions
66716
+ # to check, starting from the most recent version.
66717
+ # @return [String]
66718
+ #
66719
+ # @!attribute [rw] option_values
66720
+ # A value for the specified option.
66721
+ #
66722
+ # * For `state-name`:
66723
+ #
66724
+ # * Valid values: `pending` \| `running` \| `shutting-down` \|
66725
+ # `terminated` \| `stopping` \| `stopped`
66726
+ #
66727
+ # * Default: All states
66728
+ # * For `version-depth`:
66729
+ #
66730
+ # * Valid values: Integers between `1` and `10000`
66731
+ #
66732
+ # * Default: `10`
66733
+ # @return [Array<String>]
66734
+ #
66735
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResourceTypeOption AWS API Documentation
66736
+ #
66737
+ class ResourceTypeOption < Struct.new(
66738
+ :option_name,
66739
+ :option_values)
66740
+ SENSITIVE = []
66741
+ include Aws::Structure
66742
+ end
66743
+
66744
+ # A resource type to check for image references. Associated options can
66745
+ # also be specified if the resource type is an EC2 instance or launch
66746
+ # template.
66747
+ #
66748
+ # @!attribute [rw] resource_type
66749
+ # The resource type.
66750
+ # @return [String]
66751
+ #
66752
+ # @!attribute [rw] resource_type_options
66753
+ # The options that affect the scope of the response. Valid only when
66754
+ # `ResourceType` is `ec2:Instance` or `ec2:LaunchTemplate`.
66755
+ # @return [Array<Types::ResourceTypeOption>]
66756
+ #
66757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResourceTypeRequest AWS API Documentation
66758
+ #
66759
+ class ResourceTypeRequest < Struct.new(
66760
+ :resource_type,
66761
+ :resource_type_options)
66762
+ SENSITIVE = []
66763
+ include Aws::Structure
66764
+ end
66765
+
66096
66766
  # Describes the error that's returned when you cannot delete a launch
66097
66767
  # template version.
66098
66768
  #