aws-sdk-ec2 1.561.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
@@ -7848,6 +8047,133 @@ module Aws::EC2
7848
8047
  include Aws::Structure
7849
8048
  end
7850
8049
 
8050
+ # @!attribute [rw] source_volume_id
8051
+ # The ID of the source EBS volume to copy.
8052
+ # @return [String]
8053
+ #
8054
+ # @!attribute [rw] iops
8055
+ # The number of I/O operations per second (IOPS) to provision for the
8056
+ # volume copy. Required for `io1` and `io2` volumes. Optional for
8057
+ # `gp3` volumes. Omit for all other volume types. Full provisioned
8058
+ # IOPS performance can be achieved only once the volume copy is fully
8059
+ # initialized.
8060
+ #
8061
+ # Valid ranges:
8062
+ #
8063
+ # * gp3: `3,000 `(*default*)` - 80,000` IOPS
8064
+ #
8065
+ # * io1: `100 - 64,000` IOPS
8066
+ #
8067
+ # * io2: `100 - 256,000` IOPS
8068
+ #
8069
+ # <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
8070
+ # IOPS. Other instances can support up to 32,000 IOPS.
8071
+ #
8072
+ # </note>
8073
+ #
8074
+ #
8075
+ #
8076
+ # [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html
8077
+ # @return [Integer]
8078
+ #
8079
+ # @!attribute [rw] size
8080
+ # The size of the volume copy, in GiBs. The size must be equal to or
8081
+ # greater than the size of the source volume. If not specified, the
8082
+ # size defaults to the size of the source volume.
8083
+ #
8084
+ # Maximum supported sizes:
8085
+ #
8086
+ # * gp2: `16,384` GiB
8087
+ #
8088
+ # * gp3: `65,536` GiB
8089
+ #
8090
+ # * io1: `16,384` GiB
8091
+ #
8092
+ # * io2: `65,536` GiB
8093
+ #
8094
+ # * st1 and sc1: `16,384` GiB
8095
+ #
8096
+ # * standard: `1024` GiB
8097
+ # @return [Integer]
8098
+ #
8099
+ # @!attribute [rw] volume_type
8100
+ # The volume type for the volume copy. If not specified, the volume
8101
+ # type defaults to `gp2`.
8102
+ # @return [String]
8103
+ #
8104
+ # @!attribute [rw] dry_run
8105
+ # Checks whether you have the required permissions for the action,
8106
+ # without actually making the request, and provides an error response.
8107
+ # If you have the required permissions, the error response is
8108
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8109
+ # @return [Boolean]
8110
+ #
8111
+ # @!attribute [rw] tag_specifications
8112
+ # The tags to apply to the volume copy during creation.
8113
+ # @return [Array<Types::TagSpecification>]
8114
+ #
8115
+ # @!attribute [rw] multi_attach_enabled
8116
+ # Indicates whether to enable Amazon EBS Multi-Attach for the volume
8117
+ # copy. If you enable Multi-Attach, you can attach the volume to up to
8118
+ # 16 Nitro instances in the same Availability Zone simultaneously.
8119
+ # Supported with `io1` and `io2` volumes only. For more information,
8120
+ # see [ Amazon EBS Multi-Attach][1].
8121
+ #
8122
+ #
8123
+ #
8124
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
8125
+ # @return [Boolean]
8126
+ #
8127
+ # @!attribute [rw] throughput
8128
+ # The throughput to provision for the volume copy, in MiB/s. Supported
8129
+ # for `gp3` volumes only. Omit for all other volume types. Full
8130
+ # provisioned throughput performance can be achieved only once the
8131
+ # volume copy is fully initialized.
8132
+ #
8133
+ # Valid Range: `125 - 2000` MiB/s
8134
+ # @return [Integer]
8135
+ #
8136
+ # @!attribute [rw] client_token
8137
+ # Unique, case-sensitive identifier that you provide to ensure the
8138
+ # idempotency of the request. For more information, see [ Ensure
8139
+ # Idempotency][1].
8140
+ #
8141
+ # **A suitable default value is auto-generated.** You should normally
8142
+ # not need to pass this option.
8143
+ #
8144
+ #
8145
+ #
8146
+ # [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
8147
+ # @return [String]
8148
+ #
8149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyVolumesRequest AWS API Documentation
8150
+ #
8151
+ class CopyVolumesRequest < Struct.new(
8152
+ :source_volume_id,
8153
+ :iops,
8154
+ :size,
8155
+ :volume_type,
8156
+ :dry_run,
8157
+ :tag_specifications,
8158
+ :multi_attach_enabled,
8159
+ :throughput,
8160
+ :client_token)
8161
+ SENSITIVE = []
8162
+ include Aws::Structure
8163
+ end
8164
+
8165
+ # @!attribute [rw] volumes
8166
+ # Information about the volume copy.
8167
+ # @return [Array<Types::Volume>]
8168
+ #
8169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyVolumesResult AWS API Documentation
8170
+ #
8171
+ class CopyVolumesResult < Struct.new(
8172
+ :volumes)
8173
+ SENSITIVE = []
8174
+ include Aws::Structure
8175
+ end
8176
+
7851
8177
  # The CPU options for the instance.
7852
8178
  #
7853
8179
  # @!attribute [rw] core_count
@@ -7956,6 +8282,75 @@ module Aws::EC2
7956
8282
  include Aws::Structure
7957
8283
  end
7958
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
+
7959
8354
  # @!attribute [rw] dry_run
7960
8355
  # Checks whether you have the required permissions for the action,
7961
8356
  # without actually making the request, and provides an error response.
@@ -14887,27 +15282,22 @@ module Aws::EC2
14887
15282
  # @return [Boolean]
14888
15283
  #
14889
15284
  # @!attribute [rw] iops
14890
- # The number of I/O operations per second (IOPS). For `gp3`, `io1`,
14891
- # and `io2` volumes, this represents the number of IOPS that are
14892
- # provisioned for the volume. For `gp2` volumes, this represents the
14893
- # baseline performance of the volume and the rate at which the volume
14894
- # accumulates I/O credits for bursting.
15285
+ # The number of I/O operations per second (IOPS) to provision for the
15286
+ # volume. Required for `io1` and `io2` volumes. Optional for `gp3`
15287
+ # volumes. Omit for all other volume types.
14895
15288
  #
14896
- # The following are the supported values for each volume type:
15289
+ # Valid ranges:
14897
15290
  #
14898
- # * `gp3`: 3,000 - 80,000 IOPS
15291
+ # * gp3: `3,000 `(*default*)` - 80,000` IOPS
14899
15292
  #
14900
- # * `io1`: 100 - 64,000 IOPS
15293
+ # * io1: `100 - 64,000` IOPS
14901
15294
  #
14902
- # * `io2`: 100 - 256,000 IOPS
15295
+ # * io2: `100 - 256,000` IOPS
14903
15296
  #
14904
- # For `io2` volumes, you can achieve up to 256,000 IOPS on [instances
14905
- # built on the Nitro System][1]. On other instances, you can achieve
14906
- # performance up to 32,000 IOPS.
15297
+ # <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
15298
+ # IOPS. Other instances can support up to 32,000 IOPS.
14907
15299
  #
14908
- # This parameter is required for `io1` and `io2` volumes. The default
14909
- # for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
14910
- # `gp2`, `st1`, `sc1`, or `standard` volumes.
15300
+ # </note>
14911
15301
  #
14912
15302
  #
14913
15303
  #
@@ -14951,22 +15341,22 @@ module Aws::EC2
14951
15341
  # @!attribute [rw] size
14952
15342
  # The size of the volume, in GiBs. You must specify either a snapshot
14953
15343
  # ID or a volume size. If you specify a snapshot, the default is the
14954
- # snapshot size. You can specify a volume size that is equal to or
15344
+ # snapshot size, and you can specify a volume size that is equal to or
14955
15345
  # larger than the snapshot size.
14956
15346
  #
14957
- # The following are the supported volumes sizes for each volume type:
15347
+ # Valid sizes:
14958
15348
  #
14959
- # * `gp2`: 1 - 16,384 GiB
15349
+ # * gp2: `1 - 16,384` GiB
14960
15350
  #
14961
- # * `gp3`: 1 - 65,536 GiB
15351
+ # * gp3: `1 - 65,536` GiB
14962
15352
  #
14963
- # * `io1`: 4 - 16,384 GiB
15353
+ # * io1: `4 - 16,384` GiB
14964
15354
  #
14965
- # * `io2`: 4 - 65,536 GiB
15355
+ # * io2: `4 - 65,536` GiB
14966
15356
  #
14967
- # * `st1` and `sc1`: 125 - 16,384 GiB
15357
+ # * st1 and sc1: `125 - 16,384` GiB
14968
15358
  #
14969
- # * `standard`: 1 - 1024 GiB
15359
+ # * standard: `1 - 1024` GiB
14970
15360
  # @return [Integer]
14971
15361
  #
14972
15362
  # @!attribute [rw] snapshot_id
@@ -15019,12 +15409,10 @@ module Aws::EC2
15019
15409
  # @return [Boolean]
15020
15410
  #
15021
15411
  # @!attribute [rw] throughput
15022
- # The throughput to provision for a volume, with a maximum of 2,000
15023
- # MiB/s.
15412
+ # The throughput to provision for the volume, in MiB/s. Supported for
15413
+ # `gp3` volumes only. Omit for all other volume types.
15024
15414
  #
15025
- # This parameter is valid only for `gp3` volumes.
15026
- #
15027
- # Valid Range: Minimum value of 125. Maximum value of 2,000.
15415
+ # Valid Range: `125 - 2000` MiB/s
15028
15416
  # @return [Integer]
15029
15417
  #
15030
15418
  # @!attribute [rw] client_token
@@ -16080,6 +16468,38 @@ module Aws::EC2
16080
16468
  include Aws::Structure
16081
16469
  end
16082
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
+
16083
16503
  # @!attribute [rw] carrier_gateway_id
16084
16504
  # The ID of the carrier gateway.
16085
16505
  # @return [String]
@@ -17508,7 +17928,7 @@ module Aws::EC2
17508
17928
  # Contains the output for DeleteNetworkInterfacePermission.
17509
17929
  #
17510
17930
  # @!attribute [rw] return
17511
- # Returns `true` if the request succeeds, otherwise returns an error.
17931
+ # Is `true` if the request succeeds and an error otherwise.
17512
17932
  # @return [Boolean]
17513
17933
  #
17514
17934
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermissionResult AWS API Documentation
@@ -20220,6 +20640,64 @@ module Aws::EC2
20220
20640
  include Aws::Structure
20221
20641
  end
20222
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
+
20223
20701
  # @!attribute [rw] capacity_reservation_ids
20224
20702
  # The ID of the Capacity Reservation.
20225
20703
  # @return [Array<String>]
@@ -28620,21 +29098,11 @@ module Aws::EC2
28620
29098
  #
28621
29099
  # * `group-owner-id`: The group owner ID.
28622
29100
  #
28623
- # * `vpc-id`: The ID of the associated VPC.
28624
- #
28625
- # * `vpc-owner-id`: The account ID of the VPC owner.
28626
- #
28627
29101
  # * `state`: The state of the association.
28628
29102
  #
28629
- # * `tag:<key>`: The key/value combination of a tag assigned to the
28630
- # resource. Use the tag key in the filter name and the tag value as
28631
- # the filter value. For example, to find all resources that have a
28632
- # tag with the key `Owner` and the value `TeamA`, specify
28633
- # `tag:Owner` for the filter name and `TeamA` for the filter value.
29103
+ # * `vpc-id`: The ID of the associated VPC.
28634
29104
  #
28635
- # * `tag-key`: The key of a tag assigned to the resource. Use this
28636
- # filter to find all resources assigned a tag with a specific key,
28637
- # regardless of the tag value.
29105
+ # * `vpc-owner-id`: The account ID of the VPC owner.
28638
29106
  # @return [Array<Types::Filter>]
28639
29107
  #
28640
29108
  # @!attribute [rw] next_token
@@ -33278,6 +33746,34 @@ module Aws::EC2
33278
33746
  include Aws::Structure
33279
33747
  end
33280
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
+
33281
33777
  # Describes an Active Directory.
33282
33778
  #
33283
33779
  # @!attribute [rw] directory_id
@@ -33415,6 +33911,48 @@ module Aws::EC2
33415
33911
  include Aws::Structure
33416
33912
  end
33417
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
+
33418
33956
  # @!attribute [rw] dry_run
33419
33957
  # Checks whether you have the required permissions for the action,
33420
33958
  # without actually making the request, and provides an error response.
@@ -34700,8 +35238,7 @@ module Aws::EC2
34700
35238
  end
34701
35239
 
34702
35240
  # @!attribute [rw] return
34703
- # Returns `true` if the request succeeds; otherwise, it returns an
34704
- # error.
35241
+ # Is `true` if the request succeeds and an error otherwise.
34705
35242
  # @return [Boolean]
34706
35243
  #
34707
35244
  # @!attribute [rw] client_token
@@ -35168,7 +35705,8 @@ module Aws::EC2
35168
35705
  # snapshot blocks from Amazon S3 to the volume. This is also known as
35169
35706
  # *volume initialization*. Specifying a volume initialization rate
35170
35707
  # ensures that the volume is initialized at a predictable and
35171
- # 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*.
35172
35710
  #
35173
35711
  # This parameter is supported only for volumes created from snapshots.
35174
35712
  # Omit this parameter if:
@@ -35187,10 +35725,8 @@ module Aws::EC2
35187
35725
  # * You want to create a volume that is initialized at the default
35188
35726
  # rate.
35189
35727
  #
35190
- # For more information, see [ Initialize Amazon EBS volumes][1] in the
35191
- # *Amazon EC2 User Guide*.
35192
- #
35193
- # This parameter is not supported when using [CreateImage][2].
35728
+ # This parameter is not supported when using [CreateImage][2] and
35729
+ # [DescribeImages][3].
35194
35730
  #
35195
35731
  # Valid range: 100 - 300 MiB/s
35196
35732
  #
@@ -35198,6 +35734,7 @@ module Aws::EC2
35198
35734
  #
35199
35735
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
35200
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
35201
35738
  # @return [Integer]
35202
35739
  #
35203
35740
  # @!attribute [rw] availability_zone_id
@@ -35516,7 +36053,7 @@ module Aws::EC2
35516
36053
  include Aws::Structure
35517
36054
  end
35518
36055
 
35519
- # The EC2 Instance Connect Endpoint.
36056
+ # Describes an EC2 Instance Connect Endpoint.
35520
36057
  #
35521
36058
  # @!attribute [rw] owner_id
35522
36059
  # The ID of the Amazon Web Services account that created the EC2
@@ -35576,15 +36113,15 @@ module Aws::EC2
35576
36113
  #
35577
36114
  # @!attribute [rw] preserve_client_ip
35578
36115
  # Indicates whether your client's IP address is preserved as the
35579
- # source. The value is `true` or `false`.
36116
+ # source when you connect to a resource. The following are the
36117
+ # possible values.
35580
36118
  #
35581
- # * If `true`, your client's IP address is used when you connect to a
35582
- # resource.
36119
+ # * `true` - Use the IP address of the client. Your instance must have
36120
+ # an IPv4 address.
35583
36121
  #
35584
- # * If `false`, the elastic network interface IP address is used when
35585
- # you connect to a resource.
36122
+ # * `false` - Use the IP address of the network interface.
35586
36123
  #
35587
- # Default: `true`
36124
+ # Default: `false`
35588
36125
  # @return [Boolean]
35589
36126
  #
35590
36127
  # @!attribute [rw] security_group_ids
@@ -36093,6 +36630,55 @@ module Aws::EC2
36093
36630
  include Aws::Structure
36094
36631
  end
36095
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
+
36096
36682
  # @!attribute [rw] dry_run
36097
36683
  # Checks whether you have the required permissions for the action,
36098
36684
  # without actually making the request, and provides an error response.
@@ -39822,6 +40408,237 @@ module Aws::EC2
39822
40408
  include Aws::Structure
39823
40409
  end
39824
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
+
39825
40642
  # @!attribute [rw] capacity_reservation_id
39826
40643
  # The ID of the Capacity Reservation.
39827
40644
  # @return [String]
@@ -45376,6 +46193,9 @@ module Aws::EC2
45376
46193
  #
45377
46194
  # * `provisioned-rate` - Volume initialized using an Amazon EBS
45378
46195
  # Provisioned Rate for Volume Initialization.
46196
+ #
46197
+ # * `volume-copy` - Volume copy initialized at the rate for volume
46198
+ # copies.
45379
46199
  # @return [String]
45380
46200
  #
45381
46201
  # @!attribute [rw] progress
@@ -54348,6 +55168,35 @@ module Aws::EC2
54348
55168
  include Aws::Structure
54349
55169
  end
54350
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
+
54351
55200
  # Indicates whether the network was healthy or degraded at a particular
54352
55201
  # point. The value is aggregated from the `startDate` to the `endDate`.
54353
55202
  # Currently only `five_minutes` is supported.
@@ -54381,6 +55230,27 @@ module Aws::EC2
54381
55230
  include Aws::Structure
54382
55231
  end
54383
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
+
54384
55254
  # @!attribute [rw] allocation_id
54385
55255
  # \[EC2-VPC\] The allocation ID.
54386
55256
  # @return [String]
@@ -55514,22 +56384,14 @@ module Aws::EC2
55514
56384
  # @return [Array<String>]
55515
56385
  #
55516
56386
  # @!attribute [rw] preserve_client_ip
55517
- # Indicates whether the client IP address is preserved as the source.
55518
- # The following are the possible values.
55519
- #
55520
- # * `true` - Use the client IP address as the source.
55521
- #
55522
- # * `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.
55523
56390
  #
55524
- # <note markdown="1"> `PreserveClientIp=true` is only supported on IPv4 EC2 Instance
55525
- # Connect Endpoints. If modifying `PreserveClientIp` to `true`, either
55526
- # the endpoint's existing `IpAddressType` must be `ipv4`, or if
55527
- # modifying `IpAddressType` in the same request, the new value must be
55528
- # `ipv4`.
56391
+ # * `true` - Use the IP address of the client. Your instance must have
56392
+ # an IPv4 address.
55529
56393
  #
55530
- # </note>
55531
- #
55532
- # Default: `false`
56394
+ # * `false` - Use the IP address of the network interface.
55533
56395
  # @return [Boolean]
55534
56396
  #
55535
56397
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointRequest AWS API Documentation
@@ -55545,9 +56407,7 @@ module Aws::EC2
55545
56407
  end
55546
56408
 
55547
56409
  # @!attribute [rw] return
55548
- # The return value of the request. Returns `true` if the specified
55549
- # product code is owned by the requester and associated with the
55550
- # specified instance.
56410
+ # Is `true` if the request succeeds and an error otherwise.
55551
56411
  # @return [Boolean]
55552
56412
  #
55553
56413
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointResult AWS API Documentation
@@ -58637,9 +59497,10 @@ module Aws::EC2
58637
59497
  #
58638
59498
  # * `io2`: 100 - 256,000 IOPS
58639
59499
  #
58640
- # For `io2` volumes, you can achieve up to 256,000 IOPS on [instances
58641
- # built on the Nitro System][1]. On other instances, you can achieve
58642
- # performance up to 32,000 IOPS.
59500
+ # <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
59501
+ # IOPS. Other instances can support up to 32,000 IOPS.
59502
+ #
59503
+ # </note>
58643
59504
  #
58644
59505
  # Default: The existing value is retained if you keep the same volume
58645
59506
  # type. If you change the volume type to `io1`, `io2`, or `gp3`, the
@@ -76567,6 +77428,55 @@ module Aws::EC2
76567
77428
  include Aws::Structure
76568
77429
  end
76569
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
+
76570
77480
  # @!attribute [rw] dry_run
76571
77481
  # Checks whether you have the required permissions for the action,
76572
77482
  # without actually making the request, and provides an error response.
@@ -77924,6 +78834,11 @@ module Aws::EC2
77924
78834
  # The Amazon Resource Name (ARN) of the Outpost.
77925
78835
  # @return [String]
77926
78836
  #
78837
+ # @!attribute [rw] source_volume_id
78838
+ # The ID of the source volume from which the volume copy was created.
78839
+ # Only for volume copies.
78840
+ # @return [String]
78841
+ #
77927
78842
  # @!attribute [rw] iops
77928
78843
  # The number of I/O operations per second (IOPS). For `gp3`, `io1`,
77929
78844
  # and `io2` volumes, this represents the number of IOPS that are
@@ -78022,6 +78937,7 @@ module Aws::EC2
78022
78937
  class Volume < Struct.new(
78023
78938
  :availability_zone_id,
78024
78939
  :outpost_arn,
78940
+ :source_volume_id,
78025
78941
  :iops,
78026
78942
  :tags,
78027
78943
  :volume_type,