aws-sdk-ec2 1.562.0 → 1.563.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +726 -133
- data/lib/aws-sdk-ec2/client_api.rb +303 -0
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +17 -17
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +832 -36
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +266 -102
- data/sig/instance.rbs +1 -1
- data/sig/resource.rbs +17 -17
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +1 -1
- data/sig/subnet.rbs +2 -2
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +200 -6
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- metadata +1 -1
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -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.
|
1110
|
-
#
|
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
|
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
|
-
#
|
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>]
|
@@ -33398,6 +33756,34 @@ module Aws::EC2
|
|
33398
33756
|
include Aws::Structure
|
33399
33757
|
end
|
33400
33758
|
|
33759
|
+
# Specifies a condition for filtering capacity data based on dimension
|
33760
|
+
# values. Used to create precise filters for metric queries and
|
33761
|
+
# dimension lookups.
|
33762
|
+
#
|
33763
|
+
# @!attribute [rw] dimension
|
33764
|
+
# The name of the dimension to filter by.
|
33765
|
+
# @return [String]
|
33766
|
+
#
|
33767
|
+
# @!attribute [rw] comparison
|
33768
|
+
# The comparison operator to use for the filter.
|
33769
|
+
# @return [String]
|
33770
|
+
#
|
33771
|
+
# @!attribute [rw] values
|
33772
|
+
# The list of values to match against the specified dimension. For
|
33773
|
+
# 'equals' comparison, only the first value is used. For 'in'
|
33774
|
+
# comparison, any matching value will satisfy the condition.
|
33775
|
+
# @return [Array<String>]
|
33776
|
+
#
|
33777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DimensionCondition AWS API Documentation
|
33778
|
+
#
|
33779
|
+
class DimensionCondition < Struct.new(
|
33780
|
+
:dimension,
|
33781
|
+
:comparison,
|
33782
|
+
:values)
|
33783
|
+
SENSITIVE = []
|
33784
|
+
include Aws::Structure
|
33785
|
+
end
|
33786
|
+
|
33401
33787
|
# Describes an Active Directory.
|
33402
33788
|
#
|
33403
33789
|
# @!attribute [rw] directory_id
|
@@ -33535,6 +33921,48 @@ module Aws::EC2
|
|
33535
33921
|
include Aws::Structure
|
33536
33922
|
end
|
33537
33923
|
|
33924
|
+
# @!attribute [rw] dry_run
|
33925
|
+
# Checks whether you have the required permissions for the action,
|
33926
|
+
# without actually making the request, and provides an error response.
|
33927
|
+
# If you have the required permissions, the error response is
|
33928
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
33929
|
+
# @return [Boolean]
|
33930
|
+
#
|
33931
|
+
# @!attribute [rw] client_token
|
33932
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
33933
|
+
# idempotency of the request.
|
33934
|
+
#
|
33935
|
+
# **A suitable default value is auto-generated.** You should normally
|
33936
|
+
# not need to pass this option.
|
33937
|
+
# @return [String]
|
33938
|
+
#
|
33939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableCapacityManagerRequest AWS API Documentation
|
33940
|
+
#
|
33941
|
+
class DisableCapacityManagerRequest < Struct.new(
|
33942
|
+
:dry_run,
|
33943
|
+
:client_token)
|
33944
|
+
SENSITIVE = []
|
33945
|
+
include Aws::Structure
|
33946
|
+
end
|
33947
|
+
|
33948
|
+
# @!attribute [rw] capacity_manager_status
|
33949
|
+
# The current status of Capacity Manager after the disable operation.
|
33950
|
+
# @return [String]
|
33951
|
+
#
|
33952
|
+
# @!attribute [rw] organizations_access
|
33953
|
+
# Indicates whether Organizations access is enabled. This will be
|
33954
|
+
# `false` after disabling Capacity Manager.
|
33955
|
+
# @return [Boolean]
|
33956
|
+
#
|
33957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableCapacityManagerResult AWS API Documentation
|
33958
|
+
#
|
33959
|
+
class DisableCapacityManagerResult < Struct.new(
|
33960
|
+
:capacity_manager_status,
|
33961
|
+
:organizations_access)
|
33962
|
+
SENSITIVE = []
|
33963
|
+
include Aws::Structure
|
33964
|
+
end
|
33965
|
+
|
33538
33966
|
# @!attribute [rw] dry_run
|
33539
33967
|
# Checks whether you have the required permissions for the action,
|
33540
33968
|
# without actually making the request, and provides an error response.
|
@@ -34820,8 +35248,7 @@ module Aws::EC2
|
|
34820
35248
|
end
|
34821
35249
|
|
34822
35250
|
# @!attribute [rw] return
|
34823
|
-
#
|
34824
|
-
# error.
|
35251
|
+
# Is `true` if the request succeeds and an error otherwise.
|
34825
35252
|
# @return [Boolean]
|
34826
35253
|
#
|
34827
35254
|
# @!attribute [rw] client_token
|
@@ -35288,7 +35715,8 @@ module Aws::EC2
|
|
35288
35715
|
# snapshot blocks from Amazon S3 to the volume. This is also known as
|
35289
35716
|
# *volume initialization*. Specifying a volume initialization rate
|
35290
35717
|
# ensures that the volume is initialized at a predictable and
|
35291
|
-
# consistent rate after creation.
|
35718
|
+
# consistent rate after creation. For more information, see
|
35719
|
+
# [Initialize Amazon EBS volumes][1] in the *Amazon EC2 User Guide*.
|
35292
35720
|
#
|
35293
35721
|
# This parameter is supported only for volumes created from snapshots.
|
35294
35722
|
# Omit this parameter if:
|
@@ -35307,10 +35735,8 @@ module Aws::EC2
|
|
35307
35735
|
# * You want to create a volume that is initialized at the default
|
35308
35736
|
# rate.
|
35309
35737
|
#
|
35310
|
-
#
|
35311
|
-
#
|
35312
|
-
#
|
35313
|
-
# This parameter is not supported when using [CreateImage][2].
|
35738
|
+
# This parameter is not supported when using [CreateImage][2] and
|
35739
|
+
# [DescribeImages][3].
|
35314
35740
|
#
|
35315
35741
|
# Valid range: 100 - 300 MiB/s
|
35316
35742
|
#
|
@@ -35318,6 +35744,7 @@ module Aws::EC2
|
|
35318
35744
|
#
|
35319
35745
|
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
|
35320
35746
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
35747
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
35321
35748
|
# @return [Integer]
|
35322
35749
|
#
|
35323
35750
|
# @!attribute [rw] availability_zone_id
|
@@ -35636,7 +36063,7 @@ module Aws::EC2
|
|
35636
36063
|
include Aws::Structure
|
35637
36064
|
end
|
35638
36065
|
|
35639
|
-
#
|
36066
|
+
# Describes an EC2 Instance Connect Endpoint.
|
35640
36067
|
#
|
35641
36068
|
# @!attribute [rw] owner_id
|
35642
36069
|
# The ID of the Amazon Web Services account that created the EC2
|
@@ -35696,15 +36123,15 @@ module Aws::EC2
|
|
35696
36123
|
#
|
35697
36124
|
# @!attribute [rw] preserve_client_ip
|
35698
36125
|
# Indicates whether your client's IP address is preserved as the
|
35699
|
-
# source. The
|
36126
|
+
# source when you connect to a resource. The following are the
|
36127
|
+
# possible values.
|
35700
36128
|
#
|
35701
|
-
# *
|
35702
|
-
#
|
36129
|
+
# * `true` - Use the IP address of the client. Your instance must have
|
36130
|
+
# an IPv4 address.
|
35703
36131
|
#
|
35704
|
-
# *
|
35705
|
-
# you connect to a resource.
|
36132
|
+
# * `false` - Use the IP address of the network interface.
|
35706
36133
|
#
|
35707
|
-
# Default: `
|
36134
|
+
# Default: `false`
|
35708
36135
|
# @return [Boolean]
|
35709
36136
|
#
|
35710
36137
|
# @!attribute [rw] security_group_ids
|
@@ -36213,6 +36640,55 @@ module Aws::EC2
|
|
36213
36640
|
include Aws::Structure
|
36214
36641
|
end
|
36215
36642
|
|
36643
|
+
# @!attribute [rw] organizations_access
|
36644
|
+
# Specifies whether to enable cross-account access for Amazon Web
|
36645
|
+
# Services Organizations. When enabled, Capacity Manager can aggregate
|
36646
|
+
# data from all accounts in your organization. Default is false.
|
36647
|
+
# @return [Boolean]
|
36648
|
+
#
|
36649
|
+
# @!attribute [rw] dry_run
|
36650
|
+
# Checks whether you have the required permissions for the action,
|
36651
|
+
# without actually making the request, and provides an error response.
|
36652
|
+
# If you have the required permissions, the error response is
|
36653
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
36654
|
+
# @return [Boolean]
|
36655
|
+
#
|
36656
|
+
# @!attribute [rw] client_token
|
36657
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
36658
|
+
# idempotency of the request.
|
36659
|
+
#
|
36660
|
+
# **A suitable default value is auto-generated.** You should normally
|
36661
|
+
# not need to pass this option.
|
36662
|
+
# @return [String]
|
36663
|
+
#
|
36664
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableCapacityManagerRequest AWS API Documentation
|
36665
|
+
#
|
36666
|
+
class EnableCapacityManagerRequest < Struct.new(
|
36667
|
+
:organizations_access,
|
36668
|
+
:dry_run,
|
36669
|
+
:client_token)
|
36670
|
+
SENSITIVE = []
|
36671
|
+
include Aws::Structure
|
36672
|
+
end
|
36673
|
+
|
36674
|
+
# @!attribute [rw] capacity_manager_status
|
36675
|
+
# The current status of Capacity Manager after the enable operation.
|
36676
|
+
# @return [String]
|
36677
|
+
#
|
36678
|
+
# @!attribute [rw] organizations_access
|
36679
|
+
# Indicates whether Organizations access is enabled for cross-account
|
36680
|
+
# data aggregation.
|
36681
|
+
# @return [Boolean]
|
36682
|
+
#
|
36683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableCapacityManagerResult AWS API Documentation
|
36684
|
+
#
|
36685
|
+
class EnableCapacityManagerResult < Struct.new(
|
36686
|
+
:capacity_manager_status,
|
36687
|
+
:organizations_access)
|
36688
|
+
SENSITIVE = []
|
36689
|
+
include Aws::Structure
|
36690
|
+
end
|
36691
|
+
|
36216
36692
|
# @!attribute [rw] dry_run
|
36217
36693
|
# Checks whether you have the required permissions for the action,
|
36218
36694
|
# without actually making the request, and provides an error response.
|
@@ -39942,6 +40418,237 @@ module Aws::EC2
|
|
39942
40418
|
include Aws::Structure
|
39943
40419
|
end
|
39944
40420
|
|
40421
|
+
# @!attribute [rw] dry_run
|
40422
|
+
# Checks whether you have the required permissions for the action,
|
40423
|
+
# without actually making the request, and provides an error response.
|
40424
|
+
# If you have the required permissions, the error response is
|
40425
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
40426
|
+
# @return [Boolean]
|
40427
|
+
#
|
40428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerAttributesRequest AWS API Documentation
|
40429
|
+
#
|
40430
|
+
class GetCapacityManagerAttributesRequest < Struct.new(
|
40431
|
+
:dry_run)
|
40432
|
+
SENSITIVE = []
|
40433
|
+
include Aws::Structure
|
40434
|
+
end
|
40435
|
+
|
40436
|
+
# @!attribute [rw] capacity_manager_status
|
40437
|
+
# The current status of Capacity Manager.
|
40438
|
+
# @return [String]
|
40439
|
+
#
|
40440
|
+
# @!attribute [rw] organizations_access
|
40441
|
+
# Indicates whether Organizations access is enabled for cross-account
|
40442
|
+
# data aggregation.
|
40443
|
+
# @return [Boolean]
|
40444
|
+
#
|
40445
|
+
# @!attribute [rw] data_export_count
|
40446
|
+
# The number of active data export configurations for this account.
|
40447
|
+
# This count includes all data exports regardless of their current
|
40448
|
+
# delivery status.
|
40449
|
+
# @return [Integer]
|
40450
|
+
#
|
40451
|
+
# @!attribute [rw] ingestion_status
|
40452
|
+
# The current data ingestion status. Initial ingestion may take
|
40453
|
+
# several hours after enabling Capacity Manager.
|
40454
|
+
# @return [String]
|
40455
|
+
#
|
40456
|
+
# @!attribute [rw] ingestion_status_message
|
40457
|
+
# A descriptive message providing additional details about the current
|
40458
|
+
# ingestion status. This may include error information if ingestion
|
40459
|
+
# has failed or progress details during initial setup.
|
40460
|
+
# @return [String]
|
40461
|
+
#
|
40462
|
+
# @!attribute [rw] earliest_datapoint_timestamp
|
40463
|
+
# The timestamp of the earliest data point available in Capacity
|
40464
|
+
# Manager, in milliseconds since epoch. This indicates how far back
|
40465
|
+
# historical data is available for queries.
|
40466
|
+
# @return [Time]
|
40467
|
+
#
|
40468
|
+
# @!attribute [rw] latest_datapoint_timestamp
|
40469
|
+
# The timestamp of the most recent data point ingested by Capacity
|
40470
|
+
# Manager, in milliseconds since epoch. This indicates how current
|
40471
|
+
# your capacity data is.
|
40472
|
+
# @return [Time]
|
40473
|
+
#
|
40474
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerAttributesResult AWS API Documentation
|
40475
|
+
#
|
40476
|
+
class GetCapacityManagerAttributesResult < Struct.new(
|
40477
|
+
:capacity_manager_status,
|
40478
|
+
:organizations_access,
|
40479
|
+
:data_export_count,
|
40480
|
+
:ingestion_status,
|
40481
|
+
:ingestion_status_message,
|
40482
|
+
:earliest_datapoint_timestamp,
|
40483
|
+
:latest_datapoint_timestamp)
|
40484
|
+
SENSITIVE = []
|
40485
|
+
include Aws::Structure
|
40486
|
+
end
|
40487
|
+
|
40488
|
+
# @!attribute [rw] metric_names
|
40489
|
+
# The names of the metrics to retrieve. Maximum of 10 metrics per
|
40490
|
+
# request.
|
40491
|
+
# @return [Array<String>]
|
40492
|
+
#
|
40493
|
+
# @!attribute [rw] start_time
|
40494
|
+
# The start time for the metric data query, in ISO 8601 format. The
|
40495
|
+
# time range (end time - start time) must be a multiple of the
|
40496
|
+
# specified period.
|
40497
|
+
# @return [Time]
|
40498
|
+
#
|
40499
|
+
# @!attribute [rw] end_time
|
40500
|
+
# The end time for the metric data query, in ISO 8601 format. If the
|
40501
|
+
# end time is beyond the latest ingested data, it will be
|
40502
|
+
# automatically adjusted to the latest available data point.
|
40503
|
+
# @return [Time]
|
40504
|
+
#
|
40505
|
+
# @!attribute [rw] period
|
40506
|
+
# The granularity, in seconds, of the returned data points.
|
40507
|
+
# @return [Integer]
|
40508
|
+
#
|
40509
|
+
# @!attribute [rw] group_by
|
40510
|
+
# The dimensions by which to group the metric data. This determines
|
40511
|
+
# how the data is aggregated and returned.
|
40512
|
+
# @return [Array<String>]
|
40513
|
+
#
|
40514
|
+
# @!attribute [rw] filter_by
|
40515
|
+
# Conditions to filter the metric data. Each filter specifies a
|
40516
|
+
# dimension, comparison operator ('equals', 'in'), and values to
|
40517
|
+
# match against.
|
40518
|
+
# @return [Array<Types::CapacityManagerCondition>]
|
40519
|
+
#
|
40520
|
+
# @!attribute [rw] max_results
|
40521
|
+
# The maximum number of data points to return. Valid range is 1 to
|
40522
|
+
# 100,000. Use with NextToken for pagination of large result sets.
|
40523
|
+
# @return [Integer]
|
40524
|
+
#
|
40525
|
+
# @!attribute [rw] next_token
|
40526
|
+
# The token for the next page of results. Use this value in a
|
40527
|
+
# subsequent call to retrieve additional data points.
|
40528
|
+
# @return [String]
|
40529
|
+
#
|
40530
|
+
# @!attribute [rw] dry_run
|
40531
|
+
# Checks whether you have the required permissions for the action,
|
40532
|
+
# without actually making the request, and provides an error response.
|
40533
|
+
# If you have the required permissions, the error response is
|
40534
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
40535
|
+
# @return [Boolean]
|
40536
|
+
#
|
40537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMetricDataRequest AWS API Documentation
|
40538
|
+
#
|
40539
|
+
class GetCapacityManagerMetricDataRequest < Struct.new(
|
40540
|
+
:metric_names,
|
40541
|
+
:start_time,
|
40542
|
+
:end_time,
|
40543
|
+
:period,
|
40544
|
+
:group_by,
|
40545
|
+
:filter_by,
|
40546
|
+
:max_results,
|
40547
|
+
:next_token,
|
40548
|
+
:dry_run)
|
40549
|
+
SENSITIVE = []
|
40550
|
+
include Aws::Structure
|
40551
|
+
end
|
40552
|
+
|
40553
|
+
# @!attribute [rw] metric_data_results
|
40554
|
+
# The metric data points returned by the query. Each result contains
|
40555
|
+
# dimension values, timestamp, and metric values with their associated
|
40556
|
+
# statistics.
|
40557
|
+
# @return [Array<Types::MetricDataResult>]
|
40558
|
+
#
|
40559
|
+
# @!attribute [rw] next_token
|
40560
|
+
# The token to use to retrieve the next page of results. This value is
|
40561
|
+
# null when there are no more results to return.
|
40562
|
+
# @return [String]
|
40563
|
+
#
|
40564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMetricDataResult AWS API Documentation
|
40565
|
+
#
|
40566
|
+
class GetCapacityManagerMetricDataResult < Struct.new(
|
40567
|
+
:metric_data_results,
|
40568
|
+
:next_token)
|
40569
|
+
SENSITIVE = []
|
40570
|
+
include Aws::Structure
|
40571
|
+
end
|
40572
|
+
|
40573
|
+
# @!attribute [rw] group_by
|
40574
|
+
# The dimensions to group by when retrieving available dimension
|
40575
|
+
# values. This determines which dimension combinations are returned.
|
40576
|
+
# Required parameter.
|
40577
|
+
# @return [Array<String>]
|
40578
|
+
#
|
40579
|
+
# @!attribute [rw] filter_by
|
40580
|
+
# Conditions to filter which dimension values are returned. Each
|
40581
|
+
# filter specifies a dimension, comparison operator, and values to
|
40582
|
+
# match against.
|
40583
|
+
# @return [Array<Types::CapacityManagerCondition>]
|
40584
|
+
#
|
40585
|
+
# @!attribute [rw] start_time
|
40586
|
+
# The start time for the dimension query, in ISO 8601 format. Only
|
40587
|
+
# dimensions with data in this time range will be returned.
|
40588
|
+
# @return [Time]
|
40589
|
+
#
|
40590
|
+
# @!attribute [rw] end_time
|
40591
|
+
# The end time for the dimension query, in ISO 8601 format. Only
|
40592
|
+
# dimensions with data in this time range will be returned.
|
40593
|
+
# @return [Time]
|
40594
|
+
#
|
40595
|
+
# @!attribute [rw] metric_names
|
40596
|
+
# The metric names to use as an additional filter when retrieving
|
40597
|
+
# dimensions. Only dimensions that have data for these metrics will be
|
40598
|
+
# returned. Required parameter with maximum size of 1 for v1.
|
40599
|
+
# @return [Array<String>]
|
40600
|
+
#
|
40601
|
+
# @!attribute [rw] max_results
|
40602
|
+
# The maximum number of dimension combinations to return. Valid range
|
40603
|
+
# is 1 to 1000. Use with NextToken for pagination.
|
40604
|
+
# @return [Integer]
|
40605
|
+
#
|
40606
|
+
# @!attribute [rw] next_token
|
40607
|
+
# The token for the next page of results. Use this value in a
|
40608
|
+
# subsequent call to retrieve additional dimension values.
|
40609
|
+
# @return [String]
|
40610
|
+
#
|
40611
|
+
# @!attribute [rw] dry_run
|
40612
|
+
# Checks whether you have the required permissions for the action,
|
40613
|
+
# without actually making the request, and provides an error response.
|
40614
|
+
# If you have the required permissions, the error response is
|
40615
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
40616
|
+
# @return [Boolean]
|
40617
|
+
#
|
40618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMetricDimensionsRequest AWS API Documentation
|
40619
|
+
#
|
40620
|
+
class GetCapacityManagerMetricDimensionsRequest < Struct.new(
|
40621
|
+
:group_by,
|
40622
|
+
:filter_by,
|
40623
|
+
:start_time,
|
40624
|
+
:end_time,
|
40625
|
+
:metric_names,
|
40626
|
+
:max_results,
|
40627
|
+
:next_token,
|
40628
|
+
:dry_run)
|
40629
|
+
SENSITIVE = []
|
40630
|
+
include Aws::Structure
|
40631
|
+
end
|
40632
|
+
|
40633
|
+
# @!attribute [rw] metric_dimension_results
|
40634
|
+
# The available dimension combinations that have data within the
|
40635
|
+
# specified time range and filters.
|
40636
|
+
# @return [Array<Types::CapacityManagerDimension>]
|
40637
|
+
#
|
40638
|
+
# @!attribute [rw] next_token
|
40639
|
+
# The token to use to retrieve the next page of results. This value is
|
40640
|
+
# null when there are no more results to return.
|
40641
|
+
# @return [String]
|
40642
|
+
#
|
40643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMetricDimensionsResult AWS API Documentation
|
40644
|
+
#
|
40645
|
+
class GetCapacityManagerMetricDimensionsResult < Struct.new(
|
40646
|
+
:metric_dimension_results,
|
40647
|
+
:next_token)
|
40648
|
+
SENSITIVE = []
|
40649
|
+
include Aws::Structure
|
40650
|
+
end
|
40651
|
+
|
39945
40652
|
# @!attribute [rw] capacity_reservation_id
|
39946
40653
|
# The ID of the Capacity Reservation.
|
39947
40654
|
# @return [String]
|
@@ -54471,6 +55178,35 @@ module Aws::EC2
|
|
54471
55178
|
include Aws::Structure
|
54472
55179
|
end
|
54473
55180
|
|
55181
|
+
# Contains a single data point from a capacity metrics query, including
|
55182
|
+
# the dimension values, timestamp, and metric values for that specific
|
55183
|
+
# combination.
|
55184
|
+
#
|
55185
|
+
# @!attribute [rw] dimension
|
55186
|
+
# The dimension values that identify this specific data point, such as
|
55187
|
+
# account ID, region, and instance family.
|
55188
|
+
# @return [Types::CapacityManagerDimension]
|
55189
|
+
#
|
55190
|
+
# @!attribute [rw] timestamp
|
55191
|
+
# The timestamp for this data point, indicating when the capacity
|
55192
|
+
# usage occurred.
|
55193
|
+
# @return [Time]
|
55194
|
+
#
|
55195
|
+
# @!attribute [rw] metric_values
|
55196
|
+
# The metric values and statistics for this data point, containing the
|
55197
|
+
# actual capacity usage numbers.
|
55198
|
+
# @return [Array<Types::MetricValue>]
|
55199
|
+
#
|
55200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MetricDataResult AWS API Documentation
|
55201
|
+
#
|
55202
|
+
class MetricDataResult < Struct.new(
|
55203
|
+
:dimension,
|
55204
|
+
:timestamp,
|
55205
|
+
:metric_values)
|
55206
|
+
SENSITIVE = []
|
55207
|
+
include Aws::Structure
|
55208
|
+
end
|
55209
|
+
|
54474
55210
|
# Indicates whether the network was healthy or degraded at a particular
|
54475
55211
|
# point. The value is aggregated from the `startDate` to the `endDate`.
|
54476
55212
|
# Currently only `five_minutes` is supported.
|
@@ -54504,6 +55240,27 @@ module Aws::EC2
|
|
54504
55240
|
include Aws::Structure
|
54505
55241
|
end
|
54506
55242
|
|
55243
|
+
# Represents a single metric value with its associated statistic, such
|
55244
|
+
# as the sum or average of unused capacity hours.
|
55245
|
+
#
|
55246
|
+
# @!attribute [rw] metric
|
55247
|
+
# The name of the metric.
|
55248
|
+
# @return [String]
|
55249
|
+
#
|
55250
|
+
# @!attribute [rw] value
|
55251
|
+
# The numerical value of the metric for the specified statistic and
|
55252
|
+
# time period.
|
55253
|
+
# @return [Float]
|
55254
|
+
#
|
55255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MetricValue AWS API Documentation
|
55256
|
+
#
|
55257
|
+
class MetricValue < Struct.new(
|
55258
|
+
:metric,
|
55259
|
+
:value)
|
55260
|
+
SENSITIVE = []
|
55261
|
+
include Aws::Structure
|
55262
|
+
end
|
55263
|
+
|
54507
55264
|
# @!attribute [rw] allocation_id
|
54508
55265
|
# \[EC2-VPC\] The allocation ID.
|
54509
55266
|
# @return [String]
|
@@ -55637,22 +56394,14 @@ module Aws::EC2
|
|
55637
56394
|
# @return [Array<String>]
|
55638
56395
|
#
|
55639
56396
|
# @!attribute [rw] preserve_client_ip
|
55640
|
-
# Indicates whether the client IP address is preserved as the source
|
55641
|
-
# The following are the possible
|
55642
|
-
#
|
55643
|
-
# * `true` - Use the client IP address as the source.
|
55644
|
-
#
|
55645
|
-
# * `false` - Use the network interface IP address as the source.
|
55646
|
-
#
|
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`.
|
56397
|
+
# Indicates whether the client IP address is preserved as the source
|
56398
|
+
# when you connect to a resource. The following are the possible
|
56399
|
+
# values.
|
55652
56400
|
#
|
55653
|
-
#
|
56401
|
+
# * `true` - Use the IP address of the client. Your instance must have
|
56402
|
+
# an IPv4 address.
|
55654
56403
|
#
|
55655
|
-
#
|
56404
|
+
# * `false` - Use the IP address of the network interface.
|
55656
56405
|
# @return [Boolean]
|
55657
56406
|
#
|
55658
56407
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointRequest AWS API Documentation
|
@@ -55668,9 +56417,7 @@ module Aws::EC2
|
|
55668
56417
|
end
|
55669
56418
|
|
55670
56419
|
# @!attribute [rw] return
|
55671
|
-
#
|
55672
|
-
# product code is owned by the requester and associated with the
|
55673
|
-
# specified instance.
|
56420
|
+
# Is `true` if the request succeeds and an error otherwise.
|
55674
56421
|
# @return [Boolean]
|
55675
56422
|
#
|
55676
56423
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointResult AWS API Documentation
|
@@ -76691,6 +77438,55 @@ module Aws::EC2
|
|
76691
77438
|
include Aws::Structure
|
76692
77439
|
end
|
76693
77440
|
|
77441
|
+
# @!attribute [rw] organizations_access
|
77442
|
+
# Specifies whether to enable or disable cross-account access for
|
77443
|
+
# Amazon Web Services Organizations. When enabled, Capacity Manager
|
77444
|
+
# aggregates data from all accounts in your organization.
|
77445
|
+
# @return [Boolean]
|
77446
|
+
#
|
77447
|
+
# @!attribute [rw] dry_run
|
77448
|
+
# Checks whether you have the required permissions for the action,
|
77449
|
+
# without actually making the request, and provides an error response.
|
77450
|
+
# If you have the required permissions, the error response is
|
77451
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
77452
|
+
# @return [Boolean]
|
77453
|
+
#
|
77454
|
+
# @!attribute [rw] client_token
|
77455
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
77456
|
+
# idempotency of the request.
|
77457
|
+
#
|
77458
|
+
# **A suitable default value is auto-generated.** You should normally
|
77459
|
+
# not need to pass this option.
|
77460
|
+
# @return [String]
|
77461
|
+
#
|
77462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateCapacityManagerOrganizationsAccessRequest AWS API Documentation
|
77463
|
+
#
|
77464
|
+
class UpdateCapacityManagerOrganizationsAccessRequest < Struct.new(
|
77465
|
+
:organizations_access,
|
77466
|
+
:dry_run,
|
77467
|
+
:client_token)
|
77468
|
+
SENSITIVE = []
|
77469
|
+
include Aws::Structure
|
77470
|
+
end
|
77471
|
+
|
77472
|
+
# @!attribute [rw] capacity_manager_status
|
77473
|
+
# The current status of Capacity Manager after the update operation.
|
77474
|
+
# @return [String]
|
77475
|
+
#
|
77476
|
+
# @!attribute [rw] organizations_access
|
77477
|
+
# The updated Organizations access setting indicating whether
|
77478
|
+
# cross-account data aggregation is enabled.
|
77479
|
+
# @return [Boolean]
|
77480
|
+
#
|
77481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateCapacityManagerOrganizationsAccessResult AWS API Documentation
|
77482
|
+
#
|
77483
|
+
class UpdateCapacityManagerOrganizationsAccessResult < Struct.new(
|
77484
|
+
:capacity_manager_status,
|
77485
|
+
:organizations_access)
|
77486
|
+
SENSITIVE = []
|
77487
|
+
include Aws::Structure
|
77488
|
+
end
|
77489
|
+
|
76694
77490
|
# @!attribute [rw] dry_run
|
76695
77491
|
# Checks whether you have the required permissions for the action,
|
76696
77492
|
# without actually making the request, and provides an error response.
|