aws-sdk-ec2 1.668.0 → 1.669.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 +497 -135
- data/lib/aws-sdk-ec2/client_api.rb +115 -0
- data/lib/aws-sdk-ec2/instance.rb +25 -1
- data/lib/aws-sdk-ec2/resource.rb +20 -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 +3 -2
- data/lib/aws-sdk-ec2/types.rb +343 -19
- 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 +194 -118
- data/sig/instance.rbs +5 -1
- data/sig/params.rbs +3 -2
- data/sig/resource.rbs +21 -18
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +1 -1
- data/sig/subnet.rbs +3 -2
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +79 -5
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- metadata +1 -1
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -625,6 +625,14 @@ module Aws::EC2
|
|
|
625
625
|
# The exclusion configuration for Elastic File System service.
|
|
626
626
|
# @return [String]
|
|
627
627
|
#
|
|
628
|
+
# @!attribute [rw] global_accelerator
|
|
629
|
+
# The exclusion configuration for AWS Global Accelerator.
|
|
630
|
+
# @return [String]
|
|
631
|
+
#
|
|
632
|
+
# @!attribute [rw] api_gateway_v2
|
|
633
|
+
# The exclusion configuration for Amazon API Gateway V2.
|
|
634
|
+
# @return [String]
|
|
635
|
+
#
|
|
628
636
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AccountVpcEncryptionControlExclusions AWS API Documentation
|
|
629
637
|
#
|
|
630
638
|
class AccountVpcEncryptionControlExclusions < Struct.new(
|
|
@@ -635,7 +643,9 @@ module Aws::EC2
|
|
|
635
643
|
:vpc_peering,
|
|
636
644
|
:lambda,
|
|
637
645
|
:vpc_lattice,
|
|
638
|
-
:elastic_file_system
|
|
646
|
+
:elastic_file_system,
|
|
647
|
+
:global_accelerator,
|
|
648
|
+
:api_gateway_v2)
|
|
639
649
|
SENSITIVE = []
|
|
640
650
|
include Aws::Structure
|
|
641
651
|
end
|
|
@@ -11926,8 +11936,7 @@ module Aws::EC2
|
|
|
11926
11936
|
# @!attribute [rw] traffic_type
|
|
11927
11937
|
# The type of traffic to monitor (accepted traffic, rejected traffic,
|
|
11928
11938
|
# or all traffic). This parameter is not supported for transit gateway
|
|
11929
|
-
#
|
|
11930
|
-
# types.
|
|
11939
|
+
# resource types. It is required for the other resource types.
|
|
11931
11940
|
# @return [String]
|
|
11932
11941
|
#
|
|
11933
11942
|
# @!attribute [rw] log_destination_type
|
|
@@ -11967,9 +11976,8 @@ module Aws::EC2
|
|
|
11967
11976
|
# flow log is created using the default format. If you specify this
|
|
11968
11977
|
# parameter, you must include at least one field. For more information
|
|
11969
11978
|
# about the available fields, see [Flow log records][1] in the *Amazon
|
|
11970
|
-
# VPC User Guide
|
|
11971
|
-
# *Amazon Web Services Transit Gateway Guide
|
|
11972
|
-
# records][3] in the *Amazon Web Services Cloud WAN User Guide*.
|
|
11979
|
+
# VPC User Guide* or [Transit Gateway Flow Log records][2] in the
|
|
11980
|
+
# *Amazon Web Services Transit Gateway Guide*.
|
|
11973
11981
|
#
|
|
11974
11982
|
# Specify the fields using the `${field-id}` format, separated by
|
|
11975
11983
|
# spaces.
|
|
@@ -11978,7 +11986,6 @@ module Aws::EC2
|
|
|
11978
11986
|
#
|
|
11979
11987
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html
|
|
11980
11988
|
# [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
|
|
11981
|
-
# [3]: https://docs.aws.amazon.com/network-manager/latest/cloudwan/cwan-flow-logs.html
|
|
11982
11989
|
# @return [String]
|
|
11983
11990
|
#
|
|
11984
11991
|
# @!attribute [rw] tag_specifications
|
|
@@ -11989,8 +11996,7 @@ module Aws::EC2
|
|
|
11989
11996
|
# The maximum interval of time during which a flow of packets is
|
|
11990
11997
|
# captured and aggregated into a flow log record. The possible values
|
|
11991
11998
|
# are 60 seconds (1 minute) or 600 seconds (10 minutes). This
|
|
11992
|
-
# parameter must be 60 seconds for transit gateway
|
|
11993
|
-
# resource types.
|
|
11999
|
+
# parameter must be 60 seconds for transit gateway resource types.
|
|
11994
12000
|
#
|
|
11995
12001
|
# When a network interface is attached to a [Nitro-based instance][1],
|
|
11996
12002
|
# the aggregation interval is always 60 seconds or less, regardless of
|
|
@@ -14247,6 +14253,64 @@ module Aws::EC2
|
|
|
14247
14253
|
include Aws::Structure
|
|
14248
14254
|
end
|
|
14249
14255
|
|
|
14256
|
+
# @!attribute [rw] metrics
|
|
14257
|
+
# The names of the metrics to include in the metric category.
|
|
14258
|
+
#
|
|
14259
|
+
# Specify each metric by its Amazon CloudWatch metric name or its
|
|
14260
|
+
# OpenTelemetry metric name. The two names for a measurement are
|
|
14261
|
+
# separate entries, and you can include both.
|
|
14262
|
+
#
|
|
14263
|
+
# In Regions where Amazon CloudWatch OpenTelemetry metrics aren't
|
|
14264
|
+
# available, you can't specify OpenTelemetry metric names.
|
|
14265
|
+
# @return [Array<String>]
|
|
14266
|
+
#
|
|
14267
|
+
# @!attribute [rw] tag_specifications
|
|
14268
|
+
# The tags to apply to the metric category during creation.
|
|
14269
|
+
# @return [Array<Types::TagSpecification>]
|
|
14270
|
+
#
|
|
14271
|
+
# @!attribute [rw] client_token
|
|
14272
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
14273
|
+
# idempotency of the request. For more information, see [Ensure
|
|
14274
|
+
# Idempotency][1].
|
|
14275
|
+
#
|
|
14276
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
14277
|
+
# not need to pass this option.
|
|
14278
|
+
#
|
|
14279
|
+
#
|
|
14280
|
+
#
|
|
14281
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
14282
|
+
# @return [String]
|
|
14283
|
+
#
|
|
14284
|
+
# @!attribute [rw] dry_run
|
|
14285
|
+
# Checks whether you have the required permissions for the operation,
|
|
14286
|
+
# without actually making the request, and provides an error response.
|
|
14287
|
+
# If you have the required permissions, the error response is
|
|
14288
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
14289
|
+
# @return [Boolean]
|
|
14290
|
+
#
|
|
14291
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateMetricCategoryRequest AWS API Documentation
|
|
14292
|
+
#
|
|
14293
|
+
class CreateMetricCategoryRequest < Struct.new(
|
|
14294
|
+
:metrics,
|
|
14295
|
+
:tag_specifications,
|
|
14296
|
+
:client_token,
|
|
14297
|
+
:dry_run)
|
|
14298
|
+
SENSITIVE = []
|
|
14299
|
+
include Aws::Structure
|
|
14300
|
+
end
|
|
14301
|
+
|
|
14302
|
+
# @!attribute [rw] metric_category
|
|
14303
|
+
# Information about the metric category.
|
|
14304
|
+
# @return [Types::MetricCategory]
|
|
14305
|
+
#
|
|
14306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateMetricCategoryResult AWS API Documentation
|
|
14307
|
+
#
|
|
14308
|
+
class CreateMetricCategoryResult < Struct.new(
|
|
14309
|
+
:metric_category)
|
|
14310
|
+
SENSITIVE = []
|
|
14311
|
+
include Aws::Structure
|
|
14312
|
+
end
|
|
14313
|
+
|
|
14250
14314
|
# @!attribute [rw] availability_mode
|
|
14251
14315
|
# Specifies whether to create a zonal (single-AZ) or regional
|
|
14252
14316
|
# (multi-AZ) NAT gateway. Defaults to `zonal`.
|
|
@@ -21111,6 +21175,38 @@ module Aws::EC2
|
|
|
21111
21175
|
include Aws::Structure
|
|
21112
21176
|
end
|
|
21113
21177
|
|
|
21178
|
+
# @!attribute [rw] metric_category_id
|
|
21179
|
+
# The ID of the metric category.
|
|
21180
|
+
# @return [String]
|
|
21181
|
+
#
|
|
21182
|
+
# @!attribute [rw] dry_run
|
|
21183
|
+
# Checks whether you have the required permissions for the operation,
|
|
21184
|
+
# without actually making the request, and provides an error response.
|
|
21185
|
+
# If you have the required permissions, the error response is
|
|
21186
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
21187
|
+
# @return [Boolean]
|
|
21188
|
+
#
|
|
21189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteMetricCategoryRequest AWS API Documentation
|
|
21190
|
+
#
|
|
21191
|
+
class DeleteMetricCategoryRequest < Struct.new(
|
|
21192
|
+
:metric_category_id,
|
|
21193
|
+
:dry_run)
|
|
21194
|
+
SENSITIVE = []
|
|
21195
|
+
include Aws::Structure
|
|
21196
|
+
end
|
|
21197
|
+
|
|
21198
|
+
# @!attribute [rw] metric_category_id
|
|
21199
|
+
# The ID of the metric category that was deleted.
|
|
21200
|
+
# @return [String]
|
|
21201
|
+
#
|
|
21202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteMetricCategoryResult AWS API Documentation
|
|
21203
|
+
#
|
|
21204
|
+
class DeleteMetricCategoryResult < Struct.new(
|
|
21205
|
+
:metric_category_id)
|
|
21206
|
+
SENSITIVE = []
|
|
21207
|
+
include Aws::Structure
|
|
21208
|
+
end
|
|
21209
|
+
|
|
21114
21210
|
# @!attribute [rw] dry_run
|
|
21115
21211
|
# Checks whether you have the required permissions for the action,
|
|
21116
21212
|
# without actually making the request, and provides an error response.
|
|
@@ -27496,7 +27592,8 @@ module Aws::EC2
|
|
|
27496
27592
|
# for example, `2025-11-29T*`, which matches an entire day.
|
|
27497
27593
|
#
|
|
27498
27594
|
# * `resource-type` - The resource type (`ec2:Instance` \|
|
|
27499
|
-
# `ec2:LaunchTemplate`
|
|
27595
|
+
# `ec2:LaunchTemplate` \| `imagebuilder:ImageRecipe` \|
|
|
27596
|
+
# `imagebuilder:ContainerRecipe`).
|
|
27500
27597
|
# @return [Array<Types::Filter>]
|
|
27501
27598
|
#
|
|
27502
27599
|
# @!attribute [rw] dry_run
|
|
@@ -31607,6 +31704,74 @@ module Aws::EC2
|
|
|
31607
31704
|
include Aws::Structure
|
|
31608
31705
|
end
|
|
31609
31706
|
|
|
31707
|
+
# @!attribute [rw] metric_category_ids
|
|
31708
|
+
# The IDs of the metric categories. If you specify IDs, you can't
|
|
31709
|
+
# specify `MaxResults` or `NextToken`.
|
|
31710
|
+
# @return [Array<String>]
|
|
31711
|
+
#
|
|
31712
|
+
# @!attribute [rw] filters
|
|
31713
|
+
# The filters.
|
|
31714
|
+
#
|
|
31715
|
+
# * `metric-name` - The name of a metric in the metric category.
|
|
31716
|
+
#
|
|
31717
|
+
# ^
|
|
31718
|
+
# @return [Array<Types::Filter>]
|
|
31719
|
+
#
|
|
31720
|
+
# @!attribute [rw] max_results
|
|
31721
|
+
# The maximum number of items to return for this request. To get the
|
|
31722
|
+
# next page of items, make another request with the token returned in
|
|
31723
|
+
# the output. For more information, see [Pagination][1].
|
|
31724
|
+
#
|
|
31725
|
+
# Valid range: 5 - 100.
|
|
31726
|
+
#
|
|
31727
|
+
#
|
|
31728
|
+
#
|
|
31729
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
31730
|
+
# @return [Integer]
|
|
31731
|
+
#
|
|
31732
|
+
# @!attribute [rw] next_token
|
|
31733
|
+
# The token returned from a previous paginated request. Pagination
|
|
31734
|
+
# continues from the end of the items returned by the previous
|
|
31735
|
+
# request.
|
|
31736
|
+
# @return [String]
|
|
31737
|
+
#
|
|
31738
|
+
# @!attribute [rw] dry_run
|
|
31739
|
+
# Checks whether you have the required permissions for the operation,
|
|
31740
|
+
# without actually making the request, and provides an error response.
|
|
31741
|
+
# If you have the required permissions, the error response is
|
|
31742
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
31743
|
+
# @return [Boolean]
|
|
31744
|
+
#
|
|
31745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMetricCategoriesRequest AWS API Documentation
|
|
31746
|
+
#
|
|
31747
|
+
class DescribeMetricCategoriesRequest < Struct.new(
|
|
31748
|
+
:metric_category_ids,
|
|
31749
|
+
:filters,
|
|
31750
|
+
:max_results,
|
|
31751
|
+
:next_token,
|
|
31752
|
+
:dry_run)
|
|
31753
|
+
SENSITIVE = []
|
|
31754
|
+
include Aws::Structure
|
|
31755
|
+
end
|
|
31756
|
+
|
|
31757
|
+
# @!attribute [rw] metric_categories
|
|
31758
|
+
# Information about the metric categories.
|
|
31759
|
+
# @return [Array<Types::MetricCategory>]
|
|
31760
|
+
#
|
|
31761
|
+
# @!attribute [rw] next_token
|
|
31762
|
+
# The token to include in another request to get the next page of
|
|
31763
|
+
# items. This value is `null` when there are no more items to return.
|
|
31764
|
+
# @return [String]
|
|
31765
|
+
#
|
|
31766
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMetricCategoriesResult AWS API Documentation
|
|
31767
|
+
#
|
|
31768
|
+
class DescribeMetricCategoriesResult < Struct.new(
|
|
31769
|
+
:metric_categories,
|
|
31770
|
+
:next_token)
|
|
31771
|
+
SENSITIVE = []
|
|
31772
|
+
include Aws::Structure
|
|
31773
|
+
end
|
|
31774
|
+
|
|
31610
31775
|
# @!attribute [rw] dry_run
|
|
31611
31776
|
# Checks whether you have the required permissions for the action,
|
|
31612
31777
|
# without actually making the request, and provides an error response.
|
|
@@ -52933,7 +53098,8 @@ module Aws::EC2
|
|
|
52933
53098
|
# type.
|
|
52934
53099
|
#
|
|
52935
53100
|
# @!attribute [rw] resource_type
|
|
52936
|
-
# The type of resource (`ec2:Instance`
|
|
53101
|
+
# The type of resource (`ec2:Instance` \| `ec2:LaunchTemplate` \|
|
|
53102
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe`).
|
|
52937
53103
|
# @return [String]
|
|
52938
53104
|
#
|
|
52939
53105
|
# @!attribute [rw] report_id
|
|
@@ -52976,7 +53142,8 @@ module Aws::EC2
|
|
|
52976
53142
|
# @!attribute [rw] resource_type
|
|
52977
53143
|
# The resource type.
|
|
52978
53144
|
#
|
|
52979
|
-
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate`
|
|
53145
|
+
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate` \|
|
|
53146
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe`
|
|
52980
53147
|
# @return [String]
|
|
52981
53148
|
#
|
|
52982
53149
|
# @!attribute [rw] resource_type_options
|
|
@@ -53044,7 +53211,8 @@ module Aws::EC2
|
|
|
53044
53211
|
# @!attribute [rw] resource_type
|
|
53045
53212
|
# The resource type.
|
|
53046
53213
|
#
|
|
53047
|
-
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate`
|
|
53214
|
+
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate` \|
|
|
53215
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe`
|
|
53048
53216
|
# @return [String]
|
|
53049
53217
|
#
|
|
53050
53218
|
# @!attribute [rw] resource_type_options
|
|
@@ -63833,10 +64001,15 @@ module Aws::EC2
|
|
|
63833
64001
|
# monitoring is enabled.
|
|
63834
64002
|
# @return [Boolean]
|
|
63835
64003
|
#
|
|
64004
|
+
# @!attribute [rw] metric_category_ids
|
|
64005
|
+
# The IDs of the metric categories to associate with the instance.
|
|
64006
|
+
# @return [Array<String>]
|
|
64007
|
+
#
|
|
63836
64008
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatesMonitoring AWS API Documentation
|
|
63837
64009
|
#
|
|
63838
64010
|
class LaunchTemplatesMonitoring < Struct.new(
|
|
63839
|
-
:enabled
|
|
64011
|
+
:enabled,
|
|
64012
|
+
:metric_category_ids)
|
|
63840
64013
|
SENSITIVE = []
|
|
63841
64014
|
include Aws::Structure
|
|
63842
64015
|
end
|
|
@@ -63848,10 +64021,16 @@ module Aws::EC2
|
|
|
63848
64021
|
# monitoring is enabled.
|
|
63849
64022
|
# @return [Boolean]
|
|
63850
64023
|
#
|
|
64024
|
+
# @!attribute [rw] metric_category_ids
|
|
64025
|
+
# The IDs of the metric categories to associate with the instance. To
|
|
64026
|
+
# specify metric categories, you must also enable detailed monitoring.
|
|
64027
|
+
# @return [Array<String>]
|
|
64028
|
+
#
|
|
63851
64029
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatesMonitoringRequest AWS API Documentation
|
|
63852
64030
|
#
|
|
63853
64031
|
class LaunchTemplatesMonitoringRequest < Struct.new(
|
|
63854
|
-
:enabled
|
|
64032
|
+
:enabled,
|
|
64033
|
+
:metric_category_ids)
|
|
63855
64034
|
SENSITIVE = []
|
|
63856
64035
|
include Aws::Structure
|
|
63857
64036
|
end
|
|
@@ -65230,6 +65409,32 @@ module Aws::EC2
|
|
|
65230
65409
|
include Aws::Structure
|
|
65231
65410
|
end
|
|
65232
65411
|
|
|
65412
|
+
# Describes a metric category. A metric category is a set of additional
|
|
65413
|
+
# metrics that you can associate with an instance that has detailed
|
|
65414
|
+
# monitoring enabled.
|
|
65415
|
+
#
|
|
65416
|
+
# @!attribute [rw] metric_category_id
|
|
65417
|
+
# The ID of the metric category.
|
|
65418
|
+
# @return [String]
|
|
65419
|
+
#
|
|
65420
|
+
# @!attribute [rw] metrics
|
|
65421
|
+
# The names of the metrics in the metric category.
|
|
65422
|
+
# @return [Array<String>]
|
|
65423
|
+
#
|
|
65424
|
+
# @!attribute [rw] tags
|
|
65425
|
+
# Any tags assigned to the metric category.
|
|
65426
|
+
# @return [Array<Types::Tag>]
|
|
65427
|
+
#
|
|
65428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MetricCategory AWS API Documentation
|
|
65429
|
+
#
|
|
65430
|
+
class MetricCategory < Struct.new(
|
|
65431
|
+
:metric_category_id,
|
|
65432
|
+
:metrics,
|
|
65433
|
+
:tags)
|
|
65434
|
+
SENSITIVE = []
|
|
65435
|
+
include Aws::Structure
|
|
65436
|
+
end
|
|
65437
|
+
|
|
65233
65438
|
# Contains a single data point from a capacity metrics query, including
|
|
65234
65439
|
# the dimension values, timestamp, and metric values for that specific
|
|
65235
65440
|
# combination.
|
|
@@ -65443,6 +65648,16 @@ module Aws::EC2
|
|
|
65443
65648
|
# account-level encryption enforcement.
|
|
65444
65649
|
# @return [String]
|
|
65445
65650
|
#
|
|
65651
|
+
# @!attribute [rw] global_accelerator
|
|
65652
|
+
# Specifies whether to exclude AWS Global Accelerator from
|
|
65653
|
+
# account-level encryption enforcement.
|
|
65654
|
+
# @return [String]
|
|
65655
|
+
#
|
|
65656
|
+
# @!attribute [rw] api_gateway_v2
|
|
65657
|
+
# Specifies whether to exclude Amazon API Gateway V2 from
|
|
65658
|
+
# account-level encryption enforcement.
|
|
65659
|
+
# @return [String]
|
|
65660
|
+
#
|
|
65446
65661
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAccountVpcEncryptionControlRequest AWS API Documentation
|
|
65447
65662
|
#
|
|
65448
65663
|
class ModifyAccountVpcEncryptionControlRequest < Struct.new(
|
|
@@ -65455,7 +65670,9 @@ module Aws::EC2
|
|
|
65455
65670
|
:vpc_peering,
|
|
65456
65671
|
:lambda,
|
|
65457
65672
|
:vpc_lattice,
|
|
65458
|
-
:elastic_file_system
|
|
65673
|
+
:elastic_file_system,
|
|
65674
|
+
:global_accelerator,
|
|
65675
|
+
:api_gateway_v2)
|
|
65459
65676
|
SENSITIVE = []
|
|
65460
65677
|
include Aws::Structure
|
|
65461
65678
|
end
|
|
@@ -68496,6 +68713,51 @@ module Aws::EC2
|
|
|
68496
68713
|
include Aws::Structure
|
|
68497
68714
|
end
|
|
68498
68715
|
|
|
68716
|
+
# @!attribute [rw] metric_category_id
|
|
68717
|
+
# The ID of the metric category.
|
|
68718
|
+
# @return [String]
|
|
68719
|
+
#
|
|
68720
|
+
# @!attribute [rw] metrics
|
|
68721
|
+
# The names of the metrics for the metric category. These metrics
|
|
68722
|
+
# replace the existing metrics, and must differ from the current set.
|
|
68723
|
+
#
|
|
68724
|
+
# Specify each metric by its Amazon CloudWatch metric name or its
|
|
68725
|
+
# OpenTelemetry metric name. The two names for a measurement are
|
|
68726
|
+
# separate entries, and you can include both.
|
|
68727
|
+
#
|
|
68728
|
+
# In Regions where Amazon CloudWatch OpenTelemetry metrics aren't
|
|
68729
|
+
# available, you can't specify OpenTelemetry metric names.
|
|
68730
|
+
# @return [Array<String>]
|
|
68731
|
+
#
|
|
68732
|
+
# @!attribute [rw] dry_run
|
|
68733
|
+
# Checks whether you have the required permissions for the operation,
|
|
68734
|
+
# without actually making the request, and provides an error response.
|
|
68735
|
+
# If you have the required permissions, the error response is
|
|
68736
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
68737
|
+
# @return [Boolean]
|
|
68738
|
+
#
|
|
68739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyMetricCategoryRequest AWS API Documentation
|
|
68740
|
+
#
|
|
68741
|
+
class ModifyMetricCategoryRequest < Struct.new(
|
|
68742
|
+
:metric_category_id,
|
|
68743
|
+
:metrics,
|
|
68744
|
+
:dry_run)
|
|
68745
|
+
SENSITIVE = []
|
|
68746
|
+
include Aws::Structure
|
|
68747
|
+
end
|
|
68748
|
+
|
|
68749
|
+
# @!attribute [rw] metric_category
|
|
68750
|
+
# Information about the metric category.
|
|
68751
|
+
# @return [Types::MetricCategory]
|
|
68752
|
+
#
|
|
68753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyMetricCategoryResult AWS API Documentation
|
|
68754
|
+
#
|
|
68755
|
+
class ModifyMetricCategoryResult < Struct.new(
|
|
68756
|
+
:metric_category)
|
|
68757
|
+
SENSITIVE = []
|
|
68758
|
+
include Aws::Structure
|
|
68759
|
+
end
|
|
68760
|
+
|
|
68499
68761
|
# Contains the parameters for ModifyNetworkInterfaceAttribute.
|
|
68500
68762
|
#
|
|
68501
68763
|
# @!attribute [rw] ena_srd_specification
|
|
@@ -70822,6 +71084,16 @@ module Aws::EC2
|
|
|
70822
71084
|
# encryption enforcement.
|
|
70823
71085
|
# @return [String]
|
|
70824
71086
|
#
|
|
71087
|
+
# @!attribute [rw] global_accelerator_exclusion
|
|
71088
|
+
# Specifies whether to exclude AWS Global Accelerator traffic from
|
|
71089
|
+
# encryption enforcement.
|
|
71090
|
+
# @return [String]
|
|
71091
|
+
#
|
|
71092
|
+
# @!attribute [rw] api_gateway_v2_exclusion
|
|
71093
|
+
# Specifies whether to exclude Amazon API Gateway V2 traffic from
|
|
71094
|
+
# encryption enforcement.
|
|
71095
|
+
# @return [String]
|
|
71096
|
+
#
|
|
70825
71097
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEncryptionControlRequest AWS API Documentation
|
|
70826
71098
|
#
|
|
70827
71099
|
class ModifyVpcEncryptionControlRequest < Struct.new(
|
|
@@ -70835,7 +71107,9 @@ module Aws::EC2
|
|
|
70835
71107
|
:vpc_peering_exclusion,
|
|
70836
71108
|
:lambda_exclusion,
|
|
70837
71109
|
:vpc_lattice_exclusion,
|
|
70838
|
-
:elastic_file_system_exclusion
|
|
71110
|
+
:elastic_file_system_exclusion,
|
|
71111
|
+
:global_accelerator_exclusion,
|
|
71112
|
+
:api_gateway_v2_exclusion)
|
|
70839
71113
|
SENSITIVE = []
|
|
70840
71114
|
include Aws::Structure
|
|
70841
71115
|
end
|
|
@@ -71750,6 +72024,12 @@ module Aws::EC2
|
|
|
71750
72024
|
# The IDs of the instances.
|
|
71751
72025
|
# @return [Array<String>]
|
|
71752
72026
|
#
|
|
72027
|
+
# @!attribute [rw] metric_category_ids
|
|
72028
|
+
# The IDs of the metric categories to associate with the instances.
|
|
72029
|
+
# The specified metric categories are added to any metric categories
|
|
72030
|
+
# that are already associated with the instances.
|
|
72031
|
+
# @return [Array<String>]
|
|
72032
|
+
#
|
|
71753
72033
|
# @!attribute [rw] dry_run
|
|
71754
72034
|
# Checks whether you have the required permissions for the operation,
|
|
71755
72035
|
# without actually making the request, and provides an error response.
|
|
@@ -71761,6 +72041,7 @@ module Aws::EC2
|
|
|
71761
72041
|
#
|
|
71762
72042
|
class MonitorInstancesRequest < Struct.new(
|
|
71763
72043
|
:instance_ids,
|
|
72044
|
+
:metric_category_ids,
|
|
71764
72045
|
:dry_run)
|
|
71765
72046
|
SENSITIVE = []
|
|
71766
72047
|
include Aws::Structure
|
|
@@ -71780,6 +72061,11 @@ module Aws::EC2
|
|
|
71780
72061
|
|
|
71781
72062
|
# Describes the monitoring of an instance.
|
|
71782
72063
|
#
|
|
72064
|
+
# @!attribute [rw] metric_category_ids
|
|
72065
|
+
# The IDs of the metric categories that are associated with the
|
|
72066
|
+
# instance.
|
|
72067
|
+
# @return [Array<String>]
|
|
72068
|
+
#
|
|
71783
72069
|
# @!attribute [rw] state
|
|
71784
72070
|
# Indicates whether detailed monitoring is enabled. Otherwise, basic
|
|
71785
72071
|
# monitoring is enabled.
|
|
@@ -71788,6 +72074,7 @@ module Aws::EC2
|
|
|
71788
72074
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Monitoring AWS API Documentation
|
|
71789
72075
|
#
|
|
71790
72076
|
class Monitoring < Struct.new(
|
|
72077
|
+
:metric_category_ids,
|
|
71791
72078
|
:state)
|
|
71792
72079
|
SENSITIVE = []
|
|
71793
72080
|
include Aws::Structure
|
|
@@ -81281,6 +81568,11 @@ module Aws::EC2
|
|
|
81281
81568
|
|
|
81282
81569
|
# Describes the monitoring of an instance.
|
|
81283
81570
|
#
|
|
81571
|
+
# @!attribute [rw] metric_category_ids
|
|
81572
|
+
# The IDs of the metric categories to associate with the instance. To
|
|
81573
|
+
# specify metric categories, you must also enable detailed monitoring.
|
|
81574
|
+
# @return [Array<String>]
|
|
81575
|
+
#
|
|
81284
81576
|
# @!attribute [rw] enabled
|
|
81285
81577
|
# Indicates whether detailed monitoring is enabled. Otherwise, basic
|
|
81286
81578
|
# monitoring is enabled.
|
|
@@ -81289,6 +81581,7 @@ module Aws::EC2
|
|
|
81289
81581
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesMonitoringEnabled AWS API Documentation
|
|
81290
81582
|
#
|
|
81291
81583
|
class RunInstancesMonitoringEnabled < Struct.new(
|
|
81584
|
+
:metric_category_ids,
|
|
81292
81585
|
:enabled)
|
|
81293
81586
|
SENSITIVE = []
|
|
81294
81587
|
include Aws::Structure
|
|
@@ -90401,6 +90694,14 @@ module Aws::EC2
|
|
|
90401
90694
|
# The IDs of the instances.
|
|
90402
90695
|
# @return [Array<String>]
|
|
90403
90696
|
#
|
|
90697
|
+
# @!attribute [rw] metric_category_ids
|
|
90698
|
+
# The IDs of the metric categories to remove from the instances. If
|
|
90699
|
+
# you specify metric categories, only those metric categories are
|
|
90700
|
+
# removed and detailed monitoring remains enabled. If you don't
|
|
90701
|
+
# specify metric categories, detailed monitoring and all metric
|
|
90702
|
+
# categories are turned off.
|
|
90703
|
+
# @return [Array<String>]
|
|
90704
|
+
#
|
|
90404
90705
|
# @!attribute [rw] dry_run
|
|
90405
90706
|
# Checks whether you have the required permissions for the operation,
|
|
90406
90707
|
# without actually making the request, and provides an error response.
|
|
@@ -90412,6 +90713,7 @@ module Aws::EC2
|
|
|
90412
90713
|
#
|
|
90413
90714
|
class UnmonitorInstancesRequest < Struct.new(
|
|
90414
90715
|
:instance_ids,
|
|
90716
|
+
:metric_category_ids,
|
|
90415
90717
|
:dry_run)
|
|
90416
90718
|
SENSITIVE = []
|
|
90417
90719
|
include Aws::Structure
|
|
@@ -93186,6 +93488,16 @@ module Aws::EC2
|
|
|
93186
93488
|
# encryption enforcement.
|
|
93187
93489
|
# @return [String]
|
|
93188
93490
|
#
|
|
93491
|
+
# @!attribute [rw] global_accelerator_exclusion
|
|
93492
|
+
# Specifies whether to exclude AWS Global Accelerator traffic from
|
|
93493
|
+
# encryption enforcement.
|
|
93494
|
+
# @return [String]
|
|
93495
|
+
#
|
|
93496
|
+
# @!attribute [rw] api_gateway_v2_exclusion
|
|
93497
|
+
# Specifies whether to exclude Amazon API Gateway V2 traffic from
|
|
93498
|
+
# encryption enforcement.
|
|
93499
|
+
# @return [String]
|
|
93500
|
+
#
|
|
93189
93501
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEncryptionControlConfiguration AWS API Documentation
|
|
93190
93502
|
#
|
|
93191
93503
|
class VpcEncryptionControlConfiguration < Struct.new(
|
|
@@ -93197,7 +93509,9 @@ module Aws::EC2
|
|
|
93197
93509
|
:vpc_peering_exclusion,
|
|
93198
93510
|
:lambda_exclusion,
|
|
93199
93511
|
:vpc_lattice_exclusion,
|
|
93200
|
-
:elastic_file_system_exclusion
|
|
93512
|
+
:elastic_file_system_exclusion,
|
|
93513
|
+
:global_accelerator_exclusion,
|
|
93514
|
+
:api_gateway_v2_exclusion)
|
|
93201
93515
|
SENSITIVE = []
|
|
93202
93516
|
include Aws::Structure
|
|
93203
93517
|
end
|
|
@@ -93272,6 +93586,14 @@ module Aws::EC2
|
|
|
93272
93586
|
# The exclusion configuration for Elastic File System traffic.
|
|
93273
93587
|
# @return [Types::VpcEncryptionControlExclusion]
|
|
93274
93588
|
#
|
|
93589
|
+
# @!attribute [rw] global_accelerator
|
|
93590
|
+
# The exclusion configuration for AWS Global Accelerator traffic.
|
|
93591
|
+
# @return [Types::VpcEncryptionControlExclusion]
|
|
93592
|
+
#
|
|
93593
|
+
# @!attribute [rw] api_gateway_v2
|
|
93594
|
+
# The exclusion configuration for Amazon API Gateway V2 traffic.
|
|
93595
|
+
# @return [Types::VpcEncryptionControlExclusion]
|
|
93596
|
+
#
|
|
93275
93597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEncryptionControlExclusions AWS API Documentation
|
|
93276
93598
|
#
|
|
93277
93599
|
class VpcEncryptionControlExclusions < Struct.new(
|
|
@@ -93282,7 +93604,9 @@ module Aws::EC2
|
|
|
93282
93604
|
:vpc_peering,
|
|
93283
93605
|
:lambda,
|
|
93284
93606
|
:vpc_lattice,
|
|
93285
|
-
:elastic_file_system
|
|
93607
|
+
:elastic_file_system,
|
|
93608
|
+
:global_accelerator,
|
|
93609
|
+
:api_gateway_v2)
|
|
93286
93610
|
SENSITIVE = []
|
|
93287
93611
|
include Aws::Structure
|
|
93288
93612
|
end
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
|
@@ -363,7 +363,7 @@ module Aws::EC2
|
|
|
363
363
|
# outpost_arn: "String",
|
|
364
364
|
# tag_specifications: [
|
|
365
365
|
# {
|
|
366
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, image-usage-report, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-metering-policy, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, vpc-encryption-control, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, capacity-block, mac-modification-task, ipam-prefix-list-resolver, ipam-policy, ipam-prefix-list-resolver-target, ipam-internet-registry-association, secondary-interface, secondary-network, secondary-subnet, capacity-manager-data-export, vpn-concentrator, ipam-pool-allocation, capacity-reservation-cancellation-quote, application-status-check, capacity-reservation-modification-quote
|
|
366
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, image-usage-report, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-metering-policy, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, vpc-encryption-control, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, capacity-block, mac-modification-task, ipam-prefix-list-resolver, ipam-policy, ipam-prefix-list-resolver-target, ipam-internet-registry-association, secondary-interface, secondary-network, secondary-subnet, capacity-manager-data-export, vpn-concentrator, ipam-pool-allocation, capacity-reservation-cancellation-quote, application-status-check, capacity-reservation-modification-quote, metric-category
|
|
367
367
|
# tags: [
|
|
368
368
|
# {
|
|
369
369
|
# key: "String",
|