aws-sdk-ec2 1.562.0 → 1.564.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.
@@ -1085,7 +1085,7 @@ module Aws::EC2
1085
1085
  # @return [String]
1086
1086
  #
1087
1087
  # @!attribute [rw] public_ipv_4_pool
1088
- # The ID of an address pool.
1088
+ # The ID of an address pool that you own.
1089
1089
  # @return [String]
1090
1090
  #
1091
1091
  # @!attribute [rw] network_border_group
@@ -1106,12 +1106,13 @@ module Aws::EC2
1106
1106
  # @return [String]
1107
1107
  #
1108
1108
  # @!attribute [rw] carrier_ip
1109
- # The carrier IP address. This option is only available for network
1110
- # interfaces that reside in a subnet in a Wavelength Zone.
1109
+ # The carrier IP address. Available only for network interfaces that
1110
+ # reside in a subnet in a Wavelength Zone.
1111
1111
  # @return [String]
1112
1112
  #
1113
1113
  # @!attribute [rw] public_ip
1114
- # The Elastic IP address.
1114
+ # The Amazon-owned IP address. Not available when using an address
1115
+ # pool that you own.
1115
1116
  # @return [String]
1116
1117
  #
1117
1118
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressResult AWS API Documentation
@@ -5237,6 +5238,204 @@ module Aws::EC2
5237
5238
  include Aws::Structure
5238
5239
  end
5239
5240
 
5241
+ # Represents a filter condition for Capacity Manager queries. Contains
5242
+ # dimension-based filtering criteria used to narrow down metric data and
5243
+ # dimension results.
5244
+ #
5245
+ # @!attribute [rw] dimension_condition
5246
+ # The dimension-based condition that specifies how to filter the data
5247
+ # based on dimension values.
5248
+ # @return [Types::DimensionCondition]
5249
+ #
5250
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityManagerCondition AWS API Documentation
5251
+ #
5252
+ class CapacityManagerCondition < Struct.new(
5253
+ :dimension_condition)
5254
+ SENSITIVE = []
5255
+ include Aws::Structure
5256
+ end
5257
+
5258
+ # Contains information about a Capacity Manager data export
5259
+ # configuration, including export settings, delivery status, and recent
5260
+ # export activity.
5261
+ #
5262
+ # @!attribute [rw] capacity_manager_data_export_id
5263
+ # The unique identifier for the data export configuration.
5264
+ # @return [String]
5265
+ #
5266
+ # @!attribute [rw] s3_bucket_name
5267
+ # The name of the S3 bucket where export files are delivered.
5268
+ # @return [String]
5269
+ #
5270
+ # @!attribute [rw] s3_bucket_prefix
5271
+ # The S3 key prefix used for organizing export files within the
5272
+ # bucket.
5273
+ # @return [String]
5274
+ #
5275
+ # @!attribute [rw] schedule
5276
+ # The frequency at which data exports are generated.
5277
+ # @return [String]
5278
+ #
5279
+ # @!attribute [rw] output_format
5280
+ # The file format of the exported data.
5281
+ # @return [String]
5282
+ #
5283
+ # @!attribute [rw] create_time
5284
+ # The timestamp when the data export configuration was created.
5285
+ # @return [Time]
5286
+ #
5287
+ # @!attribute [rw] latest_delivery_status
5288
+ # The status of the most recent export delivery.
5289
+ # @return [String]
5290
+ #
5291
+ # @!attribute [rw] latest_delivery_status_message
5292
+ # A message describing the status of the most recent export delivery,
5293
+ # including any error details if the delivery failed.
5294
+ # @return [String]
5295
+ #
5296
+ # @!attribute [rw] latest_delivery_s3_location_uri
5297
+ # The S3 URI of the most recently delivered export file.
5298
+ # @return [String]
5299
+ #
5300
+ # @!attribute [rw] latest_delivery_time
5301
+ # The timestamp when the most recent export was delivered to S3.
5302
+ # @return [Time]
5303
+ #
5304
+ # @!attribute [rw] tags
5305
+ # The tags associated with the data export configuration.
5306
+ # @return [Array<Types::Tag>]
5307
+ #
5308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityManagerDataExportResponse AWS API Documentation
5309
+ #
5310
+ class CapacityManagerDataExportResponse < Struct.new(
5311
+ :capacity_manager_data_export_id,
5312
+ :s3_bucket_name,
5313
+ :s3_bucket_prefix,
5314
+ :schedule,
5315
+ :output_format,
5316
+ :create_time,
5317
+ :latest_delivery_status,
5318
+ :latest_delivery_status_message,
5319
+ :latest_delivery_s3_location_uri,
5320
+ :latest_delivery_time,
5321
+ :tags)
5322
+ SENSITIVE = []
5323
+ include Aws::Structure
5324
+ end
5325
+
5326
+ # Represents dimension values for capacity metrics, including resource
5327
+ # identifiers, geographic information, and reservation details used for
5328
+ # grouping and filtering capacity data.
5329
+ #
5330
+ # @!attribute [rw] resource_region
5331
+ # The Amazon Web Services Region where the capacity resource is
5332
+ # located.
5333
+ # @return [String]
5334
+ #
5335
+ # @!attribute [rw] availability_zone_id
5336
+ # The unique identifier of the Availability Zone where the capacity
5337
+ # resource is located.
5338
+ # @return [String]
5339
+ #
5340
+ # @!attribute [rw] account_id
5341
+ # The Amazon Web Services account ID that owns the capacity resource.
5342
+ # @return [String]
5343
+ #
5344
+ # @!attribute [rw] instance_family
5345
+ # The EC2 instance family of the capacity resource.
5346
+ # @return [String]
5347
+ #
5348
+ # @!attribute [rw] instance_type
5349
+ # The specific EC2 instance type of the capacity resource.
5350
+ # @return [String]
5351
+ #
5352
+ # @!attribute [rw] instance_platform
5353
+ # The platform or operating system of the instance.
5354
+ # @return [String]
5355
+ #
5356
+ # @!attribute [rw] reservation_arn
5357
+ # The Amazon Resource Name (ARN) of the capacity reservation. This
5358
+ # provides a unique identifier that can be used across Amazon Web
5359
+ # Services services to reference the specific reservation.
5360
+ # @return [String]
5361
+ #
5362
+ # @!attribute [rw] reservation_id
5363
+ # The unique identifier of the capacity reservation.
5364
+ # @return [String]
5365
+ #
5366
+ # @!attribute [rw] reservation_type
5367
+ # The type of capacity reservation.
5368
+ # @return [String]
5369
+ #
5370
+ # @!attribute [rw] reservation_create_timestamp
5371
+ # The timestamp when the capacity reservation was originally created,
5372
+ # in milliseconds since epoch. This differs from the start timestamp
5373
+ # as reservations can be created before they become active.
5374
+ # @return [Time]
5375
+ #
5376
+ # @!attribute [rw] reservation_start_timestamp
5377
+ # The timestamp when the capacity reservation becomes active and
5378
+ # available for use, in milliseconds since epoch. This is when the
5379
+ # reservation begins providing capacity.
5380
+ # @return [Time]
5381
+ #
5382
+ # @!attribute [rw] reservation_end_timestamp
5383
+ # The timestamp when the capacity reservation expires and is no longer
5384
+ # available, in milliseconds since epoch. After this time, the
5385
+ # reservation will not provide any capacity.
5386
+ # @return [Time]
5387
+ #
5388
+ # @!attribute [rw] reservation_end_date_type
5389
+ # The type of end date for the capacity reservation. This indicates
5390
+ # whether the reservation has a fixed end date, is open-ended, or
5391
+ # follows a specific termination pattern.
5392
+ # @return [String]
5393
+ #
5394
+ # @!attribute [rw] tenancy
5395
+ # The tenancy of the EC2 instances associated with this capacity
5396
+ # dimension. Valid values are 'default' for shared tenancy,
5397
+ # 'dedicated' for dedicated instances, or 'host' for dedicated
5398
+ # hosts.
5399
+ # @return [String]
5400
+ #
5401
+ # @!attribute [rw] reservation_state
5402
+ # The current state of the capacity reservation.
5403
+ # @return [String]
5404
+ #
5405
+ # @!attribute [rw] reservation_instance_match_criteria
5406
+ # The instance matching criteria for the capacity reservation,
5407
+ # determining how instances are matched to the reservation.
5408
+ # @return [String]
5409
+ #
5410
+ # @!attribute [rw] reservation_unused_financial_owner
5411
+ # The Amazon Web Services account ID that is financially responsible
5412
+ # for unused capacity reservation costs.
5413
+ # @return [String]
5414
+ #
5415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityManagerDimension AWS API Documentation
5416
+ #
5417
+ class CapacityManagerDimension < Struct.new(
5418
+ :resource_region,
5419
+ :availability_zone_id,
5420
+ :account_id,
5421
+ :instance_family,
5422
+ :instance_type,
5423
+ :instance_platform,
5424
+ :reservation_arn,
5425
+ :reservation_id,
5426
+ :reservation_type,
5427
+ :reservation_create_timestamp,
5428
+ :reservation_start_timestamp,
5429
+ :reservation_end_timestamp,
5430
+ :reservation_end_date_type,
5431
+ :tenancy,
5432
+ :reservation_state,
5433
+ :reservation_instance_match_criteria,
5434
+ :reservation_unused_financial_owner)
5435
+ SENSITIVE = []
5436
+ include Aws::Structure
5437
+ end
5438
+
5240
5439
  # Describes a Capacity Reservation.
5241
5440
  #
5242
5441
  # @!attribute [rw] capacity_reservation_id
@@ -8083,6 +8282,75 @@ module Aws::EC2
8083
8282
  include Aws::Structure
8084
8283
  end
8085
8284
 
8285
+ # @!attribute [rw] s3_bucket_name
8286
+ # The name of the S3 bucket where the capacity data export files will
8287
+ # be delivered. The bucket must exist and you must have write
8288
+ # permissions to it.
8289
+ # @return [String]
8290
+ #
8291
+ # @!attribute [rw] s3_bucket_prefix
8292
+ # The S3 key prefix for the exported data files. This allows you to
8293
+ # organize exports in a specific folder structure within your bucket.
8294
+ # If not specified, files are placed at the bucket root.
8295
+ # @return [String]
8296
+ #
8297
+ # @!attribute [rw] schedule
8298
+ # The frequency at which data exports are generated.
8299
+ # @return [String]
8300
+ #
8301
+ # @!attribute [rw] output_format
8302
+ # The file format for the exported data. Parquet format is recommended
8303
+ # for large datasets and better compression.
8304
+ # @return [String]
8305
+ #
8306
+ # @!attribute [rw] client_token
8307
+ # Unique, case-sensitive identifier that you provide to ensure the
8308
+ # idempotency of the request. For more information, see Ensure
8309
+ # Idempotency.
8310
+ #
8311
+ # **A suitable default value is auto-generated.** You should normally
8312
+ # not need to pass this option.
8313
+ # @return [String]
8314
+ #
8315
+ # @!attribute [rw] dry_run
8316
+ # Checks whether you have the required permissions for the action,
8317
+ # without actually making the request, and provides an error response.
8318
+ # If you have the required permissions, the error response is
8319
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8320
+ # @return [Boolean]
8321
+ #
8322
+ # @!attribute [rw] tag_specifications
8323
+ # The tags to apply to the data export configuration. You can tag the
8324
+ # export for organization and cost tracking purposes.
8325
+ # @return [Array<Types::TagSpecification>]
8326
+ #
8327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityManagerDataExportRequest AWS API Documentation
8328
+ #
8329
+ class CreateCapacityManagerDataExportRequest < Struct.new(
8330
+ :s3_bucket_name,
8331
+ :s3_bucket_prefix,
8332
+ :schedule,
8333
+ :output_format,
8334
+ :client_token,
8335
+ :dry_run,
8336
+ :tag_specifications)
8337
+ SENSITIVE = []
8338
+ include Aws::Structure
8339
+ end
8340
+
8341
+ # @!attribute [rw] capacity_manager_data_export_id
8342
+ # The unique identifier for the created data export configuration. Use
8343
+ # this ID to reference the export in other API calls.
8344
+ # @return [String]
8345
+ #
8346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityManagerDataExportResult AWS API Documentation
8347
+ #
8348
+ class CreateCapacityManagerDataExportResult < Struct.new(
8349
+ :capacity_manager_data_export_id)
8350
+ SENSITIVE = []
8351
+ include Aws::Structure
8352
+ end
8353
+
8086
8354
  # @!attribute [rw] dry_run
8087
8355
  # Checks whether you have the required permissions for the action,
8088
8356
  # without actually making the request, and provides an error response.
@@ -16200,6 +16468,38 @@ module Aws::EC2
16200
16468
  include Aws::Structure
16201
16469
  end
16202
16470
 
16471
+ # @!attribute [rw] capacity_manager_data_export_id
16472
+ # The unique identifier of the data export configuration to delete.
16473
+ # @return [String]
16474
+ #
16475
+ # @!attribute [rw] dry_run
16476
+ # Checks whether you have the required permissions for the action,
16477
+ # without actually making the request, and provides an error response.
16478
+ # If you have the required permissions, the error response is
16479
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
16480
+ # @return [Boolean]
16481
+ #
16482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCapacityManagerDataExportRequest AWS API Documentation
16483
+ #
16484
+ class DeleteCapacityManagerDataExportRequest < Struct.new(
16485
+ :capacity_manager_data_export_id,
16486
+ :dry_run)
16487
+ SENSITIVE = []
16488
+ include Aws::Structure
16489
+ end
16490
+
16491
+ # @!attribute [rw] capacity_manager_data_export_id
16492
+ # The unique identifier of the deleted data export configuration.
16493
+ # @return [String]
16494
+ #
16495
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCapacityManagerDataExportResult AWS API Documentation
16496
+ #
16497
+ class DeleteCapacityManagerDataExportResult < Struct.new(
16498
+ :capacity_manager_data_export_id)
16499
+ SENSITIVE = []
16500
+ include Aws::Structure
16501
+ end
16502
+
16203
16503
  # @!attribute [rw] carrier_gateway_id
16204
16504
  # The ID of the carrier gateway.
16205
16505
  # @return [String]
@@ -17628,7 +17928,7 @@ module Aws::EC2
17628
17928
  # Contains the output for DeleteNetworkInterfacePermission.
17629
17929
  #
17630
17930
  # @!attribute [rw] return
17631
- # Returns `true` if the request succeeds, otherwise returns an error.
17931
+ # Is `true` if the request succeeds and an error otherwise.
17632
17932
  # @return [Boolean]
17633
17933
  #
17634
17934
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermissionResult AWS API Documentation
@@ -20340,6 +20640,64 @@ module Aws::EC2
20340
20640
  include Aws::Structure
20341
20641
  end
20342
20642
 
20643
+ # @!attribute [rw] capacity_manager_data_export_ids
20644
+ # The IDs of the data export configurations to describe. If not
20645
+ # specified, all export configurations are returned.
20646
+ # @return [Array<String>]
20647
+ #
20648
+ # @!attribute [rw] max_results
20649
+ # The maximum number of results to return in a single call. If not
20650
+ # specified, up to 1000 results are returned.
20651
+ # @return [Integer]
20652
+ #
20653
+ # @!attribute [rw] next_token
20654
+ # The token for the next page of results. Use this value in a
20655
+ # subsequent call to retrieve additional results.
20656
+ # @return [String]
20657
+ #
20658
+ # @!attribute [rw] dry_run
20659
+ # Checks whether you have the required permissions for the action,
20660
+ # without actually making the request, and provides an error response.
20661
+ # If you have the required permissions, the error response is
20662
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
20663
+ # @return [Boolean]
20664
+ #
20665
+ # @!attribute [rw] filters
20666
+ # One or more filters to narrow the results. Supported filters include
20667
+ # export status, creation date, and S3 bucket name.
20668
+ # @return [Array<Types::Filter>]
20669
+ #
20670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityManagerDataExportsRequest AWS API Documentation
20671
+ #
20672
+ class DescribeCapacityManagerDataExportsRequest < Struct.new(
20673
+ :capacity_manager_data_export_ids,
20674
+ :max_results,
20675
+ :next_token,
20676
+ :dry_run,
20677
+ :filters)
20678
+ SENSITIVE = []
20679
+ include Aws::Structure
20680
+ end
20681
+
20682
+ # @!attribute [rw] capacity_manager_data_exports
20683
+ # Information about the data export configurations, including export
20684
+ # settings, delivery status, and recent activity.
20685
+ # @return [Array<Types::CapacityManagerDataExportResponse>]
20686
+ #
20687
+ # @!attribute [rw] next_token
20688
+ # The token to use to retrieve the next page of results. This value is
20689
+ # null when there are no more results to return.
20690
+ # @return [String]
20691
+ #
20692
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityManagerDataExportsResult AWS API Documentation
20693
+ #
20694
+ class DescribeCapacityManagerDataExportsResult < Struct.new(
20695
+ :capacity_manager_data_exports,
20696
+ :next_token)
20697
+ SENSITIVE = []
20698
+ include Aws::Structure
20699
+ end
20700
+
20343
20701
  # @!attribute [rw] capacity_reservation_ids
20344
20702
  # The ID of the Capacity Reservation.
20345
20703
  # @return [Array<String>]
@@ -28740,21 +29098,11 @@ module Aws::EC2
28740
29098
  #
28741
29099
  # * `group-owner-id`: The group owner ID.
28742
29100
  #
28743
- # * `vpc-id`: The ID of the associated VPC.
28744
- #
28745
- # * `vpc-owner-id`: The account ID of the VPC owner.
28746
- #
28747
29101
  # * `state`: The state of the association.
28748
29102
  #
28749
- # * `tag:<key>`: The key/value combination of a tag assigned to the
28750
- # resource. Use the tag key in the filter name and the tag value as
28751
- # the filter value. For example, to find all resources that have a
28752
- # tag with the key `Owner` and the value `TeamA`, specify
28753
- # `tag:Owner` for the filter name and `TeamA` for the filter value.
29103
+ # * `vpc-id`: The ID of the associated VPC.
28754
29104
  #
28755
- # * `tag-key`: The key of a tag assigned to the resource. Use this
28756
- # filter to find all resources assigned a tag with a specific key,
28757
- # regardless of the tag value.
29105
+ # * `vpc-owner-id`: The account ID of the VPC owner.
28758
29106
  # @return [Array<Types::Filter>]
28759
29107
  #
28760
29108
  # @!attribute [rw] next_token
@@ -33398,6 +33746,34 @@ module Aws::EC2
33398
33746
  include Aws::Structure
33399
33747
  end
33400
33748
 
33749
+ # Specifies a condition for filtering capacity data based on dimension
33750
+ # values. Used to create precise filters for metric queries and
33751
+ # dimension lookups.
33752
+ #
33753
+ # @!attribute [rw] dimension
33754
+ # The name of the dimension to filter by.
33755
+ # @return [String]
33756
+ #
33757
+ # @!attribute [rw] comparison
33758
+ # The comparison operator to use for the filter.
33759
+ # @return [String]
33760
+ #
33761
+ # @!attribute [rw] values
33762
+ # The list of values to match against the specified dimension. For
33763
+ # 'equals' comparison, only the first value is used. For 'in'
33764
+ # comparison, any matching value will satisfy the condition.
33765
+ # @return [Array<String>]
33766
+ #
33767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DimensionCondition AWS API Documentation
33768
+ #
33769
+ class DimensionCondition < Struct.new(
33770
+ :dimension,
33771
+ :comparison,
33772
+ :values)
33773
+ SENSITIVE = []
33774
+ include Aws::Structure
33775
+ end
33776
+
33401
33777
  # Describes an Active Directory.
33402
33778
  #
33403
33779
  # @!attribute [rw] directory_id
@@ -33535,6 +33911,48 @@ module Aws::EC2
33535
33911
  include Aws::Structure
33536
33912
  end
33537
33913
 
33914
+ # @!attribute [rw] dry_run
33915
+ # Checks whether you have the required permissions for the action,
33916
+ # without actually making the request, and provides an error response.
33917
+ # If you have the required permissions, the error response is
33918
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
33919
+ # @return [Boolean]
33920
+ #
33921
+ # @!attribute [rw] client_token
33922
+ # Unique, case-sensitive identifier that you provide to ensure the
33923
+ # idempotency of the request.
33924
+ #
33925
+ # **A suitable default value is auto-generated.** You should normally
33926
+ # not need to pass this option.
33927
+ # @return [String]
33928
+ #
33929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableCapacityManagerRequest AWS API Documentation
33930
+ #
33931
+ class DisableCapacityManagerRequest < Struct.new(
33932
+ :dry_run,
33933
+ :client_token)
33934
+ SENSITIVE = []
33935
+ include Aws::Structure
33936
+ end
33937
+
33938
+ # @!attribute [rw] capacity_manager_status
33939
+ # The current status of Capacity Manager after the disable operation.
33940
+ # @return [String]
33941
+ #
33942
+ # @!attribute [rw] organizations_access
33943
+ # Indicates whether Organizations access is enabled. This will be
33944
+ # `false` after disabling Capacity Manager.
33945
+ # @return [Boolean]
33946
+ #
33947
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableCapacityManagerResult AWS API Documentation
33948
+ #
33949
+ class DisableCapacityManagerResult < Struct.new(
33950
+ :capacity_manager_status,
33951
+ :organizations_access)
33952
+ SENSITIVE = []
33953
+ include Aws::Structure
33954
+ end
33955
+
33538
33956
  # @!attribute [rw] dry_run
33539
33957
  # Checks whether you have the required permissions for the action,
33540
33958
  # without actually making the request, and provides an error response.
@@ -34820,8 +35238,7 @@ module Aws::EC2
34820
35238
  end
34821
35239
 
34822
35240
  # @!attribute [rw] return
34823
- # Returns `true` if the request succeeds; otherwise, it returns an
34824
- # error.
35241
+ # Is `true` if the request succeeds and an error otherwise.
34825
35242
  # @return [Boolean]
34826
35243
  #
34827
35244
  # @!attribute [rw] client_token
@@ -35288,7 +35705,8 @@ module Aws::EC2
35288
35705
  # snapshot blocks from Amazon S3 to the volume. This is also known as
35289
35706
  # *volume initialization*. Specifying a volume initialization rate
35290
35707
  # ensures that the volume is initialized at a predictable and
35291
- # consistent rate after creation.
35708
+ # consistent rate after creation. For more information, see
35709
+ # [Initialize Amazon EBS volumes][1] in the *Amazon EC2 User Guide*.
35292
35710
  #
35293
35711
  # This parameter is supported only for volumes created from snapshots.
35294
35712
  # Omit this parameter if:
@@ -35307,10 +35725,8 @@ module Aws::EC2
35307
35725
  # * You want to create a volume that is initialized at the default
35308
35726
  # rate.
35309
35727
  #
35310
- # For more information, see [ Initialize Amazon EBS volumes][1] in the
35311
- # *Amazon EC2 User Guide*.
35312
- #
35313
- # This parameter is not supported when using [CreateImage][2].
35728
+ # This parameter is not supported when using [CreateImage][2] and
35729
+ # [DescribeImages][3].
35314
35730
  #
35315
35731
  # Valid range: 100 - 300 MiB/s
35316
35732
  #
@@ -35318,6 +35734,7 @@ module Aws::EC2
35318
35734
  #
35319
35735
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
35320
35736
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
35737
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
35321
35738
  # @return [Integer]
35322
35739
  #
35323
35740
  # @!attribute [rw] availability_zone_id
@@ -35636,7 +36053,7 @@ module Aws::EC2
35636
36053
  include Aws::Structure
35637
36054
  end
35638
36055
 
35639
- # The EC2 Instance Connect Endpoint.
36056
+ # Describes an EC2 Instance Connect Endpoint.
35640
36057
  #
35641
36058
  # @!attribute [rw] owner_id
35642
36059
  # The ID of the Amazon Web Services account that created the EC2
@@ -35696,15 +36113,15 @@ module Aws::EC2
35696
36113
  #
35697
36114
  # @!attribute [rw] preserve_client_ip
35698
36115
  # Indicates whether your client's IP address is preserved as the
35699
- # source. The value is `true` or `false`.
36116
+ # source when you connect to a resource. The following are the
36117
+ # possible values.
35700
36118
  #
35701
- # * If `true`, your client's IP address is used when you connect to a
35702
- # resource.
36119
+ # * `true` - Use the IP address of the client. Your instance must have
36120
+ # an IPv4 address.
35703
36121
  #
35704
- # * If `false`, the elastic network interface IP address is used when
35705
- # you connect to a resource.
36122
+ # * `false` - Use the IP address of the network interface.
35706
36123
  #
35707
- # Default: `true`
36124
+ # Default: `false`
35708
36125
  # @return [Boolean]
35709
36126
  #
35710
36127
  # @!attribute [rw] security_group_ids
@@ -36213,6 +36630,55 @@ module Aws::EC2
36213
36630
  include Aws::Structure
36214
36631
  end
36215
36632
 
36633
+ # @!attribute [rw] organizations_access
36634
+ # Specifies whether to enable cross-account access for Amazon Web
36635
+ # Services Organizations. When enabled, Capacity Manager can aggregate
36636
+ # data from all accounts in your organization. Default is false.
36637
+ # @return [Boolean]
36638
+ #
36639
+ # @!attribute [rw] dry_run
36640
+ # Checks whether you have the required permissions for the action,
36641
+ # without actually making the request, and provides an error response.
36642
+ # If you have the required permissions, the error response is
36643
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
36644
+ # @return [Boolean]
36645
+ #
36646
+ # @!attribute [rw] client_token
36647
+ # Unique, case-sensitive identifier that you provide to ensure the
36648
+ # idempotency of the request.
36649
+ #
36650
+ # **A suitable default value is auto-generated.** You should normally
36651
+ # not need to pass this option.
36652
+ # @return [String]
36653
+ #
36654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableCapacityManagerRequest AWS API Documentation
36655
+ #
36656
+ class EnableCapacityManagerRequest < Struct.new(
36657
+ :organizations_access,
36658
+ :dry_run,
36659
+ :client_token)
36660
+ SENSITIVE = []
36661
+ include Aws::Structure
36662
+ end
36663
+
36664
+ # @!attribute [rw] capacity_manager_status
36665
+ # The current status of Capacity Manager after the enable operation.
36666
+ # @return [String]
36667
+ #
36668
+ # @!attribute [rw] organizations_access
36669
+ # Indicates whether Organizations access is enabled for cross-account
36670
+ # data aggregation.
36671
+ # @return [Boolean]
36672
+ #
36673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableCapacityManagerResult AWS API Documentation
36674
+ #
36675
+ class EnableCapacityManagerResult < Struct.new(
36676
+ :capacity_manager_status,
36677
+ :organizations_access)
36678
+ SENSITIVE = []
36679
+ include Aws::Structure
36680
+ end
36681
+
36216
36682
  # @!attribute [rw] dry_run
36217
36683
  # Checks whether you have the required permissions for the action,
36218
36684
  # without actually making the request, and provides an error response.
@@ -39942,6 +40408,237 @@ module Aws::EC2
39942
40408
  include Aws::Structure
39943
40409
  end
39944
40410
 
40411
+ # @!attribute [rw] dry_run
40412
+ # Checks whether you have the required permissions for the action,
40413
+ # without actually making the request, and provides an error response.
40414
+ # If you have the required permissions, the error response is
40415
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
40416
+ # @return [Boolean]
40417
+ #
40418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerAttributesRequest AWS API Documentation
40419
+ #
40420
+ class GetCapacityManagerAttributesRequest < Struct.new(
40421
+ :dry_run)
40422
+ SENSITIVE = []
40423
+ include Aws::Structure
40424
+ end
40425
+
40426
+ # @!attribute [rw] capacity_manager_status
40427
+ # The current status of Capacity Manager.
40428
+ # @return [String]
40429
+ #
40430
+ # @!attribute [rw] organizations_access
40431
+ # Indicates whether Organizations access is enabled for cross-account
40432
+ # data aggregation.
40433
+ # @return [Boolean]
40434
+ #
40435
+ # @!attribute [rw] data_export_count
40436
+ # The number of active data export configurations for this account.
40437
+ # This count includes all data exports regardless of their current
40438
+ # delivery status.
40439
+ # @return [Integer]
40440
+ #
40441
+ # @!attribute [rw] ingestion_status
40442
+ # The current data ingestion status. Initial ingestion may take
40443
+ # several hours after enabling Capacity Manager.
40444
+ # @return [String]
40445
+ #
40446
+ # @!attribute [rw] ingestion_status_message
40447
+ # A descriptive message providing additional details about the current
40448
+ # ingestion status. This may include error information if ingestion
40449
+ # has failed or progress details during initial setup.
40450
+ # @return [String]
40451
+ #
40452
+ # @!attribute [rw] earliest_datapoint_timestamp
40453
+ # The timestamp of the earliest data point available in Capacity
40454
+ # Manager, in milliseconds since epoch. This indicates how far back
40455
+ # historical data is available for queries.
40456
+ # @return [Time]
40457
+ #
40458
+ # @!attribute [rw] latest_datapoint_timestamp
40459
+ # The timestamp of the most recent data point ingested by Capacity
40460
+ # Manager, in milliseconds since epoch. This indicates how current
40461
+ # your capacity data is.
40462
+ # @return [Time]
40463
+ #
40464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerAttributesResult AWS API Documentation
40465
+ #
40466
+ class GetCapacityManagerAttributesResult < Struct.new(
40467
+ :capacity_manager_status,
40468
+ :organizations_access,
40469
+ :data_export_count,
40470
+ :ingestion_status,
40471
+ :ingestion_status_message,
40472
+ :earliest_datapoint_timestamp,
40473
+ :latest_datapoint_timestamp)
40474
+ SENSITIVE = []
40475
+ include Aws::Structure
40476
+ end
40477
+
40478
+ # @!attribute [rw] metric_names
40479
+ # The names of the metrics to retrieve. Maximum of 10 metrics per
40480
+ # request.
40481
+ # @return [Array<String>]
40482
+ #
40483
+ # @!attribute [rw] start_time
40484
+ # The start time for the metric data query, in ISO 8601 format. The
40485
+ # time range (end time - start time) must be a multiple of the
40486
+ # specified period.
40487
+ # @return [Time]
40488
+ #
40489
+ # @!attribute [rw] end_time
40490
+ # The end time for the metric data query, in ISO 8601 format. If the
40491
+ # end time is beyond the latest ingested data, it will be
40492
+ # automatically adjusted to the latest available data point.
40493
+ # @return [Time]
40494
+ #
40495
+ # @!attribute [rw] period
40496
+ # The granularity, in seconds, of the returned data points.
40497
+ # @return [Integer]
40498
+ #
40499
+ # @!attribute [rw] group_by
40500
+ # The dimensions by which to group the metric data. This determines
40501
+ # how the data is aggregated and returned.
40502
+ # @return [Array<String>]
40503
+ #
40504
+ # @!attribute [rw] filter_by
40505
+ # Conditions to filter the metric data. Each filter specifies a
40506
+ # dimension, comparison operator ('equals', 'in'), and values to
40507
+ # match against.
40508
+ # @return [Array<Types::CapacityManagerCondition>]
40509
+ #
40510
+ # @!attribute [rw] max_results
40511
+ # The maximum number of data points to return. Valid range is 1 to
40512
+ # 100,000. Use with NextToken for pagination of large result sets.
40513
+ # @return [Integer]
40514
+ #
40515
+ # @!attribute [rw] next_token
40516
+ # The token for the next page of results. Use this value in a
40517
+ # subsequent call to retrieve additional data points.
40518
+ # @return [String]
40519
+ #
40520
+ # @!attribute [rw] dry_run
40521
+ # Checks whether you have the required permissions for the action,
40522
+ # without actually making the request, and provides an error response.
40523
+ # If you have the required permissions, the error response is
40524
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
40525
+ # @return [Boolean]
40526
+ #
40527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMetricDataRequest AWS API Documentation
40528
+ #
40529
+ class GetCapacityManagerMetricDataRequest < Struct.new(
40530
+ :metric_names,
40531
+ :start_time,
40532
+ :end_time,
40533
+ :period,
40534
+ :group_by,
40535
+ :filter_by,
40536
+ :max_results,
40537
+ :next_token,
40538
+ :dry_run)
40539
+ SENSITIVE = []
40540
+ include Aws::Structure
40541
+ end
40542
+
40543
+ # @!attribute [rw] metric_data_results
40544
+ # The metric data points returned by the query. Each result contains
40545
+ # dimension values, timestamp, and metric values with their associated
40546
+ # statistics.
40547
+ # @return [Array<Types::MetricDataResult>]
40548
+ #
40549
+ # @!attribute [rw] next_token
40550
+ # The token to use to retrieve the next page of results. This value is
40551
+ # null when there are no more results to return.
40552
+ # @return [String]
40553
+ #
40554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMetricDataResult AWS API Documentation
40555
+ #
40556
+ class GetCapacityManagerMetricDataResult < Struct.new(
40557
+ :metric_data_results,
40558
+ :next_token)
40559
+ SENSITIVE = []
40560
+ include Aws::Structure
40561
+ end
40562
+
40563
+ # @!attribute [rw] group_by
40564
+ # The dimensions to group by when retrieving available dimension
40565
+ # values. This determines which dimension combinations are returned.
40566
+ # Required parameter.
40567
+ # @return [Array<String>]
40568
+ #
40569
+ # @!attribute [rw] filter_by
40570
+ # Conditions to filter which dimension values are returned. Each
40571
+ # filter specifies a dimension, comparison operator, and values to
40572
+ # match against.
40573
+ # @return [Array<Types::CapacityManagerCondition>]
40574
+ #
40575
+ # @!attribute [rw] start_time
40576
+ # The start time for the dimension query, in ISO 8601 format. Only
40577
+ # dimensions with data in this time range will be returned.
40578
+ # @return [Time]
40579
+ #
40580
+ # @!attribute [rw] end_time
40581
+ # The end time for the dimension query, in ISO 8601 format. Only
40582
+ # dimensions with data in this time range will be returned.
40583
+ # @return [Time]
40584
+ #
40585
+ # @!attribute [rw] metric_names
40586
+ # The metric names to use as an additional filter when retrieving
40587
+ # dimensions. Only dimensions that have data for these metrics will be
40588
+ # returned. Required parameter with maximum size of 1 for v1.
40589
+ # @return [Array<String>]
40590
+ #
40591
+ # @!attribute [rw] max_results
40592
+ # The maximum number of dimension combinations to return. Valid range
40593
+ # is 1 to 1000. Use with NextToken for pagination.
40594
+ # @return [Integer]
40595
+ #
40596
+ # @!attribute [rw] next_token
40597
+ # The token for the next page of results. Use this value in a
40598
+ # subsequent call to retrieve additional dimension values.
40599
+ # @return [String]
40600
+ #
40601
+ # @!attribute [rw] dry_run
40602
+ # Checks whether you have the required permissions for the action,
40603
+ # without actually making the request, and provides an error response.
40604
+ # If you have the required permissions, the error response is
40605
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
40606
+ # @return [Boolean]
40607
+ #
40608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMetricDimensionsRequest AWS API Documentation
40609
+ #
40610
+ class GetCapacityManagerMetricDimensionsRequest < Struct.new(
40611
+ :group_by,
40612
+ :filter_by,
40613
+ :start_time,
40614
+ :end_time,
40615
+ :metric_names,
40616
+ :max_results,
40617
+ :next_token,
40618
+ :dry_run)
40619
+ SENSITIVE = []
40620
+ include Aws::Structure
40621
+ end
40622
+
40623
+ # @!attribute [rw] metric_dimension_results
40624
+ # The available dimension combinations that have data within the
40625
+ # specified time range and filters.
40626
+ # @return [Array<Types::CapacityManagerDimension>]
40627
+ #
40628
+ # @!attribute [rw] next_token
40629
+ # The token to use to retrieve the next page of results. This value is
40630
+ # null when there are no more results to return.
40631
+ # @return [String]
40632
+ #
40633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMetricDimensionsResult AWS API Documentation
40634
+ #
40635
+ class GetCapacityManagerMetricDimensionsResult < Struct.new(
40636
+ :metric_dimension_results,
40637
+ :next_token)
40638
+ SENSITIVE = []
40639
+ include Aws::Structure
40640
+ end
40641
+
39945
40642
  # @!attribute [rw] capacity_reservation_id
39946
40643
  # The ID of the Capacity Reservation.
39947
40644
  # @return [String]
@@ -54471,6 +55168,35 @@ module Aws::EC2
54471
55168
  include Aws::Structure
54472
55169
  end
54473
55170
 
55171
+ # Contains a single data point from a capacity metrics query, including
55172
+ # the dimension values, timestamp, and metric values for that specific
55173
+ # combination.
55174
+ #
55175
+ # @!attribute [rw] dimension
55176
+ # The dimension values that identify this specific data point, such as
55177
+ # account ID, region, and instance family.
55178
+ # @return [Types::CapacityManagerDimension]
55179
+ #
55180
+ # @!attribute [rw] timestamp
55181
+ # The timestamp for this data point, indicating when the capacity
55182
+ # usage occurred.
55183
+ # @return [Time]
55184
+ #
55185
+ # @!attribute [rw] metric_values
55186
+ # The metric values and statistics for this data point, containing the
55187
+ # actual capacity usage numbers.
55188
+ # @return [Array<Types::MetricValue>]
55189
+ #
55190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MetricDataResult AWS API Documentation
55191
+ #
55192
+ class MetricDataResult < Struct.new(
55193
+ :dimension,
55194
+ :timestamp,
55195
+ :metric_values)
55196
+ SENSITIVE = []
55197
+ include Aws::Structure
55198
+ end
55199
+
54474
55200
  # Indicates whether the network was healthy or degraded at a particular
54475
55201
  # point. The value is aggregated from the `startDate` to the `endDate`.
54476
55202
  # Currently only `five_minutes` is supported.
@@ -54504,6 +55230,27 @@ module Aws::EC2
54504
55230
  include Aws::Structure
54505
55231
  end
54506
55232
 
55233
+ # Represents a single metric value with its associated statistic, such
55234
+ # as the sum or average of unused capacity hours.
55235
+ #
55236
+ # @!attribute [rw] metric
55237
+ # The name of the metric.
55238
+ # @return [String]
55239
+ #
55240
+ # @!attribute [rw] value
55241
+ # The numerical value of the metric for the specified statistic and
55242
+ # time period.
55243
+ # @return [Float]
55244
+ #
55245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MetricValue AWS API Documentation
55246
+ #
55247
+ class MetricValue < Struct.new(
55248
+ :metric,
55249
+ :value)
55250
+ SENSITIVE = []
55251
+ include Aws::Structure
55252
+ end
55253
+
54507
55254
  # @!attribute [rw] allocation_id
54508
55255
  # \[EC2-VPC\] The allocation ID.
54509
55256
  # @return [String]
@@ -55637,22 +56384,14 @@ module Aws::EC2
55637
56384
  # @return [Array<String>]
55638
56385
  #
55639
56386
  # @!attribute [rw] preserve_client_ip
55640
- # Indicates whether the client IP address is preserved as the source.
55641
- # The following are the possible values.
55642
- #
55643
- # * `true` - Use the client IP address as the source.
55644
- #
55645
- # * `false` - Use the network interface IP address as the source.
56387
+ # Indicates whether the client IP address is preserved as the source
56388
+ # when you connect to a resource. The following are the possible
56389
+ # values.
55646
56390
  #
55647
- # <note markdown="1"> `PreserveClientIp=true` is only supported on IPv4 EC2 Instance
55648
- # Connect Endpoints. If modifying `PreserveClientIp` to `true`, either
55649
- # the endpoint's existing `IpAddressType` must be `ipv4`, or if
55650
- # modifying `IpAddressType` in the same request, the new value must be
55651
- # `ipv4`.
56391
+ # * `true` - Use the IP address of the client. Your instance must have
56392
+ # an IPv4 address.
55652
56393
  #
55653
- # </note>
55654
- #
55655
- # Default: `false`
56394
+ # * `false` - Use the IP address of the network interface.
55656
56395
  # @return [Boolean]
55657
56396
  #
55658
56397
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointRequest AWS API Documentation
@@ -55668,9 +56407,7 @@ module Aws::EC2
55668
56407
  end
55669
56408
 
55670
56409
  # @!attribute [rw] return
55671
- # The return value of the request. Returns `true` if the specified
55672
- # product code is owned by the requester and associated with the
55673
- # specified instance.
56410
+ # Is `true` if the request succeeds and an error otherwise.
55674
56411
  # @return [Boolean]
55675
56412
  #
55676
56413
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointResult AWS API Documentation
@@ -76691,6 +77428,55 @@ module Aws::EC2
76691
77428
  include Aws::Structure
76692
77429
  end
76693
77430
 
77431
+ # @!attribute [rw] organizations_access
77432
+ # Specifies whether to enable or disable cross-account access for
77433
+ # Amazon Web Services Organizations. When enabled, Capacity Manager
77434
+ # aggregates data from all accounts in your organization.
77435
+ # @return [Boolean]
77436
+ #
77437
+ # @!attribute [rw] dry_run
77438
+ # Checks whether you have the required permissions for the action,
77439
+ # without actually making the request, and provides an error response.
77440
+ # If you have the required permissions, the error response is
77441
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
77442
+ # @return [Boolean]
77443
+ #
77444
+ # @!attribute [rw] client_token
77445
+ # Unique, case-sensitive identifier that you provide to ensure the
77446
+ # idempotency of the request.
77447
+ #
77448
+ # **A suitable default value is auto-generated.** You should normally
77449
+ # not need to pass this option.
77450
+ # @return [String]
77451
+ #
77452
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateCapacityManagerOrganizationsAccessRequest AWS API Documentation
77453
+ #
77454
+ class UpdateCapacityManagerOrganizationsAccessRequest < Struct.new(
77455
+ :organizations_access,
77456
+ :dry_run,
77457
+ :client_token)
77458
+ SENSITIVE = []
77459
+ include Aws::Structure
77460
+ end
77461
+
77462
+ # @!attribute [rw] capacity_manager_status
77463
+ # The current status of Capacity Manager after the update operation.
77464
+ # @return [String]
77465
+ #
77466
+ # @!attribute [rw] organizations_access
77467
+ # The updated Organizations access setting indicating whether
77468
+ # cross-account data aggregation is enabled.
77469
+ # @return [Boolean]
77470
+ #
77471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateCapacityManagerOrganizationsAccessResult AWS API Documentation
77472
+ #
77473
+ class UpdateCapacityManagerOrganizationsAccessResult < Struct.new(
77474
+ :capacity_manager_status,
77475
+ :organizations_access)
77476
+ SENSITIVE = []
77477
+ include Aws::Structure
77478
+ end
77479
+
76694
77480
  # @!attribute [rw] dry_run
76695
77481
  # Checks whether you have the required permissions for the action,
76696
77482
  # without actually making the request, and provides an error response.