aws-sdk-ec2 1.669.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +859 -163
- data/lib/aws-sdk-ec2/client_api.rb +319 -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 +3 -29
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +962 -41
- 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 +261 -116
- 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 +1 -1
- data/sig/subnet.rbs +2 -2
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +218 -5
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- metadata +1 -1
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -3177,6 +3177,78 @@ module Aws::EC2
|
|
|
3177
3177
|
include Aws::Structure
|
|
3178
3178
|
end
|
|
3179
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
|
+
|
|
3180
3252
|
# @!attribute [rw] route_server_id
|
|
3181
3253
|
# The unique identifier for the route server to be associated.
|
|
3182
3254
|
# @return [String]
|
|
@@ -9543,15 +9615,7 @@ module Aws::EC2
|
|
|
9543
9615
|
# @return [String]
|
|
9544
9616
|
#
|
|
9545
9617
|
# @!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.
|
|
9618
|
+
# Deprecated.
|
|
9555
9619
|
# @return [String]
|
|
9556
9620
|
#
|
|
9557
9621
|
# @!attribute [rw] encrypted
|
|
@@ -9592,27 +9656,7 @@ module Aws::EC2
|
|
|
9592
9656
|
# @return [String]
|
|
9593
9657
|
#
|
|
9594
9658
|
# @!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
|
|
9659
|
+
# Deprecated.
|
|
9616
9660
|
# @return [String]
|
|
9617
9661
|
#
|
|
9618
9662
|
# @!attribute [rw] source_region
|
|
@@ -11936,7 +11980,8 @@ module Aws::EC2
|
|
|
11936
11980
|
# @!attribute [rw] traffic_type
|
|
11937
11981
|
# The type of traffic to monitor (accepted traffic, rejected traffic,
|
|
11938
11982
|
# or all traffic). This parameter is not supported for transit gateway
|
|
11939
|
-
# resource types. It is required for the other resource
|
|
11983
|
+
# or Cloud WAN resource types. It is required for the other resource
|
|
11984
|
+
# types.
|
|
11940
11985
|
# @return [String]
|
|
11941
11986
|
#
|
|
11942
11987
|
# @!attribute [rw] log_destination_type
|
|
@@ -11976,8 +12021,9 @@ module Aws::EC2
|
|
|
11976
12021
|
# flow log is created using the default format. If you specify this
|
|
11977
12022
|
# parameter, you must include at least one field. For more information
|
|
11978
12023
|
# about the available fields, see [Flow log records][1] in the *Amazon
|
|
11979
|
-
# VPC User Guide
|
|
11980
|
-
# *Amazon Web Services Transit Gateway Guide
|
|
12024
|
+
# VPC User Guide*, [Transit Gateway Flow Log records][2] in the
|
|
12025
|
+
# *Amazon Web Services Transit Gateway Guide*, or [Cloud WAN Flow Log
|
|
12026
|
+
# records][3] in the *Amazon Web Services Cloud WAN User Guide*.
|
|
11981
12027
|
#
|
|
11982
12028
|
# Specify the fields using the `${field-id}` format, separated by
|
|
11983
12029
|
# spaces.
|
|
@@ -11986,6 +12032,7 @@ module Aws::EC2
|
|
|
11986
12032
|
#
|
|
11987
12033
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html
|
|
11988
12034
|
# [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
|
|
12035
|
+
# [3]: https://docs.aws.amazon.com/network-manager/latest/cloudwan/cwan-flow-logs.html
|
|
11989
12036
|
# @return [String]
|
|
11990
12037
|
#
|
|
11991
12038
|
# @!attribute [rw] tag_specifications
|
|
@@ -11996,7 +12043,8 @@ module Aws::EC2
|
|
|
11996
12043
|
# The maximum interval of time during which a flow of packets is
|
|
11997
12044
|
# captured and aggregated into a flow log record. The possible values
|
|
11998
12045
|
# are 60 seconds (1 minute) or 600 seconds (10 minutes). This
|
|
11999
|
-
# parameter must be 60 seconds for transit gateway
|
|
12046
|
+
# parameter must be 60 seconds for transit gateway and Cloud WAN
|
|
12047
|
+
# resource types.
|
|
12000
12048
|
#
|
|
12001
12049
|
# When a network interface is attached to a [Nitro-based instance][1],
|
|
12002
12050
|
# the aggregation interval is always 60 seconds or less, regardless of
|
|
@@ -12755,7 +12803,7 @@ module Aws::EC2
|
|
|
12755
12803
|
# @return [String]
|
|
12756
12804
|
#
|
|
12757
12805
|
# @!attribute [rw] rir
|
|
12758
|
-
# The
|
|
12806
|
+
# The internet registry to associate with. Possible values:
|
|
12759
12807
|
#
|
|
12760
12808
|
# * `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia).
|
|
12761
12809
|
#
|
|
@@ -12764,6 +12812,8 @@ module Aws::EC2
|
|
|
12764
12812
|
# * `arin` - ARIN (North America).
|
|
12765
12813
|
#
|
|
12766
12814
|
# * `lacnic` - LACNIC (Latin America and the Caribbean).
|
|
12815
|
+
#
|
|
12816
|
+
# * `nicbr` - NIC.br (Brazil).
|
|
12767
12817
|
# @return [String]
|
|
12768
12818
|
#
|
|
12769
12819
|
# @!attribute [rw] organization_handle
|
|
@@ -15016,6 +15066,112 @@ module Aws::EC2
|
|
|
15016
15066
|
include Aws::Structure
|
|
15017
15067
|
end
|
|
15018
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
|
+
|
|
15019
15175
|
# @!attribute [rw] partition_count
|
|
15020
15176
|
# The number of partitions. Valid only when **Strategy** is set to
|
|
15021
15177
|
# `partition`.
|
|
@@ -21481,6 +21637,44 @@ module Aws::EC2
|
|
|
21481
21637
|
include Aws::Structure
|
|
21482
21638
|
end
|
|
21483
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
|
+
|
|
21484
21678
|
# @!attribute [rw] dry_run
|
|
21485
21679
|
# Checks whether you have the required permissions for the operation,
|
|
21486
21680
|
# without actually making the request, and provides an error response.
|
|
@@ -32663,6 +32857,138 @@ module Aws::EC2
|
|
|
32663
32857
|
include Aws::Structure
|
|
32664
32858
|
end
|
|
32665
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
|
+
|
|
32666
32992
|
# @!attribute [rw] outpost_lag_ids
|
|
32667
32993
|
# The IDs of the Outpost LAGs.
|
|
32668
32994
|
# @return [Array<String>]
|
|
@@ -37307,6 +37633,12 @@ module Aws::EC2
|
|
|
37307
37633
|
#
|
|
37308
37634
|
# * `action.event-id` - The event ID associated with the action.
|
|
37309
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
|
+
#
|
|
37310
37642
|
# * `availability-zone` - The Availability Zone of the instance.
|
|
37311
37643
|
#
|
|
37312
37644
|
# * `event.description` - A description of the event.
|
|
@@ -40744,6 +41076,44 @@ module Aws::EC2
|
|
|
40744
41076
|
include Aws::Structure
|
|
40745
41077
|
end
|
|
40746
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
|
+
|
|
40747
41117
|
# @!attribute [rw] route_server_id
|
|
40748
41118
|
# The ID of the route server to disassociate.
|
|
40749
41119
|
# @return [String]
|
|
@@ -46238,6 +46608,336 @@ module Aws::EC2
|
|
|
46238
46608
|
include Aws::Structure
|
|
46239
46609
|
end
|
|
46240
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
|
+
|
|
46241
46941
|
# Describes a flow log.
|
|
46242
46942
|
#
|
|
46243
46943
|
# @!attribute [rw] creation_time
|
|
@@ -49699,6 +50399,44 @@ module Aws::EC2
|
|
|
49699
50399
|
include Aws::Structure
|
|
49700
50400
|
end
|
|
49701
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
|
+
|
|
49702
50440
|
# @!attribute [rw] instance_id
|
|
49703
50441
|
# The ID of the Windows instance.
|
|
49704
50442
|
# @return [String]
|
|
@@ -55453,6 +56191,35 @@ module Aws::EC2
|
|
|
55453
56191
|
include Aws::Structure
|
|
55454
56192
|
end
|
|
55455
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
|
+
|
|
55456
56223
|
# Information about the instance and the AMI used to launch the
|
|
55457
56224
|
# instance.
|
|
55458
56225
|
#
|
|
@@ -59355,7 +60122,7 @@ module Aws::EC2
|
|
|
59355
60122
|
# @return [String]
|
|
59356
60123
|
#
|
|
59357
60124
|
# @!attribute [rw] rir
|
|
59358
|
-
# The
|
|
60125
|
+
# The internet registry. Possible values:
|
|
59359
60126
|
#
|
|
59360
60127
|
# * `ripe` - RIPE NCC (Europe, the Middle East, and Central Asia).
|
|
59361
60128
|
#
|
|
@@ -59364,6 +60131,8 @@ module Aws::EC2
|
|
|
59364
60131
|
# * `arin` - ARIN (North America).
|
|
59365
60132
|
#
|
|
59366
60133
|
# * `lacnic` - LACNIC (Latin America and the Caribbean).
|
|
60134
|
+
#
|
|
60135
|
+
# * `nicbr` - NIC.br (Brazil).
|
|
59367
60136
|
# @return [String]
|
|
59368
60137
|
#
|
|
59369
60138
|
# @!attribute [rw] organization_handle
|
|
@@ -59376,10 +60145,10 @@ module Aws::EC2
|
|
|
59376
60145
|
#
|
|
59377
60146
|
# @!attribute [rw] state
|
|
59378
60147
|
# The state of the internet registry association. Valid values:
|
|
59379
|
-
# `pending-
|
|
59380
|
-
# `
|
|
59381
|
-
# `
|
|
59382
|
-
# `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`.
|
|
59383
60152
|
# @return [String]
|
|
59384
60153
|
#
|
|
59385
60154
|
# @!attribute [rw] state_message
|
|
@@ -61299,7 +62068,7 @@ module Aws::EC2
|
|
|
61299
62068
|
# The state of the routing policy registration. Valid values:
|
|
61300
62069
|
# `pending-activate` \| `activate-failed` \| `create-in-progress` \|
|
|
61301
62070
|
# `create-complete` \| `update-in-progress` \| `update-complete` \|
|
|
61302
|
-
# `delete-in-progress` \| `delete-complete`.
|
|
62071
|
+
# `delete-in-progress` \| `delete-complete` \| `disable-complete`.
|
|
61303
62072
|
# @return [String]
|
|
61304
62073
|
#
|
|
61305
62074
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpamRoutingPolicyRegistration AWS API Documentation
|
|
@@ -68853,6 +69622,99 @@ module Aws::EC2
|
|
|
68853
69622
|
include Aws::Structure
|
|
68854
69623
|
end
|
|
68855
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
|
+
|
|
68856
69718
|
# @!attribute [rw] dry_run
|
|
68857
69719
|
# Checks whether you have the required permissions for the action,
|
|
68858
69720
|
# without actually making the request, and provides an error response.
|
|
@@ -72253,6 +73115,35 @@ module Aws::EC2
|
|
|
72253
73115
|
include Aws::Structure
|
|
72254
73116
|
end
|
|
72255
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
|
+
|
|
72256
73147
|
# Describes a NAT gateway.
|
|
72257
73148
|
#
|
|
72258
73149
|
# @!attribute [rw] create_time
|
|
@@ -74539,6 +75430,36 @@ module Aws::EC2
|
|
|
74539
75430
|
include Aws::Structure
|
|
74540
75431
|
end
|
|
74541
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
|
+
|
|
74542
75463
|
# The status of the transit gateway peering attachment.
|
|
74543
75464
|
#
|
|
74544
75465
|
# @!attribute [rw] code
|