aws-sdk-ec2 1.669.0 → 1.671.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 +1317 -163
- data/lib/aws-sdk-ec2/client_api.rb +479 -0
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +17 -17
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +9 -29
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +1420 -47
- 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 +363 -119
- data/sig/instance.rbs +1 -1
- data/sig/params.rbs +43 -1
- data/sig/resource.rbs +17 -17
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +4 -1
- data/sig/subnet.rbs +2 -2
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +325 -5
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- metadata +3 -3
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -367,6 +367,17 @@ module Aws::EC2
|
|
|
367
367
|
#
|
|
368
368
|
# @!attribute [rw] vpc_endpoint_ids
|
|
369
369
|
# The IDs of the interface VPC endpoints.
|
|
370
|
+
#
|
|
371
|
+
# You must specify either `VpcEndpointIds` or
|
|
372
|
+
# `TransitGatewayAttachmentIds`, but not both.
|
|
373
|
+
# @return [Array<String>]
|
|
374
|
+
#
|
|
375
|
+
# @!attribute [rw] transit_gateway_attachment_ids
|
|
376
|
+
# The IDs of the transit gateway attachments to accept. This parameter
|
|
377
|
+
# is supported only for Gateway Load Balancer endpoint services.
|
|
378
|
+
#
|
|
379
|
+
# You must specify either `VpcEndpointIds` or
|
|
380
|
+
# `TransitGatewayAttachmentIds`, but not both.
|
|
370
381
|
# @return [Array<String>]
|
|
371
382
|
#
|
|
372
383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnectionsRequest AWS API Documentation
|
|
@@ -374,7 +385,8 @@ module Aws::EC2
|
|
|
374
385
|
class AcceptVpcEndpointConnectionsRequest < Struct.new(
|
|
375
386
|
:dry_run,
|
|
376
387
|
:service_id,
|
|
377
|
-
:vpc_endpoint_ids
|
|
388
|
+
:vpc_endpoint_ids,
|
|
389
|
+
:transit_gateway_attachment_ids)
|
|
378
390
|
SENSITIVE = []
|
|
379
391
|
include Aws::Structure
|
|
380
392
|
end
|
|
@@ -855,13 +867,18 @@ module Aws::EC2
|
|
|
855
867
|
# The ID of the service.
|
|
856
868
|
# @return [String]
|
|
857
869
|
#
|
|
870
|
+
# @!attribute [rw] permission_type
|
|
871
|
+
# The type of permission granted to the principal.
|
|
872
|
+
# @return [String]
|
|
873
|
+
#
|
|
858
874
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AddedPrincipal AWS API Documentation
|
|
859
875
|
#
|
|
860
876
|
class AddedPrincipal < Struct.new(
|
|
861
877
|
:principal_type,
|
|
862
878
|
:principal,
|
|
863
879
|
:service_permission_id,
|
|
864
|
-
:service_id
|
|
880
|
+
:service_id,
|
|
881
|
+
:permission_type)
|
|
865
882
|
SENSITIVE = []
|
|
866
883
|
include Aws::Structure
|
|
867
884
|
end
|
|
@@ -1567,6 +1584,10 @@ module Aws::EC2
|
|
|
1567
1584
|
# The ID of the service.
|
|
1568
1585
|
# @return [String]
|
|
1569
1586
|
#
|
|
1587
|
+
# @!attribute [rw] permission_type
|
|
1588
|
+
# The type of permission granted to the principal.
|
|
1589
|
+
# @return [String]
|
|
1590
|
+
#
|
|
1570
1591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllowedPrincipal AWS API Documentation
|
|
1571
1592
|
#
|
|
1572
1593
|
class AllowedPrincipal < Struct.new(
|
|
@@ -1574,7 +1595,8 @@ module Aws::EC2
|
|
|
1574
1595
|
:principal,
|
|
1575
1596
|
:service_permission_id,
|
|
1576
1597
|
:tags,
|
|
1577
|
-
:service_id
|
|
1598
|
+
:service_id,
|
|
1599
|
+
:permission_type)
|
|
1578
1600
|
SENSITIVE = []
|
|
1579
1601
|
include Aws::Structure
|
|
1580
1602
|
end
|
|
@@ -3102,6 +3124,45 @@ module Aws::EC2
|
|
|
3102
3124
|
include Aws::Structure
|
|
3103
3125
|
end
|
|
3104
3126
|
|
|
3127
|
+
# @!attribute [rw] snapshot_id
|
|
3128
|
+
# The ID of the Amazon EBS snapshot.
|
|
3129
|
+
# @return [String]
|
|
3130
|
+
#
|
|
3131
|
+
# @!attribute [rw] kms_key_id
|
|
3132
|
+
# The ID, alias, or ARN of the KMS key to associate with the snapshot.
|
|
3133
|
+
# You can specify a key ID, key alias, key ARN, or alias ARN.
|
|
3134
|
+
# @return [String]
|
|
3135
|
+
#
|
|
3136
|
+
# @!attribute [rw] dry_run
|
|
3137
|
+
# Checks whether you have the required permissions for the action,
|
|
3138
|
+
# without actually making the request, and provides an error response.
|
|
3139
|
+
# If you have the required permissions, the error response is
|
|
3140
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
3141
|
+
# @return [Boolean]
|
|
3142
|
+
#
|
|
3143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateKmsKeyIdRequest AWS API Documentation
|
|
3144
|
+
#
|
|
3145
|
+
class AssociateKmsKeyIdRequest < Struct.new(
|
|
3146
|
+
:snapshot_id,
|
|
3147
|
+
:kms_key_id,
|
|
3148
|
+
:dry_run)
|
|
3149
|
+
SENSITIVE = []
|
|
3150
|
+
include Aws::Structure
|
|
3151
|
+
end
|
|
3152
|
+
|
|
3153
|
+
# @!attribute [rw] return
|
|
3154
|
+
# Returns `true` if the request succeeds; otherwise, it returns an
|
|
3155
|
+
# error.
|
|
3156
|
+
# @return [Boolean]
|
|
3157
|
+
#
|
|
3158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateKmsKeyIdResult AWS API Documentation
|
|
3159
|
+
#
|
|
3160
|
+
class AssociateKmsKeyIdResult < Struct.new(
|
|
3161
|
+
:return)
|
|
3162
|
+
SENSITIVE = []
|
|
3163
|
+
include Aws::Structure
|
|
3164
|
+
end
|
|
3165
|
+
|
|
3105
3166
|
# @!attribute [rw] nat_gateway_id
|
|
3106
3167
|
# The ID of the NAT gateway.
|
|
3107
3168
|
# @return [String]
|
|
@@ -3177,6 +3238,78 @@ module Aws::EC2
|
|
|
3177
3238
|
include Aws::Structure
|
|
3178
3239
|
end
|
|
3179
3240
|
|
|
3241
|
+
# @!attribute [rw] fca_policy_id
|
|
3242
|
+
# The ID of the flex cost allocation policy to associate. This
|
|
3243
|
+
# parameter is required.
|
|
3244
|
+
# @return [String]
|
|
3245
|
+
#
|
|
3246
|
+
# @!attribute [rw] network_resource_ids
|
|
3247
|
+
# The IDs of the network resources to associate with the policy. You
|
|
3248
|
+
# can specify from 1 to 20 resource IDs.
|
|
3249
|
+
#
|
|
3250
|
+
# You must specify `NetworkResourceIds`, `NetworkResourceScope`, or
|
|
3251
|
+
# both. A request can include at most 20 distinct resources in total.
|
|
3252
|
+
# @return [Array<String>]
|
|
3253
|
+
#
|
|
3254
|
+
# @!attribute [rw] network_resource_scope
|
|
3255
|
+
# The scope of network resources to associate with the policy. Use a
|
|
3256
|
+
# scope to associate the policy with the resources in an account,
|
|
3257
|
+
# Amazon VPC, or subnet.
|
|
3258
|
+
#
|
|
3259
|
+
# You must specify `NetworkResourceScope`, `NetworkResourceIds`, or
|
|
3260
|
+
# both.
|
|
3261
|
+
# @return [Types::FlexCostAllocationNetworkResourceScope]
|
|
3262
|
+
#
|
|
3263
|
+
# @!attribute [rw] client_token
|
|
3264
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
3265
|
+
# idempotency of the request. For more information, see [Ensuring
|
|
3266
|
+
# idempotency][1].
|
|
3267
|
+
#
|
|
3268
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
3269
|
+
# not need to pass this option.
|
|
3270
|
+
#
|
|
3271
|
+
#
|
|
3272
|
+
#
|
|
3273
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
3274
|
+
# @return [String]
|
|
3275
|
+
#
|
|
3276
|
+
# @!attribute [rw] dry_run
|
|
3277
|
+
# Checks whether you have the required permissions for the action,
|
|
3278
|
+
# without actually making the request, and provides an error response.
|
|
3279
|
+
# If you have the required permissions, the error response is
|
|
3280
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
3281
|
+
# @return [Boolean]
|
|
3282
|
+
#
|
|
3283
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateNetworkingFlexCostAllocationPolicyRequest AWS API Documentation
|
|
3284
|
+
#
|
|
3285
|
+
class AssociateNetworkingFlexCostAllocationPolicyRequest < Struct.new(
|
|
3286
|
+
:fca_policy_id,
|
|
3287
|
+
:network_resource_ids,
|
|
3288
|
+
:network_resource_scope,
|
|
3289
|
+
:client_token,
|
|
3290
|
+
:dry_run)
|
|
3291
|
+
SENSITIVE = []
|
|
3292
|
+
include Aws::Structure
|
|
3293
|
+
end
|
|
3294
|
+
|
|
3295
|
+
# @!attribute [rw] fca_policy_associations
|
|
3296
|
+
# Information about the policy associations that were created.
|
|
3297
|
+
# @return [Array<Types::FlexCostAllocationPolicyAssociationDescription>]
|
|
3298
|
+
#
|
|
3299
|
+
# @!attribute [rw] fca_policy_association_failures
|
|
3300
|
+
# Information about the network resources that could not be associated
|
|
3301
|
+
# with the policy.
|
|
3302
|
+
# @return [Array<Types::FlexCostAllocationOperationFailure>]
|
|
3303
|
+
#
|
|
3304
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateNetworkingFlexCostAllocationPolicyResult AWS API Documentation
|
|
3305
|
+
#
|
|
3306
|
+
class AssociateNetworkingFlexCostAllocationPolicyResult < Struct.new(
|
|
3307
|
+
:fca_policy_associations,
|
|
3308
|
+
:fca_policy_association_failures)
|
|
3309
|
+
SENSITIVE = []
|
|
3310
|
+
include Aws::Structure
|
|
3311
|
+
end
|
|
3312
|
+
|
|
3180
3313
|
# @!attribute [rw] route_server_id
|
|
3181
3314
|
# The unique identifier for the route server to be associated.
|
|
3182
3315
|
# @return [String]
|
|
@@ -3663,6 +3796,23 @@ module Aws::EC2
|
|
|
3663
3796
|
include Aws::Structure
|
|
3664
3797
|
end
|
|
3665
3798
|
|
|
3799
|
+
# Describes an KMS key that is associated with an Amazon EBS snapshot,
|
|
3800
|
+
# in addition to the key the snapshot is encrypted under. An associated
|
|
3801
|
+
# key provides a second way to access the snapshot's data for
|
|
3802
|
+
# cross-account sharing and copying.
|
|
3803
|
+
#
|
|
3804
|
+
# @!attribute [rw] kms_key_id
|
|
3805
|
+
# The Amazon Resource Name (ARN) of the associated KMS key.
|
|
3806
|
+
# @return [String]
|
|
3807
|
+
#
|
|
3808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociatedKmsKey AWS API Documentation
|
|
3809
|
+
#
|
|
3810
|
+
class AssociatedKmsKey < Struct.new(
|
|
3811
|
+
:kms_key_id)
|
|
3812
|
+
SENSITIVE = []
|
|
3813
|
+
include Aws::Structure
|
|
3814
|
+
end
|
|
3815
|
+
|
|
3666
3816
|
# Information about the associated IAM roles.
|
|
3667
3817
|
#
|
|
3668
3818
|
# @!attribute [rw] associated_role_arn
|
|
@@ -9543,15 +9693,7 @@ module Aws::EC2
|
|
|
9543
9693
|
# @return [String]
|
|
9544
9694
|
#
|
|
9545
9695
|
# @!attribute [rw] destination_region
|
|
9546
|
-
#
|
|
9547
|
-
# snapshot copy operation. This parameter is only valid for specifying
|
|
9548
|
-
# the destination Region in a `PresignedUrl` parameter, where it is
|
|
9549
|
-
# required.
|
|
9550
|
-
#
|
|
9551
|
-
# The snapshot copy is sent to the regional endpoint that you sent the
|
|
9552
|
-
# HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With
|
|
9553
|
-
# the CLI, this is specified using the `--region` parameter or the
|
|
9554
|
-
# default Region in your Amazon Web Services configuration file.
|
|
9696
|
+
# Deprecated.
|
|
9555
9697
|
# @return [String]
|
|
9556
9698
|
#
|
|
9557
9699
|
# @!attribute [rw] encrypted
|
|
@@ -9592,27 +9734,7 @@ module Aws::EC2
|
|
|
9592
9734
|
# @return [String]
|
|
9593
9735
|
#
|
|
9594
9736
|
# @!attribute [rw] presigned_url
|
|
9595
|
-
#
|
|
9596
|
-
# Query API, you must supply a pre-signed URL. This parameter is
|
|
9597
|
-
# optional for unencrypted snapshots. For more information, see [Query
|
|
9598
|
-
# requests][1].
|
|
9599
|
-
#
|
|
9600
|
-
# The `PresignedUrl` should use the snapshot source endpoint, the
|
|
9601
|
-
# `CopySnapshot` action, and include the `SourceRegion`,
|
|
9602
|
-
# `SourceSnapshotId`, and `DestinationRegion` parameters. The
|
|
9603
|
-
# `PresignedUrl` must be signed using Amazon Web Services Signature
|
|
9604
|
-
# Version 4. Because EBS snapshots are stored in Amazon S3, the
|
|
9605
|
-
# signing algorithm for this parameter uses the same logic that is
|
|
9606
|
-
# described in [ Authenticating Requests: Using Query Parameters
|
|
9607
|
-
# (Amazon Web Services Signature Version 4)][2] in the *Amazon S3 API
|
|
9608
|
-
# Reference*. An invalid or improperly signed `PresignedUrl` will
|
|
9609
|
-
# cause the copy operation to fail asynchronously, and the snapshot
|
|
9610
|
-
# will move to an `error` state.
|
|
9611
|
-
#
|
|
9612
|
-
#
|
|
9613
|
-
#
|
|
9614
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html
|
|
9615
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
|
|
9737
|
+
# Deprecated.
|
|
9616
9738
|
# @return [String]
|
|
9617
9739
|
#
|
|
9618
9740
|
# @!attribute [rw] source_region
|
|
@@ -11936,7 +12058,8 @@ module Aws::EC2
|
|
|
11936
12058
|
# @!attribute [rw] traffic_type
|
|
11937
12059
|
# The type of traffic to monitor (accepted traffic, rejected traffic,
|
|
11938
12060
|
# or all traffic). This parameter is not supported for transit gateway
|
|
11939
|
-
# resource types. It is required for the other resource
|
|
12061
|
+
# or Cloud WAN resource types. It is required for the other resource
|
|
12062
|
+
# types.
|
|
11940
12063
|
# @return [String]
|
|
11941
12064
|
#
|
|
11942
12065
|
# @!attribute [rw] log_destination_type
|
|
@@ -11976,8 +12099,9 @@ module Aws::EC2
|
|
|
11976
12099
|
# flow log is created using the default format. If you specify this
|
|
11977
12100
|
# parameter, you must include at least one field. For more information
|
|
11978
12101
|
# about the available fields, see [Flow log records][1] in the *Amazon
|
|
11979
|
-
# VPC User Guide
|
|
11980
|
-
# *Amazon Web Services Transit Gateway Guide
|
|
12102
|
+
# VPC User Guide*, [Transit Gateway Flow Log records][2] in the
|
|
12103
|
+
# *Amazon Web Services Transit Gateway Guide*, or [Cloud WAN Flow Log
|
|
12104
|
+
# records][3] in the *Amazon Web Services Cloud WAN User Guide*.
|
|
11981
12105
|
#
|
|
11982
12106
|
# Specify the fields using the `${field-id}` format, separated by
|
|
11983
12107
|
# spaces.
|
|
@@ -11986,6 +12110,7 @@ module Aws::EC2
|
|
|
11986
12110
|
#
|
|
11987
12111
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html
|
|
11988
12112
|
# [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
|
|
12113
|
+
# [3]: https://docs.aws.amazon.com/network-manager/latest/cloudwan/cwan-flow-logs.html
|
|
11989
12114
|
# @return [String]
|
|
11990
12115
|
#
|
|
11991
12116
|
# @!attribute [rw] tag_specifications
|
|
@@ -11996,7 +12121,8 @@ module Aws::EC2
|
|
|
11996
12121
|
# The maximum interval of time during which a flow of packets is
|
|
11997
12122
|
# captured and aggregated into a flow log record. The possible values
|
|
11998
12123
|
# are 60 seconds (1 minute) or 600 seconds (10 minutes). This
|
|
11999
|
-
# parameter must be 60 seconds for transit gateway
|
|
12124
|
+
# parameter must be 60 seconds for transit gateway and Cloud WAN
|
|
12125
|
+
# resource types.
|
|
12000
12126
|
#
|
|
12001
12127
|
# When a network interface is attached to a [Nitro-based instance][1],
|
|
12002
12128
|
# the aggregation interval is always 60 seconds or less, regardless of
|
|
@@ -12755,7 +12881,7 @@ module Aws::EC2
|
|
|
12755
12881
|
# @return [String]
|
|
12756
12882
|
#
|
|
12757
12883
|
# @!attribute [rw] rir
|
|
12758
|
-
# The
|
|
12884
|
+
# The internet registry to associate with. Possible values:
|
|
12759
12885
|
#
|
|
12760
12886
|
# * `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia).
|
|
12761
12887
|
#
|
|
@@ -12764,6 +12890,8 @@ module Aws::EC2
|
|
|
12764
12890
|
# * `arin` - ARIN (North America).
|
|
12765
12891
|
#
|
|
12766
12892
|
# * `lacnic` - LACNIC (Latin America and the Caribbean).
|
|
12893
|
+
#
|
|
12894
|
+
# * `nicbr` - NIC.br (Brazil).
|
|
12767
12895
|
# @return [String]
|
|
12768
12896
|
#
|
|
12769
12897
|
# @!attribute [rw] organization_handle
|
|
@@ -15016,6 +15144,112 @@ module Aws::EC2
|
|
|
15016
15144
|
include Aws::Structure
|
|
15017
15145
|
end
|
|
15018
15146
|
|
|
15147
|
+
# @!attribute [rw] network_resource_type
|
|
15148
|
+
# The type of network resource that the policy applies to. This
|
|
15149
|
+
# parameter is required. Valid values are `natgw` (NAT gateway), `pcx`
|
|
15150
|
+
# (Amazon VPC peering connection), and `ec2` (EC2 instance).
|
|
15151
|
+
#
|
|
15152
|
+
# Specify the policy document that matches the resource type:
|
|
15153
|
+
# `NatFcaPolicyDocument` for `natgw`, `InstanceFcaPolicyDocument` for
|
|
15154
|
+
# `ec2`, or `PcxFcaPolicyDocument` for `pcx`. Don't specify a policy
|
|
15155
|
+
# document for a different resource type.
|
|
15156
|
+
# @return [String]
|
|
15157
|
+
#
|
|
15158
|
+
# @!attribute [rw] nat_fca_policy_document
|
|
15159
|
+
# The policy document that defines cost allocation for NAT gateways.
|
|
15160
|
+
# Provide this document when `NetworkResourceType` is `natgw`.
|
|
15161
|
+
# @return [Types::NatFlexCostAllocationPolicyDocument]
|
|
15162
|
+
#
|
|
15163
|
+
# @!attribute [rw] instance_fca_policy_document
|
|
15164
|
+
# The policy document that defines cost allocation for EC2 instances.
|
|
15165
|
+
# Provide this document when `NetworkResourceType` is `ec2`.
|
|
15166
|
+
# @return [Types::InstanceFlexCostAllocationPolicyDocument]
|
|
15167
|
+
#
|
|
15168
|
+
# @!attribute [rw] pcx_fca_policy_document
|
|
15169
|
+
# The policy document that defines cost allocation for Amazon VPC
|
|
15170
|
+
# peering connections. Provide this document when
|
|
15171
|
+
# `NetworkResourceType` is `pcx`.
|
|
15172
|
+
# @return [Types::PcxFlexCostAllocationPolicyDocument]
|
|
15173
|
+
#
|
|
15174
|
+
# @!attribute [rw] show_back_enabled
|
|
15175
|
+
# Specifies whether showback reporting is enabled for the policy.
|
|
15176
|
+
#
|
|
15177
|
+
# Default: `true`
|
|
15178
|
+
# @return [Boolean]
|
|
15179
|
+
#
|
|
15180
|
+
# @!attribute [rw] description
|
|
15181
|
+
# A description for the policy. The description can be up to 1024
|
|
15182
|
+
# characters long.
|
|
15183
|
+
# @return [String]
|
|
15184
|
+
#
|
|
15185
|
+
# @!attribute [rw] tag_specifications
|
|
15186
|
+
# The tags to assign to the policy.
|
|
15187
|
+
# @return [Array<Types::TagSpecification>]
|
|
15188
|
+
#
|
|
15189
|
+
# @!attribute [rw] client_token
|
|
15190
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
15191
|
+
# idempotency of the request. For more information, see [Ensuring
|
|
15192
|
+
# idempotency][1].
|
|
15193
|
+
#
|
|
15194
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
15195
|
+
# not need to pass this option.
|
|
15196
|
+
#
|
|
15197
|
+
#
|
|
15198
|
+
#
|
|
15199
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
15200
|
+
# @return [String]
|
|
15201
|
+
#
|
|
15202
|
+
# @!attribute [rw] dry_run
|
|
15203
|
+
# Checks whether you have the required permissions for the action,
|
|
15204
|
+
# without actually making the request, and provides an error response.
|
|
15205
|
+
# If you have the required permissions, the error response is
|
|
15206
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
15207
|
+
# @return [Boolean]
|
|
15208
|
+
#
|
|
15209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkingFlexCostAllocationPolicyRequest AWS API Documentation
|
|
15210
|
+
#
|
|
15211
|
+
class CreateNetworkingFlexCostAllocationPolicyRequest < Struct.new(
|
|
15212
|
+
:network_resource_type,
|
|
15213
|
+
:nat_fca_policy_document,
|
|
15214
|
+
:instance_fca_policy_document,
|
|
15215
|
+
:pcx_fca_policy_document,
|
|
15216
|
+
:show_back_enabled,
|
|
15217
|
+
:description,
|
|
15218
|
+
:tag_specifications,
|
|
15219
|
+
:client_token,
|
|
15220
|
+
:dry_run)
|
|
15221
|
+
SENSITIVE = []
|
|
15222
|
+
include Aws::Structure
|
|
15223
|
+
end
|
|
15224
|
+
|
|
15225
|
+
# @!attribute [rw] fca_policy_id
|
|
15226
|
+
# The ID of the flex cost allocation policy.
|
|
15227
|
+
# @return [String]
|
|
15228
|
+
#
|
|
15229
|
+
# @!attribute [rw] fca_policy_arn
|
|
15230
|
+
# The Amazon Resource Name (ARN) of the flex cost allocation policy.
|
|
15231
|
+
# @return [String]
|
|
15232
|
+
#
|
|
15233
|
+
# @!attribute [rw] created_at
|
|
15234
|
+
# The date and time when the policy was created.
|
|
15235
|
+
# @return [Time]
|
|
15236
|
+
#
|
|
15237
|
+
# @!attribute [rw] expected_effective_at
|
|
15238
|
+
# The date and time when the policy is expected to apply to network
|
|
15239
|
+
# traffic.
|
|
15240
|
+
# @return [Time]
|
|
15241
|
+
#
|
|
15242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkingFlexCostAllocationPolicyResult AWS API Documentation
|
|
15243
|
+
#
|
|
15244
|
+
class CreateNetworkingFlexCostAllocationPolicyResult < Struct.new(
|
|
15245
|
+
:fca_policy_id,
|
|
15246
|
+
:fca_policy_arn,
|
|
15247
|
+
:created_at,
|
|
15248
|
+
:expected_effective_at)
|
|
15249
|
+
SENSITIVE = []
|
|
15250
|
+
include Aws::Structure
|
|
15251
|
+
end
|
|
15252
|
+
|
|
15019
15253
|
# @!attribute [rw] partition_count
|
|
15020
15254
|
# The number of partitions. Valid only when **Strategy** is set to
|
|
15021
15255
|
# `partition`.
|
|
@@ -17103,6 +17337,65 @@ module Aws::EC2
|
|
|
17103
17337
|
include Aws::Structure
|
|
17104
17338
|
end
|
|
17105
17339
|
|
|
17340
|
+
# @!attribute [rw] transit_gateway_id
|
|
17341
|
+
# The ID of the transit gateway. The transit gateway must be in the
|
|
17342
|
+
# `available` state.
|
|
17343
|
+
# @return [String]
|
|
17344
|
+
#
|
|
17345
|
+
# @!attribute [rw] service_name
|
|
17346
|
+
# The name of the Gateway Load Balancer endpoint service.
|
|
17347
|
+
# @return [String]
|
|
17348
|
+
#
|
|
17349
|
+
# @!attribute [rw] availability_zones
|
|
17350
|
+
# The names of the Availability Zones for the attachment. You must
|
|
17351
|
+
# specify at least one Availability Zone, using this parameter,
|
|
17352
|
+
# `AvailabilityZoneIds`, or both. Each Availability Zone must be
|
|
17353
|
+
# supported by both the transit gateway and the endpoint service.
|
|
17354
|
+
# @return [Array<String>]
|
|
17355
|
+
#
|
|
17356
|
+
# @!attribute [rw] availability_zone_ids
|
|
17357
|
+
# The IDs of the Availability Zones for the attachment. You must
|
|
17358
|
+
# specify at least one Availability Zone, using this parameter,
|
|
17359
|
+
# `AvailabilityZones`, or both. Each Availability Zone must be
|
|
17360
|
+
# supported by both the transit gateway and the endpoint service.
|
|
17361
|
+
# @return [Array<String>]
|
|
17362
|
+
#
|
|
17363
|
+
# @!attribute [rw] tag_specifications
|
|
17364
|
+
# The tags to apply to the network function attachment.
|
|
17365
|
+
# @return [Array<Types::TagSpecification>]
|
|
17366
|
+
#
|
|
17367
|
+
# @!attribute [rw] dry_run
|
|
17368
|
+
# Checks whether you have the required permissions for the action,
|
|
17369
|
+
# without actually making the request, and provides an error response.
|
|
17370
|
+
# If you have the required permissions, the error response is
|
|
17371
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
17372
|
+
# @return [Boolean]
|
|
17373
|
+
#
|
|
17374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayNetworkFunctionAttachmentRequest AWS API Documentation
|
|
17375
|
+
#
|
|
17376
|
+
class CreateTransitGatewayNetworkFunctionAttachmentRequest < Struct.new(
|
|
17377
|
+
:transit_gateway_id,
|
|
17378
|
+
:service_name,
|
|
17379
|
+
:availability_zones,
|
|
17380
|
+
:availability_zone_ids,
|
|
17381
|
+
:tag_specifications,
|
|
17382
|
+
:dry_run)
|
|
17383
|
+
SENSITIVE = []
|
|
17384
|
+
include Aws::Structure
|
|
17385
|
+
end
|
|
17386
|
+
|
|
17387
|
+
# @!attribute [rw] transit_gateway_network_function_attachment
|
|
17388
|
+
# Information about the network function attachment.
|
|
17389
|
+
# @return [Types::TransitGatewayNetworkFunctionAttachment]
|
|
17390
|
+
#
|
|
17391
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayNetworkFunctionAttachmentResult AWS API Documentation
|
|
17392
|
+
#
|
|
17393
|
+
class CreateTransitGatewayNetworkFunctionAttachmentResult < Struct.new(
|
|
17394
|
+
:transit_gateway_network_function_attachment)
|
|
17395
|
+
SENSITIVE = []
|
|
17396
|
+
include Aws::Structure
|
|
17397
|
+
end
|
|
17398
|
+
|
|
17106
17399
|
# @!attribute [rw] transit_gateway_id
|
|
17107
17400
|
# The ID of the transit gateway.
|
|
17108
17401
|
# @return [String]
|
|
@@ -21481,6 +21774,44 @@ module Aws::EC2
|
|
|
21481
21774
|
include Aws::Structure
|
|
21482
21775
|
end
|
|
21483
21776
|
|
|
21777
|
+
# @!attribute [rw] fca_policy_ids
|
|
21778
|
+
# The IDs of the flex cost allocation policies to delete. You can
|
|
21779
|
+
# specify up to 50 policy IDs. This parameter is required.
|
|
21780
|
+
# @return [Array<String>]
|
|
21781
|
+
#
|
|
21782
|
+
# @!attribute [rw] dry_run
|
|
21783
|
+
# Checks whether you have the required permissions for the action,
|
|
21784
|
+
# without actually making the request, and provides an error response.
|
|
21785
|
+
# If you have the required permissions, the error response is
|
|
21786
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
21787
|
+
# @return [Boolean]
|
|
21788
|
+
#
|
|
21789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkingFlexCostAllocationPoliciesRequest AWS API Documentation
|
|
21790
|
+
#
|
|
21791
|
+
class DeleteNetworkingFlexCostAllocationPoliciesRequest < Struct.new(
|
|
21792
|
+
:fca_policy_ids,
|
|
21793
|
+
:dry_run)
|
|
21794
|
+
SENSITIVE = []
|
|
21795
|
+
include Aws::Structure
|
|
21796
|
+
end
|
|
21797
|
+
|
|
21798
|
+
# @!attribute [rw] successful
|
|
21799
|
+
# The IDs of the policies that were successfully deleted.
|
|
21800
|
+
# @return [Array<String>]
|
|
21801
|
+
#
|
|
21802
|
+
# @!attribute [rw] failed
|
|
21803
|
+
# Information about the policies that could not be deleted.
|
|
21804
|
+
# @return [Array<Types::FlexCostAllocationOperationFailure>]
|
|
21805
|
+
#
|
|
21806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkingFlexCostAllocationPoliciesResult AWS API Documentation
|
|
21807
|
+
#
|
|
21808
|
+
class DeleteNetworkingFlexCostAllocationPoliciesResult < Struct.new(
|
|
21809
|
+
:successful,
|
|
21810
|
+
:failed)
|
|
21811
|
+
SENSITIVE = []
|
|
21812
|
+
include Aws::Structure
|
|
21813
|
+
end
|
|
21814
|
+
|
|
21484
21815
|
# @!attribute [rw] dry_run
|
|
21485
21816
|
# Checks whether you have the required permissions for the operation,
|
|
21486
21817
|
# without actually making the request, and provides an error response.
|
|
@@ -22404,6 +22735,38 @@ module Aws::EC2
|
|
|
22404
22735
|
include Aws::Structure
|
|
22405
22736
|
end
|
|
22406
22737
|
|
|
22738
|
+
# @!attribute [rw] transit_gateway_attachment_id
|
|
22739
|
+
# The ID of the network function attachment.
|
|
22740
|
+
# @return [String]
|
|
22741
|
+
#
|
|
22742
|
+
# @!attribute [rw] dry_run
|
|
22743
|
+
# Checks whether you have the required permissions for the action,
|
|
22744
|
+
# without actually making the request, and provides an error response.
|
|
22745
|
+
# If you have the required permissions, the error response is
|
|
22746
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
22747
|
+
# @return [Boolean]
|
|
22748
|
+
#
|
|
22749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayNetworkFunctionAttachmentRequest AWS API Documentation
|
|
22750
|
+
#
|
|
22751
|
+
class DeleteTransitGatewayNetworkFunctionAttachmentRequest < Struct.new(
|
|
22752
|
+
:transit_gateway_attachment_id,
|
|
22753
|
+
:dry_run)
|
|
22754
|
+
SENSITIVE = []
|
|
22755
|
+
include Aws::Structure
|
|
22756
|
+
end
|
|
22757
|
+
|
|
22758
|
+
# @!attribute [rw] transit_gateway_network_function_attachment
|
|
22759
|
+
# Information about the deleted network function attachment.
|
|
22760
|
+
# @return [Types::TransitGatewayNetworkFunctionAttachment]
|
|
22761
|
+
#
|
|
22762
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayNetworkFunctionAttachmentResult AWS API Documentation
|
|
22763
|
+
#
|
|
22764
|
+
class DeleteTransitGatewayNetworkFunctionAttachmentResult < Struct.new(
|
|
22765
|
+
:transit_gateway_network_function_attachment)
|
|
22766
|
+
SENSITIVE = []
|
|
22767
|
+
include Aws::Structure
|
|
22768
|
+
end
|
|
22769
|
+
|
|
22407
22770
|
# @!attribute [rw] transit_gateway_attachment_id
|
|
22408
22771
|
# The ID of the transit gateway peering attachment.
|
|
22409
22772
|
# @return [String]
|
|
@@ -32663,6 +33026,138 @@ module Aws::EC2
|
|
|
32663
33026
|
include Aws::Structure
|
|
32664
33027
|
end
|
|
32665
33028
|
|
|
33029
|
+
# @!attribute [rw] fca_policy_ids
|
|
33030
|
+
# The IDs of the flex cost allocation policies to describe.
|
|
33031
|
+
# @return [Array<String>]
|
|
33032
|
+
#
|
|
33033
|
+
# @!attribute [rw] max_results
|
|
33034
|
+
# The maximum number of results to return in a single call. The range
|
|
33035
|
+
# is 5 to 1000. To retrieve the remaining results, make another call
|
|
33036
|
+
# with the returned `nextToken` value.
|
|
33037
|
+
#
|
|
33038
|
+
# Default: 100
|
|
33039
|
+
# @return [Integer]
|
|
33040
|
+
#
|
|
33041
|
+
# @!attribute [rw] filters
|
|
33042
|
+
# The filters.
|
|
33043
|
+
#
|
|
33044
|
+
# * `fca-policy-id` - The ID of the policy.
|
|
33045
|
+
#
|
|
33046
|
+
# * `managed-by` - The entity that manages the policy (`account` \|
|
|
33047
|
+
# `declarative-policy`).
|
|
33048
|
+
#
|
|
33049
|
+
# * `network-resource-type` - The type of network resource that the
|
|
33050
|
+
# policy applies to (`natgw` \| `ec2` \| `pcx`).
|
|
33051
|
+
#
|
|
33052
|
+
# * `showback-enabled` - Indicates whether showback reporting is
|
|
33053
|
+
# enabled for the policy (`true` \| `false`).
|
|
33054
|
+
# @return [Array<Types::Filter>]
|
|
33055
|
+
#
|
|
33056
|
+
# @!attribute [rw] next_token
|
|
33057
|
+
# The token for the next page of results.
|
|
33058
|
+
# @return [String]
|
|
33059
|
+
#
|
|
33060
|
+
# @!attribute [rw] dry_run
|
|
33061
|
+
# Checks whether you have the required permissions for the action,
|
|
33062
|
+
# without actually making the request, and provides an error response.
|
|
33063
|
+
# If you have the required permissions, the error response is
|
|
33064
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
33065
|
+
# @return [Boolean]
|
|
33066
|
+
#
|
|
33067
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkingFlexCostAllocationPoliciesRequest AWS API Documentation
|
|
33068
|
+
#
|
|
33069
|
+
class DescribeNetworkingFlexCostAllocationPoliciesRequest < Struct.new(
|
|
33070
|
+
:fca_policy_ids,
|
|
33071
|
+
:max_results,
|
|
33072
|
+
:filters,
|
|
33073
|
+
:next_token,
|
|
33074
|
+
:dry_run)
|
|
33075
|
+
SENSITIVE = []
|
|
33076
|
+
include Aws::Structure
|
|
33077
|
+
end
|
|
33078
|
+
|
|
33079
|
+
# @!attribute [rw] flex_cost_allocation_policies
|
|
33080
|
+
# Information about the flex cost allocation policies.
|
|
33081
|
+
# @return [Array<Types::FlexCostAllocationPolicyDescription>]
|
|
33082
|
+
#
|
|
33083
|
+
# @!attribute [rw] next_token
|
|
33084
|
+
# The token to use to retrieve the next page of results. This value is
|
|
33085
|
+
# `null` when there are no more results to return.
|
|
33086
|
+
# @return [String]
|
|
33087
|
+
#
|
|
33088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkingFlexCostAllocationPoliciesResult AWS API Documentation
|
|
33089
|
+
#
|
|
33090
|
+
class DescribeNetworkingFlexCostAllocationPoliciesResult < Struct.new(
|
|
33091
|
+
:flex_cost_allocation_policies,
|
|
33092
|
+
:next_token)
|
|
33093
|
+
SENSITIVE = []
|
|
33094
|
+
include Aws::Structure
|
|
33095
|
+
end
|
|
33096
|
+
|
|
33097
|
+
# @!attribute [rw] fca_policy_association_ids
|
|
33098
|
+
# The IDs of the policy associations to describe.
|
|
33099
|
+
# @return [Array<String>]
|
|
33100
|
+
#
|
|
33101
|
+
# @!attribute [rw] max_results
|
|
33102
|
+
# The maximum number of results to return in a single call. The range
|
|
33103
|
+
# is 5 to 1000. To retrieve the remaining results, make another call
|
|
33104
|
+
# with the returned `nextToken` value.
|
|
33105
|
+
#
|
|
33106
|
+
# Default: 100
|
|
33107
|
+
# @return [Integer]
|
|
33108
|
+
#
|
|
33109
|
+
# @!attribute [rw] filters
|
|
33110
|
+
# The filters.
|
|
33111
|
+
#
|
|
33112
|
+
# * `fca-policy-id` - The ID of the policy.
|
|
33113
|
+
#
|
|
33114
|
+
# * `managed-by` - The entity that manages the association (`account`
|
|
33115
|
+
# \| `declarative-policy`).
|
|
33116
|
+
#
|
|
33117
|
+
# * `resource-id` - The ID of the associated network resource.
|
|
33118
|
+
# @return [Array<Types::Filter>]
|
|
33119
|
+
#
|
|
33120
|
+
# @!attribute [rw] next_token
|
|
33121
|
+
# The token for the next page of results.
|
|
33122
|
+
# @return [String]
|
|
33123
|
+
#
|
|
33124
|
+
# @!attribute [rw] dry_run
|
|
33125
|
+
# Checks whether you have the required permissions for the action,
|
|
33126
|
+
# without actually making the request, and provides an error response.
|
|
33127
|
+
# If you have the required permissions, the error response is
|
|
33128
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
33129
|
+
# @return [Boolean]
|
|
33130
|
+
#
|
|
33131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkingFlexCostAllocationPolicyAssociationsRequest AWS API Documentation
|
|
33132
|
+
#
|
|
33133
|
+
class DescribeNetworkingFlexCostAllocationPolicyAssociationsRequest < Struct.new(
|
|
33134
|
+
:fca_policy_association_ids,
|
|
33135
|
+
:max_results,
|
|
33136
|
+
:filters,
|
|
33137
|
+
:next_token,
|
|
33138
|
+
:dry_run)
|
|
33139
|
+
SENSITIVE = []
|
|
33140
|
+
include Aws::Structure
|
|
33141
|
+
end
|
|
33142
|
+
|
|
33143
|
+
# @!attribute [rw] fca_policy_associations
|
|
33144
|
+
# Information about the policy associations.
|
|
33145
|
+
# @return [Array<Types::FlexCostAllocationPolicyAssociationDescription>]
|
|
33146
|
+
#
|
|
33147
|
+
# @!attribute [rw] next_token
|
|
33148
|
+
# The token to use to retrieve the next page of results. This value is
|
|
33149
|
+
# `null` when there are no more results to return.
|
|
33150
|
+
# @return [String]
|
|
33151
|
+
#
|
|
33152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkingFlexCostAllocationPolicyAssociationsResult AWS API Documentation
|
|
33153
|
+
#
|
|
33154
|
+
class DescribeNetworkingFlexCostAllocationPolicyAssociationsResult < Struct.new(
|
|
33155
|
+
:fca_policy_associations,
|
|
33156
|
+
:next_token)
|
|
33157
|
+
SENSITIVE = []
|
|
33158
|
+
include Aws::Structure
|
|
33159
|
+
end
|
|
33160
|
+
|
|
32666
33161
|
# @!attribute [rw] outpost_lag_ids
|
|
32667
33162
|
# The IDs of the Outpost LAGs.
|
|
32668
33163
|
# @return [Array<String>]
|
|
@@ -36442,6 +36937,73 @@ module Aws::EC2
|
|
|
36442
36937
|
include Aws::Structure
|
|
36443
36938
|
end
|
|
36444
36939
|
|
|
36940
|
+
# @!attribute [rw] transit_gateway_attachment_ids
|
|
36941
|
+
# The IDs of the network function attachments.
|
|
36942
|
+
# @return [Array<String>]
|
|
36943
|
+
#
|
|
36944
|
+
# @!attribute [rw] filters
|
|
36945
|
+
# One or more filters. The possible values are:
|
|
36946
|
+
#
|
|
36947
|
+
# * `service-name` - The name of the Gateway Load Balancer endpoint
|
|
36948
|
+
# service.
|
|
36949
|
+
#
|
|
36950
|
+
# * `state` - The state of the attachment. Valid values are
|
|
36951
|
+
# `available` \| `deleted` \| `deleting` \| `failed` \| `failing` \|
|
|
36952
|
+
# `modifying` \| `pendingAcceptance` \| `pending` \| `rollingBack`
|
|
36953
|
+
# \| `rejected` \| `rejecting`.
|
|
36954
|
+
#
|
|
36955
|
+
# * `transit-gateway-attachment-id` - The ID of the attachment.
|
|
36956
|
+
#
|
|
36957
|
+
# * `transit-gateway-id` - The ID of the transit gateway.
|
|
36958
|
+
# @return [Array<Types::Filter>]
|
|
36959
|
+
#
|
|
36960
|
+
# @!attribute [rw] max_results
|
|
36961
|
+
# The maximum number of results to return with a single call. To
|
|
36962
|
+
# retrieve the remaining results, make another call with the returned
|
|
36963
|
+
# `nextToken` value.
|
|
36964
|
+
# @return [Integer]
|
|
36965
|
+
#
|
|
36966
|
+
# @!attribute [rw] next_token
|
|
36967
|
+
# The token for the next page of results.
|
|
36968
|
+
# @return [String]
|
|
36969
|
+
#
|
|
36970
|
+
# @!attribute [rw] dry_run
|
|
36971
|
+
# Checks whether you have the required permissions for the action,
|
|
36972
|
+
# without actually making the request, and provides an error response.
|
|
36973
|
+
# If you have the required permissions, the error response is
|
|
36974
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
36975
|
+
# @return [Boolean]
|
|
36976
|
+
#
|
|
36977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayNetworkFunctionAttachmentsRequest AWS API Documentation
|
|
36978
|
+
#
|
|
36979
|
+
class DescribeTransitGatewayNetworkFunctionAttachmentsRequest < Struct.new(
|
|
36980
|
+
:transit_gateway_attachment_ids,
|
|
36981
|
+
:filters,
|
|
36982
|
+
:max_results,
|
|
36983
|
+
:next_token,
|
|
36984
|
+
:dry_run)
|
|
36985
|
+
SENSITIVE = []
|
|
36986
|
+
include Aws::Structure
|
|
36987
|
+
end
|
|
36988
|
+
|
|
36989
|
+
# @!attribute [rw] transit_gateway_network_function_attachments
|
|
36990
|
+
# Information about the network function attachments.
|
|
36991
|
+
# @return [Array<Types::TransitGatewayNetworkFunctionAttachment>]
|
|
36992
|
+
#
|
|
36993
|
+
# @!attribute [rw] next_token
|
|
36994
|
+
# The token to use to retrieve the next page of results. This value is
|
|
36995
|
+
# `null` when there are no more results to return.
|
|
36996
|
+
# @return [String]
|
|
36997
|
+
#
|
|
36998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayNetworkFunctionAttachmentsResult AWS API Documentation
|
|
36999
|
+
#
|
|
37000
|
+
class DescribeTransitGatewayNetworkFunctionAttachmentsResult < Struct.new(
|
|
37001
|
+
:transit_gateway_network_function_attachments,
|
|
37002
|
+
:next_token)
|
|
37003
|
+
SENSITIVE = []
|
|
37004
|
+
include Aws::Structure
|
|
37005
|
+
end
|
|
37006
|
+
|
|
36445
37007
|
# @!attribute [rw] transit_gateway_attachment_ids
|
|
36446
37008
|
# One or more IDs of the transit gateway peering attachments.
|
|
36447
37009
|
# @return [Array<String>]
|
|
@@ -37307,6 +37869,12 @@ module Aws::EC2
|
|
|
37307
37869
|
#
|
|
37308
37870
|
# * `action.event-id` - The event ID associated with the action.
|
|
37309
37871
|
#
|
|
37872
|
+
# * `attachment-status.instance-id` - The ID of the instance that the
|
|
37873
|
+
# volume is attached to.
|
|
37874
|
+
#
|
|
37875
|
+
# * `attachment-status.io-performance` - The I/O performance status of
|
|
37876
|
+
# the volume's attachment to the instance.
|
|
37877
|
+
#
|
|
37310
37878
|
# * `availability-zone` - The Availability Zone of the instance.
|
|
37311
37879
|
#
|
|
37312
37880
|
# * `event.description` - A description of the event.
|
|
@@ -38079,6 +38647,9 @@ module Aws::EC2
|
|
|
38079
38647
|
#
|
|
38080
38648
|
# * `service-id` - The ID of the service.
|
|
38081
38649
|
#
|
|
38650
|
+
# * `transit-gateway-attachment-id` - The ID of the transit gateway
|
|
38651
|
+
# attachment.
|
|
38652
|
+
#
|
|
38082
38653
|
# * `vpc-endpoint-owner` - The ID of the Amazon Web Services account
|
|
38083
38654
|
# ID that owns the endpoint.
|
|
38084
38655
|
#
|
|
@@ -38224,6 +38795,9 @@ module Aws::EC2
|
|
|
38224
38795
|
# @!attribute [rw] filters
|
|
38225
38796
|
# The filters.
|
|
38226
38797
|
#
|
|
38798
|
+
# * `permission-type` - The permission type (`vpc-endpoint` \|
|
|
38799
|
+
# `transit-gateway-attachment`).
|
|
38800
|
+
#
|
|
38227
38801
|
# * `principal` - The ARN of the principal.
|
|
38228
38802
|
#
|
|
38229
38803
|
# * `principal-type` - The principal type (`All` \| `Service` \|
|
|
@@ -40694,6 +41268,45 @@ module Aws::EC2
|
|
|
40694
41268
|
include Aws::Structure
|
|
40695
41269
|
end
|
|
40696
41270
|
|
|
41271
|
+
# @!attribute [rw] snapshot_id
|
|
41272
|
+
# The ID of the Amazon EBS snapshot.
|
|
41273
|
+
# @return [String]
|
|
41274
|
+
#
|
|
41275
|
+
# @!attribute [rw] kms_key_id
|
|
41276
|
+
# The ID, alias, or ARN of the associated KMS key to remove from the
|
|
41277
|
+
# snapshot.
|
|
41278
|
+
# @return [String]
|
|
41279
|
+
#
|
|
41280
|
+
# @!attribute [rw] dry_run
|
|
41281
|
+
# Checks whether you have the required permissions for the action,
|
|
41282
|
+
# without actually making the request, and provides an error response.
|
|
41283
|
+
# If you have the required permissions, the error response is
|
|
41284
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
41285
|
+
# @return [Boolean]
|
|
41286
|
+
#
|
|
41287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateKmsKeyIdRequest AWS API Documentation
|
|
41288
|
+
#
|
|
41289
|
+
class DisassociateKmsKeyIdRequest < Struct.new(
|
|
41290
|
+
:snapshot_id,
|
|
41291
|
+
:kms_key_id,
|
|
41292
|
+
:dry_run)
|
|
41293
|
+
SENSITIVE = []
|
|
41294
|
+
include Aws::Structure
|
|
41295
|
+
end
|
|
41296
|
+
|
|
41297
|
+
# @!attribute [rw] return
|
|
41298
|
+
# Returns `true` if the request succeeds; otherwise, it returns an
|
|
41299
|
+
# error.
|
|
41300
|
+
# @return [Boolean]
|
|
41301
|
+
#
|
|
41302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateKmsKeyIdResult AWS API Documentation
|
|
41303
|
+
#
|
|
41304
|
+
class DisassociateKmsKeyIdResult < Struct.new(
|
|
41305
|
+
:return)
|
|
41306
|
+
SENSITIVE = []
|
|
41307
|
+
include Aws::Structure
|
|
41308
|
+
end
|
|
41309
|
+
|
|
40697
41310
|
# @!attribute [rw] nat_gateway_id
|
|
40698
41311
|
# The ID of the NAT gateway.
|
|
40699
41312
|
# @return [String]
|
|
@@ -40744,6 +41357,44 @@ module Aws::EC2
|
|
|
40744
41357
|
include Aws::Structure
|
|
40745
41358
|
end
|
|
40746
41359
|
|
|
41360
|
+
# @!attribute [rw] fca_policy_association_ids
|
|
41361
|
+
# The IDs of the policy associations to remove. You can specify up to
|
|
41362
|
+
# 100 association IDs. This parameter is required.
|
|
41363
|
+
# @return [Array<String>]
|
|
41364
|
+
#
|
|
41365
|
+
# @!attribute [rw] dry_run
|
|
41366
|
+
# Checks whether you have the required permissions for the action,
|
|
41367
|
+
# without actually making the request, and provides an error response.
|
|
41368
|
+
# If you have the required permissions, the error response is
|
|
41369
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
41370
|
+
# @return [Boolean]
|
|
41371
|
+
#
|
|
41372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateNetworkingFlexCostAllocationPolicyRequest AWS API Documentation
|
|
41373
|
+
#
|
|
41374
|
+
class DisassociateNetworkingFlexCostAllocationPolicyRequest < Struct.new(
|
|
41375
|
+
:fca_policy_association_ids,
|
|
41376
|
+
:dry_run)
|
|
41377
|
+
SENSITIVE = []
|
|
41378
|
+
include Aws::Structure
|
|
41379
|
+
end
|
|
41380
|
+
|
|
41381
|
+
# @!attribute [rw] fca_policy_disassociations
|
|
41382
|
+
# The IDs of the policy associations that were removed.
|
|
41383
|
+
# @return [Array<String>]
|
|
41384
|
+
#
|
|
41385
|
+
# @!attribute [rw] fca_policy_disassociation_failures
|
|
41386
|
+
# Information about the policy associations that could not be removed.
|
|
41387
|
+
# @return [Array<Types::FlexCostAllocationOperationFailure>]
|
|
41388
|
+
#
|
|
41389
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateNetworkingFlexCostAllocationPolicyResult AWS API Documentation
|
|
41390
|
+
#
|
|
41391
|
+
class DisassociateNetworkingFlexCostAllocationPolicyResult < Struct.new(
|
|
41392
|
+
:fca_policy_disassociations,
|
|
41393
|
+
:fca_policy_disassociation_failures)
|
|
41394
|
+
SENSITIVE = []
|
|
41395
|
+
include Aws::Structure
|
|
41396
|
+
end
|
|
41397
|
+
|
|
40747
41398
|
# @!attribute [rw] route_server_id
|
|
40748
41399
|
# The ID of the route server to disassociate.
|
|
40749
41400
|
# @return [String]
|
|
@@ -46238,6 +46889,336 @@ module Aws::EC2
|
|
|
46238
46889
|
include Aws::Structure
|
|
46239
46890
|
end
|
|
46240
46891
|
|
|
46892
|
+
# Maps a CIDR range to a label for cost allocation reporting.
|
|
46893
|
+
#
|
|
46894
|
+
# @!attribute [rw] cidr_range
|
|
46895
|
+
# The CIDR range. This parameter is required.
|
|
46896
|
+
# @return [String]
|
|
46897
|
+
#
|
|
46898
|
+
# @!attribute [rw] cidr_label
|
|
46899
|
+
# The label to assign to the CIDR range. The label can be up to 64
|
|
46900
|
+
# characters long. It can contain letters, numbers, hyphens (`-`), and
|
|
46901
|
+
# underscores (`_`), and must start with a letter or a number. This
|
|
46902
|
+
# parameter is required.
|
|
46903
|
+
# @return [String]
|
|
46904
|
+
#
|
|
46905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationCidrMapping AWS API Documentation
|
|
46906
|
+
#
|
|
46907
|
+
class FlexCostAllocationCidrMapping < Struct.new(
|
|
46908
|
+
:cidr_range,
|
|
46909
|
+
:cidr_label)
|
|
46910
|
+
SENSITIVE = []
|
|
46911
|
+
include Aws::Structure
|
|
46912
|
+
end
|
|
46913
|
+
|
|
46914
|
+
# Specifies the CIDR ranges and labels to use for cost allocation when
|
|
46915
|
+
# the reporting granularity is `cidr`.
|
|
46916
|
+
#
|
|
46917
|
+
# @!attribute [rw] prefixes_type
|
|
46918
|
+
# The type of prefixes to use. This parameter is required. Valid
|
|
46919
|
+
# values are `source-prefixes` and `destination-prefixes`.
|
|
46920
|
+
# @return [String]
|
|
46921
|
+
#
|
|
46922
|
+
# @!attribute [rw] prefixes
|
|
46923
|
+
# The CIDR range to label mappings. You can specify from 1 to 100
|
|
46924
|
+
# mappings. This parameter is required.
|
|
46925
|
+
# @return [Array<Types::FlexCostAllocationCidrMapping>]
|
|
46926
|
+
#
|
|
46927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationCidrRangeSpecifications AWS API Documentation
|
|
46928
|
+
#
|
|
46929
|
+
class FlexCostAllocationCidrRangeSpecifications < Struct.new(
|
|
46930
|
+
:prefixes_type,
|
|
46931
|
+
:prefixes)
|
|
46932
|
+
SENSITIVE = []
|
|
46933
|
+
include Aws::Structure
|
|
46934
|
+
end
|
|
46935
|
+
|
|
46936
|
+
# Specifies a scope of network resources for a scope-based policy
|
|
46937
|
+
# association.
|
|
46938
|
+
#
|
|
46939
|
+
# @!attribute [rw] resource_type
|
|
46940
|
+
# The type of scope. This parameter is required. Valid values are
|
|
46941
|
+
# `account`, `vpc`, and `subnet`.
|
|
46942
|
+
# @return [String]
|
|
46943
|
+
#
|
|
46944
|
+
# @!attribute [rw] resource_ids
|
|
46945
|
+
# The IDs of the resources owned by you that define the scope. You can
|
|
46946
|
+
# specify from 1 to 20 IDs. This parameter is required.
|
|
46947
|
+
# @return [Array<String>]
|
|
46948
|
+
#
|
|
46949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationNetworkResourceScope AWS API Documentation
|
|
46950
|
+
#
|
|
46951
|
+
class FlexCostAllocationNetworkResourceScope < Struct.new(
|
|
46952
|
+
:resource_type,
|
|
46953
|
+
:resource_ids)
|
|
46954
|
+
SENSITIVE = []
|
|
46955
|
+
include Aws::Structure
|
|
46956
|
+
end
|
|
46957
|
+
|
|
46958
|
+
# Describes a policy, association, or network resource that a Networking
|
|
46959
|
+
# Flexible Cost Allocation operation failed to process.
|
|
46960
|
+
#
|
|
46961
|
+
# @!attribute [rw] resource_id
|
|
46962
|
+
# The ID of the resource that could not be processed.
|
|
46963
|
+
# @return [String]
|
|
46964
|
+
#
|
|
46965
|
+
# @!attribute [rw] failure_code
|
|
46966
|
+
# The code that identifies the type of failure. Possible values are:
|
|
46967
|
+
#
|
|
46968
|
+
# * `ResourceNotFound` -
|
|
46969
|
+
# (`DeleteNetworkingFlexCostAllocationPolicies`) The policy doesn't
|
|
46970
|
+
# exist or isn't owned by your account.
|
|
46971
|
+
#
|
|
46972
|
+
# * `InvalidResourceState` -
|
|
46973
|
+
# (`DeleteNetworkingFlexCostAllocationPolicies`) The policy has
|
|
46974
|
+
# active associations.
|
|
46975
|
+
#
|
|
46976
|
+
# * `InvalidResource` -
|
|
46977
|
+
# (`AssociateNetworkingFlexCostAllocationPolicy`) The resource ID is
|
|
46978
|
+
# malformed, the resource type doesn't match the policy, or the
|
|
46979
|
+
# scope is an account other than yours.
|
|
46980
|
+
# (`DisassociateNetworkingFlexCostAllocationPolicy`) The association
|
|
46981
|
+
# doesn't exist or was already removed.
|
|
46982
|
+
#
|
|
46983
|
+
# * `ResourceAlreadyAssociated` -
|
|
46984
|
+
# (`AssociateNetworkingFlexCostAllocationPolicy`) The resource
|
|
46985
|
+
# already has an active association.
|
|
46986
|
+
#
|
|
46987
|
+
# * `InternalError` - An internal error occurred. Retry the request.
|
|
46988
|
+
# @return [String]
|
|
46989
|
+
#
|
|
46990
|
+
# @!attribute [rw] failure_reason
|
|
46991
|
+
# The reason for the failure.
|
|
46992
|
+
# @return [String]
|
|
46993
|
+
#
|
|
46994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationOperationFailure AWS API Documentation
|
|
46995
|
+
#
|
|
46996
|
+
class FlexCostAllocationOperationFailure < Struct.new(
|
|
46997
|
+
:resource_id,
|
|
46998
|
+
:failure_code,
|
|
46999
|
+
:failure_reason)
|
|
47000
|
+
SENSITIVE = []
|
|
47001
|
+
include Aws::Structure
|
|
47002
|
+
end
|
|
47003
|
+
|
|
47004
|
+
# Describes an association between a flex cost allocation policy and a
|
|
47005
|
+
# network resource.
|
|
47006
|
+
#
|
|
47007
|
+
# @!attribute [rw] fca_policy_association_id
|
|
47008
|
+
# The ID of the policy association.
|
|
47009
|
+
# @return [String]
|
|
47010
|
+
#
|
|
47011
|
+
# @!attribute [rw] fca_policy_id
|
|
47012
|
+
# The ID of the policy.
|
|
47013
|
+
# @return [String]
|
|
47014
|
+
#
|
|
47015
|
+
# @!attribute [rw] network_resource_id
|
|
47016
|
+
# The ID of the associated network resource.
|
|
47017
|
+
# @return [String]
|
|
47018
|
+
#
|
|
47019
|
+
# @!attribute [rw] owner_account
|
|
47020
|
+
# The ID of the account that owns the association.
|
|
47021
|
+
# @return [String]
|
|
47022
|
+
#
|
|
47023
|
+
# @!attribute [rw] associated_at
|
|
47024
|
+
# The date and time when the association was created.
|
|
47025
|
+
# @return [Time]
|
|
47026
|
+
#
|
|
47027
|
+
# @!attribute [rw] expected_effective_at
|
|
47028
|
+
# The date and time when the association is expected to apply to
|
|
47029
|
+
# network traffic.
|
|
47030
|
+
# @return [Time]
|
|
47031
|
+
#
|
|
47032
|
+
# @!attribute [rw] association_mode
|
|
47033
|
+
# The mode of the association. Valid values:
|
|
47034
|
+
#
|
|
47035
|
+
# * `direct` - The policy is associated with specific resources by
|
|
47036
|
+
# resource ID.
|
|
47037
|
+
#
|
|
47038
|
+
# * `scope` - The policy is associated with a scope of resources in an
|
|
47039
|
+
# account, Amazon VPC, or subnet.
|
|
47040
|
+
# @return [String]
|
|
47041
|
+
#
|
|
47042
|
+
# @!attribute [rw] managed_by
|
|
47043
|
+
# The entity that manages the association. Valid values are:
|
|
47044
|
+
#
|
|
47045
|
+
# * `account` - The account that owns the association created it.
|
|
47046
|
+
#
|
|
47047
|
+
# * `declarative-policy` - An Amazon Web Services Organizations
|
|
47048
|
+
# declarative policy created the association. You can't remove the
|
|
47049
|
+
# association.
|
|
47050
|
+
# @return [String]
|
|
47051
|
+
#
|
|
47052
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationPolicyAssociationDescription AWS API Documentation
|
|
47053
|
+
#
|
|
47054
|
+
class FlexCostAllocationPolicyAssociationDescription < Struct.new(
|
|
47055
|
+
:fca_policy_association_id,
|
|
47056
|
+
:fca_policy_id,
|
|
47057
|
+
:network_resource_id,
|
|
47058
|
+
:owner_account,
|
|
47059
|
+
:associated_at,
|
|
47060
|
+
:expected_effective_at,
|
|
47061
|
+
:association_mode,
|
|
47062
|
+
:managed_by)
|
|
47063
|
+
SENSITIVE = []
|
|
47064
|
+
include Aws::Structure
|
|
47065
|
+
end
|
|
47066
|
+
|
|
47067
|
+
# Describes a flex cost allocation policy.
|
|
47068
|
+
#
|
|
47069
|
+
# @!attribute [rw] fca_policy_id
|
|
47070
|
+
# The ID of the policy.
|
|
47071
|
+
# @return [String]
|
|
47072
|
+
#
|
|
47073
|
+
# @!attribute [rw] fca_policy_arn
|
|
47074
|
+
# The Amazon Resource Name (ARN) of the policy.
|
|
47075
|
+
# @return [String]
|
|
47076
|
+
#
|
|
47077
|
+
# @!attribute [rw] network_resource_type
|
|
47078
|
+
# The type of network resource that the policy applies to.
|
|
47079
|
+
# @return [String]
|
|
47080
|
+
#
|
|
47081
|
+
# @!attribute [rw] nat_fca_policy_document
|
|
47082
|
+
# The policy document that defines cost allocation for NAT gateways.
|
|
47083
|
+
# @return [Types::NatFlexCostAllocationPolicyDocument]
|
|
47084
|
+
#
|
|
47085
|
+
# @!attribute [rw] instance_fca_policy_document
|
|
47086
|
+
# The policy document that defines cost allocation for EC2 instances.
|
|
47087
|
+
# @return [Types::InstanceFlexCostAllocationPolicyDocument]
|
|
47088
|
+
#
|
|
47089
|
+
# @!attribute [rw] pcx_fca_policy_document
|
|
47090
|
+
# The policy document that defines cost allocation for Amazon VPC
|
|
47091
|
+
# peering connections.
|
|
47092
|
+
# @return [Types::PcxFlexCostAllocationPolicyDocument]
|
|
47093
|
+
#
|
|
47094
|
+
# @!attribute [rw] show_back_enabled
|
|
47095
|
+
# Indicates whether showback reporting is enabled for the policy.
|
|
47096
|
+
# @return [Boolean]
|
|
47097
|
+
#
|
|
47098
|
+
# @!attribute [rw] owner_account
|
|
47099
|
+
# The ID of the account that owns the policy.
|
|
47100
|
+
# @return [String]
|
|
47101
|
+
#
|
|
47102
|
+
# @!attribute [rw] description
|
|
47103
|
+
# The description of the policy.
|
|
47104
|
+
# @return [String]
|
|
47105
|
+
#
|
|
47106
|
+
# @!attribute [rw] latest_version
|
|
47107
|
+
# The number of the latest version of the policy.
|
|
47108
|
+
# @return [Integer]
|
|
47109
|
+
#
|
|
47110
|
+
# @!attribute [rw] version_expected_effective_at
|
|
47111
|
+
# The date and time when the latest version of the policy is expected
|
|
47112
|
+
# to apply to network traffic. The policy configuration in this
|
|
47113
|
+
# response is from the latest version.
|
|
47114
|
+
# @return [Time]
|
|
47115
|
+
#
|
|
47116
|
+
# @!attribute [rw] policy_created_at
|
|
47117
|
+
# The date and time when the policy was created.
|
|
47118
|
+
# @return [Time]
|
|
47119
|
+
#
|
|
47120
|
+
# @!attribute [rw] updated_at
|
|
47121
|
+
# The date and time when the policy was last updated.
|
|
47122
|
+
# @return [Time]
|
|
47123
|
+
#
|
|
47124
|
+
# @!attribute [rw] managed_by
|
|
47125
|
+
# The entity that manages the policy. Valid values are:
|
|
47126
|
+
#
|
|
47127
|
+
# * `account` - The account that owns the policy created it.
|
|
47128
|
+
#
|
|
47129
|
+
# * `declarative-policy` - An Amazon Web Services Organizations
|
|
47130
|
+
# declarative policy created the policy. You can't modify or delete
|
|
47131
|
+
# the policy.
|
|
47132
|
+
# @return [String]
|
|
47133
|
+
#
|
|
47134
|
+
# @!attribute [rw] tags
|
|
47135
|
+
# The tags assigned to the policy.
|
|
47136
|
+
# @return [Array<Types::Tag>]
|
|
47137
|
+
#
|
|
47138
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationPolicyDescription AWS API Documentation
|
|
47139
|
+
#
|
|
47140
|
+
class FlexCostAllocationPolicyDescription < Struct.new(
|
|
47141
|
+
:fca_policy_id,
|
|
47142
|
+
:fca_policy_arn,
|
|
47143
|
+
:network_resource_type,
|
|
47144
|
+
:nat_fca_policy_document,
|
|
47145
|
+
:instance_fca_policy_document,
|
|
47146
|
+
:pcx_fca_policy_document,
|
|
47147
|
+
:show_back_enabled,
|
|
47148
|
+
:owner_account,
|
|
47149
|
+
:description,
|
|
47150
|
+
:latest_version,
|
|
47151
|
+
:version_expected_effective_at,
|
|
47152
|
+
:policy_created_at,
|
|
47153
|
+
:updated_at,
|
|
47154
|
+
:managed_by,
|
|
47155
|
+
:tags)
|
|
47156
|
+
SENSITIVE = []
|
|
47157
|
+
include Aws::Structure
|
|
47158
|
+
end
|
|
47159
|
+
|
|
47160
|
+
# Describes a version of a flex cost allocation policy.
|
|
47161
|
+
#
|
|
47162
|
+
# @!attribute [rw] fca_policy_id
|
|
47163
|
+
# The ID of the policy.
|
|
47164
|
+
# @return [String]
|
|
47165
|
+
#
|
|
47166
|
+
# @!attribute [rw] version
|
|
47167
|
+
# The version number.
|
|
47168
|
+
# @return [Integer]
|
|
47169
|
+
#
|
|
47170
|
+
# @!attribute [rw] network_resource_type
|
|
47171
|
+
# The type of network resource that the policy applies to.
|
|
47172
|
+
# @return [String]
|
|
47173
|
+
#
|
|
47174
|
+
# @!attribute [rw] nat_fca_policy_document
|
|
47175
|
+
# The policy document that defines cost allocation for NAT gateways.
|
|
47176
|
+
# @return [Types::NatFlexCostAllocationPolicyDocument]
|
|
47177
|
+
#
|
|
47178
|
+
# @!attribute [rw] instance_fca_policy_document
|
|
47179
|
+
# The policy document that defines cost allocation for EC2 instances.
|
|
47180
|
+
# @return [Types::InstanceFlexCostAllocationPolicyDocument]
|
|
47181
|
+
#
|
|
47182
|
+
# @!attribute [rw] pcx_fca_policy_document
|
|
47183
|
+
# The policy document that defines cost allocation for Amazon VPC
|
|
47184
|
+
# peering connections.
|
|
47185
|
+
# @return [Types::PcxFlexCostAllocationPolicyDocument]
|
|
47186
|
+
#
|
|
47187
|
+
# @!attribute [rw] show_back_enabled
|
|
47188
|
+
# Indicates whether showback reporting is enabled for this version of
|
|
47189
|
+
# the policy.
|
|
47190
|
+
# @return [Boolean]
|
|
47191
|
+
#
|
|
47192
|
+
# @!attribute [rw] description
|
|
47193
|
+
# The description of this version of the policy.
|
|
47194
|
+
# @return [String]
|
|
47195
|
+
#
|
|
47196
|
+
# @!attribute [rw] expected_effective_at
|
|
47197
|
+
# The date and time when this version of the policy is expected to
|
|
47198
|
+
# apply to network traffic.
|
|
47199
|
+
# @return [Time]
|
|
47200
|
+
#
|
|
47201
|
+
# @!attribute [rw] created_at
|
|
47202
|
+
# The date and time when this version of the policy was created.
|
|
47203
|
+
# @return [Time]
|
|
47204
|
+
#
|
|
47205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlexCostAllocationPolicyVersion AWS API Documentation
|
|
47206
|
+
#
|
|
47207
|
+
class FlexCostAllocationPolicyVersion < Struct.new(
|
|
47208
|
+
:fca_policy_id,
|
|
47209
|
+
:version,
|
|
47210
|
+
:network_resource_type,
|
|
47211
|
+
:nat_fca_policy_document,
|
|
47212
|
+
:instance_fca_policy_document,
|
|
47213
|
+
:pcx_fca_policy_document,
|
|
47214
|
+
:show_back_enabled,
|
|
47215
|
+
:description,
|
|
47216
|
+
:expected_effective_at,
|
|
47217
|
+
:created_at)
|
|
47218
|
+
SENSITIVE = []
|
|
47219
|
+
include Aws::Structure
|
|
47220
|
+
end
|
|
47221
|
+
|
|
46241
47222
|
# Describes a flow log.
|
|
46242
47223
|
#
|
|
46243
47224
|
# @!attribute [rw] creation_time
|
|
@@ -49699,6 +50680,44 @@ module Aws::EC2
|
|
|
49699
50680
|
include Aws::Structure
|
|
49700
50681
|
end
|
|
49701
50682
|
|
|
50683
|
+
# @!attribute [rw] fca_policy_id
|
|
50684
|
+
# The ID of the flex cost allocation policy. This parameter is
|
|
50685
|
+
# required.
|
|
50686
|
+
# @return [String]
|
|
50687
|
+
#
|
|
50688
|
+
# @!attribute [rw] versions_to_include
|
|
50689
|
+
# The policy versions to include in the results.
|
|
50690
|
+
# @return [Array<Integer>]
|
|
50691
|
+
#
|
|
50692
|
+
# @!attribute [rw] dry_run
|
|
50693
|
+
# Checks whether you have the required permissions for the action,
|
|
50694
|
+
# without actually making the request, and provides an error response.
|
|
50695
|
+
# If you have the required permissions, the error response is
|
|
50696
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
50697
|
+
# @return [Boolean]
|
|
50698
|
+
#
|
|
50699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetNetworkingFlexCostAllocationPolicyVersionsRequest AWS API Documentation
|
|
50700
|
+
#
|
|
50701
|
+
class GetNetworkingFlexCostAllocationPolicyVersionsRequest < Struct.new(
|
|
50702
|
+
:fca_policy_id,
|
|
50703
|
+
:versions_to_include,
|
|
50704
|
+
:dry_run)
|
|
50705
|
+
SENSITIVE = []
|
|
50706
|
+
include Aws::Structure
|
|
50707
|
+
end
|
|
50708
|
+
|
|
50709
|
+
# @!attribute [rw] fca_policy_versions
|
|
50710
|
+
# Information about the policy versions.
|
|
50711
|
+
# @return [Array<Types::FlexCostAllocationPolicyVersion>]
|
|
50712
|
+
#
|
|
50713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetNetworkingFlexCostAllocationPolicyVersionsResult AWS API Documentation
|
|
50714
|
+
#
|
|
50715
|
+
class GetNetworkingFlexCostAllocationPolicyVersionsResult < Struct.new(
|
|
50716
|
+
:fca_policy_versions)
|
|
50717
|
+
SENSITIVE = []
|
|
50718
|
+
include Aws::Structure
|
|
50719
|
+
end
|
|
50720
|
+
|
|
49702
50721
|
# @!attribute [rw] instance_id
|
|
49703
50722
|
# The ID of the Windows instance.
|
|
49704
50723
|
# @return [String]
|
|
@@ -55453,6 +56472,35 @@ module Aws::EC2
|
|
|
55453
56472
|
include Aws::Structure
|
|
55454
56473
|
end
|
|
55455
56474
|
|
|
56475
|
+
# Describes the cost allocation policy document for EC2 instances.
|
|
56476
|
+
#
|
|
56477
|
+
# @!attribute [rw] reporting_granularity
|
|
56478
|
+
# The resource granularity level at which networking costs are
|
|
56479
|
+
# allocated. This parameter is required. Specify exactly one value.
|
|
56480
|
+
# Valid values are `eni`, `ec2`, `subnet`, `vpc`, `account`, and
|
|
56481
|
+
# `cidr`.
|
|
56482
|
+
# @return [Array<String>]
|
|
56483
|
+
#
|
|
56484
|
+
# @!attribute [rw] dimensions
|
|
56485
|
+
# The cost dimensions to report. This parameter is required. The only
|
|
56486
|
+
# valid value is `data-transfer`.
|
|
56487
|
+
# @return [Array<String>]
|
|
56488
|
+
#
|
|
56489
|
+
# @!attribute [rw] cidr_range_specifications
|
|
56490
|
+
# The CIDR range mappings to use for cost allocation. Specify this
|
|
56491
|
+
# value when `ReportingGranularity` is `cidr`, and omit it otherwise.
|
|
56492
|
+
# @return [Types::FlexCostAllocationCidrRangeSpecifications]
|
|
56493
|
+
#
|
|
56494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceFlexCostAllocationPolicyDocument AWS API Documentation
|
|
56495
|
+
#
|
|
56496
|
+
class InstanceFlexCostAllocationPolicyDocument < Struct.new(
|
|
56497
|
+
:reporting_granularity,
|
|
56498
|
+
:dimensions,
|
|
56499
|
+
:cidr_range_specifications)
|
|
56500
|
+
SENSITIVE = []
|
|
56501
|
+
include Aws::Structure
|
|
56502
|
+
end
|
|
56503
|
+
|
|
55456
56504
|
# Information about the instance and the AMI used to launch the
|
|
55457
56505
|
# instance.
|
|
55458
56506
|
#
|
|
@@ -59355,7 +60403,7 @@ module Aws::EC2
|
|
|
59355
60403
|
# @return [String]
|
|
59356
60404
|
#
|
|
59357
60405
|
# @!attribute [rw] rir
|
|
59358
|
-
# The
|
|
60406
|
+
# The internet registry. Possible values:
|
|
59359
60407
|
#
|
|
59360
60408
|
# * `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia).
|
|
59361
60409
|
#
|
|
@@ -59364,6 +60412,8 @@ module Aws::EC2
|
|
|
59364
60412
|
# * `arin` - ARIN (North America).
|
|
59365
60413
|
#
|
|
59366
60414
|
# * `lacnic` - LACNIC (Latin America and the Caribbean).
|
|
60415
|
+
#
|
|
60416
|
+
# * `nicbr` - NIC.br (Brazil).
|
|
59367
60417
|
# @return [String]
|
|
59368
60418
|
#
|
|
59369
60419
|
# @!attribute [rw] organization_handle
|
|
@@ -59376,10 +60426,10 @@ module Aws::EC2
|
|
|
59376
60426
|
#
|
|
59377
60427
|
# @!attribute [rw] state
|
|
59378
60428
|
# The state of the internet registry association. Valid values:
|
|
59379
|
-
# `pending-
|
|
59380
|
-
# `
|
|
59381
|
-
# `
|
|
59382
|
-
# `delete-failed`.
|
|
60429
|
+
# `pending-enable` \| `create-in-progress` \| `create-failed` \|
|
|
60430
|
+
# `enable-in-progress` \| `enable-complete` \| `enable-failed` \|
|
|
60431
|
+
# `disable-in-progress` \| `disable-complete` \| `disable-failed` \|
|
|
60432
|
+
# `delete-in-progress` \| `delete-complete` \| `delete-failed`.
|
|
59383
60433
|
# @return [String]
|
|
59384
60434
|
#
|
|
59385
60435
|
# @!attribute [rw] state_message
|
|
@@ -61299,7 +62349,7 @@ module Aws::EC2
|
|
|
61299
62349
|
# The state of the routing policy registration. Valid values:
|
|
61300
62350
|
# `pending-activate` \| `activate-failed` \| `create-in-progress` \|
|
|
61301
62351
|
# `create-complete` \| `update-in-progress` \| `update-complete` \|
|
|
61302
|
-
# `delete-in-progress` \| `delete-complete`.
|
|
62352
|
+
# `delete-in-progress` \| `delete-complete` \| `disable-complete`.
|
|
61303
62353
|
# @return [String]
|
|
61304
62354
|
#
|
|
61305
62355
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamRoutingPolicyRegistration AWS API Documentation
|
|
@@ -68853,6 +69903,99 @@ module Aws::EC2
|
|
|
68853
69903
|
include Aws::Structure
|
|
68854
69904
|
end
|
|
68855
69905
|
|
|
69906
|
+
# @!attribute [rw] fca_policy_id
|
|
69907
|
+
# The ID of the flex cost allocation policy to modify. This parameter
|
|
69908
|
+
# is required.
|
|
69909
|
+
# @return [String]
|
|
69910
|
+
#
|
|
69911
|
+
# @!attribute [rw] nat_fca_policy_document
|
|
69912
|
+
# The updated policy document that defines cost allocation for NAT
|
|
69913
|
+
# gateways.
|
|
69914
|
+
# @return [Types::NatFlexCostAllocationPolicyDocument]
|
|
69915
|
+
#
|
|
69916
|
+
# @!attribute [rw] instance_fca_policy_document
|
|
69917
|
+
# The updated policy document that defines cost allocation for EC2
|
|
69918
|
+
# instances.
|
|
69919
|
+
# @return [Types::InstanceFlexCostAllocationPolicyDocument]
|
|
69920
|
+
#
|
|
69921
|
+
# @!attribute [rw] pcx_fca_policy_document
|
|
69922
|
+
# The updated policy document that defines cost allocation for Amazon
|
|
69923
|
+
# VPC peering connections.
|
|
69924
|
+
# @return [Types::PcxFlexCostAllocationPolicyDocument]
|
|
69925
|
+
#
|
|
69926
|
+
# @!attribute [rw] show_back_enabled
|
|
69927
|
+
# Specifies whether showback reporting is enabled for the policy. If
|
|
69928
|
+
# you omit this parameter, the current setting is unchanged.
|
|
69929
|
+
# @return [Boolean]
|
|
69930
|
+
#
|
|
69931
|
+
# @!attribute [rw] description
|
|
69932
|
+
# A description for the policy. The description can be up to 1024
|
|
69933
|
+
# characters long.
|
|
69934
|
+
# @return [String]
|
|
69935
|
+
#
|
|
69936
|
+
# @!attribute [rw] client_token
|
|
69937
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
69938
|
+
# idempotency of the request. For more information, see [Ensuring
|
|
69939
|
+
# idempotency][1].
|
|
69940
|
+
#
|
|
69941
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
69942
|
+
# not need to pass this option.
|
|
69943
|
+
#
|
|
69944
|
+
#
|
|
69945
|
+
#
|
|
69946
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
69947
|
+
# @return [String]
|
|
69948
|
+
#
|
|
69949
|
+
# @!attribute [rw] dry_run
|
|
69950
|
+
# Checks whether you have the required permissions for the action,
|
|
69951
|
+
# without actually making the request, and provides an error response.
|
|
69952
|
+
# If you have the required permissions, the error response is
|
|
69953
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
69954
|
+
# @return [Boolean]
|
|
69955
|
+
#
|
|
69956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkingFlexCostAllocationPolicyRequest AWS API Documentation
|
|
69957
|
+
#
|
|
69958
|
+
class ModifyNetworkingFlexCostAllocationPolicyRequest < Struct.new(
|
|
69959
|
+
:fca_policy_id,
|
|
69960
|
+
:nat_fca_policy_document,
|
|
69961
|
+
:instance_fca_policy_document,
|
|
69962
|
+
:pcx_fca_policy_document,
|
|
69963
|
+
:show_back_enabled,
|
|
69964
|
+
:description,
|
|
69965
|
+
:client_token,
|
|
69966
|
+
:dry_run)
|
|
69967
|
+
SENSITIVE = []
|
|
69968
|
+
include Aws::Structure
|
|
69969
|
+
end
|
|
69970
|
+
|
|
69971
|
+
# @!attribute [rw] fca_policy_id
|
|
69972
|
+
# The ID of the flex cost allocation policy.
|
|
69973
|
+
# @return [String]
|
|
69974
|
+
#
|
|
69975
|
+
# @!attribute [rw] updated_at
|
|
69976
|
+
# The date and time when the policy was updated.
|
|
69977
|
+
# @return [Time]
|
|
69978
|
+
#
|
|
69979
|
+
# @!attribute [rw] version
|
|
69980
|
+
# The version number of the policy that this modification created.
|
|
69981
|
+
# @return [Integer]
|
|
69982
|
+
#
|
|
69983
|
+
# @!attribute [rw] version_expected_effective_at
|
|
69984
|
+
# The date and time when the new version of the policy is expected to
|
|
69985
|
+
# apply to network traffic.
|
|
69986
|
+
# @return [Time]
|
|
69987
|
+
#
|
|
69988
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkingFlexCostAllocationPolicyResult AWS API Documentation
|
|
69989
|
+
#
|
|
69990
|
+
class ModifyNetworkingFlexCostAllocationPolicyResult < Struct.new(
|
|
69991
|
+
:fca_policy_id,
|
|
69992
|
+
:updated_at,
|
|
69993
|
+
:version,
|
|
69994
|
+
:version_expected_effective_at)
|
|
69995
|
+
SENSITIVE = []
|
|
69996
|
+
include Aws::Structure
|
|
69997
|
+
end
|
|
69998
|
+
|
|
68856
69999
|
# @!attribute [rw] dry_run
|
|
68857
70000
|
# Checks whether you have the required permissions for the action,
|
|
68858
70001
|
# without actually making the request, and provides an error response.
|
|
@@ -69733,6 +70876,64 @@ module Aws::EC2
|
|
|
69733
70876
|
include Aws::Structure
|
|
69734
70877
|
end
|
|
69735
70878
|
|
|
70879
|
+
# @!attribute [rw] transit_gateway_attachment_id
|
|
70880
|
+
# The ID of the network function attachment.
|
|
70881
|
+
# @return [String]
|
|
70882
|
+
#
|
|
70883
|
+
# @!attribute [rw] add_availability_zones
|
|
70884
|
+
# The names of the Availability Zones to add to the attachment. You
|
|
70885
|
+
# can't add and remove the same Availability Zone in a single
|
|
70886
|
+
# request.
|
|
70887
|
+
# @return [Array<String>]
|
|
70888
|
+
#
|
|
70889
|
+
# @!attribute [rw] add_availability_zone_ids
|
|
70890
|
+
# The IDs of the Availability Zones to add to the attachment. You
|
|
70891
|
+
# can't add and remove the same Availability Zone in a single
|
|
70892
|
+
# request.
|
|
70893
|
+
# @return [Array<String>]
|
|
70894
|
+
#
|
|
70895
|
+
# @!attribute [rw] remove_availability_zones
|
|
70896
|
+
# The names of the Availability Zones to remove from the attachment.
|
|
70897
|
+
# Each Availability Zone must be currently in the attachment.
|
|
70898
|
+
# @return [Array<String>]
|
|
70899
|
+
#
|
|
70900
|
+
# @!attribute [rw] remove_availability_zone_ids
|
|
70901
|
+
# The IDs of the Availability Zones to remove from the attachment.
|
|
70902
|
+
# Each Availability Zone must be currently in the attachment.
|
|
70903
|
+
# @return [Array<String>]
|
|
70904
|
+
#
|
|
70905
|
+
# @!attribute [rw] dry_run
|
|
70906
|
+
# Checks whether you have the required permissions for the action,
|
|
70907
|
+
# without actually making the request, and provides an error response.
|
|
70908
|
+
# If you have the required permissions, the error response is
|
|
70909
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
70910
|
+
# @return [Boolean]
|
|
70911
|
+
#
|
|
70912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayNetworkFunctionAttachmentRequest AWS API Documentation
|
|
70913
|
+
#
|
|
70914
|
+
class ModifyTransitGatewayNetworkFunctionAttachmentRequest < Struct.new(
|
|
70915
|
+
:transit_gateway_attachment_id,
|
|
70916
|
+
:add_availability_zones,
|
|
70917
|
+
:add_availability_zone_ids,
|
|
70918
|
+
:remove_availability_zones,
|
|
70919
|
+
:remove_availability_zone_ids,
|
|
70920
|
+
:dry_run)
|
|
70921
|
+
SENSITIVE = []
|
|
70922
|
+
include Aws::Structure
|
|
70923
|
+
end
|
|
70924
|
+
|
|
70925
|
+
# @!attribute [rw] transit_gateway_network_function_attachment
|
|
70926
|
+
# Information about the network function attachment.
|
|
70927
|
+
# @return [Types::TransitGatewayNetworkFunctionAttachment]
|
|
70928
|
+
#
|
|
70929
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayNetworkFunctionAttachmentResult AWS API Documentation
|
|
70930
|
+
#
|
|
70931
|
+
class ModifyTransitGatewayNetworkFunctionAttachmentResult < Struct.new(
|
|
70932
|
+
:transit_gateway_network_function_attachment)
|
|
70933
|
+
SENSITIVE = []
|
|
70934
|
+
include Aws::Structure
|
|
70935
|
+
end
|
|
70936
|
+
|
|
69736
70937
|
# The transit gateway options.
|
|
69737
70938
|
#
|
|
69738
70939
|
# @!attribute [rw] add_transit_gateway_cidr_blocks
|
|
@@ -71486,13 +72687,33 @@ module Aws::EC2
|
|
|
71486
72687
|
# revoked for principals in this list.
|
|
71487
72688
|
# @return [Array<String>]
|
|
71488
72689
|
#
|
|
72690
|
+
# @!attribute [rw] permission_type
|
|
72691
|
+
# The type of permission to add or remove. The permission type applies
|
|
72692
|
+
# to all principals in `AddAllowedPrincipals` and
|
|
72693
|
+
# `RemoveAllowedPrincipals`.
|
|
72694
|
+
#
|
|
72695
|
+
# * `vpc-endpoint` - Principals can create VPC endpoints that connect
|
|
72696
|
+
# to the endpoint service.
|
|
72697
|
+
#
|
|
72698
|
+
# * `transit-gateway-attachment` - Principals can create transit
|
|
72699
|
+
# gateway attachments that connect to the endpoint service. This
|
|
72700
|
+
# permission type is supported only for Gateway Load Balancer
|
|
72701
|
+
# endpoint services. You can grant it only to Amazon Web Services
|
|
72702
|
+
# accounts (`arn:aws:iam::account-id:root`). You can't grant it to
|
|
72703
|
+
# users, IAM roles, organizations, organizational units, or all
|
|
72704
|
+
# principals (*).
|
|
72705
|
+
#
|
|
72706
|
+
# Default: `vpc-endpoint`
|
|
72707
|
+
# @return [String]
|
|
72708
|
+
#
|
|
71489
72709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissionsRequest AWS API Documentation
|
|
71490
72710
|
#
|
|
71491
72711
|
class ModifyVpcEndpointServicePermissionsRequest < Struct.new(
|
|
71492
72712
|
:dry_run,
|
|
71493
72713
|
:service_id,
|
|
71494
72714
|
:add_allowed_principals,
|
|
71495
|
-
:remove_allowed_principals
|
|
72715
|
+
:remove_allowed_principals,
|
|
72716
|
+
:permission_type)
|
|
71496
72717
|
SENSITIVE = []
|
|
71497
72718
|
include Aws::Structure
|
|
71498
72719
|
end
|
|
@@ -72253,6 +73474,35 @@ module Aws::EC2
|
|
|
72253
73474
|
include Aws::Structure
|
|
72254
73475
|
end
|
|
72255
73476
|
|
|
73477
|
+
# Describes the cost allocation policy document for NAT gateways.
|
|
73478
|
+
#
|
|
73479
|
+
# @!attribute [rw] reporting_granularity
|
|
73480
|
+
# The resource granularity level at which networking costs are
|
|
73481
|
+
# allocated. This parameter is required. Specify exactly one value.
|
|
73482
|
+
# Valid values are `eni`, `ec2`, `subnet`, `vpc`, `account`, and
|
|
73483
|
+
# `cidr`.
|
|
73484
|
+
# @return [Array<String>]
|
|
73485
|
+
#
|
|
73486
|
+
# @!attribute [rw] dimensions
|
|
73487
|
+
# The cost dimensions to report. This parameter is required. Valid
|
|
73488
|
+
# values are `data-transfer` and `data-processing`.
|
|
73489
|
+
# @return [Array<String>]
|
|
73490
|
+
#
|
|
73491
|
+
# @!attribute [rw] cidr_range_specifications
|
|
73492
|
+
# The CIDR range mappings to use for cost allocation. Specify this
|
|
73493
|
+
# value when `ReportingGranularity` is `cidr`, and omit it otherwise.
|
|
73494
|
+
# @return [Types::FlexCostAllocationCidrRangeSpecifications]
|
|
73495
|
+
#
|
|
73496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatFlexCostAllocationPolicyDocument AWS API Documentation
|
|
73497
|
+
#
|
|
73498
|
+
class NatFlexCostAllocationPolicyDocument < Struct.new(
|
|
73499
|
+
:reporting_granularity,
|
|
73500
|
+
:dimensions,
|
|
73501
|
+
:cidr_range_specifications)
|
|
73502
|
+
SENSITIVE = []
|
|
73503
|
+
include Aws::Structure
|
|
73504
|
+
end
|
|
73505
|
+
|
|
72256
73506
|
# Describes a NAT gateway.
|
|
72257
73507
|
#
|
|
72258
73508
|
# @!attribute [rw] create_time
|
|
@@ -74539,6 +75789,36 @@ module Aws::EC2
|
|
|
74539
75789
|
include Aws::Structure
|
|
74540
75790
|
end
|
|
74541
75791
|
|
|
75792
|
+
# Describes the cost allocation policy document for Amazon VPC peering
|
|
75793
|
+
# connections.
|
|
75794
|
+
#
|
|
75795
|
+
# @!attribute [rw] reporting_granularity
|
|
75796
|
+
# The resource granularity level at which networking costs are
|
|
75797
|
+
# allocated. This parameter is required. Specify exactly one value.
|
|
75798
|
+
# Valid values are `eni`, `ec2`, `subnet`, `vpc`, `account`,
|
|
75799
|
+
# `peering-id`, and `cidr`.
|
|
75800
|
+
# @return [Array<String>]
|
|
75801
|
+
#
|
|
75802
|
+
# @!attribute [rw] dimensions
|
|
75803
|
+
# The cost dimensions to report. This parameter is required. The only
|
|
75804
|
+
# valid value is `data-transfer`.
|
|
75805
|
+
# @return [Array<String>]
|
|
75806
|
+
#
|
|
75807
|
+
# @!attribute [rw] cidr_range_specifications
|
|
75808
|
+
# The CIDR range mappings to use for cost allocation. Specify this
|
|
75809
|
+
# value when `ReportingGranularity` is `cidr`, and omit it otherwise.
|
|
75810
|
+
# @return [Types::FlexCostAllocationCidrRangeSpecifications]
|
|
75811
|
+
#
|
|
75812
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PcxFlexCostAllocationPolicyDocument AWS API Documentation
|
|
75813
|
+
#
|
|
75814
|
+
class PcxFlexCostAllocationPolicyDocument < Struct.new(
|
|
75815
|
+
:reporting_granularity,
|
|
75816
|
+
:dimensions,
|
|
75817
|
+
:cidr_range_specifications)
|
|
75818
|
+
SENSITIVE = []
|
|
75819
|
+
include Aws::Structure
|
|
75820
|
+
end
|
|
75821
|
+
|
|
74542
75822
|
# The status of the transit gateway peering attachment.
|
|
74543
75823
|
#
|
|
74544
75824
|
# @!attribute [rw] code
|
|
@@ -77243,6 +78523,17 @@ module Aws::EC2
|
|
|
77243
78523
|
#
|
|
77244
78524
|
# @!attribute [rw] vpc_endpoint_ids
|
|
77245
78525
|
# The IDs of the VPC endpoints.
|
|
78526
|
+
#
|
|
78527
|
+
# You must specify either `VpcEndpointIds` or
|
|
78528
|
+
# `TransitGatewayAttachmentIds`, but not both.
|
|
78529
|
+
# @return [Array<String>]
|
|
78530
|
+
#
|
|
78531
|
+
# @!attribute [rw] transit_gateway_attachment_ids
|
|
78532
|
+
# The IDs of the transit gateway attachments to reject. This parameter
|
|
78533
|
+
# is supported only for Gateway Load Balancer endpoint services.
|
|
78534
|
+
#
|
|
78535
|
+
# You must specify either `VpcEndpointIds` or
|
|
78536
|
+
# `TransitGatewayAttachmentIds`, but not both.
|
|
77246
78537
|
# @return [Array<String>]
|
|
77247
78538
|
#
|
|
77248
78539
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnectionsRequest AWS API Documentation
|
|
@@ -77250,7 +78541,8 @@ module Aws::EC2
|
|
|
77250
78541
|
class RejectVpcEndpointConnectionsRequest < Struct.new(
|
|
77251
78542
|
:dry_run,
|
|
77252
78543
|
:service_id,
|
|
77253
|
-
:vpc_endpoint_ids
|
|
78544
|
+
:vpc_endpoint_ids,
|
|
78545
|
+
:transit_gateway_attachment_ids)
|
|
77254
78546
|
SENSITIVE = []
|
|
77255
78547
|
include Aws::Structure
|
|
77256
78548
|
end
|
|
@@ -84656,6 +85948,10 @@ module Aws::EC2
|
|
|
84656
85948
|
# created.
|
|
84657
85949
|
# @return [Integer]
|
|
84658
85950
|
#
|
|
85951
|
+
# @!attribute [rw] associated_kms_keys
|
|
85952
|
+
# The additional KMS keys that are associated with the snapshot.
|
|
85953
|
+
# @return [Array<Types::AssociatedKmsKey>]
|
|
85954
|
+
#
|
|
84659
85955
|
# @!attribute [rw] snapshot_id
|
|
84660
85956
|
# The ID of the snapshot. Each snapshot receives a unique identifier
|
|
84661
85957
|
# when it is created.
|
|
@@ -84734,6 +86030,7 @@ module Aws::EC2
|
|
|
84734
86030
|
:completion_duration_minutes,
|
|
84735
86031
|
:completion_time,
|
|
84736
86032
|
:full_snapshot_size_in_bytes,
|
|
86033
|
+
:associated_kms_keys,
|
|
84737
86034
|
:snapshot_id,
|
|
84738
86035
|
:volume_id,
|
|
84739
86036
|
:state,
|
|
@@ -89431,6 +90728,69 @@ module Aws::EC2
|
|
|
89431
90728
|
include Aws::Structure
|
|
89432
90729
|
end
|
|
89433
90730
|
|
|
90731
|
+
# Contains information about a transit gateway network function
|
|
90732
|
+
# attachment, including the attachment ID, the transit gateway, the
|
|
90733
|
+
# endpoint service, the Availability Zones, and the state of the
|
|
90734
|
+
# attachment.
|
|
90735
|
+
#
|
|
90736
|
+
# @!attribute [rw] transit_gateway_attachment_id
|
|
90737
|
+
# The ID of the attachment.
|
|
90738
|
+
# @return [String]
|
|
90739
|
+
#
|
|
90740
|
+
# @!attribute [rw] transit_gateway_id
|
|
90741
|
+
# The ID of the transit gateway.
|
|
90742
|
+
# @return [String]
|
|
90743
|
+
#
|
|
90744
|
+
# @!attribute [rw] transit_gateway_owner_id
|
|
90745
|
+
# The ID of the Amazon Web Services account that owns the transit
|
|
90746
|
+
# gateway.
|
|
90747
|
+
# @return [String]
|
|
90748
|
+
#
|
|
90749
|
+
# @!attribute [rw] resource_owner_id
|
|
90750
|
+
# The ID of the Amazon Web Services account that owns the attachment.
|
|
90751
|
+
# @return [String]
|
|
90752
|
+
#
|
|
90753
|
+
# @!attribute [rw] resource_id
|
|
90754
|
+
# The name of the Gateway Load Balancer endpoint service.
|
|
90755
|
+
# @return [String]
|
|
90756
|
+
#
|
|
90757
|
+
# @!attribute [rw] availability_zones
|
|
90758
|
+
# The names of the Availability Zones for the attachment.
|
|
90759
|
+
# @return [Array<String>]
|
|
90760
|
+
#
|
|
90761
|
+
# @!attribute [rw] availability_zone_ids
|
|
90762
|
+
# The IDs of the Availability Zones for the attachment.
|
|
90763
|
+
# @return [Array<String>]
|
|
90764
|
+
#
|
|
90765
|
+
# @!attribute [rw] state
|
|
90766
|
+
# The state of the attachment.
|
|
90767
|
+
# @return [String]
|
|
90768
|
+
#
|
|
90769
|
+
# @!attribute [rw] creation_time
|
|
90770
|
+
# The date and time the attachment was created.
|
|
90771
|
+
# @return [Time]
|
|
90772
|
+
#
|
|
90773
|
+
# @!attribute [rw] tags
|
|
90774
|
+
# The tags for the attachment.
|
|
90775
|
+
# @return [Array<Types::Tag>]
|
|
90776
|
+
#
|
|
90777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TransitGatewayNetworkFunctionAttachment AWS API Documentation
|
|
90778
|
+
#
|
|
90779
|
+
class TransitGatewayNetworkFunctionAttachment < Struct.new(
|
|
90780
|
+
:transit_gateway_attachment_id,
|
|
90781
|
+
:transit_gateway_id,
|
|
90782
|
+
:transit_gateway_owner_id,
|
|
90783
|
+
:resource_owner_id,
|
|
90784
|
+
:resource_id,
|
|
90785
|
+
:availability_zones,
|
|
90786
|
+
:availability_zone_ids,
|
|
90787
|
+
:state,
|
|
90788
|
+
:creation_time,
|
|
90789
|
+
:tags)
|
|
90790
|
+
SENSITIVE = []
|
|
90791
|
+
include Aws::Structure
|
|
90792
|
+
end
|
|
90793
|
+
|
|
89434
90794
|
# Describes the options for a transit gateway.
|
|
89435
90795
|
#
|
|
89436
90796
|
# @!attribute [rw] amazon_side_asn
|
|
@@ -93933,6 +95293,17 @@ module Aws::EC2
|
|
|
93933
95293
|
# The payer responsibility settings for the endpoint.
|
|
93934
95294
|
# @return [Array<Types::PayerResponsibilityEntry>]
|
|
93935
95295
|
#
|
|
95296
|
+
# @!attribute [rw] transit_gateway_attachment_id
|
|
95297
|
+
# The ID of the transit gateway attachment, if the connection is for a
|
|
95298
|
+
# transit gateway attachment.
|
|
95299
|
+
# @return [String]
|
|
95300
|
+
#
|
|
95301
|
+
# @!attribute [rw] transit_gateway_attachment_owner
|
|
95302
|
+
# The ID of the Amazon Web Services account that owns the transit
|
|
95303
|
+
# gateway attachment, if the connection is for a transit gateway
|
|
95304
|
+
# attachment.
|
|
95305
|
+
# @return [String]
|
|
95306
|
+
#
|
|
93936
95307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpointConnection AWS API Documentation
|
|
93937
95308
|
#
|
|
93938
95309
|
class VpcEndpointConnection < Struct.new(
|
|
@@ -93948,7 +95319,9 @@ module Aws::EC2
|
|
|
93948
95319
|
:vpc_endpoint_connection_id,
|
|
93949
95320
|
:tags,
|
|
93950
95321
|
:vpc_endpoint_region,
|
|
93951
|
-
:payer_responsibilities
|
|
95322
|
+
:payer_responsibilities,
|
|
95323
|
+
:transit_gateway_attachment_id,
|
|
95324
|
+
:transit_gateway_attachment_owner)
|
|
93952
95325
|
SENSITIVE = []
|
|
93953
95326
|
include Aws::Structure
|
|
93954
95327
|
end
|