aws-sdk-ec2 1.670.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +459 -1
- data/lib/aws-sdk-ec2/client_api.rb +160 -0
- data/lib/aws-sdk-ec2/snapshot.rb +6 -0
- data/lib/aws-sdk-ec2/types.rb +458 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +102 -3
- data/sig/snapshot.rbs +3 -0
- data/sig/types.rbs +107 -0
- 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]
|
|
@@ -3735,6 +3796,23 @@ module Aws::EC2
|
|
|
3735
3796
|
include Aws::Structure
|
|
3736
3797
|
end
|
|
3737
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
|
+
|
|
3738
3816
|
# Information about the associated IAM roles.
|
|
3739
3817
|
#
|
|
3740
3818
|
# @!attribute [rw] associated_role_arn
|
|
@@ -17259,6 +17337,65 @@ module Aws::EC2
|
|
|
17259
17337
|
include Aws::Structure
|
|
17260
17338
|
end
|
|
17261
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
|
+
|
|
17262
17399
|
# @!attribute [rw] transit_gateway_id
|
|
17263
17400
|
# The ID of the transit gateway.
|
|
17264
17401
|
# @return [String]
|
|
@@ -22598,6 +22735,38 @@ module Aws::EC2
|
|
|
22598
22735
|
include Aws::Structure
|
|
22599
22736
|
end
|
|
22600
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
|
+
|
|
22601
22770
|
# @!attribute [rw] transit_gateway_attachment_id
|
|
22602
22771
|
# The ID of the transit gateway peering attachment.
|
|
22603
22772
|
# @return [String]
|
|
@@ -36768,6 +36937,73 @@ module Aws::EC2
|
|
|
36768
36937
|
include Aws::Structure
|
|
36769
36938
|
end
|
|
36770
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
|
+
|
|
36771
37007
|
# @!attribute [rw] transit_gateway_attachment_ids
|
|
36772
37008
|
# One or more IDs of the transit gateway peering attachments.
|
|
36773
37009
|
# @return [Array<String>]
|
|
@@ -38411,6 +38647,9 @@ module Aws::EC2
|
|
|
38411
38647
|
#
|
|
38412
38648
|
# * `service-id` - The ID of the service.
|
|
38413
38649
|
#
|
|
38650
|
+
# * `transit-gateway-attachment-id` - The ID of the transit gateway
|
|
38651
|
+
# attachment.
|
|
38652
|
+
#
|
|
38414
38653
|
# * `vpc-endpoint-owner` - The ID of the Amazon Web Services account
|
|
38415
38654
|
# ID that owns the endpoint.
|
|
38416
38655
|
#
|
|
@@ -38556,6 +38795,9 @@ module Aws::EC2
|
|
|
38556
38795
|
# @!attribute [rw] filters
|
|
38557
38796
|
# The filters.
|
|
38558
38797
|
#
|
|
38798
|
+
# * `permission-type` - The permission type (`vpc-endpoint` \|
|
|
38799
|
+
# `transit-gateway-attachment`).
|
|
38800
|
+
#
|
|
38559
38801
|
# * `principal` - The ARN of the principal.
|
|
38560
38802
|
#
|
|
38561
38803
|
# * `principal-type` - The principal type (`All` \| `Service` \|
|
|
@@ -41026,6 +41268,45 @@ module Aws::EC2
|
|
|
41026
41268
|
include Aws::Structure
|
|
41027
41269
|
end
|
|
41028
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
|
+
|
|
41029
41310
|
# @!attribute [rw] nat_gateway_id
|
|
41030
41311
|
# The ID of the NAT gateway.
|
|
41031
41312
|
# @return [String]
|
|
@@ -70595,6 +70876,64 @@ module Aws::EC2
|
|
|
70595
70876
|
include Aws::Structure
|
|
70596
70877
|
end
|
|
70597
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
|
+
|
|
70598
70937
|
# The transit gateway options.
|
|
70599
70938
|
#
|
|
70600
70939
|
# @!attribute [rw] add_transit_gateway_cidr_blocks
|
|
@@ -72348,13 +72687,33 @@ module Aws::EC2
|
|
|
72348
72687
|
# revoked for principals in this list.
|
|
72349
72688
|
# @return [Array<String>]
|
|
72350
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
|
+
#
|
|
72351
72709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissionsRequest AWS API Documentation
|
|
72352
72710
|
#
|
|
72353
72711
|
class ModifyVpcEndpointServicePermissionsRequest < Struct.new(
|
|
72354
72712
|
:dry_run,
|
|
72355
72713
|
:service_id,
|
|
72356
72714
|
:add_allowed_principals,
|
|
72357
|
-
:remove_allowed_principals
|
|
72715
|
+
:remove_allowed_principals,
|
|
72716
|
+
:permission_type)
|
|
72358
72717
|
SENSITIVE = []
|
|
72359
72718
|
include Aws::Structure
|
|
72360
72719
|
end
|
|
@@ -78164,6 +78523,17 @@ module Aws::EC2
|
|
|
78164
78523
|
#
|
|
78165
78524
|
# @!attribute [rw] vpc_endpoint_ids
|
|
78166
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.
|
|
78167
78537
|
# @return [Array<String>]
|
|
78168
78538
|
#
|
|
78169
78539
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnectionsRequest AWS API Documentation
|
|
@@ -78171,7 +78541,8 @@ module Aws::EC2
|
|
|
78171
78541
|
class RejectVpcEndpointConnectionsRequest < Struct.new(
|
|
78172
78542
|
:dry_run,
|
|
78173
78543
|
:service_id,
|
|
78174
|
-
:vpc_endpoint_ids
|
|
78544
|
+
:vpc_endpoint_ids,
|
|
78545
|
+
:transit_gateway_attachment_ids)
|
|
78175
78546
|
SENSITIVE = []
|
|
78176
78547
|
include Aws::Structure
|
|
78177
78548
|
end
|
|
@@ -85577,6 +85948,10 @@ module Aws::EC2
|
|
|
85577
85948
|
# created.
|
|
85578
85949
|
# @return [Integer]
|
|
85579
85950
|
#
|
|
85951
|
+
# @!attribute [rw] associated_kms_keys
|
|
85952
|
+
# The additional KMS keys that are associated with the snapshot.
|
|
85953
|
+
# @return [Array<Types::AssociatedKmsKey>]
|
|
85954
|
+
#
|
|
85580
85955
|
# @!attribute [rw] snapshot_id
|
|
85581
85956
|
# The ID of the snapshot. Each snapshot receives a unique identifier
|
|
85582
85957
|
# when it is created.
|
|
@@ -85655,6 +86030,7 @@ module Aws::EC2
|
|
|
85655
86030
|
:completion_duration_minutes,
|
|
85656
86031
|
:completion_time,
|
|
85657
86032
|
:full_snapshot_size_in_bytes,
|
|
86033
|
+
:associated_kms_keys,
|
|
85658
86034
|
:snapshot_id,
|
|
85659
86035
|
:volume_id,
|
|
85660
86036
|
:state,
|
|
@@ -90352,6 +90728,69 @@ module Aws::EC2
|
|
|
90352
90728
|
include Aws::Structure
|
|
90353
90729
|
end
|
|
90354
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
|
+
|
|
90355
90794
|
# Describes the options for a transit gateway.
|
|
90356
90795
|
#
|
|
90357
90796
|
# @!attribute [rw] amazon_side_asn
|
|
@@ -94854,6 +95293,17 @@ module Aws::EC2
|
|
|
94854
95293
|
# The payer responsibility settings for the endpoint.
|
|
94855
95294
|
# @return [Array<Types::PayerResponsibilityEntry>]
|
|
94856
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
|
+
#
|
|
94857
95307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpointConnection AWS API Documentation
|
|
94858
95308
|
#
|
|
94859
95309
|
class VpcEndpointConnection < Struct.new(
|
|
@@ -94869,7 +95319,9 @@ module Aws::EC2
|
|
|
94869
95319
|
:vpc_endpoint_connection_id,
|
|
94870
95320
|
:tags,
|
|
94871
95321
|
:vpc_endpoint_region,
|
|
94872
|
-
:payer_responsibilities
|
|
95322
|
+
:payer_responsibilities,
|
|
95323
|
+
:transit_gateway_attachment_id,
|
|
95324
|
+
:transit_gateway_attachment_owner)
|
|
94873
95325
|
SENSITIVE = []
|
|
94874
95326
|
include Aws::Structure
|
|
94875
95327
|
end
|