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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a78e5d585d1f3952d0877a3be5dca66ea4faefc7aa8af60815a9db21808e4c02
4
- data.tar.gz: a011819047c70d8be481af7d6ba022a1d11906656d372a1b95e27414ea06a2db
3
+ metadata.gz: a177326eb28b922c1c47f750bd1b71fc3fb93637b522c082c25ee7e639bdb913
4
+ data.tar.gz: c1401f1c8ce578e1d0b1d77693d98a5cc004ffd299a8e98a9c89a4f6ccc28057
5
5
  SHA512:
6
- metadata.gz: d5ea5c6cae5c5ebc91ea86eddf9207e1e9c0cd0e188e59177ed2543f6274d16438d10b058a950fbb2b233ccecdc04366f0698c17e4801f02de3006e258f58cef
7
- data.tar.gz: 6de42683cafb88d2a6d8a95b2c602b3c553faf5f216d86c71cc355edcd65e3179ce739d6526c1cea39ce15bf5ebcbf0df39831dfda8a09599fc0a8a393b1f8e3
6
+ metadata.gz: da8013dff173d9ecc8322fa20a97c5b2d0ae3d460092e38e8fcc72962c6572eea7033ded3d385baed185d8f7917fe55c32e96e2be0342920bf4a742fd9e18606
7
+ data.tar.gz: b33e2c2caabf7c2f32e26e1d9e10dbcf93f995414cb5b67da6046110ac0b7b1564df674c98311fa226cf44892325a9ad9238dae3d6cf91b96af34f34912b28e2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.671.0 (2026-11-16)
5
+ ------------------
6
+
7
+ * Feature - Adds a new Transit Gateway Attachment type called Network Function. Launches associated KMS Keys for EBS Snapshots - associated KMS keys enable customers to share and copy snapshots encrypted with AWS Managed Keys across AWS accounts.
8
+
4
9
  1.670.0 (2026-11-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.670.0
1
+ 1.671.0
@@ -854,6 +854,16 @@ module Aws::EC2
854
854
  # @option params [required, Array<String>] :vpc_endpoint_ids
855
855
  # The IDs of the interface VPC endpoints.
856
856
  #
857
+ # You must specify either `VpcEndpointIds` or
858
+ # `TransitGatewayAttachmentIds`, but not both.
859
+ #
860
+ # @option params [Array<String>] :transit_gateway_attachment_ids
861
+ # The IDs of the transit gateway attachments to accept. This parameter
862
+ # is supported only for Gateway Load Balancer endpoint services.
863
+ #
864
+ # You must specify either `VpcEndpointIds` or
865
+ # `TransitGatewayAttachmentIds`, but not both.
866
+ #
857
867
  # @return [Types::AcceptVpcEndpointConnectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
858
868
  #
859
869
  # * {Types::AcceptVpcEndpointConnectionsResult#unsuccessful #unsuccessful} => Array&lt;Types::UnsuccessfulItem&gt;
@@ -864,6 +874,7 @@ module Aws::EC2
864
874
  # dry_run: false,
865
875
  # service_id: "VpcEndpointServiceId", # required
866
876
  # vpc_endpoint_ids: ["VpcEndpointId"], # required
877
+ # transit_gateway_attachment_ids: ["TransitGatewayAttachmentId"],
867
878
  # })
868
879
  #
869
880
  # @example Response structure
@@ -2595,6 +2606,57 @@ module Aws::EC2
2595
2606
  req.send_request(options)
2596
2607
  end
2597
2608
 
2609
+ # Associates an additional KMS key with an encrypted Amazon EBS
2610
+ # snapshot. With the associated key, you have a second, independent way
2611
+ # to access the snapshot's data, in addition to the key the snapshot is
2612
+ # already encrypted under. Associating a key doesn't re-encrypt the
2613
+ # snapshot or grant access to its original key.
2614
+ #
2615
+ # For more information, see [Associated KMS keys][1] in the *Amazon EBS
2616
+ # User Guide*.
2617
+ #
2618
+ #
2619
+ #
2620
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/associated-kms-keys.html
2621
+ #
2622
+ # @option params [String] :snapshot_id
2623
+ # The ID of the Amazon EBS snapshot.
2624
+ #
2625
+ # @option params [required, String] :kms_key_id
2626
+ # The ID, alias, or ARN of the KMS key to associate with the snapshot.
2627
+ # You can specify a key ID, key alias, key ARN, or alias ARN.
2628
+ #
2629
+ # @option params [Boolean] :dry_run
2630
+ # Checks whether you have the required permissions for the action,
2631
+ # without actually making the request, and provides an error response.
2632
+ # If you have the required permissions, the error response is
2633
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2634
+ #
2635
+ # @return [Types::AssociateKmsKeyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2636
+ #
2637
+ # * {Types::AssociateKmsKeyIdResult#return #return} => Boolean
2638
+ #
2639
+ # @example Request syntax with placeholder values
2640
+ #
2641
+ # resp = client.associate_kms_key_id({
2642
+ # snapshot_id: "SnapshotId",
2643
+ # kms_key_id: "KmsKeyId", # required
2644
+ # dry_run: false,
2645
+ # })
2646
+ #
2647
+ # @example Response structure
2648
+ #
2649
+ # resp.return #=> Boolean
2650
+ #
2651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateKmsKeyId AWS API Documentation
2652
+ #
2653
+ # @overload associate_kms_key_id(params = {})
2654
+ # @param [Hash] params ({})
2655
+ def associate_kms_key_id(params = {}, options = {})
2656
+ req = build_request(:associate_kms_key_id, params)
2657
+ req.send_request(options)
2658
+ end
2659
+
2598
2660
  # Associates Elastic IP addresses (EIPs) and private IPv4 addresses with
2599
2661
  # a public NAT gateway. For more information, see [Work with NAT
2600
2662
  # gateways][1] in the *Amazon VPC User Guide*.
@@ -16401,6 +16463,7 @@ module Aws::EC2
16401
16463
  # * {Types::Snapshot#completion_duration_minutes #completion_duration_minutes} => Integer
16402
16464
  # * {Types::Snapshot#completion_time #completion_time} => Time
16403
16465
  # * {Types::Snapshot#full_snapshot_size_in_bytes #full_snapshot_size_in_bytes} => Integer
16466
+ # * {Types::Snapshot#associated_kms_keys #associated_kms_keys} => Array&lt;Types::AssociatedKmsKey&gt;
16404
16467
  # * {Types::Snapshot#snapshot_id #snapshot_id} => String
16405
16468
  # * {Types::Snapshot#volume_id #volume_id} => String
16406
16469
  # * {Types::Snapshot#state #state} => String
@@ -16474,6 +16537,8 @@ module Aws::EC2
16474
16537
  # resp.completion_duration_minutes #=> Integer
16475
16538
  # resp.completion_time #=> Time
16476
16539
  # resp.full_snapshot_size_in_bytes #=> Integer
16540
+ # resp.associated_kms_keys #=> Array
16541
+ # resp.associated_kms_keys[0].kms_key_id #=> String
16477
16542
  # resp.snapshot_id #=> String
16478
16543
  # resp.volume_id #=> String
16479
16544
  # resp.state #=> String, one of "pending", "completed", "error", "recoverable", "recovering"
@@ -18141,6 +18206,96 @@ module Aws::EC2
18141
18206
  req.send_request(options)
18142
18207
  end
18143
18208
 
18209
+ # Creates a network function attachment that connects the specified
18210
+ # transit gateway to a Gateway Load Balancer endpoint service. Traffic
18211
+ # that you route to the attachment is sent to the network function
18212
+ # appliances behind the endpoint service. To use this operation, you
18213
+ # must be the owner of the transit gateway.
18214
+ #
18215
+ # You can create one network function attachment for each combination of
18216
+ # transit gateway and endpoint service. The attachment remains in the
18217
+ # `pendingAcceptance` state until the endpoint service owner accepts the
18218
+ # endpoint connection.
18219
+ #
18220
+ # @option params [required, String] :transit_gateway_id
18221
+ # The ID of the transit gateway. The transit gateway must be in the
18222
+ # `available` state.
18223
+ #
18224
+ # @option params [required, String] :service_name
18225
+ # The name of the Gateway Load Balancer endpoint service.
18226
+ #
18227
+ # @option params [Array<String>] :availability_zones
18228
+ # The names of the Availability Zones for the attachment. You must
18229
+ # specify at least one Availability Zone, using this parameter,
18230
+ # `AvailabilityZoneIds`, or both. Each Availability Zone must be
18231
+ # supported by both the transit gateway and the endpoint service.
18232
+ #
18233
+ # @option params [Array<String>] :availability_zone_ids
18234
+ # The IDs of the Availability Zones for the attachment. You must specify
18235
+ # at least one Availability Zone, using this parameter,
18236
+ # `AvailabilityZones`, or both. Each Availability Zone must be supported
18237
+ # by both the transit gateway and the endpoint service.
18238
+ #
18239
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
18240
+ # The tags to apply to the network function attachment.
18241
+ #
18242
+ # @option params [Boolean] :dry_run
18243
+ # Checks whether you have the required permissions for the action,
18244
+ # without actually making the request, and provides an error response.
18245
+ # If you have the required permissions, the error response is
18246
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18247
+ #
18248
+ # @return [Types::CreateTransitGatewayNetworkFunctionAttachmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18249
+ #
18250
+ # * {Types::CreateTransitGatewayNetworkFunctionAttachmentResult#transit_gateway_network_function_attachment #transit_gateway_network_function_attachment} => Types::TransitGatewayNetworkFunctionAttachment
18251
+ #
18252
+ # @example Request syntax with placeholder values
18253
+ #
18254
+ # resp = client.create_transit_gateway_network_function_attachment({
18255
+ # transit_gateway_id: "TransitGatewayId", # required
18256
+ # service_name: "String", # required
18257
+ # availability_zones: ["String"],
18258
+ # availability_zone_ids: ["String"],
18259
+ # tag_specifications: [
18260
+ # {
18261
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fca-policy, fleet, fpga-image, host-reservation, image, image-usage-report, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-metering-policy, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, vpc-encryption-control, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, capacity-block, mac-modification-task, ipam-prefix-list-resolver, ipam-policy, ipam-prefix-list-resolver-target, ipam-internet-registry-association, secondary-interface, secondary-network, secondary-subnet, capacity-manager-data-export, vpn-concentrator, ipam-pool-allocation, capacity-reservation-cancellation-quote, application-status-check, capacity-reservation-modification-quote, metric-category
18262
+ # tags: [
18263
+ # {
18264
+ # key: "String",
18265
+ # value: "String",
18266
+ # },
18267
+ # ],
18268
+ # },
18269
+ # ],
18270
+ # dry_run: false,
18271
+ # })
18272
+ #
18273
+ # @example Response structure
18274
+ #
18275
+ # resp.transit_gateway_network_function_attachment.transit_gateway_attachment_id #=> String
18276
+ # resp.transit_gateway_network_function_attachment.transit_gateway_id #=> String
18277
+ # resp.transit_gateway_network_function_attachment.transit_gateway_owner_id #=> String
18278
+ # resp.transit_gateway_network_function_attachment.resource_owner_id #=> String
18279
+ # resp.transit_gateway_network_function_attachment.resource_id #=> String
18280
+ # resp.transit_gateway_network_function_attachment.availability_zones #=> Array
18281
+ # resp.transit_gateway_network_function_attachment.availability_zones[0] #=> String
18282
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids #=> Array
18283
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids[0] #=> String
18284
+ # resp.transit_gateway_network_function_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
18285
+ # resp.transit_gateway_network_function_attachment.creation_time #=> Time
18286
+ # resp.transit_gateway_network_function_attachment.tags #=> Array
18287
+ # resp.transit_gateway_network_function_attachment.tags[0].key #=> String
18288
+ # resp.transit_gateway_network_function_attachment.tags[0].value #=> String
18289
+ #
18290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayNetworkFunctionAttachment AWS API Documentation
18291
+ #
18292
+ # @overload create_transit_gateway_network_function_attachment(params = {})
18293
+ # @param [Hash] params ({})
18294
+ def create_transit_gateway_network_function_attachment(params = {}, options = {})
18295
+ req = build_request(:create_transit_gateway_network_function_attachment, params)
18296
+ req.send_request(options)
18297
+ end
18298
+
18144
18299
  # Requests a transit gateway peering attachment between the specified
18145
18300
  # transit gateway (requester) and a peer transit gateway (accepter). The
18146
18301
  # peer transit gateway can be in your account or a different Amazon Web
@@ -24978,6 +25133,55 @@ module Aws::EC2
24978
25133
  req.send_request(options)
24979
25134
  end
24980
25135
 
25136
+ # Deletes the specified network function attachment. The attachment must
25137
+ # be in the `available` or `pendingAcceptance` state.
25138
+ #
25139
+ # @option params [required, String] :transit_gateway_attachment_id
25140
+ # The ID of the network function attachment.
25141
+ #
25142
+ # @option params [Boolean] :dry_run
25143
+ # Checks whether you have the required permissions for the action,
25144
+ # without actually making the request, and provides an error response.
25145
+ # If you have the required permissions, the error response is
25146
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
25147
+ #
25148
+ # @return [Types::DeleteTransitGatewayNetworkFunctionAttachmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
25149
+ #
25150
+ # * {Types::DeleteTransitGatewayNetworkFunctionAttachmentResult#transit_gateway_network_function_attachment #transit_gateway_network_function_attachment} => Types::TransitGatewayNetworkFunctionAttachment
25151
+ #
25152
+ # @example Request syntax with placeholder values
25153
+ #
25154
+ # resp = client.delete_transit_gateway_network_function_attachment({
25155
+ # transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
25156
+ # dry_run: false,
25157
+ # })
25158
+ #
25159
+ # @example Response structure
25160
+ #
25161
+ # resp.transit_gateway_network_function_attachment.transit_gateway_attachment_id #=> String
25162
+ # resp.transit_gateway_network_function_attachment.transit_gateway_id #=> String
25163
+ # resp.transit_gateway_network_function_attachment.transit_gateway_owner_id #=> String
25164
+ # resp.transit_gateway_network_function_attachment.resource_owner_id #=> String
25165
+ # resp.transit_gateway_network_function_attachment.resource_id #=> String
25166
+ # resp.transit_gateway_network_function_attachment.availability_zones #=> Array
25167
+ # resp.transit_gateway_network_function_attachment.availability_zones[0] #=> String
25168
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids #=> Array
25169
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids[0] #=> String
25170
+ # resp.transit_gateway_network_function_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
25171
+ # resp.transit_gateway_network_function_attachment.creation_time #=> Time
25172
+ # resp.transit_gateway_network_function_attachment.tags #=> Array
25173
+ # resp.transit_gateway_network_function_attachment.tags[0].key #=> String
25174
+ # resp.transit_gateway_network_function_attachment.tags[0].value #=> String
25175
+ #
25176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayNetworkFunctionAttachment AWS API Documentation
25177
+ #
25178
+ # @overload delete_transit_gateway_network_function_attachment(params = {})
25179
+ # @param [Hash] params ({})
25180
+ def delete_transit_gateway_network_function_attachment(params = {}, options = {})
25181
+ req = build_request(:delete_transit_gateway_network_function_attachment, params)
25182
+ req.send_request(options)
25183
+ end
25184
+
24981
25185
  # Deletes a transit gateway peering attachment.
24982
25186
  #
24983
25187
  # @option params [required, String] :transit_gateway_attachment_id
@@ -44569,6 +44773,8 @@ module Aws::EC2
44569
44773
  # resp.snapshots[0].completion_duration_minutes #=> Integer
44570
44774
  # resp.snapshots[0].completion_time #=> Time
44571
44775
  # resp.snapshots[0].full_snapshot_size_in_bytes #=> Integer
44776
+ # resp.snapshots[0].associated_kms_keys #=> Array
44777
+ # resp.snapshots[0].associated_kms_keys[0].kms_key_id #=> String
44572
44778
  # resp.snapshots[0].snapshot_id #=> String
44573
44779
  # resp.snapshots[0].volume_id #=> String
44574
44780
  # resp.snapshots[0].state #=> String, one of "pending", "completed", "error", "recoverable", "recovering"
@@ -47091,6 +47297,90 @@ module Aws::EC2
47091
47297
  req.send_request(options)
47092
47298
  end
47093
47299
 
47300
+ # Describes one or more network function attachments. You can describe
47301
+ # attachments that you own or that are attached to a transit gateway
47302
+ # that you own.
47303
+ #
47304
+ # @option params [Array<String>] :transit_gateway_attachment_ids
47305
+ # The IDs of the network function attachments.
47306
+ #
47307
+ # @option params [Array<Types::Filter>] :filters
47308
+ # One or more filters. The possible values are:
47309
+ #
47310
+ # * `service-name` - The name of the Gateway Load Balancer endpoint
47311
+ # service.
47312
+ #
47313
+ # * `state` - The state of the attachment. Valid values are `available`
47314
+ # \| `deleted` \| `deleting` \| `failed` \| `failing` \| `modifying`
47315
+ # \| `pendingAcceptance` \| `pending` \| `rollingBack` \| `rejected`
47316
+ # \| `rejecting`.
47317
+ #
47318
+ # * `transit-gateway-attachment-id` - The ID of the attachment.
47319
+ #
47320
+ # * `transit-gateway-id` - The ID of the transit gateway.
47321
+ #
47322
+ # @option params [Integer] :max_results
47323
+ # The maximum number of results to return with a single call. To
47324
+ # retrieve the remaining results, make another call with the returned
47325
+ # `nextToken` value.
47326
+ #
47327
+ # @option params [String] :next_token
47328
+ # The token for the next page of results.
47329
+ #
47330
+ # @option params [Boolean] :dry_run
47331
+ # Checks whether you have the required permissions for the action,
47332
+ # without actually making the request, and provides an error response.
47333
+ # If you have the required permissions, the error response is
47334
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
47335
+ #
47336
+ # @return [Types::DescribeTransitGatewayNetworkFunctionAttachmentsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
47337
+ #
47338
+ # * {Types::DescribeTransitGatewayNetworkFunctionAttachmentsResult#transit_gateway_network_function_attachments #transit_gateway_network_function_attachments} => Array&lt;Types::TransitGatewayNetworkFunctionAttachment&gt;
47339
+ # * {Types::DescribeTransitGatewayNetworkFunctionAttachmentsResult#next_token #next_token} => String
47340
+ #
47341
+ # @example Request syntax with placeholder values
47342
+ #
47343
+ # resp = client.describe_transit_gateway_network_function_attachments({
47344
+ # transit_gateway_attachment_ids: ["TransitGatewayAttachmentId"],
47345
+ # filters: [
47346
+ # {
47347
+ # name: "String",
47348
+ # values: ["String"],
47349
+ # },
47350
+ # ],
47351
+ # max_results: 1,
47352
+ # next_token: "String",
47353
+ # dry_run: false,
47354
+ # })
47355
+ #
47356
+ # @example Response structure
47357
+ #
47358
+ # resp.transit_gateway_network_function_attachments #=> Array
47359
+ # resp.transit_gateway_network_function_attachments[0].transit_gateway_attachment_id #=> String
47360
+ # resp.transit_gateway_network_function_attachments[0].transit_gateway_id #=> String
47361
+ # resp.transit_gateway_network_function_attachments[0].transit_gateway_owner_id #=> String
47362
+ # resp.transit_gateway_network_function_attachments[0].resource_owner_id #=> String
47363
+ # resp.transit_gateway_network_function_attachments[0].resource_id #=> String
47364
+ # resp.transit_gateway_network_function_attachments[0].availability_zones #=> Array
47365
+ # resp.transit_gateway_network_function_attachments[0].availability_zones[0] #=> String
47366
+ # resp.transit_gateway_network_function_attachments[0].availability_zone_ids #=> Array
47367
+ # resp.transit_gateway_network_function_attachments[0].availability_zone_ids[0] #=> String
47368
+ # resp.transit_gateway_network_function_attachments[0].state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
47369
+ # resp.transit_gateway_network_function_attachments[0].creation_time #=> Time
47370
+ # resp.transit_gateway_network_function_attachments[0].tags #=> Array
47371
+ # resp.transit_gateway_network_function_attachments[0].tags[0].key #=> String
47372
+ # resp.transit_gateway_network_function_attachments[0].tags[0].value #=> String
47373
+ # resp.next_token #=> String
47374
+ #
47375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayNetworkFunctionAttachments AWS API Documentation
47376
+ #
47377
+ # @overload describe_transit_gateway_network_function_attachments(params = {})
47378
+ # @param [Hash] params ({})
47379
+ def describe_transit_gateway_network_function_attachments(params = {}, options = {})
47380
+ req = build_request(:describe_transit_gateway_network_function_attachments, params)
47381
+ req.send_request(options)
47382
+ end
47383
+
47094
47384
  # Describes your transit gateway peering attachments.
47095
47385
  #
47096
47386
  # @option params [Array<String>] :transit_gateway_attachment_ids
@@ -49497,6 +49787,9 @@ module Aws::EC2
49497
49787
  #
49498
49788
  # * `service-id` - The ID of the service.
49499
49789
  #
49790
+ # * `transit-gateway-attachment-id` - The ID of the transit gateway
49791
+ # attachment.
49792
+ #
49500
49793
  # * `vpc-endpoint-owner` - The ID of the Amazon Web Services account ID
49501
49794
  # that owns the endpoint.
49502
49795
  #
@@ -49564,6 +49857,8 @@ module Aws::EC2
49564
49857
  # resp.vpc_endpoint_connections[0].payer_responsibilities #=> Array
49565
49858
  # resp.vpc_endpoint_connections[0].payer_responsibilities[0].scope #=> String, one of "vpc-endpoint-charges", "resource-gateway-charges"
49566
49859
  # resp.vpc_endpoint_connections[0].payer_responsibilities[0].payer_responsibility_type #=> String, one of "vpc-endpoint-account", "resource-gateway-account", "vpc-endpoint-service-account"
49860
+ # resp.vpc_endpoint_connections[0].transit_gateway_attachment_id #=> String
49861
+ # resp.vpc_endpoint_connections[0].transit_gateway_attachment_owner #=> String
49567
49862
  # resp.next_token #=> String
49568
49863
  #
49569
49864
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnections AWS API Documentation
@@ -49704,6 +49999,9 @@ module Aws::EC2
49704
49999
  # @option params [Array<Types::Filter>] :filters
49705
50000
  # The filters.
49706
50001
  #
50002
+ # * `permission-type` - The permission type (`vpc-endpoint` \|
50003
+ # `transit-gateway-attachment`).
50004
+ #
49707
50005
  # * `principal` - The ARN of the principal.
49708
50006
  #
49709
50007
  # * `principal-type` - The principal type (`All` \| `Service` \|
@@ -49751,6 +50049,7 @@ module Aws::EC2
49751
50049
  # resp.allowed_principals[0].tags[0].key #=> String
49752
50050
  # resp.allowed_principals[0].tags[0].value #=> String
49753
50051
  # resp.allowed_principals[0].service_id #=> String
50052
+ # resp.allowed_principals[0].permission_type #=> String, one of "vpc-endpoint", "transit-gateway-attachment"
49754
50053
  # resp.next_token #=> String
49755
50054
  #
49756
50055
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissions AWS API Documentation
@@ -52829,6 +53128,49 @@ module Aws::EC2
52829
53128
  req.send_request(options)
52830
53129
  end
52831
53130
 
53131
+ # Removes an associated KMS key from an Amazon EBS snapshot. After you
53132
+ # disassociate the key, it can no longer be used to access the
53133
+ # snapshot's data. The snapshot's original encryption key is
53134
+ # unaffected.
53135
+ #
53136
+ # @option params [String] :snapshot_id
53137
+ # The ID of the Amazon EBS snapshot.
53138
+ #
53139
+ # @option params [required, String] :kms_key_id
53140
+ # The ID, alias, or ARN of the associated KMS key to remove from the
53141
+ # snapshot.
53142
+ #
53143
+ # @option params [Boolean] :dry_run
53144
+ # Checks whether you have the required permissions for the action,
53145
+ # without actually making the request, and provides an error response.
53146
+ # If you have the required permissions, the error response is
53147
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
53148
+ #
53149
+ # @return [Types::DisassociateKmsKeyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
53150
+ #
53151
+ # * {Types::DisassociateKmsKeyIdResult#return #return} => Boolean
53152
+ #
53153
+ # @example Request syntax with placeholder values
53154
+ #
53155
+ # resp = client.disassociate_kms_key_id({
53156
+ # snapshot_id: "SnapshotId",
53157
+ # kms_key_id: "KmsKeyId", # required
53158
+ # dry_run: false,
53159
+ # })
53160
+ #
53161
+ # @example Response structure
53162
+ #
53163
+ # resp.return #=> Boolean
53164
+ #
53165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateKmsKeyId AWS API Documentation
53166
+ #
53167
+ # @overload disassociate_kms_key_id(params = {})
53168
+ # @param [Hash] params ({})
53169
+ def disassociate_kms_key_id(params = {}, options = {})
53170
+ req = build_request(:disassociate_kms_key_id, params)
53171
+ req.send_request(options)
53172
+ end
53173
+
52832
53174
  # Disassociates secondary Elastic IP addresses (EIPs) from a public NAT
52833
53175
  # gateway. You cannot disassociate your primary EIP. For more
52834
53176
  # information, see [Edit secondary IP address associations][1] in the
@@ -68358,6 +68700,84 @@ module Aws::EC2
68358
68700
  req.send_request(options)
68359
68701
  end
68360
68702
 
68703
+ # Adds Availability Zones to or removes Availability Zones from the
68704
+ # specified network function attachment. The attachment must be in the
68705
+ # `available` state. You must specify at least one Availability Zone to
68706
+ # add or remove, and the attachment must keep at least one Availability
68707
+ # Zone.
68708
+ #
68709
+ # Adding an Availability Zone provisions a new Gateway Load Balancer
68710
+ # endpoint in that Availability Zone. If the endpoint service doesn't
68711
+ # automatically accept connection requests, the endpoint service owner
68712
+ # must accept the endpoint connection for each Availability Zone that
68713
+ # you add.
68714
+ #
68715
+ # @option params [required, String] :transit_gateway_attachment_id
68716
+ # The ID of the network function attachment.
68717
+ #
68718
+ # @option params [Array<String>] :add_availability_zones
68719
+ # The names of the Availability Zones to add to the attachment. You
68720
+ # can't add and remove the same Availability Zone in a single request.
68721
+ #
68722
+ # @option params [Array<String>] :add_availability_zone_ids
68723
+ # The IDs of the Availability Zones to add to the attachment. You can't
68724
+ # add and remove the same Availability Zone in a single request.
68725
+ #
68726
+ # @option params [Array<String>] :remove_availability_zones
68727
+ # The names of the Availability Zones to remove from the attachment.
68728
+ # Each Availability Zone must be currently in the attachment.
68729
+ #
68730
+ # @option params [Array<String>] :remove_availability_zone_ids
68731
+ # The IDs of the Availability Zones to remove from the attachment. Each
68732
+ # Availability Zone must be currently in the attachment.
68733
+ #
68734
+ # @option params [Boolean] :dry_run
68735
+ # Checks whether you have the required permissions for the action,
68736
+ # without actually making the request, and provides an error response.
68737
+ # If you have the required permissions, the error response is
68738
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
68739
+ #
68740
+ # @return [Types::ModifyTransitGatewayNetworkFunctionAttachmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
68741
+ #
68742
+ # * {Types::ModifyTransitGatewayNetworkFunctionAttachmentResult#transit_gateway_network_function_attachment #transit_gateway_network_function_attachment} => Types::TransitGatewayNetworkFunctionAttachment
68743
+ #
68744
+ # @example Request syntax with placeholder values
68745
+ #
68746
+ # resp = client.modify_transit_gateway_network_function_attachment({
68747
+ # transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
68748
+ # add_availability_zones: ["String"],
68749
+ # add_availability_zone_ids: ["String"],
68750
+ # remove_availability_zones: ["String"],
68751
+ # remove_availability_zone_ids: ["String"],
68752
+ # dry_run: false,
68753
+ # })
68754
+ #
68755
+ # @example Response structure
68756
+ #
68757
+ # resp.transit_gateway_network_function_attachment.transit_gateway_attachment_id #=> String
68758
+ # resp.transit_gateway_network_function_attachment.transit_gateway_id #=> String
68759
+ # resp.transit_gateway_network_function_attachment.transit_gateway_owner_id #=> String
68760
+ # resp.transit_gateway_network_function_attachment.resource_owner_id #=> String
68761
+ # resp.transit_gateway_network_function_attachment.resource_id #=> String
68762
+ # resp.transit_gateway_network_function_attachment.availability_zones #=> Array
68763
+ # resp.transit_gateway_network_function_attachment.availability_zones[0] #=> String
68764
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids #=> Array
68765
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids[0] #=> String
68766
+ # resp.transit_gateway_network_function_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
68767
+ # resp.transit_gateway_network_function_attachment.creation_time #=> Time
68768
+ # resp.transit_gateway_network_function_attachment.tags #=> Array
68769
+ # resp.transit_gateway_network_function_attachment.tags[0].key #=> String
68770
+ # resp.transit_gateway_network_function_attachment.tags[0].value #=> String
68771
+ #
68772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayNetworkFunctionAttachment AWS API Documentation
68773
+ #
68774
+ # @overload modify_transit_gateway_network_function_attachment(params = {})
68775
+ # @param [Hash] params ({})
68776
+ def modify_transit_gateway_network_function_attachment(params = {}, options = {})
68777
+ req = build_request(:modify_transit_gateway_network_function_attachment, params)
68778
+ req.send_request(options)
68779
+ end
68780
+
68361
68781
  # Modifies the specified transit gateway policy table entry.
68362
68782
  #
68363
68783
  # @option params [required, String] :transit_gateway_policy_table_id
@@ -70103,6 +70523,14 @@ module Aws::EC2
70103
70523
  # attach an endpoint. If the service does not require manual approval,
70104
70524
  # attachments are automatically approved.
70105
70525
  #
70526
+ # By default, principals that you grant permissions to can create VPC
70527
+ # endpoints that connect to your endpoint service. For Gateway Load
70528
+ # Balancer endpoint services, you can instead grant permissions so that
70529
+ # principals can create transit gateway attachments that connect to your
70530
+ # endpoint service. To do so, specify `transit-gateway-attachment` for
70531
+ # `PermissionType`. The two permission types are independent. A
70532
+ # principal can have either or both.
70533
+ #
70106
70534
  # @option params [Boolean] :dry_run
70107
70535
  # Checks whether you have the required permissions for the action,
70108
70536
  # without actually making the request, and provides an error response.
@@ -70121,6 +70549,23 @@ module Aws::EC2
70121
70549
  # The Amazon Resource Names (ARN) of the principals. Permissions are
70122
70550
  # revoked for principals in this list.
70123
70551
  #
70552
+ # @option params [String] :permission_type
70553
+ # The type of permission to add or remove. The permission type applies
70554
+ # to all principals in `AddAllowedPrincipals` and
70555
+ # `RemoveAllowedPrincipals`.
70556
+ #
70557
+ # * `vpc-endpoint` - Principals can create VPC endpoints that connect to
70558
+ # the endpoint service.
70559
+ #
70560
+ # * `transit-gateway-attachment` - Principals can create transit gateway
70561
+ # attachments that connect to the endpoint service. This permission
70562
+ # type is supported only for Gateway Load Balancer endpoint services.
70563
+ # You can grant it only to Amazon Web Services accounts
70564
+ # (`arn:aws:iam::account-id:root`). You can't grant it to users, IAM
70565
+ # roles, organizations, organizational units, or all principals (*).
70566
+ #
70567
+ # Default: `vpc-endpoint`
70568
+ #
70124
70569
  # @return [Types::ModifyVpcEndpointServicePermissionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
70125
70570
  #
70126
70571
  # * {Types::ModifyVpcEndpointServicePermissionsResult#added_principals #added_principals} => Array&lt;Types::AddedPrincipal&gt;
@@ -70133,6 +70578,7 @@ module Aws::EC2
70133
70578
  # service_id: "VpcEndpointServiceId", # required
70134
70579
  # add_allowed_principals: ["String"],
70135
70580
  # remove_allowed_principals: ["String"],
70581
+ # permission_type: "vpc-endpoint", # accepts vpc-endpoint, transit-gateway-attachment
70136
70582
  # })
70137
70583
  #
70138
70584
  # @example Response structure
@@ -70142,6 +70588,7 @@ module Aws::EC2
70142
70588
  # resp.added_principals[0].principal #=> String
70143
70589
  # resp.added_principals[0].service_permission_id #=> String
70144
70590
  # resp.added_principals[0].service_id #=> String
70591
+ # resp.added_principals[0].permission_type #=> String, one of "vpc-endpoint", "transit-gateway-attachment"
70145
70592
  # resp.return_value #=> Boolean
70146
70593
  #
70147
70594
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissions AWS API Documentation
@@ -72820,6 +73267,16 @@ module Aws::EC2
72820
73267
  # @option params [required, Array<String>] :vpc_endpoint_ids
72821
73268
  # The IDs of the VPC endpoints.
72822
73269
  #
73270
+ # You must specify either `VpcEndpointIds` or
73271
+ # `TransitGatewayAttachmentIds`, but not both.
73272
+ #
73273
+ # @option params [Array<String>] :transit_gateway_attachment_ids
73274
+ # The IDs of the transit gateway attachments to reject. This parameter
73275
+ # is supported only for Gateway Load Balancer endpoint services.
73276
+ #
73277
+ # You must specify either `VpcEndpointIds` or
73278
+ # `TransitGatewayAttachmentIds`, but not both.
73279
+ #
72823
73280
  # @return [Types::RejectVpcEndpointConnectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
72824
73281
  #
72825
73282
  # * {Types::RejectVpcEndpointConnectionsResult#unsuccessful #unsuccessful} => Array&lt;Types::UnsuccessfulItem&gt;
@@ -72830,6 +73287,7 @@ module Aws::EC2
72830
73287
  # dry_run: false,
72831
73288
  # service_id: "VpcEndpointServiceId", # required
72832
73289
  # vpc_endpoint_ids: ["VpcEndpointId"], # required
73290
+ # transit_gateway_attachment_ids: ["TransitGatewayAttachmentId"],
72833
73291
  # })
72834
73292
  #
72835
73293
  # @example Response structure
@@ -79694,7 +80152,7 @@ module Aws::EC2
79694
80152
  tracer: tracer
79695
80153
  )
79696
80154
  context[:gem_name] = 'aws-sdk-ec2'
79697
- context[:gem_version] = '1.670.0'
80155
+ context[:gem_version] = '1.671.0'
79698
80156
  Seahorse::Client::Request.new(handlers, context)
79699
80157
  end
79700
80158