aws-sdk-ec2 1.670.0 → 1.672.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.
@@ -769,6 +769,11 @@ module Aws::EC2
769
769
  # resp.transit_gateway_peering_attachment.accepter_tgw_info.owner_id #=> String
770
770
  # resp.transit_gateway_peering_attachment.accepter_tgw_info.region #=> String
771
771
  # resp.transit_gateway_peering_attachment.options.dynamic_routing #=> String, one of "enable", "disable"
772
+ # resp.transit_gateway_peering_attachment.options.requester_allow_multipath_resilience #=> Boolean
773
+ # resp.transit_gateway_peering_attachment.options.requester_multipath_resilience_mode #=> String, one of "always-on"
774
+ # resp.transit_gateway_peering_attachment.options.accepter_allow_multipath_resilience #=> Boolean
775
+ # resp.transit_gateway_peering_attachment.options.accepter_multipath_resilience_mode #=> String, one of "always-on"
776
+ # resp.transit_gateway_peering_attachment.options.multipath_resilience_status #=> String, one of "pending", "enabled", "disabled"
772
777
  # resp.transit_gateway_peering_attachment.status.code #=> String
773
778
  # resp.transit_gateway_peering_attachment.status.message #=> String
774
779
  # resp.transit_gateway_peering_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
@@ -854,6 +859,16 @@ module Aws::EC2
854
859
  # @option params [required, Array<String>] :vpc_endpoint_ids
855
860
  # The IDs of the interface VPC endpoints.
856
861
  #
862
+ # You must specify either `VpcEndpointIds` or
863
+ # `TransitGatewayAttachmentIds`, but not both.
864
+ #
865
+ # @option params [Array<String>] :transit_gateway_attachment_ids
866
+ # The IDs of the transit gateway attachments to accept. This parameter
867
+ # is supported only for Gateway Load Balancer endpoint services.
868
+ #
869
+ # You must specify either `VpcEndpointIds` or
870
+ # `TransitGatewayAttachmentIds`, but not both.
871
+ #
857
872
  # @return [Types::AcceptVpcEndpointConnectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
858
873
  #
859
874
  # * {Types::AcceptVpcEndpointConnectionsResult#unsuccessful #unsuccessful} => Array&lt;Types::UnsuccessfulItem&gt;
@@ -864,6 +879,7 @@ module Aws::EC2
864
879
  # dry_run: false,
865
880
  # service_id: "VpcEndpointServiceId", # required
866
881
  # vpc_endpoint_ids: ["VpcEndpointId"], # required
882
+ # transit_gateway_attachment_ids: ["TransitGatewayAttachmentId"],
867
883
  # })
868
884
  #
869
885
  # @example Response structure
@@ -890,6 +906,18 @@ module Aws::EC2
890
906
  # For an inter-Region VPC peering connection request, you must accept
891
907
  # the VPC peering connection in the Region of the accepter VPC.
892
908
  #
909
+ # If the requester allows multipath resilience, accepting the request
910
+ # also allows multipath resilience for the accepter VPC, and the
911
+ # `multipathResilienceStatus` of the VPC peering connection becomes
912
+ # `enabled`. Additional charges apply. For more information, see [Amazon
913
+ # VPC pricing][1]. To stop allowing multipath resilience for the
914
+ # accepter VPC, use ModifyVpcPeeringConnectionOptions and set
915
+ # `AllowMultipathResilience` to `false`.
916
+ #
917
+ #
918
+ #
919
+ # [1]: http://aws.amazon.com/vpc/pricing/
920
+ #
893
921
  # @option params [Boolean] :dry_run
894
922
  # Checks whether you have the required permissions for the action,
895
923
  # without actually making the request, and provides an error response.
@@ -922,6 +950,8 @@ module Aws::EC2
922
950
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
923
951
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
924
952
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
953
+ # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_multipath_resilience #=> Boolean
954
+ # resp.vpc_peering_connection.accepter_vpc_info.peering_options.multipath_resilience_mode #=> String, one of "always-on"
925
955
  # resp.vpc_peering_connection.accepter_vpc_info.vpc_id #=> String
926
956
  # resp.vpc_peering_connection.accepter_vpc_info.region #=> String
927
957
  # resp.vpc_peering_connection.expiration_time #=> Time
@@ -934,6 +964,8 @@ module Aws::EC2
934
964
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
935
965
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
936
966
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
967
+ # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_multipath_resilience #=> Boolean
968
+ # resp.vpc_peering_connection.requester_vpc_info.peering_options.multipath_resilience_mode #=> String, one of "always-on"
937
969
  # resp.vpc_peering_connection.requester_vpc_info.vpc_id #=> String
938
970
  # resp.vpc_peering_connection.requester_vpc_info.region #=> String
939
971
  # resp.vpc_peering_connection.status.code #=> String, one of "initiating-request", "pending-acceptance", "active", "deleted", "rejected", "failed", "expired", "provisioning", "deleting"
@@ -942,6 +974,7 @@ module Aws::EC2
942
974
  # resp.vpc_peering_connection.tags[0].key #=> String
943
975
  # resp.vpc_peering_connection.tags[0].value #=> String
944
976
  # resp.vpc_peering_connection.vpc_peering_connection_id #=> String
977
+ # resp.vpc_peering_connection.multipath_resilience_status #=> String, one of "pending", "enabled", "disabled"
945
978
  #
946
979
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnection AWS API Documentation
947
980
  #
@@ -2595,6 +2628,57 @@ module Aws::EC2
2595
2628
  req.send_request(options)
2596
2629
  end
2597
2630
 
2631
+ # Associates an additional KMS key with an encrypted Amazon EBS
2632
+ # snapshot. With the associated key, you have a second, independent way
2633
+ # to access the snapshot's data, in addition to the key the snapshot is
2634
+ # already encrypted under. Associating a key doesn't re-encrypt the
2635
+ # snapshot or grant access to its original key.
2636
+ #
2637
+ # For more information, see [Associated KMS keys][1] in the *Amazon EBS
2638
+ # User Guide*.
2639
+ #
2640
+ #
2641
+ #
2642
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/associated-kms-keys.html
2643
+ #
2644
+ # @option params [String] :snapshot_id
2645
+ # The ID of the Amazon EBS snapshot.
2646
+ #
2647
+ # @option params [required, String] :kms_key_id
2648
+ # The ID, alias, or ARN of the KMS key to associate with the snapshot.
2649
+ # You can specify a key ID, key alias, key ARN, or alias ARN.
2650
+ #
2651
+ # @option params [Boolean] :dry_run
2652
+ # Checks whether you have the required permissions for the action,
2653
+ # without actually making the request, and provides an error response.
2654
+ # If you have the required permissions, the error response is
2655
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2656
+ #
2657
+ # @return [Types::AssociateKmsKeyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2658
+ #
2659
+ # * {Types::AssociateKmsKeyIdResult#return #return} => Boolean
2660
+ #
2661
+ # @example Request syntax with placeholder values
2662
+ #
2663
+ # resp = client.associate_kms_key_id({
2664
+ # snapshot_id: "SnapshotId",
2665
+ # kms_key_id: "KmsKeyId", # required
2666
+ # dry_run: false,
2667
+ # })
2668
+ #
2669
+ # @example Response structure
2670
+ #
2671
+ # resp.return #=> Boolean
2672
+ #
2673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateKmsKeyId AWS API Documentation
2674
+ #
2675
+ # @overload associate_kms_key_id(params = {})
2676
+ # @param [Hash] params ({})
2677
+ def associate_kms_key_id(params = {}, options = {})
2678
+ req = build_request(:associate_kms_key_id, params)
2679
+ req.send_request(options)
2680
+ end
2681
+
2598
2682
  # Associates Elastic IP addresses (EIPs) and private IPv4 addresses with
2599
2683
  # a public NAT gateway. For more information, see [Work with NAT
2600
2684
  # gateways][1] in the *Amazon VPC User Guide*.
@@ -16401,6 +16485,7 @@ module Aws::EC2
16401
16485
  # * {Types::Snapshot#completion_duration_minutes #completion_duration_minutes} => Integer
16402
16486
  # * {Types::Snapshot#completion_time #completion_time} => Time
16403
16487
  # * {Types::Snapshot#full_snapshot_size_in_bytes #full_snapshot_size_in_bytes} => Integer
16488
+ # * {Types::Snapshot#associated_kms_keys #associated_kms_keys} => Array&lt;Types::AssociatedKmsKey&gt;
16404
16489
  # * {Types::Snapshot#snapshot_id #snapshot_id} => String
16405
16490
  # * {Types::Snapshot#volume_id #volume_id} => String
16406
16491
  # * {Types::Snapshot#state #state} => String
@@ -16474,6 +16559,8 @@ module Aws::EC2
16474
16559
  # resp.completion_duration_minutes #=> Integer
16475
16560
  # resp.completion_time #=> Time
16476
16561
  # resp.full_snapshot_size_in_bytes #=> Integer
16562
+ # resp.associated_kms_keys #=> Array
16563
+ # resp.associated_kms_keys[0].kms_key_id #=> String
16477
16564
  # resp.snapshot_id #=> String
16478
16565
  # resp.volume_id #=> String
16479
16566
  # resp.state #=> String, one of "pending", "completed", "error", "recoverable", "recovering"
@@ -18141,6 +18228,96 @@ module Aws::EC2
18141
18228
  req.send_request(options)
18142
18229
  end
18143
18230
 
18231
+ # Creates a network function attachment that connects the specified
18232
+ # transit gateway to a Gateway Load Balancer endpoint service. Traffic
18233
+ # that you route to the attachment is sent to the network function
18234
+ # appliances behind the endpoint service. To use this operation, you
18235
+ # must be the owner of the transit gateway.
18236
+ #
18237
+ # You can create one network function attachment for each combination of
18238
+ # transit gateway and endpoint service. The attachment remains in the
18239
+ # `pendingAcceptance` state until the endpoint service owner accepts the
18240
+ # endpoint connection.
18241
+ #
18242
+ # @option params [required, String] :transit_gateway_id
18243
+ # The ID of the transit gateway. The transit gateway must be in the
18244
+ # `available` state.
18245
+ #
18246
+ # @option params [required, String] :service_name
18247
+ # The name of the Gateway Load Balancer endpoint service.
18248
+ #
18249
+ # @option params [Array<String>] :availability_zones
18250
+ # The names of the Availability Zones for the attachment. You must
18251
+ # specify at least one Availability Zone, using this parameter,
18252
+ # `AvailabilityZoneIds`, or both. Each Availability Zone must be
18253
+ # supported by both the transit gateway and the endpoint service.
18254
+ #
18255
+ # @option params [Array<String>] :availability_zone_ids
18256
+ # The IDs of the Availability Zones for the attachment. You must specify
18257
+ # at least one Availability Zone, using this parameter,
18258
+ # `AvailabilityZones`, or both. Each Availability Zone must be supported
18259
+ # by both the transit gateway and the endpoint service.
18260
+ #
18261
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
18262
+ # The tags to apply to the network function attachment.
18263
+ #
18264
+ # @option params [Boolean] :dry_run
18265
+ # Checks whether you have the required permissions for the action,
18266
+ # without actually making the request, and provides an error response.
18267
+ # If you have the required permissions, the error response is
18268
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18269
+ #
18270
+ # @return [Types::CreateTransitGatewayNetworkFunctionAttachmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18271
+ #
18272
+ # * {Types::CreateTransitGatewayNetworkFunctionAttachmentResult#transit_gateway_network_function_attachment #transit_gateway_network_function_attachment} => Types::TransitGatewayNetworkFunctionAttachment
18273
+ #
18274
+ # @example Request syntax with placeholder values
18275
+ #
18276
+ # resp = client.create_transit_gateway_network_function_attachment({
18277
+ # transit_gateway_id: "TransitGatewayId", # required
18278
+ # service_name: "String", # required
18279
+ # availability_zones: ["String"],
18280
+ # availability_zone_ids: ["String"],
18281
+ # tag_specifications: [
18282
+ # {
18283
+ # 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
18284
+ # tags: [
18285
+ # {
18286
+ # key: "String",
18287
+ # value: "String",
18288
+ # },
18289
+ # ],
18290
+ # },
18291
+ # ],
18292
+ # dry_run: false,
18293
+ # })
18294
+ #
18295
+ # @example Response structure
18296
+ #
18297
+ # resp.transit_gateway_network_function_attachment.transit_gateway_attachment_id #=> String
18298
+ # resp.transit_gateway_network_function_attachment.transit_gateway_id #=> String
18299
+ # resp.transit_gateway_network_function_attachment.transit_gateway_owner_id #=> String
18300
+ # resp.transit_gateway_network_function_attachment.resource_owner_id #=> String
18301
+ # resp.transit_gateway_network_function_attachment.resource_id #=> String
18302
+ # resp.transit_gateway_network_function_attachment.availability_zones #=> Array
18303
+ # resp.transit_gateway_network_function_attachment.availability_zones[0] #=> String
18304
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids #=> Array
18305
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids[0] #=> String
18306
+ # resp.transit_gateway_network_function_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
18307
+ # resp.transit_gateway_network_function_attachment.creation_time #=> Time
18308
+ # resp.transit_gateway_network_function_attachment.tags #=> Array
18309
+ # resp.transit_gateway_network_function_attachment.tags[0].key #=> String
18310
+ # resp.transit_gateway_network_function_attachment.tags[0].value #=> String
18311
+ #
18312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayNetworkFunctionAttachment AWS API Documentation
18313
+ #
18314
+ # @overload create_transit_gateway_network_function_attachment(params = {})
18315
+ # @param [Hash] params ({})
18316
+ def create_transit_gateway_network_function_attachment(params = {}, options = {})
18317
+ req = build_request(:create_transit_gateway_network_function_attachment, params)
18318
+ req.send_request(options)
18319
+ end
18320
+
18144
18321
  # Requests a transit gateway peering attachment between the specified
18145
18322
  # transit gateway (requester) and a peer transit gateway (accepter). The
18146
18323
  # peer transit gateway can be in your account or a different Amazon Web
@@ -18188,6 +18365,8 @@ module Aws::EC2
18188
18365
  # peer_region: "String", # required
18189
18366
  # options: {
18190
18367
  # dynamic_routing: "enable", # accepts enable, disable
18368
+ # allow_multipath_resilience: false,
18369
+ # multipath_resilience_mode: "always-on", # accepts always-on
18191
18370
  # },
18192
18371
  # tag_specifications: [
18193
18372
  # {
@@ -18216,6 +18395,11 @@ module Aws::EC2
18216
18395
  # resp.transit_gateway_peering_attachment.accepter_tgw_info.owner_id #=> String
18217
18396
  # resp.transit_gateway_peering_attachment.accepter_tgw_info.region #=> String
18218
18397
  # resp.transit_gateway_peering_attachment.options.dynamic_routing #=> String, one of "enable", "disable"
18398
+ # resp.transit_gateway_peering_attachment.options.requester_allow_multipath_resilience #=> Boolean
18399
+ # resp.transit_gateway_peering_attachment.options.requester_multipath_resilience_mode #=> String, one of "always-on"
18400
+ # resp.transit_gateway_peering_attachment.options.accepter_allow_multipath_resilience #=> Boolean
18401
+ # resp.transit_gateway_peering_attachment.options.accepter_multipath_resilience_mode #=> String, one of "always-on"
18402
+ # resp.transit_gateway_peering_attachment.options.multipath_resilience_status #=> String, one of "pending", "enabled", "disabled"
18219
18403
  # resp.transit_gateway_peering_attachment.status.code #=> String
18220
18404
  # resp.transit_gateway_peering_attachment.status.message #=> String
18221
18405
  # resp.transit_gateway_peering_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
@@ -20529,6 +20713,9 @@ module Aws::EC2
20529
20713
  # activate the peering connection. The VPC peering connection request
20530
20714
  # expires after 7 days, after which it cannot be accepted or rejected.
20531
20715
  #
20716
+ # Multipath resilience replicates the traffic of an inter-Region VPC
20717
+ # peering connection across multiple network paths.
20718
+ #
20532
20719
  # If you create a VPC peering connection request between VPCs with
20533
20720
  # overlapping CIDR blocks, the VPC peering connection has a status of
20534
20721
  # `failed`.
@@ -20546,6 +20733,9 @@ module Aws::EC2
20546
20733
  # @option params [Array<Types::TagSpecification>] :tag_specifications
20547
20734
  # The tags to assign to the peering connection.
20548
20735
  #
20736
+ # @option params [Types::CreatePeeringConnectionOptionsRequest] :requester_peering_connection_options
20737
+ # The VPC peering connection options to apply to the requester VPC.
20738
+ #
20549
20739
  # @option params [Boolean] :dry_run
20550
20740
  # Checks whether you have the required permissions for the action,
20551
20741
  # without actually making the request, and provides an error response.
@@ -20584,6 +20774,10 @@ module Aws::EC2
20584
20774
  # ],
20585
20775
  # },
20586
20776
  # ],
20777
+ # requester_peering_connection_options: {
20778
+ # allow_multipath_resilience: false,
20779
+ # multipath_resilience_mode: "always-on", # accepts always-on
20780
+ # },
20587
20781
  # dry_run: false,
20588
20782
  # vpc_id: "VpcId", # required
20589
20783
  # peer_vpc_id: "String",
@@ -20601,6 +20795,8 @@ module Aws::EC2
20601
20795
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
20602
20796
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
20603
20797
  # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
20798
+ # resp.vpc_peering_connection.accepter_vpc_info.peering_options.allow_multipath_resilience #=> Boolean
20799
+ # resp.vpc_peering_connection.accepter_vpc_info.peering_options.multipath_resilience_mode #=> String, one of "always-on"
20604
20800
  # resp.vpc_peering_connection.accepter_vpc_info.vpc_id #=> String
20605
20801
  # resp.vpc_peering_connection.accepter_vpc_info.region #=> String
20606
20802
  # resp.vpc_peering_connection.expiration_time #=> Time
@@ -20613,6 +20809,8 @@ module Aws::EC2
20613
20809
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
20614
20810
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
20615
20811
  # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
20812
+ # resp.vpc_peering_connection.requester_vpc_info.peering_options.allow_multipath_resilience #=> Boolean
20813
+ # resp.vpc_peering_connection.requester_vpc_info.peering_options.multipath_resilience_mode #=> String, one of "always-on"
20616
20814
  # resp.vpc_peering_connection.requester_vpc_info.vpc_id #=> String
20617
20815
  # resp.vpc_peering_connection.requester_vpc_info.region #=> String
20618
20816
  # resp.vpc_peering_connection.status.code #=> String, one of "initiating-request", "pending-acceptance", "active", "deleted", "rejected", "failed", "expired", "provisioning", "deleting"
@@ -20621,6 +20819,7 @@ module Aws::EC2
20621
20819
  # resp.vpc_peering_connection.tags[0].key #=> String
20622
20820
  # resp.vpc_peering_connection.tags[0].value #=> String
20623
20821
  # resp.vpc_peering_connection.vpc_peering_connection_id #=> String
20822
+ # resp.vpc_peering_connection.multipath_resilience_status #=> String, one of "pending", "enabled", "disabled"
20624
20823
  #
20625
20824
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnection AWS API Documentation
20626
20825
  #
@@ -20838,6 +21037,28 @@ module Aws::EC2
20838
21037
  # },
20839
21038
  # },
20840
21039
  # enable_tunnel_lifecycle_control: false,
21040
+ # phase_1_additional_key_exchanges: [
21041
+ # {
21042
+ # additional_key_exchange_round: 1, # required
21043
+ # key_exchange_methods: [
21044
+ # {
21045
+ # value: 1,
21046
+ # },
21047
+ # ],
21048
+ # requirement: "required", # accepts required, optional
21049
+ # },
21050
+ # ],
21051
+ # phase_2_additional_key_exchanges: [
21052
+ # {
21053
+ # additional_key_exchange_round: 1, # required
21054
+ # key_exchange_methods: [
21055
+ # {
21056
+ # value: 1,
21057
+ # },
21058
+ # ],
21059
+ # requirement: "required", # accepts required, optional
21060
+ # },
21061
+ # ],
20841
21062
  # },
20842
21063
  # ],
20843
21064
  # local_ipv_4_network_cidr: "String",
@@ -20902,6 +21123,16 @@ module Aws::EC2
20902
21123
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_group_arn #=> String
20903
21124
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_output_format #=> String
20904
21125
  # resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
21126
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges #=> Array
21127
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
21128
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods #=> Array
21129
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
21130
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
21131
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges #=> Array
21132
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
21133
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods #=> Array
21134
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
21135
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
20905
21136
  # resp.vpn_connection.options.tunnel_bandwidth #=> String, one of "standard", "large"
20906
21137
  # resp.vpn_connection.routes #=> Array
20907
21138
  # resp.vpn_connection.routes[0].destination_cidr_block #=> String
@@ -24978,6 +25209,55 @@ module Aws::EC2
24978
25209
  req.send_request(options)
24979
25210
  end
24980
25211
 
25212
+ # Deletes the specified network function attachment. The attachment must
25213
+ # be in the `available` or `pendingAcceptance` state.
25214
+ #
25215
+ # @option params [required, String] :transit_gateway_attachment_id
25216
+ # The ID of the network function attachment.
25217
+ #
25218
+ # @option params [Boolean] :dry_run
25219
+ # Checks whether you have the required permissions for the action,
25220
+ # without actually making the request, and provides an error response.
25221
+ # If you have the required permissions, the error response is
25222
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
25223
+ #
25224
+ # @return [Types::DeleteTransitGatewayNetworkFunctionAttachmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
25225
+ #
25226
+ # * {Types::DeleteTransitGatewayNetworkFunctionAttachmentResult#transit_gateway_network_function_attachment #transit_gateway_network_function_attachment} => Types::TransitGatewayNetworkFunctionAttachment
25227
+ #
25228
+ # @example Request syntax with placeholder values
25229
+ #
25230
+ # resp = client.delete_transit_gateway_network_function_attachment({
25231
+ # transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
25232
+ # dry_run: false,
25233
+ # })
25234
+ #
25235
+ # @example Response structure
25236
+ #
25237
+ # resp.transit_gateway_network_function_attachment.transit_gateway_attachment_id #=> String
25238
+ # resp.transit_gateway_network_function_attachment.transit_gateway_id #=> String
25239
+ # resp.transit_gateway_network_function_attachment.transit_gateway_owner_id #=> String
25240
+ # resp.transit_gateway_network_function_attachment.resource_owner_id #=> String
25241
+ # resp.transit_gateway_network_function_attachment.resource_id #=> String
25242
+ # resp.transit_gateway_network_function_attachment.availability_zones #=> Array
25243
+ # resp.transit_gateway_network_function_attachment.availability_zones[0] #=> String
25244
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids #=> Array
25245
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids[0] #=> String
25246
+ # resp.transit_gateway_network_function_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
25247
+ # resp.transit_gateway_network_function_attachment.creation_time #=> Time
25248
+ # resp.transit_gateway_network_function_attachment.tags #=> Array
25249
+ # resp.transit_gateway_network_function_attachment.tags[0].key #=> String
25250
+ # resp.transit_gateway_network_function_attachment.tags[0].value #=> String
25251
+ #
25252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayNetworkFunctionAttachment AWS API Documentation
25253
+ #
25254
+ # @overload delete_transit_gateway_network_function_attachment(params = {})
25255
+ # @param [Hash] params ({})
25256
+ def delete_transit_gateway_network_function_attachment(params = {}, options = {})
25257
+ req = build_request(:delete_transit_gateway_network_function_attachment, params)
25258
+ req.send_request(options)
25259
+ end
25260
+
24981
25261
  # Deletes a transit gateway peering attachment.
24982
25262
  #
24983
25263
  # @option params [required, String] :transit_gateway_attachment_id
@@ -25013,6 +25293,11 @@ module Aws::EC2
25013
25293
  # resp.transit_gateway_peering_attachment.accepter_tgw_info.owner_id #=> String
25014
25294
  # resp.transit_gateway_peering_attachment.accepter_tgw_info.region #=> String
25015
25295
  # resp.transit_gateway_peering_attachment.options.dynamic_routing #=> String, one of "enable", "disable"
25296
+ # resp.transit_gateway_peering_attachment.options.requester_allow_multipath_resilience #=> Boolean
25297
+ # resp.transit_gateway_peering_attachment.options.requester_multipath_resilience_mode #=> String, one of "always-on"
25298
+ # resp.transit_gateway_peering_attachment.options.accepter_allow_multipath_resilience #=> Boolean
25299
+ # resp.transit_gateway_peering_attachment.options.accepter_multipath_resilience_mode #=> String, one of "always-on"
25300
+ # resp.transit_gateway_peering_attachment.options.multipath_resilience_status #=> String, one of "pending", "enabled", "disabled"
25016
25301
  # resp.transit_gateway_peering_attachment.status.code #=> String
25017
25302
  # resp.transit_gateway_peering_attachment.status.message #=> String
25018
25303
  # resp.transit_gateway_peering_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
@@ -28227,6 +28512,11 @@ module Aws::EC2
28227
28512
  # available offerings from all Availability Zones in the Amazon Web
28228
28513
  # Services Region and Local Zones you are opted into.
28229
28514
  #
28515
+ # @option params [Array<Types::CapacityBlockInstanceTypePreference>] :instance_type_preferences
28516
+ # List of instance type preferences for the Capacity Block offering
28517
+ # search. Accepts one or more instance type names. Either this or the
28518
+ # legacy `InstanceType` parameter is required.
28519
+ #
28230
28520
  # @return [Types::DescribeCapacityBlockOfferingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
28231
28521
  #
28232
28522
  # * {Types::DescribeCapacityBlockOfferingsResult#capacity_block_offerings #capacity_block_offerings} => Array&lt;Types::CapacityBlockOffering&gt;
@@ -28248,6 +28538,11 @@ module Aws::EC2
28248
28538
  # ultraserver_type: "String",
28249
28539
  # ultraserver_count: 1,
28250
28540
  # all_availability_zones: false,
28541
+ # instance_type_preferences: [
28542
+ # {
28543
+ # instance_type: "String",
28544
+ # },
28545
+ # ],
28251
28546
  # })
28252
28547
  #
28253
28548
  # @example Response structure
@@ -28267,6 +28562,18 @@ module Aws::EC2
28267
28562
  # resp.capacity_block_offerings[0].ultraserver_count #=> Integer
28268
28563
  # resp.capacity_block_offerings[0].capacity_block_duration_minutes #=> Integer
28269
28564
  # resp.capacity_block_offerings[0].zone_type #=> String
28565
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments #=> Array
28566
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].instance_type #=> String
28567
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].availability_zone #=> String
28568
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].availability_zone_id #=> String
28569
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].instance_count #=> Integer
28570
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].start_date #=> Time
28571
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].end_date #=> Time
28572
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].capacity_block_duration_hours #=> Integer
28573
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].capacity_block_duration_minutes #=> Integer
28574
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].upfront_fee #=> String
28575
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].currency_code #=> String
28576
+ # resp.capacity_block_offerings[0].capacity_block_offering_segments[0].zone_type #=> String
28270
28577
  # resp.next_token #=> String
28271
28578
  #
28272
28579
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferings AWS API Documentation
@@ -44569,6 +44876,8 @@ module Aws::EC2
44569
44876
  # resp.snapshots[0].completion_duration_minutes #=> Integer
44570
44877
  # resp.snapshots[0].completion_time #=> Time
44571
44878
  # resp.snapshots[0].full_snapshot_size_in_bytes #=> Integer
44879
+ # resp.snapshots[0].associated_kms_keys #=> Array
44880
+ # resp.snapshots[0].associated_kms_keys[0].kms_key_id #=> String
44572
44881
  # resp.snapshots[0].snapshot_id #=> String
44573
44882
  # resp.snapshots[0].volume_id #=> String
44574
44883
  # resp.snapshots[0].state #=> String, one of "pending", "completed", "error", "recoverable", "recovering"
@@ -47091,6 +47400,90 @@ module Aws::EC2
47091
47400
  req.send_request(options)
47092
47401
  end
47093
47402
 
47403
+ # Describes one or more network function attachments. You can describe
47404
+ # attachments that you own or that are attached to a transit gateway
47405
+ # that you own.
47406
+ #
47407
+ # @option params [Array<String>] :transit_gateway_attachment_ids
47408
+ # The IDs of the network function attachments.
47409
+ #
47410
+ # @option params [Array<Types::Filter>] :filters
47411
+ # One or more filters. The possible values are:
47412
+ #
47413
+ # * `service-name` - The name of the Gateway Load Balancer endpoint
47414
+ # service.
47415
+ #
47416
+ # * `state` - The state of the attachment. Valid values are `available`
47417
+ # \| `deleted` \| `deleting` \| `failed` \| `failing` \| `modifying`
47418
+ # \| `pendingAcceptance` \| `pending` \| `rollingBack` \| `rejected`
47419
+ # \| `rejecting`.
47420
+ #
47421
+ # * `transit-gateway-attachment-id` - The ID of the attachment.
47422
+ #
47423
+ # * `transit-gateway-id` - The ID of the transit gateway.
47424
+ #
47425
+ # @option params [Integer] :max_results
47426
+ # The maximum number of results to return with a single call. To
47427
+ # retrieve the remaining results, make another call with the returned
47428
+ # `nextToken` value.
47429
+ #
47430
+ # @option params [String] :next_token
47431
+ # The token for the next page of results.
47432
+ #
47433
+ # @option params [Boolean] :dry_run
47434
+ # Checks whether you have the required permissions for the action,
47435
+ # without actually making the request, and provides an error response.
47436
+ # If you have the required permissions, the error response is
47437
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
47438
+ #
47439
+ # @return [Types::DescribeTransitGatewayNetworkFunctionAttachmentsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
47440
+ #
47441
+ # * {Types::DescribeTransitGatewayNetworkFunctionAttachmentsResult#transit_gateway_network_function_attachments #transit_gateway_network_function_attachments} => Array&lt;Types::TransitGatewayNetworkFunctionAttachment&gt;
47442
+ # * {Types::DescribeTransitGatewayNetworkFunctionAttachmentsResult#next_token #next_token} => String
47443
+ #
47444
+ # @example Request syntax with placeholder values
47445
+ #
47446
+ # resp = client.describe_transit_gateway_network_function_attachments({
47447
+ # transit_gateway_attachment_ids: ["TransitGatewayAttachmentId"],
47448
+ # filters: [
47449
+ # {
47450
+ # name: "String",
47451
+ # values: ["String"],
47452
+ # },
47453
+ # ],
47454
+ # max_results: 1,
47455
+ # next_token: "String",
47456
+ # dry_run: false,
47457
+ # })
47458
+ #
47459
+ # @example Response structure
47460
+ #
47461
+ # resp.transit_gateway_network_function_attachments #=> Array
47462
+ # resp.transit_gateway_network_function_attachments[0].transit_gateway_attachment_id #=> String
47463
+ # resp.transit_gateway_network_function_attachments[0].transit_gateway_id #=> String
47464
+ # resp.transit_gateway_network_function_attachments[0].transit_gateway_owner_id #=> String
47465
+ # resp.transit_gateway_network_function_attachments[0].resource_owner_id #=> String
47466
+ # resp.transit_gateway_network_function_attachments[0].resource_id #=> String
47467
+ # resp.transit_gateway_network_function_attachments[0].availability_zones #=> Array
47468
+ # resp.transit_gateway_network_function_attachments[0].availability_zones[0] #=> String
47469
+ # resp.transit_gateway_network_function_attachments[0].availability_zone_ids #=> Array
47470
+ # resp.transit_gateway_network_function_attachments[0].availability_zone_ids[0] #=> String
47471
+ # resp.transit_gateway_network_function_attachments[0].state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
47472
+ # resp.transit_gateway_network_function_attachments[0].creation_time #=> Time
47473
+ # resp.transit_gateway_network_function_attachments[0].tags #=> Array
47474
+ # resp.transit_gateway_network_function_attachments[0].tags[0].key #=> String
47475
+ # resp.transit_gateway_network_function_attachments[0].tags[0].value #=> String
47476
+ # resp.next_token #=> String
47477
+ #
47478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayNetworkFunctionAttachments AWS API Documentation
47479
+ #
47480
+ # @overload describe_transit_gateway_network_function_attachments(params = {})
47481
+ # @param [Hash] params ({})
47482
+ def describe_transit_gateway_network_function_attachments(params = {}, options = {})
47483
+ req = build_request(:describe_transit_gateway_network_function_attachments, params)
47484
+ req.send_request(options)
47485
+ end
47486
+
47094
47487
  # Describes your transit gateway peering attachments.
47095
47488
  #
47096
47489
  # @option params [Array<String>] :transit_gateway_attachment_ids
@@ -47174,6 +47567,11 @@ module Aws::EC2
47174
47567
  # resp.transit_gateway_peering_attachments[0].accepter_tgw_info.owner_id #=> String
47175
47568
  # resp.transit_gateway_peering_attachments[0].accepter_tgw_info.region #=> String
47176
47569
  # resp.transit_gateway_peering_attachments[0].options.dynamic_routing #=> String, one of "enable", "disable"
47570
+ # resp.transit_gateway_peering_attachments[0].options.requester_allow_multipath_resilience #=> Boolean
47571
+ # resp.transit_gateway_peering_attachments[0].options.requester_multipath_resilience_mode #=> String, one of "always-on"
47572
+ # resp.transit_gateway_peering_attachments[0].options.accepter_allow_multipath_resilience #=> Boolean
47573
+ # resp.transit_gateway_peering_attachments[0].options.accepter_multipath_resilience_mode #=> String, one of "always-on"
47574
+ # resp.transit_gateway_peering_attachments[0].options.multipath_resilience_status #=> String, one of "pending", "enabled", "disabled"
47177
47575
  # resp.transit_gateway_peering_attachments[0].status.code #=> String
47178
47576
  # resp.transit_gateway_peering_attachments[0].status.message #=> String
47179
47577
  # resp.transit_gateway_peering_attachments[0].state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
@@ -49497,6 +49895,9 @@ module Aws::EC2
49497
49895
  #
49498
49896
  # * `service-id` - The ID of the service.
49499
49897
  #
49898
+ # * `transit-gateway-attachment-id` - The ID of the transit gateway
49899
+ # attachment.
49900
+ #
49500
49901
  # * `vpc-endpoint-owner` - The ID of the Amazon Web Services account ID
49501
49902
  # that owns the endpoint.
49502
49903
  #
@@ -49564,6 +49965,8 @@ module Aws::EC2
49564
49965
  # resp.vpc_endpoint_connections[0].payer_responsibilities #=> Array
49565
49966
  # resp.vpc_endpoint_connections[0].payer_responsibilities[0].scope #=> String, one of "vpc-endpoint-charges", "resource-gateway-charges"
49566
49967
  # resp.vpc_endpoint_connections[0].payer_responsibilities[0].payer_responsibility_type #=> String, one of "vpc-endpoint-account", "resource-gateway-account", "vpc-endpoint-service-account"
49968
+ # resp.vpc_endpoint_connections[0].transit_gateway_attachment_id #=> String
49969
+ # resp.vpc_endpoint_connections[0].transit_gateway_attachment_owner #=> String
49567
49970
  # resp.next_token #=> String
49568
49971
  #
49569
49972
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnections AWS API Documentation
@@ -49704,6 +50107,9 @@ module Aws::EC2
49704
50107
  # @option params [Array<Types::Filter>] :filters
49705
50108
  # The filters.
49706
50109
  #
50110
+ # * `permission-type` - The permission type (`vpc-endpoint` \|
50111
+ # `transit-gateway-attachment`).
50112
+ #
49707
50113
  # * `principal` - The ARN of the principal.
49708
50114
  #
49709
50115
  # * `principal-type` - The principal type (`All` \| `Service` \|
@@ -49751,6 +50157,7 @@ module Aws::EC2
49751
50157
  # resp.allowed_principals[0].tags[0].key #=> String
49752
50158
  # resp.allowed_principals[0].tags[0].value #=> String
49753
50159
  # resp.allowed_principals[0].service_id #=> String
50160
+ # resp.allowed_principals[0].permission_type #=> String, one of "vpc-endpoint", "transit-gateway-attachment"
49754
50161
  # resp.next_token #=> String
49755
50162
  #
49756
50163
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissions AWS API Documentation
@@ -50130,6 +50537,8 @@ module Aws::EC2
50130
50537
  # resp.vpc_peering_connections[0].accepter_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
50131
50538
  # resp.vpc_peering_connections[0].accepter_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
50132
50539
  # resp.vpc_peering_connections[0].accepter_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
50540
+ # resp.vpc_peering_connections[0].accepter_vpc_info.peering_options.allow_multipath_resilience #=> Boolean
50541
+ # resp.vpc_peering_connections[0].accepter_vpc_info.peering_options.multipath_resilience_mode #=> String, one of "always-on"
50133
50542
  # resp.vpc_peering_connections[0].accepter_vpc_info.vpc_id #=> String
50134
50543
  # resp.vpc_peering_connections[0].accepter_vpc_info.region #=> String
50135
50544
  # resp.vpc_peering_connections[0].expiration_time #=> Time
@@ -50142,6 +50551,8 @@ module Aws::EC2
50142
50551
  # resp.vpc_peering_connections[0].requester_vpc_info.peering_options.allow_dns_resolution_from_remote_vpc #=> Boolean
50143
50552
  # resp.vpc_peering_connections[0].requester_vpc_info.peering_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
50144
50553
  # resp.vpc_peering_connections[0].requester_vpc_info.peering_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
50554
+ # resp.vpc_peering_connections[0].requester_vpc_info.peering_options.allow_multipath_resilience #=> Boolean
50555
+ # resp.vpc_peering_connections[0].requester_vpc_info.peering_options.multipath_resilience_mode #=> String, one of "always-on"
50145
50556
  # resp.vpc_peering_connections[0].requester_vpc_info.vpc_id #=> String
50146
50557
  # resp.vpc_peering_connections[0].requester_vpc_info.region #=> String
50147
50558
  # resp.vpc_peering_connections[0].status.code #=> String, one of "initiating-request", "pending-acceptance", "active", "deleted", "rejected", "failed", "expired", "provisioning", "deleting"
@@ -50150,6 +50561,7 @@ module Aws::EC2
50150
50561
  # resp.vpc_peering_connections[0].tags[0].key #=> String
50151
50562
  # resp.vpc_peering_connections[0].tags[0].value #=> String
50152
50563
  # resp.vpc_peering_connections[0].vpc_peering_connection_id #=> String
50564
+ # resp.vpc_peering_connections[0].multipath_resilience_status #=> String, one of "pending", "enabled", "disabled"
50153
50565
  # resp.next_token #=> String
50154
50566
  #
50155
50567
  #
@@ -50567,6 +50979,16 @@ module Aws::EC2
50567
50979
  # resp.vpn_connections[0].options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_group_arn #=> String
50568
50980
  # resp.vpn_connections[0].options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_output_format #=> String
50569
50981
  # resp.vpn_connections[0].options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
50982
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_1_additional_key_exchanges #=> Array
50983
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_1_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
50984
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods #=> Array
50985
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
50986
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_1_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
50987
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_2_additional_key_exchanges #=> Array
50988
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_2_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
50989
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods #=> Array
50990
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
50991
+ # resp.vpn_connections[0].options.tunnel_options[0].phase_2_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
50570
50992
  # resp.vpn_connections[0].options.tunnel_bandwidth #=> String, one of "standard", "large"
50571
50993
  # resp.vpn_connections[0].routes #=> Array
50572
50994
  # resp.vpn_connections[0].routes[0].destination_cidr_block #=> String
@@ -52829,6 +53251,49 @@ module Aws::EC2
52829
53251
  req.send_request(options)
52830
53252
  end
52831
53253
 
53254
+ # Removes an associated KMS key from an Amazon EBS snapshot. After you
53255
+ # disassociate the key, it can no longer be used to access the
53256
+ # snapshot's data. The snapshot's original encryption key is
53257
+ # unaffected.
53258
+ #
53259
+ # @option params [String] :snapshot_id
53260
+ # The ID of the Amazon EBS snapshot.
53261
+ #
53262
+ # @option params [required, String] :kms_key_id
53263
+ # The ID, alias, or ARN of the associated KMS key to remove from the
53264
+ # snapshot.
53265
+ #
53266
+ # @option params [Boolean] :dry_run
53267
+ # Checks whether you have the required permissions for the action,
53268
+ # without actually making the request, and provides an error response.
53269
+ # If you have the required permissions, the error response is
53270
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
53271
+ #
53272
+ # @return [Types::DisassociateKmsKeyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
53273
+ #
53274
+ # * {Types::DisassociateKmsKeyIdResult#return #return} => Boolean
53275
+ #
53276
+ # @example Request syntax with placeholder values
53277
+ #
53278
+ # resp = client.disassociate_kms_key_id({
53279
+ # snapshot_id: "SnapshotId",
53280
+ # kms_key_id: "KmsKeyId", # required
53281
+ # dry_run: false,
53282
+ # })
53283
+ #
53284
+ # @example Response structure
53285
+ #
53286
+ # resp.return #=> Boolean
53287
+ #
53288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateKmsKeyId AWS API Documentation
53289
+ #
53290
+ # @overload disassociate_kms_key_id(params = {})
53291
+ # @param [Hash] params ({})
53292
+ def disassociate_kms_key_id(params = {}, options = {})
53293
+ req = build_request(:disassociate_kms_key_id, params)
53294
+ req.send_request(options)
53295
+ end
53296
+
52832
53297
  # Disassociates secondary Elastic IP addresses (EIPs) from a public NAT
52833
53298
  # gateway. You cannot disassociate your primary EIP. For more
52834
53299
  # information, see [Edit secondary IP address associations][1] in the
@@ -55172,6 +55637,12 @@ module Aws::EC2
55172
55637
  # resp.active_vpn_tunnel_status.ike_version #=> String
55173
55638
  # resp.active_vpn_tunnel_status.provisioning_status #=> String, one of "available", "pending", "failed"
55174
55639
  # resp.active_vpn_tunnel_status.provisioning_status_reason #=> String
55640
+ # resp.active_vpn_tunnel_status.phase_1_additional_key_exchanges #=> Array
55641
+ # resp.active_vpn_tunnel_status.phase_1_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
55642
+ # resp.active_vpn_tunnel_status.phase_1_additional_key_exchanges[0].key_exchange_method #=> Integer
55643
+ # resp.active_vpn_tunnel_status.phase_2_additional_key_exchanges #=> Array
55644
+ # resp.active_vpn_tunnel_status.phase_2_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
55645
+ # resp.active_vpn_tunnel_status.phase_2_additional_key_exchanges[0].key_exchange_method #=> Integer
55175
55646
  #
55176
55647
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetActiveVpnTunnelStatus AWS API Documentation
55177
55648
  #
@@ -62595,8 +63066,8 @@ module Aws::EC2
62595
63066
  # account-level encryption enforcement.
62596
63067
  #
62597
63068
  # @option params [String] :global_accelerator
62598
- # Specifies whether to exclude AWS Global Accelerator from account-level
62599
- # encryption enforcement.
63069
+ # Specifies whether to exclude Amazon Web Services Global Accelerator
63070
+ # from account-level encryption enforcement.
62600
63071
  #
62601
63072
  # @option params [String] :api_gateway_v2
62602
63073
  # Specifies whether to exclude Amazon API Gateway V2 from account-level
@@ -68358,6 +68829,160 @@ module Aws::EC2
68358
68829
  req.send_request(options)
68359
68830
  end
68360
68831
 
68832
+ # Adds Availability Zones to or removes Availability Zones from the
68833
+ # specified network function attachment. The attachment must be in the
68834
+ # `available` state. You must specify at least one Availability Zone to
68835
+ # add or remove, and the attachment must keep at least one Availability
68836
+ # Zone.
68837
+ #
68838
+ # Adding an Availability Zone provisions a new Gateway Load Balancer
68839
+ # endpoint in that Availability Zone. If the endpoint service doesn't
68840
+ # automatically accept connection requests, the endpoint service owner
68841
+ # must accept the endpoint connection for each Availability Zone that
68842
+ # you add.
68843
+ #
68844
+ # @option params [required, String] :transit_gateway_attachment_id
68845
+ # The ID of the network function attachment.
68846
+ #
68847
+ # @option params [Array<String>] :add_availability_zones
68848
+ # The names of the Availability Zones to add to the attachment. You
68849
+ # can't add and remove the same Availability Zone in a single request.
68850
+ #
68851
+ # @option params [Array<String>] :add_availability_zone_ids
68852
+ # The IDs of the Availability Zones to add to the attachment. You can't
68853
+ # add and remove the same Availability Zone in a single request.
68854
+ #
68855
+ # @option params [Array<String>] :remove_availability_zones
68856
+ # The names of the Availability Zones to remove from the attachment.
68857
+ # Each Availability Zone must be currently in the attachment.
68858
+ #
68859
+ # @option params [Array<String>] :remove_availability_zone_ids
68860
+ # The IDs of the Availability Zones to remove from the attachment. Each
68861
+ # Availability Zone must be currently in the attachment.
68862
+ #
68863
+ # @option params [Boolean] :dry_run
68864
+ # Checks whether you have the required permissions for the action,
68865
+ # without actually making the request, and provides an error response.
68866
+ # If you have the required permissions, the error response is
68867
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
68868
+ #
68869
+ # @return [Types::ModifyTransitGatewayNetworkFunctionAttachmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
68870
+ #
68871
+ # * {Types::ModifyTransitGatewayNetworkFunctionAttachmentResult#transit_gateway_network_function_attachment #transit_gateway_network_function_attachment} => Types::TransitGatewayNetworkFunctionAttachment
68872
+ #
68873
+ # @example Request syntax with placeholder values
68874
+ #
68875
+ # resp = client.modify_transit_gateway_network_function_attachment({
68876
+ # transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
68877
+ # add_availability_zones: ["String"],
68878
+ # add_availability_zone_ids: ["String"],
68879
+ # remove_availability_zones: ["String"],
68880
+ # remove_availability_zone_ids: ["String"],
68881
+ # dry_run: false,
68882
+ # })
68883
+ #
68884
+ # @example Response structure
68885
+ #
68886
+ # resp.transit_gateway_network_function_attachment.transit_gateway_attachment_id #=> String
68887
+ # resp.transit_gateway_network_function_attachment.transit_gateway_id #=> String
68888
+ # resp.transit_gateway_network_function_attachment.transit_gateway_owner_id #=> String
68889
+ # resp.transit_gateway_network_function_attachment.resource_owner_id #=> String
68890
+ # resp.transit_gateway_network_function_attachment.resource_id #=> String
68891
+ # resp.transit_gateway_network_function_attachment.availability_zones #=> Array
68892
+ # resp.transit_gateway_network_function_attachment.availability_zones[0] #=> String
68893
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids #=> Array
68894
+ # resp.transit_gateway_network_function_attachment.availability_zone_ids[0] #=> String
68895
+ # resp.transit_gateway_network_function_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
68896
+ # resp.transit_gateway_network_function_attachment.creation_time #=> Time
68897
+ # resp.transit_gateway_network_function_attachment.tags #=> Array
68898
+ # resp.transit_gateway_network_function_attachment.tags[0].key #=> String
68899
+ # resp.transit_gateway_network_function_attachment.tags[0].value #=> String
68900
+ #
68901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayNetworkFunctionAttachment AWS API Documentation
68902
+ #
68903
+ # @overload modify_transit_gateway_network_function_attachment(params = {})
68904
+ # @param [Hash] params ({})
68905
+ def modify_transit_gateway_network_function_attachment(params = {}, options = {})
68906
+ req = build_request(:modify_transit_gateway_network_function_attachment, params)
68907
+ req.send_request(options)
68908
+ end
68909
+
68910
+ # Modifies the options for a transit gateway peering attachment. The
68911
+ # peering attachment must be in the `available` state.
68912
+ #
68913
+ # You can allow multipath resilience for your side of an inter-Region
68914
+ # transit gateway peering attachment between supported Regions.
68915
+ # Multipath resilience isn't supported for transit gateway peering
68916
+ # attachments in the same Region. It takes effect only when both the
68917
+ # requester and the accepter allow it. To modify the requester side,
68918
+ # send the request in the Region of the requester transit gateway. To
68919
+ # modify the accepter side, send the request in the Region of the
68920
+ # accepter transit gateway. To check whether multipath resilience is in
68921
+ # effect, use DescribeTransitGatewayPeeringAttachments and check
68922
+ # `multipathResilienceStatus`.
68923
+ #
68924
+ # @option params [required, String] :transit_gateway_attachment_id
68925
+ # The ID of the transit gateway peering attachment.
68926
+ #
68927
+ # @option params [Types::ModifyTransitGatewayPeeringAttachmentRequestOptions] :options
68928
+ # The options to modify for the transit gateway peering attachment.
68929
+ #
68930
+ # @option params [Boolean] :dry_run
68931
+ # Checks whether you have the required permissions for the action,
68932
+ # without actually making the request, and provides an error response.
68933
+ # If you have the required permissions, the error response is
68934
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
68935
+ #
68936
+ # @return [Types::ModifyTransitGatewayPeeringAttachmentResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
68937
+ #
68938
+ # * {Types::ModifyTransitGatewayPeeringAttachmentResult#transit_gateway_peering_attachment #transit_gateway_peering_attachment} => Types::TransitGatewayPeeringAttachment
68939
+ #
68940
+ # @example Request syntax with placeholder values
68941
+ #
68942
+ # resp = client.modify_transit_gateway_peering_attachment({
68943
+ # transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
68944
+ # options: {
68945
+ # allow_multipath_resilience: false,
68946
+ # multipath_resilience_mode: "always-on", # accepts always-on
68947
+ # },
68948
+ # dry_run: false,
68949
+ # })
68950
+ #
68951
+ # @example Response structure
68952
+ #
68953
+ # resp.transit_gateway_peering_attachment.transit_gateway_attachment_id #=> String
68954
+ # resp.transit_gateway_peering_attachment.accepter_transit_gateway_attachment_id #=> String
68955
+ # resp.transit_gateway_peering_attachment.requester_tgw_info.transit_gateway_id #=> String
68956
+ # resp.transit_gateway_peering_attachment.requester_tgw_info.core_network_id #=> String
68957
+ # resp.transit_gateway_peering_attachment.requester_tgw_info.owner_id #=> String
68958
+ # resp.transit_gateway_peering_attachment.requester_tgw_info.region #=> String
68959
+ # resp.transit_gateway_peering_attachment.accepter_tgw_info.transit_gateway_id #=> String
68960
+ # resp.transit_gateway_peering_attachment.accepter_tgw_info.core_network_id #=> String
68961
+ # resp.transit_gateway_peering_attachment.accepter_tgw_info.owner_id #=> String
68962
+ # resp.transit_gateway_peering_attachment.accepter_tgw_info.region #=> String
68963
+ # resp.transit_gateway_peering_attachment.options.dynamic_routing #=> String, one of "enable", "disable"
68964
+ # resp.transit_gateway_peering_attachment.options.requester_allow_multipath_resilience #=> Boolean
68965
+ # resp.transit_gateway_peering_attachment.options.requester_multipath_resilience_mode #=> String, one of "always-on"
68966
+ # resp.transit_gateway_peering_attachment.options.accepter_allow_multipath_resilience #=> Boolean
68967
+ # resp.transit_gateway_peering_attachment.options.accepter_multipath_resilience_mode #=> String, one of "always-on"
68968
+ # resp.transit_gateway_peering_attachment.options.multipath_resilience_status #=> String, one of "pending", "enabled", "disabled"
68969
+ # resp.transit_gateway_peering_attachment.status.code #=> String
68970
+ # resp.transit_gateway_peering_attachment.status.message #=> String
68971
+ # resp.transit_gateway_peering_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
68972
+ # resp.transit_gateway_peering_attachment.creation_time #=> Time
68973
+ # resp.transit_gateway_peering_attachment.tags #=> Array
68974
+ # resp.transit_gateway_peering_attachment.tags[0].key #=> String
68975
+ # resp.transit_gateway_peering_attachment.tags[0].value #=> String
68976
+ #
68977
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayPeeringAttachment AWS API Documentation
68978
+ #
68979
+ # @overload modify_transit_gateway_peering_attachment(params = {})
68980
+ # @param [Hash] params ({})
68981
+ def modify_transit_gateway_peering_attachment(params = {}, options = {})
68982
+ req = build_request(:modify_transit_gateway_peering_attachment, params)
68983
+ req.send_request(options)
68984
+ end
68985
+
68361
68986
  # Modifies the specified transit gateway policy table entry.
68362
68987
  #
68363
68988
  # @option params [required, String] :transit_gateway_policy_table_id
@@ -69682,8 +70307,8 @@ module Aws::EC2
69682
70307
  # encryption enforcement.
69683
70308
  #
69684
70309
  # @option params [String] :global_accelerator_exclusion
69685
- # Specifies whether to exclude AWS Global Accelerator traffic from
69686
- # encryption enforcement.
70310
+ # Specifies whether to exclude Amazon Web Services Global Accelerator
70311
+ # traffic from encryption enforcement.
69687
70312
  #
69688
70313
  # @option params [String] :api_gateway_v2_exclusion
69689
70314
  # Specifies whether to exclude Amazon API Gateway V2 traffic from
@@ -70103,6 +70728,14 @@ module Aws::EC2
70103
70728
  # attach an endpoint. If the service does not require manual approval,
70104
70729
  # attachments are automatically approved.
70105
70730
  #
70731
+ # By default, principals that you grant permissions to can create VPC
70732
+ # endpoints that connect to your endpoint service. For Gateway Load
70733
+ # Balancer endpoint services, you can instead grant permissions so that
70734
+ # principals can create transit gateway attachments that connect to your
70735
+ # endpoint service. To do so, specify `transit-gateway-attachment` for
70736
+ # `PermissionType`. The two permission types are independent. A
70737
+ # principal can have either or both.
70738
+ #
70106
70739
  # @option params [Boolean] :dry_run
70107
70740
  # Checks whether you have the required permissions for the action,
70108
70741
  # without actually making the request, and provides an error response.
@@ -70121,6 +70754,23 @@ module Aws::EC2
70121
70754
  # The Amazon Resource Names (ARN) of the principals. Permissions are
70122
70755
  # revoked for principals in this list.
70123
70756
  #
70757
+ # @option params [String] :permission_type
70758
+ # The type of permission to add or remove. The permission type applies
70759
+ # to all principals in `AddAllowedPrincipals` and
70760
+ # `RemoveAllowedPrincipals`.
70761
+ #
70762
+ # * `vpc-endpoint` - Principals can create VPC endpoints that connect to
70763
+ # the endpoint service.
70764
+ #
70765
+ # * `transit-gateway-attachment` - Principals can create transit gateway
70766
+ # attachments that connect to the endpoint service. This permission
70767
+ # type is supported only for Gateway Load Balancer endpoint services.
70768
+ # You can grant it only to Amazon Web Services accounts
70769
+ # (`arn:aws:iam::account-id:root`). You can't grant it to users, IAM
70770
+ # roles, organizations, organizational units, or all principals (*).
70771
+ #
70772
+ # Default: `vpc-endpoint`
70773
+ #
70124
70774
  # @return [Types::ModifyVpcEndpointServicePermissionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
70125
70775
  #
70126
70776
  # * {Types::ModifyVpcEndpointServicePermissionsResult#added_principals #added_principals} => Array&lt;Types::AddedPrincipal&gt;
@@ -70133,6 +70783,7 @@ module Aws::EC2
70133
70783
  # service_id: "VpcEndpointServiceId", # required
70134
70784
  # add_allowed_principals: ["String"],
70135
70785
  # remove_allowed_principals: ["String"],
70786
+ # permission_type: "vpc-endpoint", # accepts vpc-endpoint, transit-gateway-attachment
70136
70787
  # })
70137
70788
  #
70138
70789
  # @example Response structure
@@ -70142,6 +70793,7 @@ module Aws::EC2
70142
70793
  # resp.added_principals[0].principal #=> String
70143
70794
  # resp.added_principals[0].service_permission_id #=> String
70144
70795
  # resp.added_principals[0].service_id #=> String
70796
+ # resp.added_principals[0].permission_type #=> String, one of "vpc-endpoint", "transit-gateway-attachment"
70145
70797
  # resp.return_value #=> Boolean
70146
70798
  #
70147
70799
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissions AWS API Documentation
@@ -70170,6 +70822,19 @@ module Aws::EC2
70170
70822
  # and the requester for a VPC peering connection, use the
70171
70823
  # DescribeVpcPeeringConnections command.
70172
70824
  #
70825
+ # Multipath resilience replicates the traffic of an inter-Region VPC
70826
+ # peering connection across multiple network paths. You can allow
70827
+ # multipath resilience for your side of the connection if both of its
70828
+ # Regions are supported. It takes effect only when both the requester
70829
+ # and the accepter allow it. Additional charges apply when multipath
70830
+ # resilience is in effect. For more information, see [Amazon VPC
70831
+ # pricing][1]. To check whether multipath resilience is in effect, use
70832
+ # DescribeVpcPeeringConnections and check `multipathResilienceStatus`.
70833
+ #
70834
+ #
70835
+ #
70836
+ # [1]: http://aws.amazon.com/vpc/pricing/
70837
+ #
70173
70838
  # @option params [Types::PeeringConnectionOptionsRequest] :accepter_peering_connection_options
70174
70839
  # The VPC peering connection options for the accepter VPC.
70175
70840
  #
@@ -70197,12 +70862,16 @@ module Aws::EC2
70197
70862
  # allow_dns_resolution_from_remote_vpc: false,
70198
70863
  # allow_egress_from_local_classic_link_to_remote_vpc: false,
70199
70864
  # allow_egress_from_local_vpc_to_remote_classic_link: false,
70865
+ # allow_multipath_resilience: false,
70866
+ # multipath_resilience_mode: "always-on", # accepts always-on
70200
70867
  # },
70201
70868
  # dry_run: false,
70202
70869
  # requester_peering_connection_options: {
70203
70870
  # allow_dns_resolution_from_remote_vpc: false,
70204
70871
  # allow_egress_from_local_classic_link_to_remote_vpc: false,
70205
70872
  # allow_egress_from_local_vpc_to_remote_classic_link: false,
70873
+ # allow_multipath_resilience: false,
70874
+ # multipath_resilience_mode: "always-on", # accepts always-on
70206
70875
  # },
70207
70876
  # vpc_peering_connection_id: "VpcPeeringConnectionId", # required
70208
70877
  # })
@@ -70212,9 +70881,13 @@ module Aws::EC2
70212
70881
  # resp.accepter_peering_connection_options.allow_dns_resolution_from_remote_vpc #=> Boolean
70213
70882
  # resp.accepter_peering_connection_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
70214
70883
  # resp.accepter_peering_connection_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
70884
+ # resp.accepter_peering_connection_options.allow_multipath_resilience #=> Boolean
70885
+ # resp.accepter_peering_connection_options.multipath_resilience_mode #=> String, one of "always-on"
70215
70886
  # resp.requester_peering_connection_options.allow_dns_resolution_from_remote_vpc #=> Boolean
70216
70887
  # resp.requester_peering_connection_options.allow_egress_from_local_classic_link_to_remote_vpc #=> Boolean
70217
70888
  # resp.requester_peering_connection_options.allow_egress_from_local_vpc_to_remote_classic_link #=> Boolean
70889
+ # resp.requester_peering_connection_options.allow_multipath_resilience #=> Boolean
70890
+ # resp.requester_peering_connection_options.multipath_resilience_mode #=> String, one of "always-on"
70218
70891
  #
70219
70892
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptions AWS API Documentation
70220
70893
  #
@@ -70411,6 +71084,16 @@ module Aws::EC2
70411
71084
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_group_arn #=> String
70412
71085
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_output_format #=> String
70413
71086
  # resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
71087
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges #=> Array
71088
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
71089
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods #=> Array
71090
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
71091
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
71092
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges #=> Array
71093
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
71094
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods #=> Array
71095
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
71096
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
70414
71097
  # resp.vpn_connection.options.tunnel_bandwidth #=> String, one of "standard", "large"
70415
71098
  # resp.vpn_connection.routes #=> Array
70416
71099
  # resp.vpn_connection.routes[0].destination_cidr_block #=> String
@@ -70555,6 +71238,16 @@ module Aws::EC2
70555
71238
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_group_arn #=> String
70556
71239
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_output_format #=> String
70557
71240
  # resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
71241
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges #=> Array
71242
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
71243
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods #=> Array
71244
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
71245
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
71246
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges #=> Array
71247
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
71248
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods #=> Array
71249
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
71250
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
70558
71251
  # resp.vpn_connection.options.tunnel_bandwidth #=> String, one of "standard", "large"
70559
71252
  # resp.vpn_connection.routes #=> Array
70560
71253
  # resp.vpn_connection.routes[0].destination_cidr_block #=> String
@@ -70664,6 +71357,16 @@ module Aws::EC2
70664
71357
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_group_arn #=> String
70665
71358
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_output_format #=> String
70666
71359
  # resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
71360
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges #=> Array
71361
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
71362
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods #=> Array
71363
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
71364
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
71365
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges #=> Array
71366
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
71367
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods #=> Array
71368
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
71369
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
70667
71370
  # resp.vpn_connection.options.tunnel_bandwidth #=> String, one of "standard", "large"
70668
71371
  # resp.vpn_connection.routes #=> Array
70669
71372
  # resp.vpn_connection.routes[0].destination_cidr_block #=> String
@@ -70800,6 +71503,28 @@ module Aws::EC2
70800
71503
  # },
70801
71504
  # },
70802
71505
  # enable_tunnel_lifecycle_control: false,
71506
+ # phase_1_additional_key_exchanges: [
71507
+ # {
71508
+ # additional_key_exchange_round: 1, # required
71509
+ # key_exchange_methods: [
71510
+ # {
71511
+ # value: 1,
71512
+ # },
71513
+ # ],
71514
+ # requirement: "required", # accepts required, optional
71515
+ # },
71516
+ # ],
71517
+ # phase_2_additional_key_exchanges: [
71518
+ # {
71519
+ # additional_key_exchange_round: 1, # required
71520
+ # key_exchange_methods: [
71521
+ # {
71522
+ # value: 1,
71523
+ # },
71524
+ # ],
71525
+ # requirement: "required", # accepts required, optional
71526
+ # },
71527
+ # ],
70803
71528
  # },
70804
71529
  # dry_run: false,
70805
71530
  # skip_tunnel_replacement: false,
@@ -70857,6 +71582,16 @@ module Aws::EC2
70857
71582
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_group_arn #=> String
70858
71583
  # resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.bgp_log_output_format #=> String
70859
71584
  # resp.vpn_connection.options.tunnel_options[0].enable_tunnel_lifecycle_control #=> Boolean
71585
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges #=> Array
71586
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
71587
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods #=> Array
71588
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
71589
+ # resp.vpn_connection.options.tunnel_options[0].phase_1_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
71590
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges #=> Array
71591
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].additional_key_exchange_round #=> Integer
71592
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods #=> Array
71593
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].key_exchange_methods[0].value #=> Integer
71594
+ # resp.vpn_connection.options.tunnel_options[0].phase_2_additional_key_exchanges[0].requirement #=> String, one of "required", "optional"
70860
71595
  # resp.vpn_connection.options.tunnel_bandwidth #=> String, one of "standard", "large"
70861
71596
  # resp.vpn_connection.routes #=> Array
70862
71597
  # resp.vpn_connection.routes[0].destination_cidr_block #=> String
@@ -71639,6 +72374,7 @@ module Aws::EC2
71639
72374
  #
71640
72375
  # * {Types::PurchaseCapacityBlockResult#capacity_reservation #capacity_reservation} => Types::CapacityReservation
71641
72376
  # * {Types::PurchaseCapacityBlockResult#capacity_blocks #capacity_blocks} => Array&lt;Types::CapacityBlock&gt;
72377
+ # * {Types::PurchaseCapacityBlockResult#capacity_reservations #capacity_reservations} => Array&lt;Types::CapacityReservation&gt;
71642
72378
  #
71643
72379
  # @example Request syntax with placeholder values
71644
72380
  #
@@ -71730,6 +72466,62 @@ module Aws::EC2
71730
72466
  # resp.capacity_blocks[0].tags #=> Array
71731
72467
  # resp.capacity_blocks[0].tags[0].key #=> String
71732
72468
  # resp.capacity_blocks[0].tags[0].value #=> String
72469
+ # resp.capacity_reservations #=> Array
72470
+ # resp.capacity_reservations[0].capacity_reservation_id #=> String
72471
+ # resp.capacity_reservations[0].owner_id #=> String
72472
+ # resp.capacity_reservations[0].capacity_reservation_arn #=> String
72473
+ # resp.capacity_reservations[0].availability_zone_id #=> String
72474
+ # resp.capacity_reservations[0].instance_type #=> String
72475
+ # resp.capacity_reservations[0].instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise", "RHEL with SQL Server Standard", "RHEL with SQL Server Enterprise", "RHEL with SQL Server Web", "RHEL with HA", "RHEL with HA and SQL Server Standard", "RHEL with HA and SQL Server Enterprise", "Ubuntu Pro"
72476
+ # resp.capacity_reservations[0].availability_zone #=> String
72477
+ # resp.capacity_reservations[0].tenancy #=> String, one of "default", "dedicated"
72478
+ # resp.capacity_reservations[0].total_instance_count #=> Integer
72479
+ # resp.capacity_reservations[0].available_instance_count #=> Integer
72480
+ # resp.capacity_reservations[0].ebs_optimized #=> Boolean
72481
+ # resp.capacity_reservations[0].ephemeral_storage #=> Boolean
72482
+ # resp.capacity_reservations[0].state #=> String, one of "active", "expired", "cancelled", "pending", "failed", "scheduled", "payment-pending", "payment-failed", "assessing", "delayed", "unsupported", "cancelling", "unavailable"
72483
+ # resp.capacity_reservations[0].start_date #=> Time
72484
+ # resp.capacity_reservations[0].end_date #=> Time
72485
+ # resp.capacity_reservations[0].end_date_type #=> String, one of "unlimited", "limited"
72486
+ # resp.capacity_reservations[0].instance_match_criteria #=> String, one of "open", "targeted"
72487
+ # resp.capacity_reservations[0].create_date #=> Time
72488
+ # resp.capacity_reservations[0].tags #=> Array
72489
+ # resp.capacity_reservations[0].tags[0].key #=> String
72490
+ # resp.capacity_reservations[0].tags[0].value #=> String
72491
+ # resp.capacity_reservations[0].outpost_arn #=> String
72492
+ # resp.capacity_reservations[0].capacity_reservation_fleet_id #=> String
72493
+ # resp.capacity_reservations[0].placement_group_arn #=> String
72494
+ # resp.capacity_reservations[0].capacity_allocations #=> Array
72495
+ # resp.capacity_reservations[0].capacity_allocations[0].allocation_type #=> String, one of "used", "future", "cancelling"
72496
+ # resp.capacity_reservations[0].capacity_allocations[0].count #=> Integer
72497
+ # resp.capacity_reservations[0].capacity_allocations[0].allocation_metadata #=> Array
72498
+ # resp.capacity_reservations[0].capacity_allocations[0].allocation_metadata[0].key #=> String
72499
+ # resp.capacity_reservations[0].capacity_allocations[0].allocation_metadata[0].value #=> String
72500
+ # resp.capacity_reservations[0].reservation_type #=> String, one of "default", "capacity-block"
72501
+ # resp.capacity_reservations[0].unused_reservation_billing_owner_id #=> String
72502
+ # resp.capacity_reservations[0].commitment_info.committed_instance_count #=> Integer
72503
+ # resp.capacity_reservations[0].commitment_info.commitment_end_date #=> Time
72504
+ # resp.capacity_reservations[0].commitment_info.commitment_duration #=> Integer
72505
+ # resp.capacity_reservations[0].delivery_preference #=> String, one of "fixed", "incremental"
72506
+ # resp.capacity_reservations[0].capacity_block_id #=> String
72507
+ # resp.capacity_reservations[0].interruptible #=> Boolean
72508
+ # resp.capacity_reservations[0].interruptible_capacity_allocation.instance_count #=> Integer
72509
+ # resp.capacity_reservations[0].interruptible_capacity_allocation.target_instance_count #=> Integer
72510
+ # resp.capacity_reservations[0].interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
72511
+ # resp.capacity_reservations[0].interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
72512
+ # resp.capacity_reservations[0].interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
72513
+ # resp.capacity_reservations[0].interruptible_capacity_allocation.zero_size_preference #=> String, one of "retain", "default"
72514
+ # resp.capacity_reservations[0].interruption_info.source_capacity_reservation_id #=> String
72515
+ # resp.capacity_reservations[0].interruption_info.interruption_type #=> String, one of "adhoc"
72516
+ # resp.capacity_reservations[0].adjustment_status #=> String, one of "requested", "applied", "rejected"
72517
+ # resp.capacity_reservations[0].adjustment_details.start_date #=> Time
72518
+ # resp.capacity_reservations[0].adjustment_details.end_date #=> Time
72519
+ # resp.capacity_reservations[0].adjustment_details.commitment_end_date #=> Time
72520
+ # resp.capacity_reservations[0].adjustment_details.end_date_type #=> String
72521
+ # resp.capacity_reservations[0].adjustment_details.commitment_duration #=> Integer
72522
+ # resp.capacity_reservations[0].original_start_date #=> Time
72523
+ # resp.capacity_reservations[0].zero_size_preference #=> String, one of "retain", "default"
72524
+ # resp.capacity_reservations[0].launch_status #=> String, one of "launchable", "unlaunchable"
71733
72525
  #
71734
72526
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseCapacityBlock AWS API Documentation
71735
72527
  #
@@ -72735,6 +73527,11 @@ module Aws::EC2
72735
73527
  # resp.transit_gateway_peering_attachment.accepter_tgw_info.owner_id #=> String
72736
73528
  # resp.transit_gateway_peering_attachment.accepter_tgw_info.region #=> String
72737
73529
  # resp.transit_gateway_peering_attachment.options.dynamic_routing #=> String, one of "enable", "disable"
73530
+ # resp.transit_gateway_peering_attachment.options.requester_allow_multipath_resilience #=> Boolean
73531
+ # resp.transit_gateway_peering_attachment.options.requester_multipath_resilience_mode #=> String, one of "always-on"
73532
+ # resp.transit_gateway_peering_attachment.options.accepter_allow_multipath_resilience #=> Boolean
73533
+ # resp.transit_gateway_peering_attachment.options.accepter_multipath_resilience_mode #=> String, one of "always-on"
73534
+ # resp.transit_gateway_peering_attachment.options.multipath_resilience_status #=> String, one of "pending", "enabled", "disabled"
72738
73535
  # resp.transit_gateway_peering_attachment.status.code #=> String
72739
73536
  # resp.transit_gateway_peering_attachment.status.message #=> String
72740
73537
  # resp.transit_gateway_peering_attachment.state #=> String, one of "initiating", "initiatingRequest", "pendingAcceptance", "rollingBack", "pending", "available", "modifying", "deleting", "deleted", "failed", "rejected", "rejecting", "failing"
@@ -72820,6 +73617,16 @@ module Aws::EC2
72820
73617
  # @option params [required, Array<String>] :vpc_endpoint_ids
72821
73618
  # The IDs of the VPC endpoints.
72822
73619
  #
73620
+ # You must specify either `VpcEndpointIds` or
73621
+ # `TransitGatewayAttachmentIds`, but not both.
73622
+ #
73623
+ # @option params [Array<String>] :transit_gateway_attachment_ids
73624
+ # The IDs of the transit gateway attachments to reject. This parameter
73625
+ # is supported only for Gateway Load Balancer endpoint services.
73626
+ #
73627
+ # You must specify either `VpcEndpointIds` or
73628
+ # `TransitGatewayAttachmentIds`, but not both.
73629
+ #
72823
73630
  # @return [Types::RejectVpcEndpointConnectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
72824
73631
  #
72825
73632
  # * {Types::RejectVpcEndpointConnectionsResult#unsuccessful #unsuccessful} => Array&lt;Types::UnsuccessfulItem&gt;
@@ -72830,6 +73637,7 @@ module Aws::EC2
72830
73637
  # dry_run: false,
72831
73638
  # service_id: "VpcEndpointServiceId", # required
72832
73639
  # vpc_endpoint_ids: ["VpcEndpointId"], # required
73640
+ # transit_gateway_attachment_ids: ["TransitGatewayAttachmentId"],
72833
73641
  # })
72834
73642
  #
72835
73643
  # @example Response structure
@@ -79694,7 +80502,7 @@ module Aws::EC2
79694
80502
  tracer: tracer
79695
80503
  )
79696
80504
  context[:gem_name] = 'aws-sdk-ec2'
79697
- context[:gem_version] = '1.670.0'
80505
+ context[:gem_version] = '1.672.0'
79698
80506
  Seahorse::Client::Request.new(handlers, context)
79699
80507
  end
79700
80508