aws-sdk-ec2 1.668.0 → 1.670.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +1216 -158
- data/lib/aws-sdk-ec2/client_api.rb +434 -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 +3 -29
- data/lib/aws-sdk-ec2/subnet.rb +3 -2
- data/lib/aws-sdk-ec2/types.rb +1293 -48
- data/lib/aws-sdk-ec2/volume.rb +7 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +339 -118
- data/sig/instance.rbs +5 -1
- data/sig/params.rbs +45 -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 +292 -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
|
|
@@ -3167,6 +3177,78 @@ module Aws::EC2
|
|
|
3167
3177
|
include Aws::Structure
|
|
3168
3178
|
end
|
|
3169
3179
|
|
|
3180
|
+
# @!attribute [rw] fca_policy_id
|
|
3181
|
+
# The ID of the flex cost allocation policy to associate. This
|
|
3182
|
+
# parameter is required.
|
|
3183
|
+
# @return [String]
|
|
3184
|
+
#
|
|
3185
|
+
# @!attribute [rw] network_resource_ids
|
|
3186
|
+
# The IDs of the network resources to associate with the policy. You
|
|
3187
|
+
# can specify from 1 to 20 resource IDs.
|
|
3188
|
+
#
|
|
3189
|
+
# You must specify `NetworkResourceIds`, `NetworkResourceScope`, or
|
|
3190
|
+
# both. A request can include at most 20 distinct resources in total.
|
|
3191
|
+
# @return [Array<String>]
|
|
3192
|
+
#
|
|
3193
|
+
# @!attribute [rw] network_resource_scope
|
|
3194
|
+
# The scope of network resources to associate with the policy. Use a
|
|
3195
|
+
# scope to associate the policy with the resources in an account,
|
|
3196
|
+
# Amazon VPC, or subnet.
|
|
3197
|
+
#
|
|
3198
|
+
# You must specify `NetworkResourceScope`, `NetworkResourceIds`, or
|
|
3199
|
+
# both.
|
|
3200
|
+
# @return [Types::FlexCostAllocationNetworkResourceScope]
|
|
3201
|
+
#
|
|
3202
|
+
# @!attribute [rw] client_token
|
|
3203
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
3204
|
+
# idempotency of the request. For more information, see [Ensuring
|
|
3205
|
+
# idempotency][1].
|
|
3206
|
+
#
|
|
3207
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3208
|
+
# not need to pass this option.
|
|
3209
|
+
#
|
|
3210
|
+
#
|
|
3211
|
+
#
|
|
3212
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
3213
|
+
# @return [String]
|
|
3214
|
+
#
|
|
3215
|
+
# @!attribute [rw] dry_run
|
|
3216
|
+
# Checks whether you have the required permissions for the action,
|
|
3217
|
+
# without actually making the request, and provides an error response.
|
|
3218
|
+
# If you have the required permissions, the error response is
|
|
3219
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
3220
|
+
# @return [Boolean]
|
|
3221
|
+
#
|
|
3222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateNetworkingFlexCostAllocationPolicyRequest AWS API Documentation
|
|
3223
|
+
#
|
|
3224
|
+
class AssociateNetworkingFlexCostAllocationPolicyRequest < Struct.new(
|
|
3225
|
+
:fca_policy_id,
|
|
3226
|
+
:network_resource_ids,
|
|
3227
|
+
:network_resource_scope,
|
|
3228
|
+
:client_token,
|
|
3229
|
+
:dry_run)
|
|
3230
|
+
SENSITIVE = []
|
|
3231
|
+
include Aws::Structure
|
|
3232
|
+
end
|
|
3233
|
+
|
|
3234
|
+
# @!attribute [rw] fca_policy_associations
|
|
3235
|
+
# Information about the policy associations that were created.
|
|
3236
|
+
# @return [Array<Types::FlexCostAllocationPolicyAssociationDescription>]
|
|
3237
|
+
#
|
|
3238
|
+
# @!attribute [rw] fca_policy_association_failures
|
|
3239
|
+
# Information about the network resources that could not be associated
|
|
3240
|
+
# with the policy.
|
|
3241
|
+
# @return [Array<Types::FlexCostAllocationOperationFailure>]
|
|
3242
|
+
#
|
|
3243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateNetworkingFlexCostAllocationPolicyResult AWS API Documentation
|
|
3244
|
+
#
|
|
3245
|
+
class AssociateNetworkingFlexCostAllocationPolicyResult < Struct.new(
|
|
3246
|
+
:fca_policy_associations,
|
|
3247
|
+
:fca_policy_association_failures)
|
|
3248
|
+
SENSITIVE = []
|
|
3249
|
+
include Aws::Structure
|
|
3250
|
+
end
|
|
3251
|
+
|
|
3170
3252
|
# @!attribute [rw] route_server_id
|
|
3171
3253
|
# The unique identifier for the route server to be associated.
|
|
3172
3254
|
# @return [String]
|
|
@@ -9533,15 +9615,7 @@ module Aws::EC2
|
|
|
9533
9615
|
# @return [String]
|
|
9534
9616
|
#
|
|
9535
9617
|
# @!attribute [rw] destination_region
|
|
9536
|
-
#
|
|
9537
|
-
# snapshot copy operation. This parameter is only valid for specifying
|
|
9538
|
-
# the destination Region in a `PresignedUrl` parameter, where it is
|
|
9539
|
-
# required.
|
|
9540
|
-
#
|
|
9541
|
-
# The snapshot copy is sent to the regional endpoint that you sent the
|
|
9542
|
-
# HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With
|
|
9543
|
-
# the CLI, this is specified using the `--region` parameter or the
|
|
9544
|
-
# default Region in your Amazon Web Services configuration file.
|
|
9618
|
+
# Deprecated.
|
|
9545
9619
|
# @return [String]
|
|
9546
9620
|
#
|
|
9547
9621
|
# @!attribute [rw] encrypted
|
|
@@ -9582,27 +9656,7 @@ module Aws::EC2
|
|
|
9582
9656
|
# @return [String]
|
|
9583
9657
|
#
|
|
9584
9658
|
# @!attribute [rw] presigned_url
|
|
9585
|
-
#
|
|
9586
|
-
# Query API, you must supply a pre-signed URL. This parameter is
|
|
9587
|
-
# optional for unencrypted snapshots. For more information, see [Query
|
|
9588
|
-
# requests][1].
|
|
9589
|
-
#
|
|
9590
|
-
# The `PresignedUrl` should use the snapshot source endpoint, the
|
|
9591
|
-
# `CopySnapshot` action, and include the `SourceRegion`,
|
|
9592
|
-
# `SourceSnapshotId`, and `DestinationRegion` parameters. The
|
|
9593
|
-
# `PresignedUrl` must be signed using Amazon Web Services Signature
|
|
9594
|
-
# Version 4. Because EBS snapshots are stored in Amazon S3, the
|
|
9595
|
-
# signing algorithm for this parameter uses the same logic that is
|
|
9596
|
-
# described in [ Authenticating Requests: Using Query Parameters
|
|
9597
|
-
# (Amazon Web Services Signature Version 4)][2] in the *Amazon S3 API
|
|
9598
|
-
# Reference*. An invalid or improperly signed `PresignedUrl` will
|
|
9599
|
-
# cause the copy operation to fail asynchronously, and the snapshot
|
|
9600
|
-
# will move to an `error` state.
|
|
9601
|
-
#
|
|
9602
|
-
#
|
|
9603
|
-
#
|
|
9604
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html
|
|
9605
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
|
|
9659
|
+
# Deprecated.
|
|
9606
9660
|
# @return [String]
|
|
9607
9661
|
#
|
|
9608
9662
|
# @!attribute [rw] source_region
|
|
@@ -12749,7 +12803,7 @@ module Aws::EC2
|
|
|
12749
12803
|
# @return [String]
|
|
12750
12804
|
#
|
|
12751
12805
|
# @!attribute [rw] rir
|
|
12752
|
-
# The
|
|
12806
|
+
# The internet registry to associate with. Possible values:
|
|
12753
12807
|
#
|
|
12754
12808
|
# * `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia).
|
|
12755
12809
|
#
|
|
@@ -12758,6 +12812,8 @@ module Aws::EC2
|
|
|
12758
12812
|
# * `arin` - ARIN (North America).
|
|
12759
12813
|
#
|
|
12760
12814
|
# * `lacnic` - LACNIC (Latin America and the Caribbean).
|
|
12815
|
+
#
|
|
12816
|
+
# * `nicbr` - NIC.br (Brazil).
|
|
12761
12817
|
# @return [String]
|
|
12762
12818
|
#
|
|
12763
12819
|
# @!attribute [rw] organization_handle
|
|
@@ -14247,6 +14303,64 @@ module Aws::EC2
|
|
|
14247
14303
|
include Aws::Structure
|
|
14248
14304
|
end
|
|
14249
14305
|
|
|
14306
|
+
# @!attribute [rw] metrics
|
|
14307
|
+
# The names of the metrics to include in the metric category.
|
|
14308
|
+
#
|
|
14309
|
+
# Specify each metric by its Amazon CloudWatch metric name or its
|
|
14310
|
+
# OpenTelemetry metric name. The two names for a measurement are
|
|
14311
|
+
# separate entries, and you can include both.
|
|
14312
|
+
#
|
|
14313
|
+
# In Regions where Amazon CloudWatch OpenTelemetry metrics aren't
|
|
14314
|
+
# available, you can't specify OpenTelemetry metric names.
|
|
14315
|
+
# @return [Array<String>]
|
|
14316
|
+
#
|
|
14317
|
+
# @!attribute [rw] tag_specifications
|
|
14318
|
+
# The tags to apply to the metric category during creation.
|
|
14319
|
+
# @return [Array<Types::TagSpecification>]
|
|
14320
|
+
#
|
|
14321
|
+
# @!attribute [rw] client_token
|
|
14322
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
14323
|
+
# idempotency of the request. For more information, see [Ensure
|
|
14324
|
+
# Idempotency][1].
|
|
14325
|
+
#
|
|
14326
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
14327
|
+
# not need to pass this option.
|
|
14328
|
+
#
|
|
14329
|
+
#
|
|
14330
|
+
#
|
|
14331
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
|
14332
|
+
# @return [String]
|
|
14333
|
+
#
|
|
14334
|
+
# @!attribute [rw] dry_run
|
|
14335
|
+
# Checks whether you have the required permissions for the operation,
|
|
14336
|
+
# without actually making the request, and provides an error response.
|
|
14337
|
+
# If you have the required permissions, the error response is
|
|
14338
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
14339
|
+
# @return [Boolean]
|
|
14340
|
+
#
|
|
14341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateMetricCategoryRequest AWS API Documentation
|
|
14342
|
+
#
|
|
14343
|
+
class CreateMetricCategoryRequest < Struct.new(
|
|
14344
|
+
:metrics,
|
|
14345
|
+
:tag_specifications,
|
|
14346
|
+
:client_token,
|
|
14347
|
+
:dry_run)
|
|
14348
|
+
SENSITIVE = []
|
|
14349
|
+
include Aws::Structure
|
|
14350
|
+
end
|
|
14351
|
+
|
|
14352
|
+
# @!attribute [rw] metric_category
|
|
14353
|
+
# Information about the metric category.
|
|
14354
|
+
# @return [Types::MetricCategory]
|
|
14355
|
+
#
|
|
14356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateMetricCategoryResult AWS API Documentation
|
|
14357
|
+
#
|
|
14358
|
+
class CreateMetricCategoryResult < Struct.new(
|
|
14359
|
+
:metric_category)
|
|
14360
|
+
SENSITIVE = []
|
|
14361
|
+
include Aws::Structure
|
|
14362
|
+
end
|
|
14363
|
+
|
|
14250
14364
|
# @!attribute [rw] availability_mode
|
|
14251
14365
|
# Specifies whether to create a zonal (single-AZ) or regional
|
|
14252
14366
|
# (multi-AZ) NAT gateway. Defaults to `zonal`.
|
|
@@ -14952,6 +15066,112 @@ module Aws::EC2
|
|
|
14952
15066
|
include Aws::Structure
|
|
14953
15067
|
end
|
|
14954
15068
|
|
|
15069
|
+
# @!attribute [rw] network_resource_type
|
|
15070
|
+
# The type of network resource that the policy applies to. This
|
|
15071
|
+
# parameter is required. Valid values are `natgw` (NAT gateway), `pcx`
|
|
15072
|
+
# (Amazon VPC peering connection), and `ec2` (EC2 instance).
|
|
15073
|
+
#
|
|
15074
|
+
# Specify the policy document that matches the resource type:
|
|
15075
|
+
# `NatFcaPolicyDocument` for `natgw`, `InstanceFcaPolicyDocument` for
|
|
15076
|
+
# `ec2`, or `PcxFcaPolicyDocument` for `pcx`. Don't specify a policy
|
|
15077
|
+
# document for a different resource type.
|
|
15078
|
+
# @return [String]
|
|
15079
|
+
#
|
|
15080
|
+
# @!attribute [rw] nat_fca_policy_document
|
|
15081
|
+
# The policy document that defines cost allocation for NAT gateways.
|
|
15082
|
+
# Provide this document when `NetworkResourceType` is `natgw`.
|
|
15083
|
+
# @return [Types::NatFlexCostAllocationPolicyDocument]
|
|
15084
|
+
#
|
|
15085
|
+
# @!attribute [rw] instance_fca_policy_document
|
|
15086
|
+
# The policy document that defines cost allocation for EC2 instances.
|
|
15087
|
+
# Provide this document when `NetworkResourceType` is `ec2`.
|
|
15088
|
+
# @return [Types::InstanceFlexCostAllocationPolicyDocument]
|
|
15089
|
+
#
|
|
15090
|
+
# @!attribute [rw] pcx_fca_policy_document
|
|
15091
|
+
# The policy document that defines cost allocation for Amazon VPC
|
|
15092
|
+
# peering connections. Provide this document when
|
|
15093
|
+
# `NetworkResourceType` is `pcx`.
|
|
15094
|
+
# @return [Types::PcxFlexCostAllocationPolicyDocument]
|
|
15095
|
+
#
|
|
15096
|
+
# @!attribute [rw] show_back_enabled
|
|
15097
|
+
# Specifies whether showback reporting is enabled for the policy.
|
|
15098
|
+
#
|
|
15099
|
+
# Default: `true`
|
|
15100
|
+
# @return [Boolean]
|
|
15101
|
+
#
|
|
15102
|
+
# @!attribute [rw] description
|
|
15103
|
+
# A description for the policy. The description can be up to 1024
|
|
15104
|
+
# characters long.
|
|
15105
|
+
# @return [String]
|
|
15106
|
+
#
|
|
15107
|
+
# @!attribute [rw] tag_specifications
|
|
15108
|
+
# The tags to assign to the policy.
|
|
15109
|
+
# @return [Array<Types::TagSpecification>]
|
|
15110
|
+
#
|
|
15111
|
+
# @!attribute [rw] client_token
|
|
15112
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
15113
|
+
# idempotency of the request. For more information, see [Ensuring
|
|
15114
|
+
# idempotency][1].
|
|
15115
|
+
#
|
|
15116
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
15117
|
+
# not need to pass this option.
|
|
15118
|
+
#
|
|
15119
|
+
#
|
|
15120
|
+
#
|
|
15121
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
15122
|
+
# @return [String]
|
|
15123
|
+
#
|
|
15124
|
+
# @!attribute [rw] dry_run
|
|
15125
|
+
# Checks whether you have the required permissions for the action,
|
|
15126
|
+
# without actually making the request, and provides an error response.
|
|
15127
|
+
# If you have the required permissions, the error response is
|
|
15128
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
15129
|
+
# @return [Boolean]
|
|
15130
|
+
#
|
|
15131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkingFlexCostAllocationPolicyRequest AWS API Documentation
|
|
15132
|
+
#
|
|
15133
|
+
class CreateNetworkingFlexCostAllocationPolicyRequest < Struct.new(
|
|
15134
|
+
:network_resource_type,
|
|
15135
|
+
:nat_fca_policy_document,
|
|
15136
|
+
:instance_fca_policy_document,
|
|
15137
|
+
:pcx_fca_policy_document,
|
|
15138
|
+
:show_back_enabled,
|
|
15139
|
+
:description,
|
|
15140
|
+
:tag_specifications,
|
|
15141
|
+
:client_token,
|
|
15142
|
+
:dry_run)
|
|
15143
|
+
SENSITIVE = []
|
|
15144
|
+
include Aws::Structure
|
|
15145
|
+
end
|
|
15146
|
+
|
|
15147
|
+
# @!attribute [rw] fca_policy_id
|
|
15148
|
+
# The ID of the flex cost allocation policy.
|
|
15149
|
+
# @return [String]
|
|
15150
|
+
#
|
|
15151
|
+
# @!attribute [rw] fca_policy_arn
|
|
15152
|
+
# The Amazon Resource Name (ARN) of the flex cost allocation policy.
|
|
15153
|
+
# @return [String]
|
|
15154
|
+
#
|
|
15155
|
+
# @!attribute [rw] created_at
|
|
15156
|
+
# The date and time when the policy was created.
|
|
15157
|
+
# @return [Time]
|
|
15158
|
+
#
|
|
15159
|
+
# @!attribute [rw] expected_effective_at
|
|
15160
|
+
# The date and time when the policy is expected to apply to network
|
|
15161
|
+
# traffic.
|
|
15162
|
+
# @return [Time]
|
|
15163
|
+
#
|
|
15164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkingFlexCostAllocationPolicyResult AWS API Documentation
|
|
15165
|
+
#
|
|
15166
|
+
class CreateNetworkingFlexCostAllocationPolicyResult < Struct.new(
|
|
15167
|
+
:fca_policy_id,
|
|
15168
|
+
:fca_policy_arn,
|
|
15169
|
+
:created_at,
|
|
15170
|
+
:expected_effective_at)
|
|
15171
|
+
SENSITIVE = []
|
|
15172
|
+
include Aws::Structure
|
|
15173
|
+
end
|
|
15174
|
+
|
|
14955
15175
|
# @!attribute [rw] partition_count
|
|
14956
15176
|
# The number of partitions. Valid only when **Strategy** is set to
|
|
14957
15177
|
# `partition`.
|
|
@@ -21111,6 +21331,38 @@ module Aws::EC2
|
|
|
21111
21331
|
include Aws::Structure
|
|
21112
21332
|
end
|
|
21113
21333
|
|
|
21334
|
+
# @!attribute [rw] metric_category_id
|
|
21335
|
+
# The ID of the metric category.
|
|
21336
|
+
# @return [String]
|
|
21337
|
+
#
|
|
21338
|
+
# @!attribute [rw] dry_run
|
|
21339
|
+
# Checks whether you have the required permissions for the operation,
|
|
21340
|
+
# without actually making the request, and provides an error response.
|
|
21341
|
+
# If you have the required permissions, the error response is
|
|
21342
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
21343
|
+
# @return [Boolean]
|
|
21344
|
+
#
|
|
21345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteMetricCategoryRequest AWS API Documentation
|
|
21346
|
+
#
|
|
21347
|
+
class DeleteMetricCategoryRequest < Struct.new(
|
|
21348
|
+
:metric_category_id,
|
|
21349
|
+
:dry_run)
|
|
21350
|
+
SENSITIVE = []
|
|
21351
|
+
include Aws::Structure
|
|
21352
|
+
end
|
|
21353
|
+
|
|
21354
|
+
# @!attribute [rw] metric_category_id
|
|
21355
|
+
# The ID of the metric category that was deleted.
|
|
21356
|
+
# @return [String]
|
|
21357
|
+
#
|
|
21358
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteMetricCategoryResult AWS API Documentation
|
|
21359
|
+
#
|
|
21360
|
+
class DeleteMetricCategoryResult < Struct.new(
|
|
21361
|
+
:metric_category_id)
|
|
21362
|
+
SENSITIVE = []
|
|
21363
|
+
include Aws::Structure
|
|
21364
|
+
end
|
|
21365
|
+
|
|
21114
21366
|
# @!attribute [rw] dry_run
|
|
21115
21367
|
# Checks whether you have the required permissions for the action,
|
|
21116
21368
|
# without actually making the request, and provides an error response.
|
|
@@ -21385,6 +21637,44 @@ module Aws::EC2
|
|
|
21385
21637
|
include Aws::Structure
|
|
21386
21638
|
end
|
|
21387
21639
|
|
|
21640
|
+
# @!attribute [rw] fca_policy_ids
|
|
21641
|
+
# The IDs of the flex cost allocation policies to delete. You can
|
|
21642
|
+
# specify up to 50 policy IDs. This parameter is required.
|
|
21643
|
+
# @return [Array<String>]
|
|
21644
|
+
#
|
|
21645
|
+
# @!attribute [rw] dry_run
|
|
21646
|
+
# Checks whether you have the required permissions for the action,
|
|
21647
|
+
# without actually making the request, and provides an error response.
|
|
21648
|
+
# If you have the required permissions, the error response is
|
|
21649
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
21650
|
+
# @return [Boolean]
|
|
21651
|
+
#
|
|
21652
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkingFlexCostAllocationPoliciesRequest AWS API Documentation
|
|
21653
|
+
#
|
|
21654
|
+
class DeleteNetworkingFlexCostAllocationPoliciesRequest < Struct.new(
|
|
21655
|
+
:fca_policy_ids,
|
|
21656
|
+
:dry_run)
|
|
21657
|
+
SENSITIVE = []
|
|
21658
|
+
include Aws::Structure
|
|
21659
|
+
end
|
|
21660
|
+
|
|
21661
|
+
# @!attribute [rw] successful
|
|
21662
|
+
# The IDs of the policies that were successfully deleted.
|
|
21663
|
+
# @return [Array<String>]
|
|
21664
|
+
#
|
|
21665
|
+
# @!attribute [rw] failed
|
|
21666
|
+
# Information about the policies that could not be deleted.
|
|
21667
|
+
# @return [Array<Types::FlexCostAllocationOperationFailure>]
|
|
21668
|
+
#
|
|
21669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkingFlexCostAllocationPoliciesResult AWS API Documentation
|
|
21670
|
+
#
|
|
21671
|
+
class DeleteNetworkingFlexCostAllocationPoliciesResult < Struct.new(
|
|
21672
|
+
:successful,
|
|
21673
|
+
:failed)
|
|
21674
|
+
SENSITIVE = []
|
|
21675
|
+
include Aws::Structure
|
|
21676
|
+
end
|
|
21677
|
+
|
|
21388
21678
|
# @!attribute [rw] dry_run
|
|
21389
21679
|
# Checks whether you have the required permissions for the operation,
|
|
21390
21680
|
# without actually making the request, and provides an error response.
|
|
@@ -27496,7 +27786,8 @@ module Aws::EC2
|
|
|
27496
27786
|
# for example, `2025-11-29T*`, which matches an entire day.
|
|
27497
27787
|
#
|
|
27498
27788
|
# * `resource-type` - The resource type (`ec2:Instance` \|
|
|
27499
|
-
# `ec2:LaunchTemplate`
|
|
27789
|
+
# `ec2:LaunchTemplate` \| `imagebuilder:ImageRecipe` \|
|
|
27790
|
+
# `imagebuilder:ContainerRecipe`).
|
|
27500
27791
|
# @return [Array<Types::Filter>]
|
|
27501
27792
|
#
|
|
27502
27793
|
# @!attribute [rw] dry_run
|
|
@@ -31607,6 +31898,74 @@ module Aws::EC2
|
|
|
31607
31898
|
include Aws::Structure
|
|
31608
31899
|
end
|
|
31609
31900
|
|
|
31901
|
+
# @!attribute [rw] metric_category_ids
|
|
31902
|
+
# The IDs of the metric categories. If you specify IDs, you can't
|
|
31903
|
+
# specify `MaxResults` or `NextToken`.
|
|
31904
|
+
# @return [Array<String>]
|
|
31905
|
+
#
|
|
31906
|
+
# @!attribute [rw] filters
|
|
31907
|
+
# The filters.
|
|
31908
|
+
#
|
|
31909
|
+
# * `metric-name` - The name of a metric in the metric category.
|
|
31910
|
+
#
|
|
31911
|
+
# ^
|
|
31912
|
+
# @return [Array<Types::Filter>]
|
|
31913
|
+
#
|
|
31914
|
+
# @!attribute [rw] max_results
|
|
31915
|
+
# The maximum number of items to return for this request. To get the
|
|
31916
|
+
# next page of items, make another request with the token returned in
|
|
31917
|
+
# the output. For more information, see [Pagination][1].
|
|
31918
|
+
#
|
|
31919
|
+
# Valid range: 5 - 100.
|
|
31920
|
+
#
|
|
31921
|
+
#
|
|
31922
|
+
#
|
|
31923
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
31924
|
+
# @return [Integer]
|
|
31925
|
+
#
|
|
31926
|
+
# @!attribute [rw] next_token
|
|
31927
|
+
# The token returned from a previous paginated request. Pagination
|
|
31928
|
+
# continues from the end of the items returned by the previous
|
|
31929
|
+
# request.
|
|
31930
|
+
# @return [String]
|
|
31931
|
+
#
|
|
31932
|
+
# @!attribute [rw] dry_run
|
|
31933
|
+
# Checks whether you have the required permissions for the operation,
|
|
31934
|
+
# without actually making the request, and provides an error response.
|
|
31935
|
+
# If you have the required permissions, the error response is
|
|
31936
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
31937
|
+
# @return [Boolean]
|
|
31938
|
+
#
|
|
31939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMetricCategoriesRequest AWS API Documentation
|
|
31940
|
+
#
|
|
31941
|
+
class DescribeMetricCategoriesRequest < Struct.new(
|
|
31942
|
+
:metric_category_ids,
|
|
31943
|
+
:filters,
|
|
31944
|
+
:max_results,
|
|
31945
|
+
:next_token,
|
|
31946
|
+
:dry_run)
|
|
31947
|
+
SENSITIVE = []
|
|
31948
|
+
include Aws::Structure
|
|
31949
|
+
end
|
|
31950
|
+
|
|
31951
|
+
# @!attribute [rw] metric_categories
|
|
31952
|
+
# Information about the metric categories.
|
|
31953
|
+
# @return [Array<Types::MetricCategory>]
|
|
31954
|
+
#
|
|
31955
|
+
# @!attribute [rw] next_token
|
|
31956
|
+
# The token to include in another request to get the next page of
|
|
31957
|
+
# items. This value is `null` when there are no more items to return.
|
|
31958
|
+
# @return [String]
|
|
31959
|
+
#
|
|
31960
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMetricCategoriesResult AWS API Documentation
|
|
31961
|
+
#
|
|
31962
|
+
class DescribeMetricCategoriesResult < Struct.new(
|
|
31963
|
+
:metric_categories,
|
|
31964
|
+
:next_token)
|
|
31965
|
+
SENSITIVE = []
|
|
31966
|
+
include Aws::Structure
|
|
31967
|
+
end
|
|
31968
|
+
|
|
31610
31969
|
# @!attribute [rw] dry_run
|
|
31611
31970
|
# Checks whether you have the required permissions for the action,
|
|
31612
31971
|
# without actually making the request, and provides an error response.
|
|
@@ -32498,6 +32857,138 @@ module Aws::EC2
|
|
|
32498
32857
|
include Aws::Structure
|
|
32499
32858
|
end
|
|
32500
32859
|
|
|
32860
|
+
# @!attribute [rw] fca_policy_ids
|
|
32861
|
+
# The IDs of the flex cost allocation policies to describe.
|
|
32862
|
+
# @return [Array<String>]
|
|
32863
|
+
#
|
|
32864
|
+
# @!attribute [rw] max_results
|
|
32865
|
+
# The maximum number of results to return in a single call. The range
|
|
32866
|
+
# is 5 to 1000. To retrieve the remaining results, make another call
|
|
32867
|
+
# with the returned `nextToken` value.
|
|
32868
|
+
#
|
|
32869
|
+
# Default: 100
|
|
32870
|
+
# @return [Integer]
|
|
32871
|
+
#
|
|
32872
|
+
# @!attribute [rw] filters
|
|
32873
|
+
# The filters.
|
|
32874
|
+
#
|
|
32875
|
+
# * `fca-policy-id` - The ID of the policy.
|
|
32876
|
+
#
|
|
32877
|
+
# * `managed-by` - The entity that manages the policy (`account` \|
|
|
32878
|
+
# `declarative-policy`).
|
|
32879
|
+
#
|
|
32880
|
+
# * `network-resource-type` - The type of network resource that the
|
|
32881
|
+
# policy applies to (`natgw` \| `ec2` \| `pcx`).
|
|
32882
|
+
#
|
|
32883
|
+
# * `showback-enabled` - Indicates whether showback reporting is
|
|
32884
|
+
# enabled for the policy (`true` \| `false`).
|
|
32885
|
+
# @return [Array<Types::Filter>]
|
|
32886
|
+
#
|
|
32887
|
+
# @!attribute [rw] next_token
|
|
32888
|
+
# The token for the next page of results.
|
|
32889
|
+
# @return [String]
|
|
32890
|
+
#
|
|
32891
|
+
# @!attribute [rw] dry_run
|
|
32892
|
+
# Checks whether you have the required permissions for the action,
|
|
32893
|
+
# without actually making the request, and provides an error response.
|
|
32894
|
+
# If you have the required permissions, the error response is
|
|
32895
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
32896
|
+
# @return [Boolean]
|
|
32897
|
+
#
|
|
32898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkingFlexCostAllocationPoliciesRequest AWS API Documentation
|
|
32899
|
+
#
|
|
32900
|
+
class DescribeNetworkingFlexCostAllocationPoliciesRequest < Struct.new(
|
|
32901
|
+
:fca_policy_ids,
|
|
32902
|
+
:max_results,
|
|
32903
|
+
:filters,
|
|
32904
|
+
:next_token,
|
|
32905
|
+
:dry_run)
|
|
32906
|
+
SENSITIVE = []
|
|
32907
|
+
include Aws::Structure
|
|
32908
|
+
end
|
|
32909
|
+
|
|
32910
|
+
# @!attribute [rw] flex_cost_allocation_policies
|
|
32911
|
+
# Information about the flex cost allocation policies.
|
|
32912
|
+
# @return [Array<Types::FlexCostAllocationPolicyDescription>]
|
|
32913
|
+
#
|
|
32914
|
+
# @!attribute [rw] next_token
|
|
32915
|
+
# The token to use to retrieve the next page of results. This value is
|
|
32916
|
+
# `null` when there are no more results to return.
|
|
32917
|
+
# @return [String]
|
|
32918
|
+
#
|
|
32919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkingFlexCostAllocationPoliciesResult AWS API Documentation
|
|
32920
|
+
#
|
|
32921
|
+
class DescribeNetworkingFlexCostAllocationPoliciesResult < Struct.new(
|
|
32922
|
+
:flex_cost_allocation_policies,
|
|
32923
|
+
:next_token)
|
|
32924
|
+
SENSITIVE = []
|
|
32925
|
+
include Aws::Structure
|
|
32926
|
+
end
|
|
32927
|
+
|
|
32928
|
+
# @!attribute [rw] fca_policy_association_ids
|
|
32929
|
+
# The IDs of the policy associations to describe.
|
|
32930
|
+
# @return [Array<String>]
|
|
32931
|
+
#
|
|
32932
|
+
# @!attribute [rw] max_results
|
|
32933
|
+
# The maximum number of results to return in a single call. The range
|
|
32934
|
+
# is 5 to 1000. To retrieve the remaining results, make another call
|
|
32935
|
+
# with the returned `nextToken` value.
|
|
32936
|
+
#
|
|
32937
|
+
# Default: 100
|
|
32938
|
+
# @return [Integer]
|
|
32939
|
+
#
|
|
32940
|
+
# @!attribute [rw] filters
|
|
32941
|
+
# The filters.
|
|
32942
|
+
#
|
|
32943
|
+
# * `fca-policy-id` - The ID of the policy.
|
|
32944
|
+
#
|
|
32945
|
+
# * `managed-by` - The entity that manages the association (`account`
|
|
32946
|
+
# \| `declarative-policy`).
|
|
32947
|
+
#
|
|
32948
|
+
# * `resource-id` - The ID of the associated network resource.
|
|
32949
|
+
# @return [Array<Types::Filter>]
|
|
32950
|
+
#
|
|
32951
|
+
# @!attribute [rw] next_token
|
|
32952
|
+
# The token for the next page of results.
|
|
32953
|
+
# @return [String]
|
|
32954
|
+
#
|
|
32955
|
+
# @!attribute [rw] dry_run
|
|
32956
|
+
# Checks whether you have the required permissions for the action,
|
|
32957
|
+
# without actually making the request, and provides an error response.
|
|
32958
|
+
# If you have the required permissions, the error response is
|
|
32959
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
32960
|
+
# @return [Boolean]
|
|
32961
|
+
#
|
|
32962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkingFlexCostAllocationPolicyAssociationsRequest AWS API Documentation
|
|
32963
|
+
#
|
|
32964
|
+
class DescribeNetworkingFlexCostAllocationPolicyAssociationsRequest < Struct.new(
|
|
32965
|
+
:fca_policy_association_ids,
|
|
32966
|
+
:max_results,
|
|
32967
|
+
:filters,
|
|
32968
|
+
:next_token,
|
|
32969
|
+
:dry_run)
|
|
32970
|
+
SENSITIVE = []
|
|
32971
|
+
include Aws::Structure
|
|
32972
|
+
end
|
|
32973
|
+
|
|
32974
|
+
# @!attribute [rw] fca_policy_associations
|
|
32975
|
+
# Information about the policy associations.
|
|
32976
|
+
# @return [Array<Types::FlexCostAllocationPolicyAssociationDescription>]
|
|
32977
|
+
#
|
|
32978
|
+
# @!attribute [rw] next_token
|
|
32979
|
+
# The token to use to retrieve the next page of results. This value is
|
|
32980
|
+
# `null` when there are no more results to return.
|
|
32981
|
+
# @return [String]
|
|
32982
|
+
#
|
|
32983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkingFlexCostAllocationPolicyAssociationsResult AWS API Documentation
|
|
32984
|
+
#
|
|
32985
|
+
class DescribeNetworkingFlexCostAllocationPolicyAssociationsResult < Struct.new(
|
|
32986
|
+
:fca_policy_associations,
|
|
32987
|
+
:next_token)
|
|
32988
|
+
SENSITIVE = []
|
|
32989
|
+
include Aws::Structure
|
|
32990
|
+
end
|
|
32991
|
+
|
|
32501
32992
|
# @!attribute [rw] outpost_lag_ids
|
|
32502
32993
|
# The IDs of the Outpost LAGs.
|
|
32503
32994
|
# @return [Array<String>]
|
|
@@ -37142,6 +37633,12 @@ module Aws::EC2
|
|
|
37142
37633
|
#
|
|
37143
37634
|
# * `action.event-id` - The event ID associated with the action.
|
|
37144
37635
|
#
|
|
37636
|
+
# * `attachment-status.instance-id` - The ID of the instance that the
|
|
37637
|
+
# volume is attached to.
|
|
37638
|
+
#
|
|
37639
|
+
# * `attachment-status.io-performance` - The I/O performance status of
|
|
37640
|
+
# the volume's attachment to the instance.
|
|
37641
|
+
#
|
|
37145
37642
|
# * `availability-zone` - The Availability Zone of the instance.
|
|
37146
37643
|
#
|
|
37147
37644
|
# * `event.description` - A description of the event.
|
|
@@ -40579,6 +41076,44 @@ module Aws::EC2
|
|
|
40579
41076
|
include Aws::Structure
|
|
40580
41077
|
end
|
|
40581
41078
|
|
|
41079
|
+
# @!attribute [rw] fca_policy_association_ids
|
|
41080
|
+
# The IDs of the policy associations to remove. You can specify up to
|
|
41081
|
+
# 100 association IDs. This parameter is required.
|
|
41082
|
+
# @return [Array<String>]
|
|
41083
|
+
#
|
|
41084
|
+
# @!attribute [rw] dry_run
|
|
41085
|
+
# Checks whether you have the required permissions for the action,
|
|
41086
|
+
# without actually making the request, and provides an error response.
|
|
41087
|
+
# If you have the required permissions, the error response is
|
|
41088
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
41089
|
+
# @return [Boolean]
|
|
41090
|
+
#
|
|
41091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateNetworkingFlexCostAllocationPolicyRequest AWS API Documentation
|
|
41092
|
+
#
|
|
41093
|
+
class DisassociateNetworkingFlexCostAllocationPolicyRequest < Struct.new(
|
|
41094
|
+
:fca_policy_association_ids,
|
|
41095
|
+
:dry_run)
|
|
41096
|
+
SENSITIVE = []
|
|
41097
|
+
include Aws::Structure
|
|
41098
|
+
end
|
|
41099
|
+
|
|
41100
|
+
# @!attribute [rw] fca_policy_disassociations
|
|
41101
|
+
# The IDs of the policy associations that were removed.
|
|
41102
|
+
# @return [Array<String>]
|
|
41103
|
+
#
|
|
41104
|
+
# @!attribute [rw] fca_policy_disassociation_failures
|
|
41105
|
+
# Information about the policy associations that could not be removed.
|
|
41106
|
+
# @return [Array<Types::FlexCostAllocationOperationFailure>]
|
|
41107
|
+
#
|
|
41108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateNetworkingFlexCostAllocationPolicyResult AWS API Documentation
|
|
41109
|
+
#
|
|
41110
|
+
class DisassociateNetworkingFlexCostAllocationPolicyResult < Struct.new(
|
|
41111
|
+
:fca_policy_disassociations,
|
|
41112
|
+
:fca_policy_disassociation_failures)
|
|
41113
|
+
SENSITIVE = []
|
|
41114
|
+
include Aws::Structure
|
|
41115
|
+
end
|
|
41116
|
+
|
|
40582
41117
|
# @!attribute [rw] route_server_id
|
|
40583
41118
|
# The ID of the route server to disassociate.
|
|
40584
41119
|
# @return [String]
|
|
@@ -46073,6 +46608,336 @@ module Aws::EC2
|
|
|
46073
46608
|
include Aws::Structure
|
|
46074
46609
|
end
|
|
46075
46610
|
|
|
46611
|
+
# Maps a CIDR range to a label for cost allocation reporting.
|
|
46612
|
+
#
|
|
46613
|
+
# @!attribute [rw] cidr_range
|
|
46614
|
+
# The CIDR range. This parameter is required.
|
|
46615
|
+
# @return [String]
|
|
46616
|
+
#
|
|
46617
|
+
# @!attribute [rw] cidr_label
|
|
46618
|
+
# The label to assign to the CIDR range. The label can be up to 64
|
|
46619
|
+
# characters long. It can contain letters, numbers, hyphens (`-`), and
|
|
46620
|
+
# underscores (`_`), and must start with a letter or a number. This
|
|
46621
|
+
# parameter is required.
|
|
46622
|
+
# @return [String]
|
|
46623
|
+
#
|
|
46624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationCidrMapping AWS API Documentation
|
|
46625
|
+
#
|
|
46626
|
+
class FlexCostAllocationCidrMapping < Struct.new(
|
|
46627
|
+
:cidr_range,
|
|
46628
|
+
:cidr_label)
|
|
46629
|
+
SENSITIVE = []
|
|
46630
|
+
include Aws::Structure
|
|
46631
|
+
end
|
|
46632
|
+
|
|
46633
|
+
# Specifies the CIDR ranges and labels to use for cost allocation when
|
|
46634
|
+
# the reporting granularity is `cidr`.
|
|
46635
|
+
#
|
|
46636
|
+
# @!attribute [rw] prefixes_type
|
|
46637
|
+
# The type of prefixes to use. This parameter is required. Valid
|
|
46638
|
+
# values are `source-prefixes` and `destination-prefixes`.
|
|
46639
|
+
# @return [String]
|
|
46640
|
+
#
|
|
46641
|
+
# @!attribute [rw] prefixes
|
|
46642
|
+
# The CIDR range to label mappings. You can specify from 1 to 100
|
|
46643
|
+
# mappings. This parameter is required.
|
|
46644
|
+
# @return [Array<Types::FlexCostAllocationCidrMapping>]
|
|
46645
|
+
#
|
|
46646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationCidrRangeSpecifications AWS API Documentation
|
|
46647
|
+
#
|
|
46648
|
+
class FlexCostAllocationCidrRangeSpecifications < Struct.new(
|
|
46649
|
+
:prefixes_type,
|
|
46650
|
+
:prefixes)
|
|
46651
|
+
SENSITIVE = []
|
|
46652
|
+
include Aws::Structure
|
|
46653
|
+
end
|
|
46654
|
+
|
|
46655
|
+
# Specifies a scope of network resources for a scope-based policy
|
|
46656
|
+
# association.
|
|
46657
|
+
#
|
|
46658
|
+
# @!attribute [rw] resource_type
|
|
46659
|
+
# The type of scope. This parameter is required. Valid values are
|
|
46660
|
+
# `account`, `vpc`, and `subnet`.
|
|
46661
|
+
# @return [String]
|
|
46662
|
+
#
|
|
46663
|
+
# @!attribute [rw] resource_ids
|
|
46664
|
+
# The IDs of the resources owned by you that define the scope. You can
|
|
46665
|
+
# specify from 1 to 20 IDs. This parameter is required.
|
|
46666
|
+
# @return [Array<String>]
|
|
46667
|
+
#
|
|
46668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationNetworkResourceScope AWS API Documentation
|
|
46669
|
+
#
|
|
46670
|
+
class FlexCostAllocationNetworkResourceScope < Struct.new(
|
|
46671
|
+
:resource_type,
|
|
46672
|
+
:resource_ids)
|
|
46673
|
+
SENSITIVE = []
|
|
46674
|
+
include Aws::Structure
|
|
46675
|
+
end
|
|
46676
|
+
|
|
46677
|
+
# Describes a policy, association, or network resource that a Networking
|
|
46678
|
+
# Flexible Cost Allocation operation failed to process.
|
|
46679
|
+
#
|
|
46680
|
+
# @!attribute [rw] resource_id
|
|
46681
|
+
# The ID of the resource that could not be processed.
|
|
46682
|
+
# @return [String]
|
|
46683
|
+
#
|
|
46684
|
+
# @!attribute [rw] failure_code
|
|
46685
|
+
# The code that identifies the type of failure. Possible values are:
|
|
46686
|
+
#
|
|
46687
|
+
# * `ResourceNotFound` -
|
|
46688
|
+
# (`DeleteNetworkingFlexCostAllocationPolicies`) The policy doesn't
|
|
46689
|
+
# exist or isn't owned by your account.
|
|
46690
|
+
#
|
|
46691
|
+
# * `InvalidResourceState` -
|
|
46692
|
+
# (`DeleteNetworkingFlexCostAllocationPolicies`) The policy has
|
|
46693
|
+
# active associations.
|
|
46694
|
+
#
|
|
46695
|
+
# * `InvalidResource` -
|
|
46696
|
+
# (`AssociateNetworkingFlexCostAllocationPolicy`) The resource ID is
|
|
46697
|
+
# malformed, the resource type doesn't match the policy, or the
|
|
46698
|
+
# scope is an account other than yours.
|
|
46699
|
+
# (`DisassociateNetworkingFlexCostAllocationPolicy`) The association
|
|
46700
|
+
# doesn't exist or was already removed.
|
|
46701
|
+
#
|
|
46702
|
+
# * `ResourceAlreadyAssociated` -
|
|
46703
|
+
# (`AssociateNetworkingFlexCostAllocationPolicy`) The resource
|
|
46704
|
+
# already has an active association.
|
|
46705
|
+
#
|
|
46706
|
+
# * `InternalError` - An internal error occurred. Retry the request.
|
|
46707
|
+
# @return [String]
|
|
46708
|
+
#
|
|
46709
|
+
# @!attribute [rw] failure_reason
|
|
46710
|
+
# The reason for the failure.
|
|
46711
|
+
# @return [String]
|
|
46712
|
+
#
|
|
46713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationOperationFailure AWS API Documentation
|
|
46714
|
+
#
|
|
46715
|
+
class FlexCostAllocationOperationFailure < Struct.new(
|
|
46716
|
+
:resource_id,
|
|
46717
|
+
:failure_code,
|
|
46718
|
+
:failure_reason)
|
|
46719
|
+
SENSITIVE = []
|
|
46720
|
+
include Aws::Structure
|
|
46721
|
+
end
|
|
46722
|
+
|
|
46723
|
+
# Describes an association between a flex cost allocation policy and a
|
|
46724
|
+
# network resource.
|
|
46725
|
+
#
|
|
46726
|
+
# @!attribute [rw] fca_policy_association_id
|
|
46727
|
+
# The ID of the policy association.
|
|
46728
|
+
# @return [String]
|
|
46729
|
+
#
|
|
46730
|
+
# @!attribute [rw] fca_policy_id
|
|
46731
|
+
# The ID of the policy.
|
|
46732
|
+
# @return [String]
|
|
46733
|
+
#
|
|
46734
|
+
# @!attribute [rw] network_resource_id
|
|
46735
|
+
# The ID of the associated network resource.
|
|
46736
|
+
# @return [String]
|
|
46737
|
+
#
|
|
46738
|
+
# @!attribute [rw] owner_account
|
|
46739
|
+
# The ID of the account that owns the association.
|
|
46740
|
+
# @return [String]
|
|
46741
|
+
#
|
|
46742
|
+
# @!attribute [rw] associated_at
|
|
46743
|
+
# The date and time when the association was created.
|
|
46744
|
+
# @return [Time]
|
|
46745
|
+
#
|
|
46746
|
+
# @!attribute [rw] expected_effective_at
|
|
46747
|
+
# The date and time when the association is expected to apply to
|
|
46748
|
+
# network traffic.
|
|
46749
|
+
# @return [Time]
|
|
46750
|
+
#
|
|
46751
|
+
# @!attribute [rw] association_mode
|
|
46752
|
+
# The mode of the association. Valid values:
|
|
46753
|
+
#
|
|
46754
|
+
# * `direct` - The policy is associated with specific resources by
|
|
46755
|
+
# resource ID.
|
|
46756
|
+
#
|
|
46757
|
+
# * `scope` - The policy is associated with a scope of resources in an
|
|
46758
|
+
# account, Amazon VPC, or subnet.
|
|
46759
|
+
# @return [String]
|
|
46760
|
+
#
|
|
46761
|
+
# @!attribute [rw] managed_by
|
|
46762
|
+
# The entity that manages the association. Valid values are:
|
|
46763
|
+
#
|
|
46764
|
+
# * `account` - The account that owns the association created it.
|
|
46765
|
+
#
|
|
46766
|
+
# * `declarative-policy` - An Amazon Web Services Organizations
|
|
46767
|
+
# declarative policy created the association. You can't remove the
|
|
46768
|
+
# association.
|
|
46769
|
+
# @return [String]
|
|
46770
|
+
#
|
|
46771
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationPolicyAssociationDescription AWS API Documentation
|
|
46772
|
+
#
|
|
46773
|
+
class FlexCostAllocationPolicyAssociationDescription < Struct.new(
|
|
46774
|
+
:fca_policy_association_id,
|
|
46775
|
+
:fca_policy_id,
|
|
46776
|
+
:network_resource_id,
|
|
46777
|
+
:owner_account,
|
|
46778
|
+
:associated_at,
|
|
46779
|
+
:expected_effective_at,
|
|
46780
|
+
:association_mode,
|
|
46781
|
+
:managed_by)
|
|
46782
|
+
SENSITIVE = []
|
|
46783
|
+
include Aws::Structure
|
|
46784
|
+
end
|
|
46785
|
+
|
|
46786
|
+
# Describes a flex cost allocation policy.
|
|
46787
|
+
#
|
|
46788
|
+
# @!attribute [rw] fca_policy_id
|
|
46789
|
+
# The ID of the policy.
|
|
46790
|
+
# @return [String]
|
|
46791
|
+
#
|
|
46792
|
+
# @!attribute [rw] fca_policy_arn
|
|
46793
|
+
# The Amazon Resource Name (ARN) of the policy.
|
|
46794
|
+
# @return [String]
|
|
46795
|
+
#
|
|
46796
|
+
# @!attribute [rw] network_resource_type
|
|
46797
|
+
# The type of network resource that the policy applies to.
|
|
46798
|
+
# @return [String]
|
|
46799
|
+
#
|
|
46800
|
+
# @!attribute [rw] nat_fca_policy_document
|
|
46801
|
+
# The policy document that defines cost allocation for NAT gateways.
|
|
46802
|
+
# @return [Types::NatFlexCostAllocationPolicyDocument]
|
|
46803
|
+
#
|
|
46804
|
+
# @!attribute [rw] instance_fca_policy_document
|
|
46805
|
+
# The policy document that defines cost allocation for EC2 instances.
|
|
46806
|
+
# @return [Types::InstanceFlexCostAllocationPolicyDocument]
|
|
46807
|
+
#
|
|
46808
|
+
# @!attribute [rw] pcx_fca_policy_document
|
|
46809
|
+
# The policy document that defines cost allocation for Amazon VPC
|
|
46810
|
+
# peering connections.
|
|
46811
|
+
# @return [Types::PcxFlexCostAllocationPolicyDocument]
|
|
46812
|
+
#
|
|
46813
|
+
# @!attribute [rw] show_back_enabled
|
|
46814
|
+
# Indicates whether showback reporting is enabled for the policy.
|
|
46815
|
+
# @return [Boolean]
|
|
46816
|
+
#
|
|
46817
|
+
# @!attribute [rw] owner_account
|
|
46818
|
+
# The ID of the account that owns the policy.
|
|
46819
|
+
# @return [String]
|
|
46820
|
+
#
|
|
46821
|
+
# @!attribute [rw] description
|
|
46822
|
+
# The description of the policy.
|
|
46823
|
+
# @return [String]
|
|
46824
|
+
#
|
|
46825
|
+
# @!attribute [rw] latest_version
|
|
46826
|
+
# The number of the latest version of the policy.
|
|
46827
|
+
# @return [Integer]
|
|
46828
|
+
#
|
|
46829
|
+
# @!attribute [rw] version_expected_effective_at
|
|
46830
|
+
# The date and time when the latest version of the policy is expected
|
|
46831
|
+
# to apply to network traffic. The policy configuration in this
|
|
46832
|
+
# response is from the latest version.
|
|
46833
|
+
# @return [Time]
|
|
46834
|
+
#
|
|
46835
|
+
# @!attribute [rw] policy_created_at
|
|
46836
|
+
# The date and time when the policy was created.
|
|
46837
|
+
# @return [Time]
|
|
46838
|
+
#
|
|
46839
|
+
# @!attribute [rw] updated_at
|
|
46840
|
+
# The date and time when the policy was last updated.
|
|
46841
|
+
# @return [Time]
|
|
46842
|
+
#
|
|
46843
|
+
# @!attribute [rw] managed_by
|
|
46844
|
+
# The entity that manages the policy. Valid values are:
|
|
46845
|
+
#
|
|
46846
|
+
# * `account` - The account that owns the policy created it.
|
|
46847
|
+
#
|
|
46848
|
+
# * `declarative-policy` - An Amazon Web Services Organizations
|
|
46849
|
+
# declarative policy created the policy. You can't modify or delete
|
|
46850
|
+
# the policy.
|
|
46851
|
+
# @return [String]
|
|
46852
|
+
#
|
|
46853
|
+
# @!attribute [rw] tags
|
|
46854
|
+
# The tags assigned to the policy.
|
|
46855
|
+
# @return [Array<Types::Tag>]
|
|
46856
|
+
#
|
|
46857
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationPolicyDescription AWS API Documentation
|
|
46858
|
+
#
|
|
46859
|
+
class FlexCostAllocationPolicyDescription < Struct.new(
|
|
46860
|
+
:fca_policy_id,
|
|
46861
|
+
:fca_policy_arn,
|
|
46862
|
+
:network_resource_type,
|
|
46863
|
+
:nat_fca_policy_document,
|
|
46864
|
+
:instance_fca_policy_document,
|
|
46865
|
+
:pcx_fca_policy_document,
|
|
46866
|
+
:show_back_enabled,
|
|
46867
|
+
:owner_account,
|
|
46868
|
+
:description,
|
|
46869
|
+
:latest_version,
|
|
46870
|
+
:version_expected_effective_at,
|
|
46871
|
+
:policy_created_at,
|
|
46872
|
+
:updated_at,
|
|
46873
|
+
:managed_by,
|
|
46874
|
+
:tags)
|
|
46875
|
+
SENSITIVE = []
|
|
46876
|
+
include Aws::Structure
|
|
46877
|
+
end
|
|
46878
|
+
|
|
46879
|
+
# Describes a version of a flex cost allocation policy.
|
|
46880
|
+
#
|
|
46881
|
+
# @!attribute [rw] fca_policy_id
|
|
46882
|
+
# The ID of the policy.
|
|
46883
|
+
# @return [String]
|
|
46884
|
+
#
|
|
46885
|
+
# @!attribute [rw] version
|
|
46886
|
+
# The version number.
|
|
46887
|
+
# @return [Integer]
|
|
46888
|
+
#
|
|
46889
|
+
# @!attribute [rw] network_resource_type
|
|
46890
|
+
# The type of network resource that the policy applies to.
|
|
46891
|
+
# @return [String]
|
|
46892
|
+
#
|
|
46893
|
+
# @!attribute [rw] nat_fca_policy_document
|
|
46894
|
+
# The policy document that defines cost allocation for NAT gateways.
|
|
46895
|
+
# @return [Types::NatFlexCostAllocationPolicyDocument]
|
|
46896
|
+
#
|
|
46897
|
+
# @!attribute [rw] instance_fca_policy_document
|
|
46898
|
+
# The policy document that defines cost allocation for EC2 instances.
|
|
46899
|
+
# @return [Types::InstanceFlexCostAllocationPolicyDocument]
|
|
46900
|
+
#
|
|
46901
|
+
# @!attribute [rw] pcx_fca_policy_document
|
|
46902
|
+
# The policy document that defines cost allocation for Amazon VPC
|
|
46903
|
+
# peering connections.
|
|
46904
|
+
# @return [Types::PcxFlexCostAllocationPolicyDocument]
|
|
46905
|
+
#
|
|
46906
|
+
# @!attribute [rw] show_back_enabled
|
|
46907
|
+
# Indicates whether showback reporting is enabled for this version of
|
|
46908
|
+
# the policy.
|
|
46909
|
+
# @return [Boolean]
|
|
46910
|
+
#
|
|
46911
|
+
# @!attribute [rw] description
|
|
46912
|
+
# The description of this version of the policy.
|
|
46913
|
+
# @return [String]
|
|
46914
|
+
#
|
|
46915
|
+
# @!attribute [rw] expected_effective_at
|
|
46916
|
+
# The date and time when this version of the policy is expected to
|
|
46917
|
+
# apply to network traffic.
|
|
46918
|
+
# @return [Time]
|
|
46919
|
+
#
|
|
46920
|
+
# @!attribute [rw] created_at
|
|
46921
|
+
# The date and time when this version of the policy was created.
|
|
46922
|
+
# @return [Time]
|
|
46923
|
+
#
|
|
46924
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationPolicyVersion AWS API Documentation
|
|
46925
|
+
#
|
|
46926
|
+
class FlexCostAllocationPolicyVersion < Struct.new(
|
|
46927
|
+
:fca_policy_id,
|
|
46928
|
+
:version,
|
|
46929
|
+
:network_resource_type,
|
|
46930
|
+
:nat_fca_policy_document,
|
|
46931
|
+
:instance_fca_policy_document,
|
|
46932
|
+
:pcx_fca_policy_document,
|
|
46933
|
+
:show_back_enabled,
|
|
46934
|
+
:description,
|
|
46935
|
+
:expected_effective_at,
|
|
46936
|
+
:created_at)
|
|
46937
|
+
SENSITIVE = []
|
|
46938
|
+
include Aws::Structure
|
|
46939
|
+
end
|
|
46940
|
+
|
|
46076
46941
|
# Describes a flow log.
|
|
46077
46942
|
#
|
|
46078
46943
|
# @!attribute [rw] creation_time
|
|
@@ -49534,6 +50399,44 @@ module Aws::EC2
|
|
|
49534
50399
|
include Aws::Structure
|
|
49535
50400
|
end
|
|
49536
50401
|
|
|
50402
|
+
# @!attribute [rw] fca_policy_id
|
|
50403
|
+
# The ID of the flex cost allocation policy. This parameter is
|
|
50404
|
+
# required.
|
|
50405
|
+
# @return [String]
|
|
50406
|
+
#
|
|
50407
|
+
# @!attribute [rw] versions_to_include
|
|
50408
|
+
# The policy versions to include in the results.
|
|
50409
|
+
# @return [Array<Integer>]
|
|
50410
|
+
#
|
|
50411
|
+
# @!attribute [rw] dry_run
|
|
50412
|
+
# Checks whether you have the required permissions for the action,
|
|
50413
|
+
# without actually making the request, and provides an error response.
|
|
50414
|
+
# If you have the required permissions, the error response is
|
|
50415
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
50416
|
+
# @return [Boolean]
|
|
50417
|
+
#
|
|
50418
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetNetworkingFlexCostAllocationPolicyVersionsRequest AWS API Documentation
|
|
50419
|
+
#
|
|
50420
|
+
class GetNetworkingFlexCostAllocationPolicyVersionsRequest < Struct.new(
|
|
50421
|
+
:fca_policy_id,
|
|
50422
|
+
:versions_to_include,
|
|
50423
|
+
:dry_run)
|
|
50424
|
+
SENSITIVE = []
|
|
50425
|
+
include Aws::Structure
|
|
50426
|
+
end
|
|
50427
|
+
|
|
50428
|
+
# @!attribute [rw] fca_policy_versions
|
|
50429
|
+
# Information about the policy versions.
|
|
50430
|
+
# @return [Array<Types::FlexCostAllocationPolicyVersion>]
|
|
50431
|
+
#
|
|
50432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetNetworkingFlexCostAllocationPolicyVersionsResult AWS API Documentation
|
|
50433
|
+
#
|
|
50434
|
+
class GetNetworkingFlexCostAllocationPolicyVersionsResult < Struct.new(
|
|
50435
|
+
:fca_policy_versions)
|
|
50436
|
+
SENSITIVE = []
|
|
50437
|
+
include Aws::Structure
|
|
50438
|
+
end
|
|
50439
|
+
|
|
49537
50440
|
# @!attribute [rw] instance_id
|
|
49538
50441
|
# The ID of the Windows instance.
|
|
49539
50442
|
# @return [String]
|
|
@@ -52933,7 +53836,8 @@ module Aws::EC2
|
|
|
52933
53836
|
# type.
|
|
52934
53837
|
#
|
|
52935
53838
|
# @!attribute [rw] resource_type
|
|
52936
|
-
# The type of resource (`ec2:Instance`
|
|
53839
|
+
# The type of resource (`ec2:Instance` \| `ec2:LaunchTemplate` \|
|
|
53840
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe`).
|
|
52937
53841
|
# @return [String]
|
|
52938
53842
|
#
|
|
52939
53843
|
# @!attribute [rw] report_id
|
|
@@ -52976,7 +53880,8 @@ module Aws::EC2
|
|
|
52976
53880
|
# @!attribute [rw] resource_type
|
|
52977
53881
|
# The resource type.
|
|
52978
53882
|
#
|
|
52979
|
-
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate`
|
|
53883
|
+
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate` \|
|
|
53884
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe`
|
|
52980
53885
|
# @return [String]
|
|
52981
53886
|
#
|
|
52982
53887
|
# @!attribute [rw] resource_type_options
|
|
@@ -53044,7 +53949,8 @@ module Aws::EC2
|
|
|
53044
53949
|
# @!attribute [rw] resource_type
|
|
53045
53950
|
# The resource type.
|
|
53046
53951
|
#
|
|
53047
|
-
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate`
|
|
53952
|
+
# Valid values: `ec2:Instance` \| `ec2:LaunchTemplate` \|
|
|
53953
|
+
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe`
|
|
53048
53954
|
# @return [String]
|
|
53049
53955
|
#
|
|
53050
53956
|
# @!attribute [rw] resource_type_options
|
|
@@ -55285,6 +56191,35 @@ module Aws::EC2
|
|
|
55285
56191
|
include Aws::Structure
|
|
55286
56192
|
end
|
|
55287
56193
|
|
|
56194
|
+
# Describes the cost allocation policy document for EC2 instances.
|
|
56195
|
+
#
|
|
56196
|
+
# @!attribute [rw] reporting_granularity
|
|
56197
|
+
# The resource granularity level at which networking costs are
|
|
56198
|
+
# allocated. This parameter is required. Specify exactly one value.
|
|
56199
|
+
# Valid values are `eni`, `ec2`, `subnet`, `vpc`, `account`, and
|
|
56200
|
+
# `cidr`.
|
|
56201
|
+
# @return [Array<String>]
|
|
56202
|
+
#
|
|
56203
|
+
# @!attribute [rw] dimensions
|
|
56204
|
+
# The cost dimensions to report. This parameter is required. The only
|
|
56205
|
+
# valid value is `data-transfer`.
|
|
56206
|
+
# @return [Array<String>]
|
|
56207
|
+
#
|
|
56208
|
+
# @!attribute [rw] cidr_range_specifications
|
|
56209
|
+
# The CIDR range mappings to use for cost allocation. Specify this
|
|
56210
|
+
# value when `ReportingGranularity` is `cidr`, and omit it otherwise.
|
|
56211
|
+
# @return [Types::FlexCostAllocationCidrRangeSpecifications]
|
|
56212
|
+
#
|
|
56213
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceFlexCostAllocationPolicyDocument AWS API Documentation
|
|
56214
|
+
#
|
|
56215
|
+
class InstanceFlexCostAllocationPolicyDocument < Struct.new(
|
|
56216
|
+
:reporting_granularity,
|
|
56217
|
+
:dimensions,
|
|
56218
|
+
:cidr_range_specifications)
|
|
56219
|
+
SENSITIVE = []
|
|
56220
|
+
include Aws::Structure
|
|
56221
|
+
end
|
|
56222
|
+
|
|
55288
56223
|
# Information about the instance and the AMI used to launch the
|
|
55289
56224
|
# instance.
|
|
55290
56225
|
#
|
|
@@ -59187,7 +60122,7 @@ module Aws::EC2
|
|
|
59187
60122
|
# @return [String]
|
|
59188
60123
|
#
|
|
59189
60124
|
# @!attribute [rw] rir
|
|
59190
|
-
# The
|
|
60125
|
+
# The internet registry. Possible values:
|
|
59191
60126
|
#
|
|
59192
60127
|
# * `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia).
|
|
59193
60128
|
#
|
|
@@ -59196,6 +60131,8 @@ module Aws::EC2
|
|
|
59196
60131
|
# * `arin` - ARIN (North America).
|
|
59197
60132
|
#
|
|
59198
60133
|
# * `lacnic` - LACNIC (Latin America and the Caribbean).
|
|
60134
|
+
#
|
|
60135
|
+
# * `nicbr` - NIC.br (Brazil).
|
|
59199
60136
|
# @return [String]
|
|
59200
60137
|
#
|
|
59201
60138
|
# @!attribute [rw] organization_handle
|
|
@@ -59208,10 +60145,10 @@ module Aws::EC2
|
|
|
59208
60145
|
#
|
|
59209
60146
|
# @!attribute [rw] state
|
|
59210
60147
|
# The state of the internet registry association. Valid values:
|
|
59211
|
-
# `pending-
|
|
59212
|
-
# `
|
|
59213
|
-
# `
|
|
59214
|
-
# `delete-failed`.
|
|
60148
|
+
# `pending-enable` \| `create-in-progress` \| `create-failed` \|
|
|
60149
|
+
# `enable-in-progress` \| `enable-complete` \| `enable-failed` \|
|
|
60150
|
+
# `disable-in-progress` \| `disable-complete` \| `disable-failed` \|
|
|
60151
|
+
# `delete-in-progress` \| `delete-complete` \| `delete-failed`.
|
|
59215
60152
|
# @return [String]
|
|
59216
60153
|
#
|
|
59217
60154
|
# @!attribute [rw] state_message
|
|
@@ -61131,7 +62068,7 @@ module Aws::EC2
|
|
|
61131
62068
|
# The state of the routing policy registration. Valid values:
|
|
61132
62069
|
# `pending-activate` \| `activate-failed` \| `create-in-progress` \|
|
|
61133
62070
|
# `create-complete` \| `update-in-progress` \| `update-complete` \|
|
|
61134
|
-
# `delete-in-progress` \| `delete-complete`.
|
|
62071
|
+
# `delete-in-progress` \| `delete-complete` \| `disable-complete`.
|
|
61135
62072
|
# @return [String]
|
|
61136
62073
|
#
|
|
61137
62074
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamRoutingPolicyRegistration AWS API Documentation
|
|
@@ -63833,10 +64770,15 @@ module Aws::EC2
|
|
|
63833
64770
|
# monitoring is enabled.
|
|
63834
64771
|
# @return [Boolean]
|
|
63835
64772
|
#
|
|
64773
|
+
# @!attribute [rw] metric_category_ids
|
|
64774
|
+
# The IDs of the metric categories to associate with the instance.
|
|
64775
|
+
# @return [Array<String>]
|
|
64776
|
+
#
|
|
63836
64777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatesMonitoring AWS API Documentation
|
|
63837
64778
|
#
|
|
63838
64779
|
class LaunchTemplatesMonitoring < Struct.new(
|
|
63839
|
-
:enabled
|
|
64780
|
+
:enabled,
|
|
64781
|
+
:metric_category_ids)
|
|
63840
64782
|
SENSITIVE = []
|
|
63841
64783
|
include Aws::Structure
|
|
63842
64784
|
end
|
|
@@ -63848,10 +64790,16 @@ module Aws::EC2
|
|
|
63848
64790
|
# monitoring is enabled.
|
|
63849
64791
|
# @return [Boolean]
|
|
63850
64792
|
#
|
|
64793
|
+
# @!attribute [rw] metric_category_ids
|
|
64794
|
+
# The IDs of the metric categories to associate with the instance. To
|
|
64795
|
+
# specify metric categories, you must also enable detailed monitoring.
|
|
64796
|
+
# @return [Array<String>]
|
|
64797
|
+
#
|
|
63851
64798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatesMonitoringRequest AWS API Documentation
|
|
63852
64799
|
#
|
|
63853
64800
|
class LaunchTemplatesMonitoringRequest < Struct.new(
|
|
63854
|
-
:enabled
|
|
64801
|
+
:enabled,
|
|
64802
|
+
:metric_category_ids)
|
|
63855
64803
|
SENSITIVE = []
|
|
63856
64804
|
include Aws::Structure
|
|
63857
64805
|
end
|
|
@@ -65230,6 +66178,32 @@ module Aws::EC2
|
|
|
65230
66178
|
include Aws::Structure
|
|
65231
66179
|
end
|
|
65232
66180
|
|
|
66181
|
+
# Describes a metric category. A metric category is a set of additional
|
|
66182
|
+
# metrics that you can associate with an instance that has detailed
|
|
66183
|
+
# monitoring enabled.
|
|
66184
|
+
#
|
|
66185
|
+
# @!attribute [rw] metric_category_id
|
|
66186
|
+
# The ID of the metric category.
|
|
66187
|
+
# @return [String]
|
|
66188
|
+
#
|
|
66189
|
+
# @!attribute [rw] metrics
|
|
66190
|
+
# The names of the metrics in the metric category.
|
|
66191
|
+
# @return [Array<String>]
|
|
66192
|
+
#
|
|
66193
|
+
# @!attribute [rw] tags
|
|
66194
|
+
# Any tags assigned to the metric category.
|
|
66195
|
+
# @return [Array<Types::Tag>]
|
|
66196
|
+
#
|
|
66197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MetricCategory AWS API Documentation
|
|
66198
|
+
#
|
|
66199
|
+
class MetricCategory < Struct.new(
|
|
66200
|
+
:metric_category_id,
|
|
66201
|
+
:metrics,
|
|
66202
|
+
:tags)
|
|
66203
|
+
SENSITIVE = []
|
|
66204
|
+
include Aws::Structure
|
|
66205
|
+
end
|
|
66206
|
+
|
|
65233
66207
|
# Contains a single data point from a capacity metrics query, including
|
|
65234
66208
|
# the dimension values, timestamp, and metric values for that specific
|
|
65235
66209
|
# combination.
|
|
@@ -65443,6 +66417,16 @@ module Aws::EC2
|
|
|
65443
66417
|
# account-level encryption enforcement.
|
|
65444
66418
|
# @return [String]
|
|
65445
66419
|
#
|
|
66420
|
+
# @!attribute [rw] global_accelerator
|
|
66421
|
+
# Specifies whether to exclude AWS Global Accelerator from
|
|
66422
|
+
# account-level encryption enforcement.
|
|
66423
|
+
# @return [String]
|
|
66424
|
+
#
|
|
66425
|
+
# @!attribute [rw] api_gateway_v2
|
|
66426
|
+
# Specifies whether to exclude Amazon API Gateway V2 from
|
|
66427
|
+
# account-level encryption enforcement.
|
|
66428
|
+
# @return [String]
|
|
66429
|
+
#
|
|
65446
66430
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAccountVpcEncryptionControlRequest AWS API Documentation
|
|
65447
66431
|
#
|
|
65448
66432
|
class ModifyAccountVpcEncryptionControlRequest < Struct.new(
|
|
@@ -65455,7 +66439,9 @@ module Aws::EC2
|
|
|
65455
66439
|
:vpc_peering,
|
|
65456
66440
|
:lambda,
|
|
65457
66441
|
:vpc_lattice,
|
|
65458
|
-
:elastic_file_system
|
|
66442
|
+
:elastic_file_system,
|
|
66443
|
+
:global_accelerator,
|
|
66444
|
+
:api_gateway_v2)
|
|
65459
66445
|
SENSITIVE = []
|
|
65460
66446
|
include Aws::Structure
|
|
65461
66447
|
end
|
|
@@ -68496,6 +69482,51 @@ module Aws::EC2
|
|
|
68496
69482
|
include Aws::Structure
|
|
68497
69483
|
end
|
|
68498
69484
|
|
|
69485
|
+
# @!attribute [rw] metric_category_id
|
|
69486
|
+
# The ID of the metric category.
|
|
69487
|
+
# @return [String]
|
|
69488
|
+
#
|
|
69489
|
+
# @!attribute [rw] metrics
|
|
69490
|
+
# The names of the metrics for the metric category. These metrics
|
|
69491
|
+
# replace the existing metrics, and must differ from the current set.
|
|
69492
|
+
#
|
|
69493
|
+
# Specify each metric by its Amazon CloudWatch metric name or its
|
|
69494
|
+
# OpenTelemetry metric name. The two names for a measurement are
|
|
69495
|
+
# separate entries, and you can include both.
|
|
69496
|
+
#
|
|
69497
|
+
# In Regions where Amazon CloudWatch OpenTelemetry metrics aren't
|
|
69498
|
+
# available, you can't specify OpenTelemetry metric names.
|
|
69499
|
+
# @return [Array<String>]
|
|
69500
|
+
#
|
|
69501
|
+
# @!attribute [rw] dry_run
|
|
69502
|
+
# Checks whether you have the required permissions for the operation,
|
|
69503
|
+
# without actually making the request, and provides an error response.
|
|
69504
|
+
# If you have the required permissions, the error response is
|
|
69505
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
69506
|
+
# @return [Boolean]
|
|
69507
|
+
#
|
|
69508
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyMetricCategoryRequest AWS API Documentation
|
|
69509
|
+
#
|
|
69510
|
+
class ModifyMetricCategoryRequest < Struct.new(
|
|
69511
|
+
:metric_category_id,
|
|
69512
|
+
:metrics,
|
|
69513
|
+
:dry_run)
|
|
69514
|
+
SENSITIVE = []
|
|
69515
|
+
include Aws::Structure
|
|
69516
|
+
end
|
|
69517
|
+
|
|
69518
|
+
# @!attribute [rw] metric_category
|
|
69519
|
+
# Information about the metric category.
|
|
69520
|
+
# @return [Types::MetricCategory]
|
|
69521
|
+
#
|
|
69522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyMetricCategoryResult AWS API Documentation
|
|
69523
|
+
#
|
|
69524
|
+
class ModifyMetricCategoryResult < Struct.new(
|
|
69525
|
+
:metric_category)
|
|
69526
|
+
SENSITIVE = []
|
|
69527
|
+
include Aws::Structure
|
|
69528
|
+
end
|
|
69529
|
+
|
|
68499
69530
|
# Contains the parameters for ModifyNetworkInterfaceAttribute.
|
|
68500
69531
|
#
|
|
68501
69532
|
# @!attribute [rw] ena_srd_specification
|
|
@@ -68591,6 +69622,99 @@ module Aws::EC2
|
|
|
68591
69622
|
include Aws::Structure
|
|
68592
69623
|
end
|
|
68593
69624
|
|
|
69625
|
+
# @!attribute [rw] fca_policy_id
|
|
69626
|
+
# The ID of the flex cost allocation policy to modify. This parameter
|
|
69627
|
+
# is required.
|
|
69628
|
+
# @return [String]
|
|
69629
|
+
#
|
|
69630
|
+
# @!attribute [rw] nat_fca_policy_document
|
|
69631
|
+
# The updated policy document that defines cost allocation for NAT
|
|
69632
|
+
# gateways.
|
|
69633
|
+
# @return [Types::NatFlexCostAllocationPolicyDocument]
|
|
69634
|
+
#
|
|
69635
|
+
# @!attribute [rw] instance_fca_policy_document
|
|
69636
|
+
# The updated policy document that defines cost allocation for EC2
|
|
69637
|
+
# instances.
|
|
69638
|
+
# @return [Types::InstanceFlexCostAllocationPolicyDocument]
|
|
69639
|
+
#
|
|
69640
|
+
# @!attribute [rw] pcx_fca_policy_document
|
|
69641
|
+
# The updated policy document that defines cost allocation for Amazon
|
|
69642
|
+
# VPC peering connections.
|
|
69643
|
+
# @return [Types::PcxFlexCostAllocationPolicyDocument]
|
|
69644
|
+
#
|
|
69645
|
+
# @!attribute [rw] show_back_enabled
|
|
69646
|
+
# Specifies whether showback reporting is enabled for the policy. If
|
|
69647
|
+
# you omit this parameter, the current setting is unchanged.
|
|
69648
|
+
# @return [Boolean]
|
|
69649
|
+
#
|
|
69650
|
+
# @!attribute [rw] description
|
|
69651
|
+
# A description for the policy. The description can be up to 1024
|
|
69652
|
+
# characters long.
|
|
69653
|
+
# @return [String]
|
|
69654
|
+
#
|
|
69655
|
+
# @!attribute [rw] client_token
|
|
69656
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
69657
|
+
# idempotency of the request. For more information, see [Ensuring
|
|
69658
|
+
# idempotency][1].
|
|
69659
|
+
#
|
|
69660
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
69661
|
+
# not need to pass this option.
|
|
69662
|
+
#
|
|
69663
|
+
#
|
|
69664
|
+
#
|
|
69665
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
69666
|
+
# @return [String]
|
|
69667
|
+
#
|
|
69668
|
+
# @!attribute [rw] dry_run
|
|
69669
|
+
# Checks whether you have the required permissions for the action,
|
|
69670
|
+
# without actually making the request, and provides an error response.
|
|
69671
|
+
# If you have the required permissions, the error response is
|
|
69672
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
69673
|
+
# @return [Boolean]
|
|
69674
|
+
#
|
|
69675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkingFlexCostAllocationPolicyRequest AWS API Documentation
|
|
69676
|
+
#
|
|
69677
|
+
class ModifyNetworkingFlexCostAllocationPolicyRequest < Struct.new(
|
|
69678
|
+
:fca_policy_id,
|
|
69679
|
+
:nat_fca_policy_document,
|
|
69680
|
+
:instance_fca_policy_document,
|
|
69681
|
+
:pcx_fca_policy_document,
|
|
69682
|
+
:show_back_enabled,
|
|
69683
|
+
:description,
|
|
69684
|
+
:client_token,
|
|
69685
|
+
:dry_run)
|
|
69686
|
+
SENSITIVE = []
|
|
69687
|
+
include Aws::Structure
|
|
69688
|
+
end
|
|
69689
|
+
|
|
69690
|
+
# @!attribute [rw] fca_policy_id
|
|
69691
|
+
# The ID of the flex cost allocation policy.
|
|
69692
|
+
# @return [String]
|
|
69693
|
+
#
|
|
69694
|
+
# @!attribute [rw] updated_at
|
|
69695
|
+
# The date and time when the policy was updated.
|
|
69696
|
+
# @return [Time]
|
|
69697
|
+
#
|
|
69698
|
+
# @!attribute [rw] version
|
|
69699
|
+
# The version number of the policy that this modification created.
|
|
69700
|
+
# @return [Integer]
|
|
69701
|
+
#
|
|
69702
|
+
# @!attribute [rw] version_expected_effective_at
|
|
69703
|
+
# The date and time when the new version of the policy is expected to
|
|
69704
|
+
# apply to network traffic.
|
|
69705
|
+
# @return [Time]
|
|
69706
|
+
#
|
|
69707
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkingFlexCostAllocationPolicyResult AWS API Documentation
|
|
69708
|
+
#
|
|
69709
|
+
class ModifyNetworkingFlexCostAllocationPolicyResult < Struct.new(
|
|
69710
|
+
:fca_policy_id,
|
|
69711
|
+
:updated_at,
|
|
69712
|
+
:version,
|
|
69713
|
+
:version_expected_effective_at)
|
|
69714
|
+
SENSITIVE = []
|
|
69715
|
+
include Aws::Structure
|
|
69716
|
+
end
|
|
69717
|
+
|
|
68594
69718
|
# @!attribute [rw] dry_run
|
|
68595
69719
|
# Checks whether you have the required permissions for the action,
|
|
68596
69720
|
# without actually making the request, and provides an error response.
|
|
@@ -70822,6 +71946,16 @@ module Aws::EC2
|
|
|
70822
71946
|
# encryption enforcement.
|
|
70823
71947
|
# @return [String]
|
|
70824
71948
|
#
|
|
71949
|
+
# @!attribute [rw] global_accelerator_exclusion
|
|
71950
|
+
# Specifies whether to exclude AWS Global Accelerator traffic from
|
|
71951
|
+
# encryption enforcement.
|
|
71952
|
+
# @return [String]
|
|
71953
|
+
#
|
|
71954
|
+
# @!attribute [rw] api_gateway_v2_exclusion
|
|
71955
|
+
# Specifies whether to exclude Amazon API Gateway V2 traffic from
|
|
71956
|
+
# encryption enforcement.
|
|
71957
|
+
# @return [String]
|
|
71958
|
+
#
|
|
70825
71959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEncryptionControlRequest AWS API Documentation
|
|
70826
71960
|
#
|
|
70827
71961
|
class ModifyVpcEncryptionControlRequest < Struct.new(
|
|
@@ -70835,7 +71969,9 @@ module Aws::EC2
|
|
|
70835
71969
|
:vpc_peering_exclusion,
|
|
70836
71970
|
:lambda_exclusion,
|
|
70837
71971
|
:vpc_lattice_exclusion,
|
|
70838
|
-
:elastic_file_system_exclusion
|
|
71972
|
+
:elastic_file_system_exclusion,
|
|
71973
|
+
:global_accelerator_exclusion,
|
|
71974
|
+
:api_gateway_v2_exclusion)
|
|
70839
71975
|
SENSITIVE = []
|
|
70840
71976
|
include Aws::Structure
|
|
70841
71977
|
end
|
|
@@ -71750,6 +72886,12 @@ module Aws::EC2
|
|
|
71750
72886
|
# The IDs of the instances.
|
|
71751
72887
|
# @return [Array<String>]
|
|
71752
72888
|
#
|
|
72889
|
+
# @!attribute [rw] metric_category_ids
|
|
72890
|
+
# The IDs of the metric categories to associate with the instances.
|
|
72891
|
+
# The specified metric categories are added to any metric categories
|
|
72892
|
+
# that are already associated with the instances.
|
|
72893
|
+
# @return [Array<String>]
|
|
72894
|
+
#
|
|
71753
72895
|
# @!attribute [rw] dry_run
|
|
71754
72896
|
# Checks whether you have the required permissions for the operation,
|
|
71755
72897
|
# without actually making the request, and provides an error response.
|
|
@@ -71761,6 +72903,7 @@ module Aws::EC2
|
|
|
71761
72903
|
#
|
|
71762
72904
|
class MonitorInstancesRequest < Struct.new(
|
|
71763
72905
|
:instance_ids,
|
|
72906
|
+
:metric_category_ids,
|
|
71764
72907
|
:dry_run)
|
|
71765
72908
|
SENSITIVE = []
|
|
71766
72909
|
include Aws::Structure
|
|
@@ -71780,6 +72923,11 @@ module Aws::EC2
|
|
|
71780
72923
|
|
|
71781
72924
|
# Describes the monitoring of an instance.
|
|
71782
72925
|
#
|
|
72926
|
+
# @!attribute [rw] metric_category_ids
|
|
72927
|
+
# The IDs of the metric categories that are associated with the
|
|
72928
|
+
# instance.
|
|
72929
|
+
# @return [Array<String>]
|
|
72930
|
+
#
|
|
71783
72931
|
# @!attribute [rw] state
|
|
71784
72932
|
# Indicates whether detailed monitoring is enabled. Otherwise, basic
|
|
71785
72933
|
# monitoring is enabled.
|
|
@@ -71788,6 +72936,7 @@ module Aws::EC2
|
|
|
71788
72936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Monitoring AWS API Documentation
|
|
71789
72937
|
#
|
|
71790
72938
|
class Monitoring < Struct.new(
|
|
72939
|
+
:metric_category_ids,
|
|
71791
72940
|
:state)
|
|
71792
72941
|
SENSITIVE = []
|
|
71793
72942
|
include Aws::Structure
|
|
@@ -71966,6 +73115,35 @@ module Aws::EC2
|
|
|
71966
73115
|
include Aws::Structure
|
|
71967
73116
|
end
|
|
71968
73117
|
|
|
73118
|
+
# Describes the cost allocation policy document for NAT gateways.
|
|
73119
|
+
#
|
|
73120
|
+
# @!attribute [rw] reporting_granularity
|
|
73121
|
+
# The resource granularity level at which networking costs are
|
|
73122
|
+
# allocated. This parameter is required. Specify exactly one value.
|
|
73123
|
+
# Valid values are `eni`, `ec2`, `subnet`, `vpc`, `account`, and
|
|
73124
|
+
# `cidr`.
|
|
73125
|
+
# @return [Array<String>]
|
|
73126
|
+
#
|
|
73127
|
+
# @!attribute [rw] dimensions
|
|
73128
|
+
# The cost dimensions to report. This parameter is required. Valid
|
|
73129
|
+
# values are `data-transfer` and `data-processing`.
|
|
73130
|
+
# @return [Array<String>]
|
|
73131
|
+
#
|
|
73132
|
+
# @!attribute [rw] cidr_range_specifications
|
|
73133
|
+
# The CIDR range mappings to use for cost allocation. Specify this
|
|
73134
|
+
# value when `ReportingGranularity` is `cidr`, and omit it otherwise.
|
|
73135
|
+
# @return [Types::FlexCostAllocationCidrRangeSpecifications]
|
|
73136
|
+
#
|
|
73137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatFlexCostAllocationPolicyDocument AWS API Documentation
|
|
73138
|
+
#
|
|
73139
|
+
class NatFlexCostAllocationPolicyDocument < Struct.new(
|
|
73140
|
+
:reporting_granularity,
|
|
73141
|
+
:dimensions,
|
|
73142
|
+
:cidr_range_specifications)
|
|
73143
|
+
SENSITIVE = []
|
|
73144
|
+
include Aws::Structure
|
|
73145
|
+
end
|
|
73146
|
+
|
|
71969
73147
|
# Describes a NAT gateway.
|
|
71970
73148
|
#
|
|
71971
73149
|
# @!attribute [rw] create_time
|
|
@@ -74252,6 +75430,36 @@ module Aws::EC2
|
|
|
74252
75430
|
include Aws::Structure
|
|
74253
75431
|
end
|
|
74254
75432
|
|
|
75433
|
+
# Describes the cost allocation policy document for Amazon VPC peering
|
|
75434
|
+
# connections.
|
|
75435
|
+
#
|
|
75436
|
+
# @!attribute [rw] reporting_granularity
|
|
75437
|
+
# The resource granularity level at which networking costs are
|
|
75438
|
+
# allocated. This parameter is required. Specify exactly one value.
|
|
75439
|
+
# Valid values are `eni`, `ec2`, `subnet`, `vpc`, `account`,
|
|
75440
|
+
# `peering-id`, and `cidr`.
|
|
75441
|
+
# @return [Array<String>]
|
|
75442
|
+
#
|
|
75443
|
+
# @!attribute [rw] dimensions
|
|
75444
|
+
# The cost dimensions to report. This parameter is required. The only
|
|
75445
|
+
# valid value is `data-transfer`.
|
|
75446
|
+
# @return [Array<String>]
|
|
75447
|
+
#
|
|
75448
|
+
# @!attribute [rw] cidr_range_specifications
|
|
75449
|
+
# The CIDR range mappings to use for cost allocation. Specify this
|
|
75450
|
+
# value when `ReportingGranularity` is `cidr`, and omit it otherwise.
|
|
75451
|
+
# @return [Types::FlexCostAllocationCidrRangeSpecifications]
|
|
75452
|
+
#
|
|
75453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PcxFlexCostAllocationPolicyDocument AWS API Documentation
|
|
75454
|
+
#
|
|
75455
|
+
class PcxFlexCostAllocationPolicyDocument < Struct.new(
|
|
75456
|
+
:reporting_granularity,
|
|
75457
|
+
:dimensions,
|
|
75458
|
+
:cidr_range_specifications)
|
|
75459
|
+
SENSITIVE = []
|
|
75460
|
+
include Aws::Structure
|
|
75461
|
+
end
|
|
75462
|
+
|
|
74255
75463
|
# The status of the transit gateway peering attachment.
|
|
74256
75464
|
#
|
|
74257
75465
|
# @!attribute [rw] code
|
|
@@ -81281,6 +82489,11 @@ module Aws::EC2
|
|
|
81281
82489
|
|
|
81282
82490
|
# Describes the monitoring of an instance.
|
|
81283
82491
|
#
|
|
82492
|
+
# @!attribute [rw] metric_category_ids
|
|
82493
|
+
# The IDs of the metric categories to associate with the instance. To
|
|
82494
|
+
# specify metric categories, you must also enable detailed monitoring.
|
|
82495
|
+
# @return [Array<String>]
|
|
82496
|
+
#
|
|
81284
82497
|
# @!attribute [rw] enabled
|
|
81285
82498
|
# Indicates whether detailed monitoring is enabled. Otherwise, basic
|
|
81286
82499
|
# monitoring is enabled.
|
|
@@ -81289,6 +82502,7 @@ module Aws::EC2
|
|
|
81289
82502
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesMonitoringEnabled AWS API Documentation
|
|
81290
82503
|
#
|
|
81291
82504
|
class RunInstancesMonitoringEnabled < Struct.new(
|
|
82505
|
+
:metric_category_ids,
|
|
81292
82506
|
:enabled)
|
|
81293
82507
|
SENSITIVE = []
|
|
81294
82508
|
include Aws::Structure
|
|
@@ -90401,6 +91615,14 @@ module Aws::EC2
|
|
|
90401
91615
|
# The IDs of the instances.
|
|
90402
91616
|
# @return [Array<String>]
|
|
90403
91617
|
#
|
|
91618
|
+
# @!attribute [rw] metric_category_ids
|
|
91619
|
+
# The IDs of the metric categories to remove from the instances. If
|
|
91620
|
+
# you specify metric categories, only those metric categories are
|
|
91621
|
+
# removed and detailed monitoring remains enabled. If you don't
|
|
91622
|
+
# specify metric categories, detailed monitoring and all metric
|
|
91623
|
+
# categories are turned off.
|
|
91624
|
+
# @return [Array<String>]
|
|
91625
|
+
#
|
|
90404
91626
|
# @!attribute [rw] dry_run
|
|
90405
91627
|
# Checks whether you have the required permissions for the operation,
|
|
90406
91628
|
# without actually making the request, and provides an error response.
|
|
@@ -90412,6 +91634,7 @@ module Aws::EC2
|
|
|
90412
91634
|
#
|
|
90413
91635
|
class UnmonitorInstancesRequest < Struct.new(
|
|
90414
91636
|
:instance_ids,
|
|
91637
|
+
:metric_category_ids,
|
|
90415
91638
|
:dry_run)
|
|
90416
91639
|
SENSITIVE = []
|
|
90417
91640
|
include Aws::Structure
|
|
@@ -93186,6 +94409,16 @@ module Aws::EC2
|
|
|
93186
94409
|
# encryption enforcement.
|
|
93187
94410
|
# @return [String]
|
|
93188
94411
|
#
|
|
94412
|
+
# @!attribute [rw] global_accelerator_exclusion
|
|
94413
|
+
# Specifies whether to exclude AWS Global Accelerator traffic from
|
|
94414
|
+
# encryption enforcement.
|
|
94415
|
+
# @return [String]
|
|
94416
|
+
#
|
|
94417
|
+
# @!attribute [rw] api_gateway_v2_exclusion
|
|
94418
|
+
# Specifies whether to exclude Amazon API Gateway V2 traffic from
|
|
94419
|
+
# encryption enforcement.
|
|
94420
|
+
# @return [String]
|
|
94421
|
+
#
|
|
93189
94422
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEncryptionControlConfiguration AWS API Documentation
|
|
93190
94423
|
#
|
|
93191
94424
|
class VpcEncryptionControlConfiguration < Struct.new(
|
|
@@ -93197,7 +94430,9 @@ module Aws::EC2
|
|
|
93197
94430
|
:vpc_peering_exclusion,
|
|
93198
94431
|
:lambda_exclusion,
|
|
93199
94432
|
:vpc_lattice_exclusion,
|
|
93200
|
-
:elastic_file_system_exclusion
|
|
94433
|
+
:elastic_file_system_exclusion,
|
|
94434
|
+
:global_accelerator_exclusion,
|
|
94435
|
+
:api_gateway_v2_exclusion)
|
|
93201
94436
|
SENSITIVE = []
|
|
93202
94437
|
include Aws::Structure
|
|
93203
94438
|
end
|
|
@@ -93272,6 +94507,14 @@ module Aws::EC2
|
|
|
93272
94507
|
# The exclusion configuration for Elastic File System traffic.
|
|
93273
94508
|
# @return [Types::VpcEncryptionControlExclusion]
|
|
93274
94509
|
#
|
|
94510
|
+
# @!attribute [rw] global_accelerator
|
|
94511
|
+
# The exclusion configuration for AWS Global Accelerator traffic.
|
|
94512
|
+
# @return [Types::VpcEncryptionControlExclusion]
|
|
94513
|
+
#
|
|
94514
|
+
# @!attribute [rw] api_gateway_v2
|
|
94515
|
+
# The exclusion configuration for Amazon API Gateway V2 traffic.
|
|
94516
|
+
# @return [Types::VpcEncryptionControlExclusion]
|
|
94517
|
+
#
|
|
93275
94518
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEncryptionControlExclusions AWS API Documentation
|
|
93276
94519
|
#
|
|
93277
94520
|
class VpcEncryptionControlExclusions < Struct.new(
|
|
@@ -93282,7 +94525,9 @@ module Aws::EC2
|
|
|
93282
94525
|
:vpc_peering,
|
|
93283
94526
|
:lambda,
|
|
93284
94527
|
:vpc_lattice,
|
|
93285
|
-
:elastic_file_system
|
|
94528
|
+
:elastic_file_system,
|
|
94529
|
+
:global_accelerator,
|
|
94530
|
+
:api_gateway_v2)
|
|
93286
94531
|
SENSITIVE = []
|
|
93287
94532
|
include Aws::Structure
|
|
93288
94533
|
end
|