aws-sdk-globalaccelerator 1.25.0 → 1.26.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: 8bdb9fe049819391b26c2b101e1a16df4e513154bdc71a2ec507b98ff0fce137
4
- data.tar.gz: 187d94730e3ed9544ffdc995748bcb264f31f2cc756620aad76bb72453890ee1
3
+ metadata.gz: 7567d3644ba022c66520f0070fd9b2ac933b829547e9538f08a85ab7b264b587
4
+ data.tar.gz: 29163a387133e5d19f0081a04275af135d8fde61a98266c9efebfb19c6bbf341
5
5
  SHA512:
6
- metadata.gz: ab9cc9a10a638140b66c2db90af7708f5b70f19d6a362c5227111bb888baa601fc91ec0a57cf92d3ae440aa73167554802bc504ab9ac8bdaf4ab0dcfb1040626
7
- data.tar.gz: cb37b019cd667b4ba6ecd8745e9824dbe907d75f0e2346cb90ef57fc0a62c96835ce3357e3c2d06fcb0ba8f5d90decba4e144e1ea3e9f599744e7ad0c1f924b4
6
+ metadata.gz: ef570794de2e6e9c67438a1026ad58d446814f55d5207bb3cdeef1cb5f86998bf6a71804a9d07fd819d620bae63b6829154c21800bccdd95157d8faf986b321e
7
+ data.tar.gz: 243779eedd54be5fe42dbcd66d481309e600d282cea4dd40127da771003c8f7af3adfb8c8c14c92549d9bdc9da07dc2e1dd4588f47c6ecefad86c722aec1b28c
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
28
28
  # structure.
29
29
  #
30
30
  # global_accelerator = Aws::GlobalAccelerator::Client.new
31
- # resp = global_accelerator.advertise_byoip_cidr(params)
31
+ # resp = global_accelerator.add_custom_routing_endpoints(params)
32
32
  #
33
33
  # See {Client} for more information.
34
34
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
48
48
  # @!group service
49
49
  module Aws::GlobalAccelerator
50
50
 
51
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.26.0'
52
52
 
53
53
  end
@@ -337,11 +337,70 @@ module Aws::GlobalAccelerator
337
337
 
338
338
  # @!group API Operations
339
339
 
340
+ # Associate a virtual private cloud (VPC) subnet endpoint with your
341
+ # custom routing accelerator.
342
+ #
343
+ # The listener port range must be large enough to support the number of
344
+ # IP addresses that can be specified in your subnet. The number of ports
345
+ # required is: subnet size times the number of ports per destination EC2
346
+ # instances. For example, a subnet defined as /24 requires a listener
347
+ # port range of at least 255 ports.
348
+ #
349
+ # Note: You must have enough remaining listener ports available to map
350
+ # to the subnet ports, or the call will fail with a
351
+ # LimitExceededException.
352
+ #
353
+ # By default, all destinations in a subnet in a custom routing
354
+ # accelerator cannot receive traffic. To enable all destinations to
355
+ # receive traffic, or to specify individual port mappings that can
356
+ # receive traffic, see the [ AllowCustomRoutingTraffic][1] operation.
357
+ #
358
+ #
359
+ #
360
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/API_AllowCustomRoutingTraffic.html
361
+ #
362
+ # @option params [required, Array<Types::CustomRoutingEndpointConfiguration>] :endpoint_configurations
363
+ # The list of endpoint objects to add to a custom routing accelerator.
364
+ #
365
+ # @option params [required, String] :endpoint_group_arn
366
+ # The Amazon Resource Name (ARN) of the endpoint group for the custom
367
+ # routing endpoint.
368
+ #
369
+ # @return [Types::AddCustomRoutingEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
370
+ #
371
+ # * {Types::AddCustomRoutingEndpointsResponse#endpoint_descriptions #endpoint_descriptions} => Array&lt;Types::CustomRoutingEndpointDescription&gt;
372
+ # * {Types::AddCustomRoutingEndpointsResponse#endpoint_group_arn #endpoint_group_arn} => String
373
+ #
374
+ # @example Request syntax with placeholder values
375
+ #
376
+ # resp = client.add_custom_routing_endpoints({
377
+ # endpoint_configurations: [ # required
378
+ # {
379
+ # endpoint_id: "GenericString",
380
+ # },
381
+ # ],
382
+ # endpoint_group_arn: "GenericString", # required
383
+ # })
384
+ #
385
+ # @example Response structure
386
+ #
387
+ # resp.endpoint_descriptions #=> Array
388
+ # resp.endpoint_descriptions[0].endpoint_id #=> String
389
+ # resp.endpoint_group_arn #=> String
390
+ #
391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AddCustomRoutingEndpoints AWS API Documentation
392
+ #
393
+ # @overload add_custom_routing_endpoints(params = {})
394
+ # @param [Hash] params ({})
395
+ def add_custom_routing_endpoints(params = {}, options = {})
396
+ req = build_request(:add_custom_routing_endpoints, params)
397
+ req.send_request(options)
398
+ end
399
+
340
400
  # Advertises an IPv4 address range that is provisioned for use with your
341
401
  # AWS resources through bring your own IP addresses (BYOIP). It can take
342
402
  # a few minutes before traffic to the specified addresses starts routing
343
- # to AWS because of propagation delays. To see an AWS CLI example of
344
- # advertising an address range, scroll down to **Example**.
403
+ # to AWS because of propagation delays.
345
404
  #
346
405
  # To stop advertising the BYOIP address range, use [
347
406
  # WithdrawByoipCidr][1].
@@ -386,11 +445,80 @@ module Aws::GlobalAccelerator
386
445
  req.send_request(options)
387
446
  end
388
447
 
448
+ # Specify the Amazon EC2 instance (destination) IP addresses and ports
449
+ # for a VPC subnet endpoint that can receive traffic for a custom
450
+ # routing accelerator. You can allow traffic to all destinations in the
451
+ # subnet endpoint, or allow traffic to a specified list of destination
452
+ # IP addresses and ports in the subnet. Note that you cannot specify IP
453
+ # addresses or ports outside of the range that you configured for the
454
+ # endpoint group.
455
+ #
456
+ # After you make changes, you can verify that the updates are complete
457
+ # by checking the status of your accelerator: the status changes from
458
+ # IN\_PROGRESS to DEPLOYED.
459
+ #
460
+ # @option params [required, String] :endpoint_group_arn
461
+ # The Amazon Resource Name (ARN) of the endpoint group.
462
+ #
463
+ # @option params [required, String] :endpoint_id
464
+ # An ID for the endpoint. For custom routing accelerators, this is the
465
+ # virtual private cloud (VPC) subnet ID.
466
+ #
467
+ # @option params [Array<String>] :destination_addresses
468
+ # A list of specific Amazon EC2 instance IP addresses (destination
469
+ # addresses) in a subnet that you want to allow to receive traffic. The
470
+ # IP addresses must be a subset of the IP addresses that you specified
471
+ # for the endpoint group.
472
+ #
473
+ # `DestinationAddresses` is required if `AllowAllTrafficToEndpoint` is
474
+ # `FALSE` or is not specified.
475
+ #
476
+ # @option params [Array<Integer>] :destination_ports
477
+ # A list of specific Amazon EC2 instance ports (destination ports) that
478
+ # you want to allow to receive traffic.
479
+ #
480
+ # @option params [Boolean] :allow_all_traffic_to_endpoint
481
+ # Indicates whether all destination IP addresses and ports for a
482
+ # specified VPC subnet endpoint can receive traffic from a custom
483
+ # routing accelerator. The value is TRUE or FALSE.
484
+ #
485
+ # When set to TRUE, *all* destinations in the custom routing VPC subnet
486
+ # can receive traffic. Note that you cannot specify destination IP
487
+ # addresses and ports when the value is set to TRUE.
488
+ #
489
+ # When set to FALSE (or not specified), you *must* specify a list of
490
+ # destination IP addresses that are allowed to receive traffic. A list
491
+ # of ports is optional. If you don't specify a list of ports, the ports
492
+ # that can accept traffic is the same as the ports configured for the
493
+ # endpoint group.
494
+ #
495
+ # The default value is FALSE.
496
+ #
497
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
498
+ #
499
+ # @example Request syntax with placeholder values
500
+ #
501
+ # resp = client.allow_custom_routing_traffic({
502
+ # endpoint_group_arn: "GenericString", # required
503
+ # endpoint_id: "GenericString", # required
504
+ # destination_addresses: ["IpAddress"],
505
+ # destination_ports: [1],
506
+ # allow_all_traffic_to_endpoint: false,
507
+ # })
508
+ #
509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AllowCustomRoutingTraffic AWS API Documentation
510
+ #
511
+ # @overload allow_custom_routing_traffic(params = {})
512
+ # @param [Hash] params ({})
513
+ def allow_custom_routing_traffic(params = {}, options = {})
514
+ req = build_request(:allow_custom_routing_traffic, params)
515
+ req.send_request(options)
516
+ end
517
+
389
518
  # Create an accelerator. An accelerator includes one or more listeners
390
519
  # that process inbound connections and direct traffic to one or more
391
520
  # endpoint groups, each of which includes endpoints, such as Network
392
- # Load Balancers. To see an AWS CLI example of creating an accelerator,
393
- # scroll down to **Example**.
521
+ # Load Balancers.
394
522
  #
395
523
  # Global Accelerator is a global service that supports endpoints in
396
524
  # multiple AWS Regions but you must specify the US West (Oregon) Region
@@ -495,13 +623,222 @@ module Aws::GlobalAccelerator
495
623
  req.send_request(options)
496
624
  end
497
625
 
626
+ # Create a custom routing accelerator. A custom routing accelerator
627
+ # directs traffic to one of possibly thousands of Amazon EC2 instance
628
+ # destinations running in a single or multiple virtual private clouds
629
+ # (VPC) subnet endpoints.
630
+ #
631
+ # Be aware that, by default, all destination EC2 instances in a VPC
632
+ # subnet endpoint cannot receive traffic. To enable all destinations to
633
+ # receive traffic, or to specify individual port mappings that can
634
+ # receive traffic, see the [ AllowCustomRoutingTraffic][1] operation.
635
+ #
636
+ #
637
+ #
638
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/API_AllowCustomRoutingTraffic.html
639
+ #
640
+ # @option params [required, String] :name
641
+ # The name of a custom routing accelerator. The name can have a maximum
642
+ # of 64 characters, must contain only alphanumeric characters or hyphens
643
+ # (-), and must not begin or end with a hyphen.
644
+ #
645
+ # @option params [String] :ip_address_type
646
+ # The value for the address type must be IPv4.
647
+ #
648
+ # @option params [Boolean] :enabled
649
+ # Indicates whether an accelerator is enabled. The value is true or
650
+ # false. The default value is true.
651
+ #
652
+ # If the value is set to true, an accelerator cannot be deleted. If set
653
+ # to false, the accelerator can be deleted.
654
+ #
655
+ # @option params [required, String] :idempotency_token
656
+ # A unique, case-sensitive identifier that you provide to ensure the
657
+ # idempotency—that is, the uniqueness—of the request.
658
+ #
659
+ # **A suitable default value is auto-generated.** You should normally
660
+ # not need to pass this option.**
661
+ #
662
+ # @option params [Array<Types::Tag>] :tags
663
+ # Create tags for an accelerator.
664
+ #
665
+ # For more information, see [Tagging in AWS Global Accelerator][1] in
666
+ # the *AWS Global Accelerator Developer Guide*.
667
+ #
668
+ #
669
+ #
670
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html
671
+ #
672
+ # @return [Types::CreateCustomRoutingAcceleratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
673
+ #
674
+ # * {Types::CreateCustomRoutingAcceleratorResponse#accelerator #accelerator} => Types::CustomRoutingAccelerator
675
+ #
676
+ # @example Request syntax with placeholder values
677
+ #
678
+ # resp = client.create_custom_routing_accelerator({
679
+ # name: "GenericString", # required
680
+ # ip_address_type: "IPV4", # accepts IPV4
681
+ # enabled: false,
682
+ # idempotency_token: "IdempotencyToken", # required
683
+ # tags: [
684
+ # {
685
+ # key: "TagKey", # required
686
+ # value: "TagValue", # required
687
+ # },
688
+ # ],
689
+ # })
690
+ #
691
+ # @example Response structure
692
+ #
693
+ # resp.accelerator.accelerator_arn #=> String
694
+ # resp.accelerator.name #=> String
695
+ # resp.accelerator.ip_address_type #=> String, one of "IPV4"
696
+ # resp.accelerator.enabled #=> Boolean
697
+ # resp.accelerator.ip_sets #=> Array
698
+ # resp.accelerator.ip_sets[0].ip_family #=> String
699
+ # resp.accelerator.ip_sets[0].ip_addresses #=> Array
700
+ # resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
701
+ # resp.accelerator.dns_name #=> String
702
+ # resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
703
+ # resp.accelerator.created_time #=> Time
704
+ # resp.accelerator.last_modified_time #=> Time
705
+ #
706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingAccelerator AWS API Documentation
707
+ #
708
+ # @overload create_custom_routing_accelerator(params = {})
709
+ # @param [Hash] params ({})
710
+ def create_custom_routing_accelerator(params = {}, options = {})
711
+ req = build_request(:create_custom_routing_accelerator, params)
712
+ req.send_request(options)
713
+ end
714
+
715
+ # Create an endpoint group for the specified listener for a custom
716
+ # routing accelerator. An endpoint group is a collection of endpoints in
717
+ # one AWS Region.
718
+ #
719
+ # @option params [required, String] :listener_arn
720
+ # The Amazon Resource Name (ARN) of the listener for a custom routing
721
+ # endpoint.
722
+ #
723
+ # @option params [required, String] :endpoint_group_region
724
+ # The AWS Region where the endpoint group is located. A listener can
725
+ # have only one endpoint group in a specific Region.
726
+ #
727
+ # @option params [required, Array<Types::CustomRoutingDestinationConfiguration>] :destination_configurations
728
+ # Sets the port range and protocol for all endpoints (virtual private
729
+ # cloud subnets) in a custom routing endpoint group to accept client
730
+ # traffic on.
731
+ #
732
+ # @option params [required, String] :idempotency_token
733
+ # A unique, case-sensitive identifier that you provide to ensure the
734
+ # idempotency—that is, the uniqueness—of the request.
735
+ #
736
+ # **A suitable default value is auto-generated.** You should normally
737
+ # not need to pass this option.**
738
+ #
739
+ # @return [Types::CreateCustomRoutingEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
740
+ #
741
+ # * {Types::CreateCustomRoutingEndpointGroupResponse#endpoint_group #endpoint_group} => Types::CustomRoutingEndpointGroup
742
+ #
743
+ # @example Request syntax with placeholder values
744
+ #
745
+ # resp = client.create_custom_routing_endpoint_group({
746
+ # listener_arn: "GenericString", # required
747
+ # endpoint_group_region: "GenericString", # required
748
+ # destination_configurations: [ # required
749
+ # {
750
+ # from_port: 1, # required
751
+ # to_port: 1, # required
752
+ # protocols: ["TCP"], # required, accepts TCP, UDP
753
+ # },
754
+ # ],
755
+ # idempotency_token: "IdempotencyToken", # required
756
+ # })
757
+ #
758
+ # @example Response structure
759
+ #
760
+ # resp.endpoint_group.endpoint_group_arn #=> String
761
+ # resp.endpoint_group.endpoint_group_region #=> String
762
+ # resp.endpoint_group.destination_descriptions #=> Array
763
+ # resp.endpoint_group.destination_descriptions[0].from_port #=> Integer
764
+ # resp.endpoint_group.destination_descriptions[0].to_port #=> Integer
765
+ # resp.endpoint_group.destination_descriptions[0].protocols #=> Array
766
+ # resp.endpoint_group.destination_descriptions[0].protocols[0] #=> String, one of "TCP", "UDP"
767
+ # resp.endpoint_group.endpoint_descriptions #=> Array
768
+ # resp.endpoint_group.endpoint_descriptions[0].endpoint_id #=> String
769
+ #
770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingEndpointGroup AWS API Documentation
771
+ #
772
+ # @overload create_custom_routing_endpoint_group(params = {})
773
+ # @param [Hash] params ({})
774
+ def create_custom_routing_endpoint_group(params = {}, options = {})
775
+ req = build_request(:create_custom_routing_endpoint_group, params)
776
+ req.send_request(options)
777
+ end
778
+
779
+ # Create a listener to process inbound connections from clients to a
780
+ # custom routing accelerator. Connections arrive to assigned static IP
781
+ # addresses on the port range that you specify.
782
+ #
783
+ # @option params [required, String] :accelerator_arn
784
+ # The Amazon Resource Name (ARN) of the accelerator for a custom routing
785
+ # listener.
786
+ #
787
+ # @option params [required, Array<Types::PortRange>] :port_ranges
788
+ # The port range to support for connections from clients to your
789
+ # accelerator.
790
+ #
791
+ # Separately, you set port ranges for endpoints. For more information,
792
+ # see [About endpoints for custom routing accelerators][1].
793
+ #
794
+ #
795
+ #
796
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-custom-routing-endpoints.html
797
+ #
798
+ # @option params [required, String] :idempotency_token
799
+ # A unique, case-sensitive identifier that you provide to ensure the
800
+ # idempotency—that is, the uniqueness—of the request.
801
+ #
802
+ # **A suitable default value is auto-generated.** You should normally
803
+ # not need to pass this option.**
804
+ #
805
+ # @return [Types::CreateCustomRoutingListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
806
+ #
807
+ # * {Types::CreateCustomRoutingListenerResponse#listener #listener} => Types::CustomRoutingListener
808
+ #
809
+ # @example Request syntax with placeholder values
810
+ #
811
+ # resp = client.create_custom_routing_listener({
812
+ # accelerator_arn: "GenericString", # required
813
+ # port_ranges: [ # required
814
+ # {
815
+ # from_port: 1,
816
+ # to_port: 1,
817
+ # },
818
+ # ],
819
+ # idempotency_token: "IdempotencyToken", # required
820
+ # })
821
+ #
822
+ # @example Response structure
823
+ #
824
+ # resp.listener.listener_arn #=> String
825
+ # resp.listener.port_ranges #=> Array
826
+ # resp.listener.port_ranges[0].from_port #=> Integer
827
+ # resp.listener.port_ranges[0].to_port #=> Integer
828
+ #
829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingListener AWS API Documentation
830
+ #
831
+ # @overload create_custom_routing_listener(params = {})
832
+ # @param [Hash] params ({})
833
+ def create_custom_routing_listener(params = {}, options = {})
834
+ req = build_request(:create_custom_routing_listener, params)
835
+ req.send_request(options)
836
+ end
837
+
498
838
  # Create an endpoint group for the specified listener. An endpoint group
499
839
  # is a collection of endpoints in one AWS Region. A resource must be
500
840
  # valid and active when you add it as an endpoint.
501
841
  #
502
- # To see an AWS CLI example of creating an endpoint group, scroll down
503
- # to **Example**.
504
- #
505
842
  # @option params [required, String] :listener_arn
506
843
  # The Amazon Resource Name (ARN) of the listener.
507
844
  #
@@ -588,7 +925,7 @@ module Aws::GlobalAccelerator
588
925
  # traffic_dial_percentage: 1.0,
589
926
  # health_check_port: 1,
590
927
  # health_check_protocol: "TCP", # accepts TCP, HTTP, HTTPS
591
- # health_check_path: "GenericString",
928
+ # health_check_path: "HealthCheckPath",
592
929
  # health_check_interval_seconds: 1,
593
930
  # threshold_count: 1,
594
931
  # idempotency_token: "IdempotencyToken", # required
@@ -631,8 +968,7 @@ module Aws::GlobalAccelerator
631
968
 
632
969
  # Create a listener to process inbound connections from clients to an
633
970
  # accelerator. Connections arrive to assigned static IP addresses on a
634
- # port, port range, or list of port ranges that you specify. To see an
635
- # AWS CLI example of creating a listener, scroll down to **Example**.
971
+ # port, port range, or list of port ranges that you specify.
636
972
  #
637
973
  # @option params [required, String] :accelerator_arn
638
974
  # The Amazon Resource Name (ARN) of your accelerator.
@@ -758,7 +1094,52 @@ module Aws::GlobalAccelerator
758
1094
  req.send_request(options)
759
1095
  end
760
1096
 
761
- # Delete an endpoint group from a listener.
1097
+ # Delete a custom routing accelerator. Before you can delete an
1098
+ # accelerator, you must disable it and remove all dependent resources
1099
+ # (listeners and endpoint groups). To disable the accelerator, update
1100
+ # the accelerator to set `Enabled` to false.
1101
+ #
1102
+ # When you create a custom routing accelerator, by default, Global
1103
+ # Accelerator provides you with a set of two static IP addresses.
1104
+ #
1105
+ # The IP addresses are assigned to your accelerator for as long as it
1106
+ # exists, even if you disable the accelerator and it no longer accepts
1107
+ # or routes traffic. However, when you *delete* an accelerator, you lose
1108
+ # the static IP addresses that are assigned to the accelerator, so you
1109
+ # can no longer route traffic by using them. As a best practice, ensure
1110
+ # that you have permissions in place to avoid inadvertently deleting
1111
+ # accelerators. You can use IAM policies with Global Accelerator to
1112
+ # limit the users who have permissions to delete an accelerator. For
1113
+ # more information, see [Authentication and Access Control][1] in the
1114
+ # *AWS Global Accelerator Developer Guide*.
1115
+ #
1116
+ #
1117
+ #
1118
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html
1119
+ #
1120
+ # @option params [required, String] :accelerator_arn
1121
+ # The Amazon Resource Name (ARN) of the custom routing accelerator to
1122
+ # delete.
1123
+ #
1124
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1125
+ #
1126
+ # @example Request syntax with placeholder values
1127
+ #
1128
+ # resp = client.delete_custom_routing_accelerator({
1129
+ # accelerator_arn: "GenericString", # required
1130
+ # })
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingAccelerator AWS API Documentation
1133
+ #
1134
+ # @overload delete_custom_routing_accelerator(params = {})
1135
+ # @param [Hash] params ({})
1136
+ def delete_custom_routing_accelerator(params = {}, options = {})
1137
+ req = build_request(:delete_custom_routing_accelerator, params)
1138
+ req.send_request(options)
1139
+ end
1140
+
1141
+ # Delete an endpoint group from a listener for a custom routing
1142
+ # accelerator.
762
1143
  #
763
1144
  # @option params [required, String] :endpoint_group_arn
764
1145
  # The Amazon Resource Name (ARN) of the endpoint group to delete.
@@ -767,48 +1148,157 @@ module Aws::GlobalAccelerator
767
1148
  #
768
1149
  # @example Request syntax with placeholder values
769
1150
  #
770
- # resp = client.delete_endpoint_group({
1151
+ # resp = client.delete_custom_routing_endpoint_group({
771
1152
  # endpoint_group_arn: "GenericString", # required
772
1153
  # })
773
1154
  #
774
- # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteEndpointGroup AWS API Documentation
1155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingEndpointGroup AWS API Documentation
775
1156
  #
776
- # @overload delete_endpoint_group(params = {})
1157
+ # @overload delete_custom_routing_endpoint_group(params = {})
777
1158
  # @param [Hash] params ({})
778
- def delete_endpoint_group(params = {}, options = {})
779
- req = build_request(:delete_endpoint_group, params)
1159
+ def delete_custom_routing_endpoint_group(params = {}, options = {})
1160
+ req = build_request(:delete_custom_routing_endpoint_group, params)
780
1161
  req.send_request(options)
781
1162
  end
782
1163
 
783
- # Delete a listener from an accelerator.
1164
+ # Delete a listener for a custom routing accelerator.
784
1165
  #
785
1166
  # @option params [required, String] :listener_arn
786
- # The Amazon Resource Name (ARN) of the listener.
1167
+ # The Amazon Resource Name (ARN) of the listener to delete.
787
1168
  #
788
1169
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
789
1170
  #
790
1171
  # @example Request syntax with placeholder values
791
1172
  #
792
- # resp = client.delete_listener({
1173
+ # resp = client.delete_custom_routing_listener({
793
1174
  # listener_arn: "GenericString", # required
794
1175
  # })
795
1176
  #
796
- # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteListener AWS API Documentation
1177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingListener AWS API Documentation
797
1178
  #
798
- # @overload delete_listener(params = {})
1179
+ # @overload delete_custom_routing_listener(params = {})
799
1180
  # @param [Hash] params ({})
800
- def delete_listener(params = {}, options = {})
801
- req = build_request(:delete_listener, params)
1181
+ def delete_custom_routing_listener(params = {}, options = {})
1182
+ req = build_request(:delete_custom_routing_listener, params)
802
1183
  req.send_request(options)
803
1184
  end
804
1185
 
805
- # Releases the specified address range that you provisioned to use with
806
- # your AWS resources through bring your own IP addresses (BYOIP) and
807
- # deletes the corresponding address pool. To see an AWS CLI example of
808
- # deprovisioning an address range, scroll down to **Example**.
1186
+ # Delete an endpoint group from a listener.
809
1187
  #
810
- # Before you can release an address range, you must stop advertising it
811
- # by using [WithdrawByoipCidr][1] and you must not have any accelerators
1188
+ # @option params [required, String] :endpoint_group_arn
1189
+ # The Amazon Resource Name (ARN) of the endpoint group to delete.
1190
+ #
1191
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1192
+ #
1193
+ # @example Request syntax with placeholder values
1194
+ #
1195
+ # resp = client.delete_endpoint_group({
1196
+ # endpoint_group_arn: "GenericString", # required
1197
+ # })
1198
+ #
1199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteEndpointGroup AWS API Documentation
1200
+ #
1201
+ # @overload delete_endpoint_group(params = {})
1202
+ # @param [Hash] params ({})
1203
+ def delete_endpoint_group(params = {}, options = {})
1204
+ req = build_request(:delete_endpoint_group, params)
1205
+ req.send_request(options)
1206
+ end
1207
+
1208
+ # Delete a listener from an accelerator.
1209
+ #
1210
+ # @option params [required, String] :listener_arn
1211
+ # The Amazon Resource Name (ARN) of the listener.
1212
+ #
1213
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1214
+ #
1215
+ # @example Request syntax with placeholder values
1216
+ #
1217
+ # resp = client.delete_listener({
1218
+ # listener_arn: "GenericString", # required
1219
+ # })
1220
+ #
1221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteListener AWS API Documentation
1222
+ #
1223
+ # @overload delete_listener(params = {})
1224
+ # @param [Hash] params ({})
1225
+ def delete_listener(params = {}, options = {})
1226
+ req = build_request(:delete_listener, params)
1227
+ req.send_request(options)
1228
+ end
1229
+
1230
+ # Specify the Amazon EC2 instance (destination) IP addresses and ports
1231
+ # for a VPC subnet endpoint that cannot receive traffic for a custom
1232
+ # routing accelerator. You can deny traffic to all destinations in the
1233
+ # VPC endpoint, or deny traffic to a specified list of destination IP
1234
+ # addresses and ports. Note that you cannot specify IP addresses or
1235
+ # ports outside of the range that you configured for the endpoint group.
1236
+ #
1237
+ # After you make changes, you can verify that the updates are complete
1238
+ # by checking the status of your accelerator: the status changes from
1239
+ # IN\_PROGRESS to DEPLOYED.
1240
+ #
1241
+ # @option params [required, String] :endpoint_group_arn
1242
+ # The Amazon Resource Name (ARN) of the endpoint group.
1243
+ #
1244
+ # @option params [required, String] :endpoint_id
1245
+ # An ID for the endpoint. For custom routing accelerators, this is the
1246
+ # virtual private cloud (VPC) subnet ID.
1247
+ #
1248
+ # @option params [Array<String>] :destination_addresses
1249
+ # A list of specific Amazon EC2 instance IP addresses (destination
1250
+ # addresses) in a subnet that you want to prevent from receiving
1251
+ # traffic. The IP addresses must be a subset of the IP addresses allowed
1252
+ # for the VPC subnet associated with the endpoint group.
1253
+ #
1254
+ # @option params [Array<Integer>] :destination_ports
1255
+ # A list of specific Amazon EC2 instance ports (destination ports) in a
1256
+ # subnet endpoint that you want to prevent from receiving traffic.
1257
+ #
1258
+ # @option params [Boolean] :deny_all_traffic_to_endpoint
1259
+ # Indicates whether all destination IP addresses and ports for a
1260
+ # specified VPC subnet endpoint *cannot* receive traffic from a custom
1261
+ # routing accelerator. The value is TRUE or FALSE.
1262
+ #
1263
+ # When set to TRUE, *no* destinations in the custom routing VPC subnet
1264
+ # can receive traffic. Note that you cannot specify destination IP
1265
+ # addresses and ports when the value is set to TRUE.
1266
+ #
1267
+ # When set to FALSE (or not specified), you *must* specify a list of
1268
+ # destination IP addresses that cannot receive traffic. A list of ports
1269
+ # is optional. If you don't specify a list of ports, the ports that can
1270
+ # accept traffic is the same as the ports configured for the endpoint
1271
+ # group.
1272
+ #
1273
+ # The default value is FALSE.
1274
+ #
1275
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1276
+ #
1277
+ # @example Request syntax with placeholder values
1278
+ #
1279
+ # resp = client.deny_custom_routing_traffic({
1280
+ # endpoint_group_arn: "GenericString", # required
1281
+ # endpoint_id: "GenericString", # required
1282
+ # destination_addresses: ["IpAddress"],
1283
+ # destination_ports: [1],
1284
+ # deny_all_traffic_to_endpoint: false,
1285
+ # })
1286
+ #
1287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DenyCustomRoutingTraffic AWS API Documentation
1288
+ #
1289
+ # @overload deny_custom_routing_traffic(params = {})
1290
+ # @param [Hash] params ({})
1291
+ def deny_custom_routing_traffic(params = {}, options = {})
1292
+ req = build_request(:deny_custom_routing_traffic, params)
1293
+ req.send_request(options)
1294
+ end
1295
+
1296
+ # Releases the specified address range that you provisioned to use with
1297
+ # your AWS resources through bring your own IP addresses (BYOIP) and
1298
+ # deletes the corresponding address pool.
1299
+ #
1300
+ # Before you can release an address range, you must stop advertising it
1301
+ # by using [WithdrawByoipCidr][1] and you must not have any accelerators
812
1302
  # that are using static IP addresses allocated from its address range.
813
1303
  #
814
1304
  # For more information, see [Bring Your Own IP Addresses (BYOIP)][2] in
@@ -850,8 +1340,7 @@ module Aws::GlobalAccelerator
850
1340
  req.send_request(options)
851
1341
  end
852
1342
 
853
- # Describe an accelerator. To see an AWS CLI example of describing an
854
- # accelerator, scroll down to **Example**.
1343
+ # Describe an accelerator.
855
1344
  #
856
1345
  # @option params [required, String] :accelerator_arn
857
1346
  # The Amazon Resource Name (ARN) of the accelerator to describe.
@@ -890,9 +1379,7 @@ module Aws::GlobalAccelerator
890
1379
  req.send_request(options)
891
1380
  end
892
1381
 
893
- # Describe the attributes of an accelerator. To see an AWS CLI example
894
- # of describing the attributes of an accelerator, scroll down to
895
- # **Example**.
1382
+ # Describe the attributes of an accelerator.
896
1383
  #
897
1384
  # @option params [required, String] :accelerator_arn
898
1385
  # The Amazon Resource Name (ARN) of the accelerator with the attributes
@@ -923,8 +1410,144 @@ module Aws::GlobalAccelerator
923
1410
  req.send_request(options)
924
1411
  end
925
1412
 
926
- # Describe an endpoint group. To see an AWS CLI example of describing an
927
- # endpoint group, scroll down to **Example**.
1413
+ # Describe a custom routing accelerator.
1414
+ #
1415
+ # @option params [required, String] :accelerator_arn
1416
+ # The Amazon Resource Name (ARN) of the accelerator to describe.
1417
+ #
1418
+ # @return [Types::DescribeCustomRoutingAcceleratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1419
+ #
1420
+ # * {Types::DescribeCustomRoutingAcceleratorResponse#accelerator #accelerator} => Types::CustomRoutingAccelerator
1421
+ #
1422
+ # @example Request syntax with placeholder values
1423
+ #
1424
+ # resp = client.describe_custom_routing_accelerator({
1425
+ # accelerator_arn: "GenericString", # required
1426
+ # })
1427
+ #
1428
+ # @example Response structure
1429
+ #
1430
+ # resp.accelerator.accelerator_arn #=> String
1431
+ # resp.accelerator.name #=> String
1432
+ # resp.accelerator.ip_address_type #=> String, one of "IPV4"
1433
+ # resp.accelerator.enabled #=> Boolean
1434
+ # resp.accelerator.ip_sets #=> Array
1435
+ # resp.accelerator.ip_sets[0].ip_family #=> String
1436
+ # resp.accelerator.ip_sets[0].ip_addresses #=> Array
1437
+ # resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
1438
+ # resp.accelerator.dns_name #=> String
1439
+ # resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
1440
+ # resp.accelerator.created_time #=> Time
1441
+ # resp.accelerator.last_modified_time #=> Time
1442
+ #
1443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingAccelerator AWS API Documentation
1444
+ #
1445
+ # @overload describe_custom_routing_accelerator(params = {})
1446
+ # @param [Hash] params ({})
1447
+ def describe_custom_routing_accelerator(params = {}, options = {})
1448
+ req = build_request(:describe_custom_routing_accelerator, params)
1449
+ req.send_request(options)
1450
+ end
1451
+
1452
+ # Describe the attributes of a custom routing accelerator.
1453
+ #
1454
+ # @option params [required, String] :accelerator_arn
1455
+ # The Amazon Resource Name (ARN) of the custom routing accelerator to
1456
+ # describe the attributes for.
1457
+ #
1458
+ # @return [Types::DescribeCustomRoutingAcceleratorAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1459
+ #
1460
+ # * {Types::DescribeCustomRoutingAcceleratorAttributesResponse#accelerator_attributes #accelerator_attributes} => Types::CustomRoutingAcceleratorAttributes
1461
+ #
1462
+ # @example Request syntax with placeholder values
1463
+ #
1464
+ # resp = client.describe_custom_routing_accelerator_attributes({
1465
+ # accelerator_arn: "GenericString", # required
1466
+ # })
1467
+ #
1468
+ # @example Response structure
1469
+ #
1470
+ # resp.accelerator_attributes.flow_logs_enabled #=> Boolean
1471
+ # resp.accelerator_attributes.flow_logs_s3_bucket #=> String
1472
+ # resp.accelerator_attributes.flow_logs_s3_prefix #=> String
1473
+ #
1474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingAcceleratorAttributes AWS API Documentation
1475
+ #
1476
+ # @overload describe_custom_routing_accelerator_attributes(params = {})
1477
+ # @param [Hash] params ({})
1478
+ def describe_custom_routing_accelerator_attributes(params = {}, options = {})
1479
+ req = build_request(:describe_custom_routing_accelerator_attributes, params)
1480
+ req.send_request(options)
1481
+ end
1482
+
1483
+ # Describe an endpoint group for a custom routing accelerator.
1484
+ #
1485
+ # @option params [required, String] :endpoint_group_arn
1486
+ # The Amazon Resource Name (ARN) of the endpoint group to describe.
1487
+ #
1488
+ # @return [Types::DescribeCustomRoutingEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1489
+ #
1490
+ # * {Types::DescribeCustomRoutingEndpointGroupResponse#endpoint_group #endpoint_group} => Types::CustomRoutingEndpointGroup
1491
+ #
1492
+ # @example Request syntax with placeholder values
1493
+ #
1494
+ # resp = client.describe_custom_routing_endpoint_group({
1495
+ # endpoint_group_arn: "GenericString", # required
1496
+ # })
1497
+ #
1498
+ # @example Response structure
1499
+ #
1500
+ # resp.endpoint_group.endpoint_group_arn #=> String
1501
+ # resp.endpoint_group.endpoint_group_region #=> String
1502
+ # resp.endpoint_group.destination_descriptions #=> Array
1503
+ # resp.endpoint_group.destination_descriptions[0].from_port #=> Integer
1504
+ # resp.endpoint_group.destination_descriptions[0].to_port #=> Integer
1505
+ # resp.endpoint_group.destination_descriptions[0].protocols #=> Array
1506
+ # resp.endpoint_group.destination_descriptions[0].protocols[0] #=> String, one of "TCP", "UDP"
1507
+ # resp.endpoint_group.endpoint_descriptions #=> Array
1508
+ # resp.endpoint_group.endpoint_descriptions[0].endpoint_id #=> String
1509
+ #
1510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingEndpointGroup AWS API Documentation
1511
+ #
1512
+ # @overload describe_custom_routing_endpoint_group(params = {})
1513
+ # @param [Hash] params ({})
1514
+ def describe_custom_routing_endpoint_group(params = {}, options = {})
1515
+ req = build_request(:describe_custom_routing_endpoint_group, params)
1516
+ req.send_request(options)
1517
+ end
1518
+
1519
+ # The description of a listener for a custom routing accelerator.
1520
+ #
1521
+ # @option params [required, String] :listener_arn
1522
+ # The Amazon Resource Name (ARN) of the listener to describe.
1523
+ #
1524
+ # @return [Types::DescribeCustomRoutingListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1525
+ #
1526
+ # * {Types::DescribeCustomRoutingListenerResponse#listener #listener} => Types::CustomRoutingListener
1527
+ #
1528
+ # @example Request syntax with placeholder values
1529
+ #
1530
+ # resp = client.describe_custom_routing_listener({
1531
+ # listener_arn: "GenericString", # required
1532
+ # })
1533
+ #
1534
+ # @example Response structure
1535
+ #
1536
+ # resp.listener.listener_arn #=> String
1537
+ # resp.listener.port_ranges #=> Array
1538
+ # resp.listener.port_ranges[0].from_port #=> Integer
1539
+ # resp.listener.port_ranges[0].to_port #=> Integer
1540
+ #
1541
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingListener AWS API Documentation
1542
+ #
1543
+ # @overload describe_custom_routing_listener(params = {})
1544
+ # @param [Hash] params ({})
1545
+ def describe_custom_routing_listener(params = {}, options = {})
1546
+ req = build_request(:describe_custom_routing_listener, params)
1547
+ req.send_request(options)
1548
+ end
1549
+
1550
+ # Describe an endpoint group.
928
1551
  #
929
1552
  # @option params [required, String] :endpoint_group_arn
930
1553
  # The Amazon Resource Name (ARN) of the endpoint group to describe.
@@ -959,152 +1582,431 @@ module Aws::GlobalAccelerator
959
1582
  # resp.endpoint_group.port_overrides[0].listener_port #=> Integer
960
1583
  # resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
961
1584
  #
962
- # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup AWS API Documentation
1585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup AWS API Documentation
1586
+ #
1587
+ # @overload describe_endpoint_group(params = {})
1588
+ # @param [Hash] params ({})
1589
+ def describe_endpoint_group(params = {}, options = {})
1590
+ req = build_request(:describe_endpoint_group, params)
1591
+ req.send_request(options)
1592
+ end
1593
+
1594
+ # Describe a listener.
1595
+ #
1596
+ # @option params [required, String] :listener_arn
1597
+ # The Amazon Resource Name (ARN) of the listener to describe.
1598
+ #
1599
+ # @return [Types::DescribeListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1600
+ #
1601
+ # * {Types::DescribeListenerResponse#listener #listener} => Types::Listener
1602
+ #
1603
+ # @example Request syntax with placeholder values
1604
+ #
1605
+ # resp = client.describe_listener({
1606
+ # listener_arn: "GenericString", # required
1607
+ # })
1608
+ #
1609
+ # @example Response structure
1610
+ #
1611
+ # resp.listener.listener_arn #=> String
1612
+ # resp.listener.port_ranges #=> Array
1613
+ # resp.listener.port_ranges[0].from_port #=> Integer
1614
+ # resp.listener.port_ranges[0].to_port #=> Integer
1615
+ # resp.listener.protocol #=> String, one of "TCP", "UDP"
1616
+ # resp.listener.client_affinity #=> String, one of "NONE", "SOURCE_IP"
1617
+ #
1618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeListener AWS API Documentation
1619
+ #
1620
+ # @overload describe_listener(params = {})
1621
+ # @param [Hash] params ({})
1622
+ def describe_listener(params = {}, options = {})
1623
+ req = build_request(:describe_listener, params)
1624
+ req.send_request(options)
1625
+ end
1626
+
1627
+ # List the accelerators for an AWS account.
1628
+ #
1629
+ # @option params [Integer] :max_results
1630
+ # The number of Global Accelerator objects that you want to return with
1631
+ # this call. The default value is 10.
1632
+ #
1633
+ # @option params [String] :next_token
1634
+ # The token for the next set of results. You receive this token from a
1635
+ # previous call.
1636
+ #
1637
+ # @return [Types::ListAcceleratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1638
+ #
1639
+ # * {Types::ListAcceleratorsResponse#accelerators #accelerators} => Array&lt;Types::Accelerator&gt;
1640
+ # * {Types::ListAcceleratorsResponse#next_token #next_token} => String
1641
+ #
1642
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1643
+ #
1644
+ # @example Request syntax with placeholder values
1645
+ #
1646
+ # resp = client.list_accelerators({
1647
+ # max_results: 1,
1648
+ # next_token: "GenericString",
1649
+ # })
1650
+ #
1651
+ # @example Response structure
1652
+ #
1653
+ # resp.accelerators #=> Array
1654
+ # resp.accelerators[0].accelerator_arn #=> String
1655
+ # resp.accelerators[0].name #=> String
1656
+ # resp.accelerators[0].ip_address_type #=> String, one of "IPV4"
1657
+ # resp.accelerators[0].enabled #=> Boolean
1658
+ # resp.accelerators[0].ip_sets #=> Array
1659
+ # resp.accelerators[0].ip_sets[0].ip_family #=> String
1660
+ # resp.accelerators[0].ip_sets[0].ip_addresses #=> Array
1661
+ # resp.accelerators[0].ip_sets[0].ip_addresses[0] #=> String
1662
+ # resp.accelerators[0].dns_name #=> String
1663
+ # resp.accelerators[0].status #=> String, one of "DEPLOYED", "IN_PROGRESS"
1664
+ # resp.accelerators[0].created_time #=> Time
1665
+ # resp.accelerators[0].last_modified_time #=> Time
1666
+ # resp.next_token #=> String
1667
+ #
1668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListAccelerators AWS API Documentation
1669
+ #
1670
+ # @overload list_accelerators(params = {})
1671
+ # @param [Hash] params ({})
1672
+ def list_accelerators(params = {}, options = {})
1673
+ req = build_request(:list_accelerators, params)
1674
+ req.send_request(options)
1675
+ end
1676
+
1677
+ # Lists the IP address ranges that were specified in calls to
1678
+ # [ProvisionByoipCidr][1], including the current state and a history of
1679
+ # state changes.
1680
+ #
1681
+ #
1682
+ #
1683
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/ProvisionByoipCidr.html
1684
+ #
1685
+ # @option params [Integer] :max_results
1686
+ # The maximum number of results to return with a single call. To
1687
+ # retrieve the remaining results, make another call with the returned
1688
+ # `nextToken` value.
1689
+ #
1690
+ # @option params [String] :next_token
1691
+ # The token for the next page of results.
1692
+ #
1693
+ # @return [Types::ListByoipCidrsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1694
+ #
1695
+ # * {Types::ListByoipCidrsResponse#byoip_cidrs #byoip_cidrs} => Array&lt;Types::ByoipCidr&gt;
1696
+ # * {Types::ListByoipCidrsResponse#next_token #next_token} => String
1697
+ #
1698
+ # @example Request syntax with placeholder values
1699
+ #
1700
+ # resp = client.list_byoip_cidrs({
1701
+ # max_results: 1,
1702
+ # next_token: "GenericString",
1703
+ # })
1704
+ #
1705
+ # @example Response structure
1706
+ #
1707
+ # resp.byoip_cidrs #=> Array
1708
+ # resp.byoip_cidrs[0].cidr #=> String
1709
+ # resp.byoip_cidrs[0].state #=> String, one of "PENDING_PROVISIONING", "READY", "PENDING_ADVERTISING", "ADVERTISING", "PENDING_WITHDRAWING", "PENDING_DEPROVISIONING", "DEPROVISIONED", "FAILED_PROVISION", "FAILED_ADVERTISING", "FAILED_WITHDRAW", "FAILED_DEPROVISION"
1710
+ # resp.byoip_cidrs[0].events #=> Array
1711
+ # resp.byoip_cidrs[0].events[0].message #=> String
1712
+ # resp.byoip_cidrs[0].events[0].timestamp #=> Time
1713
+ # resp.next_token #=> String
1714
+ #
1715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs AWS API Documentation
1716
+ #
1717
+ # @overload list_byoip_cidrs(params = {})
1718
+ # @param [Hash] params ({})
1719
+ def list_byoip_cidrs(params = {}, options = {})
1720
+ req = build_request(:list_byoip_cidrs, params)
1721
+ req.send_request(options)
1722
+ end
1723
+
1724
+ # List the custom routing accelerators for an AWS account.
1725
+ #
1726
+ # @option params [Integer] :max_results
1727
+ # The number of custom routing Global Accelerator objects that you want
1728
+ # to return with this call. The default value is 10.
1729
+ #
1730
+ # @option params [String] :next_token
1731
+ # The token for the next set of results. You receive this token from a
1732
+ # previous call.
1733
+ #
1734
+ # @return [Types::ListCustomRoutingAcceleratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1735
+ #
1736
+ # * {Types::ListCustomRoutingAcceleratorsResponse#accelerators #accelerators} => Array&lt;Types::CustomRoutingAccelerator&gt;
1737
+ # * {Types::ListCustomRoutingAcceleratorsResponse#next_token #next_token} => String
1738
+ #
1739
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1740
+ #
1741
+ # @example Request syntax with placeholder values
1742
+ #
1743
+ # resp = client.list_custom_routing_accelerators({
1744
+ # max_results: 1,
1745
+ # next_token: "GenericString",
1746
+ # })
1747
+ #
1748
+ # @example Response structure
1749
+ #
1750
+ # resp.accelerators #=> Array
1751
+ # resp.accelerators[0].accelerator_arn #=> String
1752
+ # resp.accelerators[0].name #=> String
1753
+ # resp.accelerators[0].ip_address_type #=> String, one of "IPV4"
1754
+ # resp.accelerators[0].enabled #=> Boolean
1755
+ # resp.accelerators[0].ip_sets #=> Array
1756
+ # resp.accelerators[0].ip_sets[0].ip_family #=> String
1757
+ # resp.accelerators[0].ip_sets[0].ip_addresses #=> Array
1758
+ # resp.accelerators[0].ip_sets[0].ip_addresses[0] #=> String
1759
+ # resp.accelerators[0].dns_name #=> String
1760
+ # resp.accelerators[0].status #=> String, one of "DEPLOYED", "IN_PROGRESS"
1761
+ # resp.accelerators[0].created_time #=> Time
1762
+ # resp.accelerators[0].last_modified_time #=> Time
1763
+ # resp.next_token #=> String
1764
+ #
1765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingAccelerators AWS API Documentation
1766
+ #
1767
+ # @overload list_custom_routing_accelerators(params = {})
1768
+ # @param [Hash] params ({})
1769
+ def list_custom_routing_accelerators(params = {}, options = {})
1770
+ req = build_request(:list_custom_routing_accelerators, params)
1771
+ req.send_request(options)
1772
+ end
1773
+
1774
+ # List the endpoint groups that are associated with a listener for a
1775
+ # custom routing accelerator.
1776
+ #
1777
+ # @option params [required, String] :listener_arn
1778
+ # The Amazon Resource Name (ARN) of the listener to list endpoint groups
1779
+ # for.
1780
+ #
1781
+ # @option params [Integer] :max_results
1782
+ # The number of endpoint group objects that you want to return with this
1783
+ # call. The default value is 10.
1784
+ #
1785
+ # @option params [String] :next_token
1786
+ # The token for the next set of results. You receive this token from a
1787
+ # previous call.
1788
+ #
1789
+ # @return [Types::ListCustomRoutingEndpointGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1790
+ #
1791
+ # * {Types::ListCustomRoutingEndpointGroupsResponse#endpoint_groups #endpoint_groups} => Array&lt;Types::CustomRoutingEndpointGroup&gt;
1792
+ # * {Types::ListCustomRoutingEndpointGroupsResponse#next_token #next_token} => String
1793
+ #
1794
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1795
+ #
1796
+ # @example Request syntax with placeholder values
1797
+ #
1798
+ # resp = client.list_custom_routing_endpoint_groups({
1799
+ # listener_arn: "GenericString", # required
1800
+ # max_results: 1,
1801
+ # next_token: "GenericString",
1802
+ # })
1803
+ #
1804
+ # @example Response structure
1805
+ #
1806
+ # resp.endpoint_groups #=> Array
1807
+ # resp.endpoint_groups[0].endpoint_group_arn #=> String
1808
+ # resp.endpoint_groups[0].endpoint_group_region #=> String
1809
+ # resp.endpoint_groups[0].destination_descriptions #=> Array
1810
+ # resp.endpoint_groups[0].destination_descriptions[0].from_port #=> Integer
1811
+ # resp.endpoint_groups[0].destination_descriptions[0].to_port #=> Integer
1812
+ # resp.endpoint_groups[0].destination_descriptions[0].protocols #=> Array
1813
+ # resp.endpoint_groups[0].destination_descriptions[0].protocols[0] #=> String, one of "TCP", "UDP"
1814
+ # resp.endpoint_groups[0].endpoint_descriptions #=> Array
1815
+ # resp.endpoint_groups[0].endpoint_descriptions[0].endpoint_id #=> String
1816
+ # resp.next_token #=> String
1817
+ #
1818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingEndpointGroups AWS API Documentation
963
1819
  #
964
- # @overload describe_endpoint_group(params = {})
1820
+ # @overload list_custom_routing_endpoint_groups(params = {})
965
1821
  # @param [Hash] params ({})
966
- def describe_endpoint_group(params = {}, options = {})
967
- req = build_request(:describe_endpoint_group, params)
1822
+ def list_custom_routing_endpoint_groups(params = {}, options = {})
1823
+ req = build_request(:list_custom_routing_endpoint_groups, params)
968
1824
  req.send_request(options)
969
1825
  end
970
1826
 
971
- # Describe a listener. To see an AWS CLI example of describing a
972
- # listener, scroll down to **Example**.
1827
+ # List the listeners for a custom routing accelerator.
973
1828
  #
974
- # @option params [required, String] :listener_arn
975
- # The Amazon Resource Name (ARN) of the listener to describe.
1829
+ # @option params [required, String] :accelerator_arn
1830
+ # The Amazon Resource Name (ARN) of the accelerator to list listeners
1831
+ # for.
976
1832
  #
977
- # @return [Types::DescribeListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1833
+ # @option params [Integer] :max_results
1834
+ # The number of listener objects that you want to return with this call.
1835
+ # The default value is 10.
978
1836
  #
979
- # * {Types::DescribeListenerResponse#listener #listener} => Types::Listener
1837
+ # @option params [String] :next_token
1838
+ # The token for the next set of results. You receive this token from a
1839
+ # previous call.
1840
+ #
1841
+ # @return [Types::ListCustomRoutingListenersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1842
+ #
1843
+ # * {Types::ListCustomRoutingListenersResponse#listeners #listeners} => Array&lt;Types::CustomRoutingListener&gt;
1844
+ # * {Types::ListCustomRoutingListenersResponse#next_token #next_token} => String
1845
+ #
1846
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
980
1847
  #
981
1848
  # @example Request syntax with placeholder values
982
1849
  #
983
- # resp = client.describe_listener({
984
- # listener_arn: "GenericString", # required
1850
+ # resp = client.list_custom_routing_listeners({
1851
+ # accelerator_arn: "GenericString", # required
1852
+ # max_results: 1,
1853
+ # next_token: "GenericString",
985
1854
  # })
986
1855
  #
987
1856
  # @example Response structure
988
1857
  #
989
- # resp.listener.listener_arn #=> String
990
- # resp.listener.port_ranges #=> Array
991
- # resp.listener.port_ranges[0].from_port #=> Integer
992
- # resp.listener.port_ranges[0].to_port #=> Integer
993
- # resp.listener.protocol #=> String, one of "TCP", "UDP"
994
- # resp.listener.client_affinity #=> String, one of "NONE", "SOURCE_IP"
1858
+ # resp.listeners #=> Array
1859
+ # resp.listeners[0].listener_arn #=> String
1860
+ # resp.listeners[0].port_ranges #=> Array
1861
+ # resp.listeners[0].port_ranges[0].from_port #=> Integer
1862
+ # resp.listeners[0].port_ranges[0].to_port #=> Integer
1863
+ # resp.next_token #=> String
995
1864
  #
996
- # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeListener AWS API Documentation
1865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingListeners AWS API Documentation
997
1866
  #
998
- # @overload describe_listener(params = {})
1867
+ # @overload list_custom_routing_listeners(params = {})
999
1868
  # @param [Hash] params ({})
1000
- def describe_listener(params = {}, options = {})
1001
- req = build_request(:describe_listener, params)
1869
+ def list_custom_routing_listeners(params = {}, options = {})
1870
+ req = build_request(:list_custom_routing_listeners, params)
1002
1871
  req.send_request(options)
1003
1872
  end
1004
1873
 
1005
- # List the accelerators for an AWS account. To see an AWS CLI example of
1006
- # listing the accelerators for an AWS account, scroll down to
1007
- # **Example**.
1874
+ # Provides a complete mapping from the public accelerator IP address and
1875
+ # port to destination EC2 instance IP addresses and ports in the virtual
1876
+ # public cloud (VPC) subnet endpoint for a custom routing accelerator.
1877
+ # For each subnet endpoint that you add, Global Accelerator creates a
1878
+ # new static port mapping for the accelerator. The port mappings don't
1879
+ # change after Global Accelerator generates them, so you can retrieve
1880
+ # and cache the full mapping on your servers.
1881
+ #
1882
+ # If you remove a subnet from your accelerator, Global Accelerator
1883
+ # removes (reclaims) the port mappings. If you add a subnet to your
1884
+ # accelerator, Global Accelerator creates new port mappings (the
1885
+ # existing ones don't change). If you add or remove EC2 instances in
1886
+ # your subnet, the port mappings don't change, because the mappings are
1887
+ # created when you add the subnet to Global Accelerator.
1888
+ #
1889
+ # The mappings also include a flag for each destination denoting which
1890
+ # destination IP addresses and ports are allowed or denied traffic.
1891
+ #
1892
+ # @option params [required, String] :accelerator_arn
1893
+ # The Amazon Resource Name (ARN) of the accelerator to list the custom
1894
+ # routing port mappings for.
1895
+ #
1896
+ # @option params [String] :endpoint_group_arn
1897
+ # The Amazon Resource Name (ARN) of the endpoint group to list the
1898
+ # custom routing port mappings for.
1008
1899
  #
1009
1900
  # @option params [Integer] :max_results
1010
- # The number of Global Accelerator objects that you want to return with
1901
+ # The number of destination port mappings that you want to return with
1011
1902
  # this call. The default value is 10.
1012
1903
  #
1013
1904
  # @option params [String] :next_token
1014
1905
  # The token for the next set of results. You receive this token from a
1015
1906
  # previous call.
1016
1907
  #
1017
- # @return [Types::ListAcceleratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1908
+ # @return [Types::ListCustomRoutingPortMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1018
1909
  #
1019
- # * {Types::ListAcceleratorsResponse#accelerators #accelerators} => Array&lt;Types::Accelerator&gt;
1020
- # * {Types::ListAcceleratorsResponse#next_token #next_token} => String
1910
+ # * {Types::ListCustomRoutingPortMappingsResponse#port_mappings #port_mappings} => Array&lt;Types::PortMapping&gt;
1911
+ # * {Types::ListCustomRoutingPortMappingsResponse#next_token #next_token} => String
1912
+ #
1913
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1021
1914
  #
1022
1915
  # @example Request syntax with placeholder values
1023
1916
  #
1024
- # resp = client.list_accelerators({
1917
+ # resp = client.list_custom_routing_port_mappings({
1918
+ # accelerator_arn: "GenericString", # required
1919
+ # endpoint_group_arn: "GenericString",
1025
1920
  # max_results: 1,
1026
1921
  # next_token: "GenericString",
1027
1922
  # })
1028
1923
  #
1029
1924
  # @example Response structure
1030
1925
  #
1031
- # resp.accelerators #=> Array
1032
- # resp.accelerators[0].accelerator_arn #=> String
1033
- # resp.accelerators[0].name #=> String
1034
- # resp.accelerators[0].ip_address_type #=> String, one of "IPV4"
1035
- # resp.accelerators[0].enabled #=> Boolean
1036
- # resp.accelerators[0].ip_sets #=> Array
1037
- # resp.accelerators[0].ip_sets[0].ip_family #=> String
1038
- # resp.accelerators[0].ip_sets[0].ip_addresses #=> Array
1039
- # resp.accelerators[0].ip_sets[0].ip_addresses[0] #=> String
1040
- # resp.accelerators[0].dns_name #=> String
1041
- # resp.accelerators[0].status #=> String, one of "DEPLOYED", "IN_PROGRESS"
1042
- # resp.accelerators[0].created_time #=> Time
1043
- # resp.accelerators[0].last_modified_time #=> Time
1926
+ # resp.port_mappings #=> Array
1927
+ # resp.port_mappings[0].accelerator_port #=> Integer
1928
+ # resp.port_mappings[0].endpoint_group_arn #=> String
1929
+ # resp.port_mappings[0].endpoint_id #=> String
1930
+ # resp.port_mappings[0].destination_socket_address.ip_address #=> String
1931
+ # resp.port_mappings[0].destination_socket_address.port #=> Integer
1932
+ # resp.port_mappings[0].protocols #=> Array
1933
+ # resp.port_mappings[0].protocols[0] #=> String, one of "TCP", "UDP"
1934
+ # resp.port_mappings[0].destination_traffic_state #=> String, one of "ALLOW", "DENY"
1044
1935
  # resp.next_token #=> String
1045
1936
  #
1046
- # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListAccelerators AWS API Documentation
1937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappings AWS API Documentation
1047
1938
  #
1048
- # @overload list_accelerators(params = {})
1939
+ # @overload list_custom_routing_port_mappings(params = {})
1049
1940
  # @param [Hash] params ({})
1050
- def list_accelerators(params = {}, options = {})
1051
- req = build_request(:list_accelerators, params)
1941
+ def list_custom_routing_port_mappings(params = {}, options = {})
1942
+ req = build_request(:list_custom_routing_port_mappings, params)
1052
1943
  req.send_request(options)
1053
1944
  end
1054
1945
 
1055
- # Lists the IP address ranges that were specified in calls to
1056
- # [ProvisionByoipCidr][1], including the current state and a history of
1057
- # state changes.
1058
- #
1059
- # To see an AWS CLI example of listing BYOIP CIDR addresses, scroll down
1060
- # to **Example**.
1061
- #
1946
+ # List the port mappings for a specific EC2 instance (destination) in a
1947
+ # VPC subnet endpoint. The response is the mappings for one destination
1948
+ # IP address. This is useful when your subnet endpoint has mappings that
1949
+ # span multiple custom routing accelerators in your account, or for
1950
+ # scenarios where you only want to list the port mappings for a specific
1951
+ # destination instance.
1062
1952
  #
1953
+ # @option params [required, String] :endpoint_id
1954
+ # The ID for the virtual private cloud (VPC) subnet.
1063
1955
  #
1064
- # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/ProvisionByoipCidr.html
1956
+ # @option params [required, String] :destination_address
1957
+ # The endpoint IP address in a virtual private cloud (VPC) subnet for
1958
+ # which you want to receive back port mappings.
1065
1959
  #
1066
1960
  # @option params [Integer] :max_results
1067
- # The maximum number of results to return with a single call. To
1068
- # retrieve the remaining results, make another call with the returned
1069
- # `nextToken` value.
1961
+ # The number of destination port mappings that you want to return with
1962
+ # this call. The default value is 10.
1070
1963
  #
1071
1964
  # @option params [String] :next_token
1072
- # The token for the next page of results.
1965
+ # The token for the next set of results. You receive this token from a
1966
+ # previous call.
1073
1967
  #
1074
- # @return [Types::ListByoipCidrsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1968
+ # @return [Types::ListCustomRoutingPortMappingsByDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1075
1969
  #
1076
- # * {Types::ListByoipCidrsResponse#byoip_cidrs #byoip_cidrs} => Array&lt;Types::ByoipCidr&gt;
1077
- # * {Types::ListByoipCidrsResponse#next_token #next_token} => String
1970
+ # * {Types::ListCustomRoutingPortMappingsByDestinationResponse#destination_port_mappings #destination_port_mappings} => Array&lt;Types::DestinationPortMapping&gt;
1971
+ # * {Types::ListCustomRoutingPortMappingsByDestinationResponse#next_token #next_token} => String
1972
+ #
1973
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1078
1974
  #
1079
1975
  # @example Request syntax with placeholder values
1080
1976
  #
1081
- # resp = client.list_byoip_cidrs({
1977
+ # resp = client.list_custom_routing_port_mappings_by_destination({
1978
+ # endpoint_id: "GenericString", # required
1979
+ # destination_address: "GenericString", # required
1082
1980
  # max_results: 1,
1083
1981
  # next_token: "GenericString",
1084
1982
  # })
1085
1983
  #
1086
1984
  # @example Response structure
1087
1985
  #
1088
- # resp.byoip_cidrs #=> Array
1089
- # resp.byoip_cidrs[0].cidr #=> String
1090
- # resp.byoip_cidrs[0].state #=> String, one of "PENDING_PROVISIONING", "READY", "PENDING_ADVERTISING", "ADVERTISING", "PENDING_WITHDRAWING", "PENDING_DEPROVISIONING", "DEPROVISIONED", "FAILED_PROVISION", "FAILED_ADVERTISING", "FAILED_WITHDRAW", "FAILED_DEPROVISION"
1091
- # resp.byoip_cidrs[0].events #=> Array
1092
- # resp.byoip_cidrs[0].events[0].message #=> String
1093
- # resp.byoip_cidrs[0].events[0].timestamp #=> Time
1986
+ # resp.destination_port_mappings #=> Array
1987
+ # resp.destination_port_mappings[0].accelerator_arn #=> String
1988
+ # resp.destination_port_mappings[0].accelerator_socket_addresses #=> Array
1989
+ # resp.destination_port_mappings[0].accelerator_socket_addresses[0].ip_address #=> String
1990
+ # resp.destination_port_mappings[0].accelerator_socket_addresses[0].port #=> Integer
1991
+ # resp.destination_port_mappings[0].endpoint_group_arn #=> String
1992
+ # resp.destination_port_mappings[0].endpoint_id #=> String
1993
+ # resp.destination_port_mappings[0].endpoint_group_region #=> String
1994
+ # resp.destination_port_mappings[0].destination_socket_address.ip_address #=> String
1995
+ # resp.destination_port_mappings[0].destination_socket_address.port #=> Integer
1996
+ # resp.destination_port_mappings[0].ip_address_type #=> String, one of "IPV4"
1997
+ # resp.destination_port_mappings[0].destination_traffic_state #=> String, one of "ALLOW", "DENY"
1094
1998
  # resp.next_token #=> String
1095
1999
  #
1096
- # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs AWS API Documentation
2000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappingsByDestination AWS API Documentation
1097
2001
  #
1098
- # @overload list_byoip_cidrs(params = {})
2002
+ # @overload list_custom_routing_port_mappings_by_destination(params = {})
1099
2003
  # @param [Hash] params ({})
1100
- def list_byoip_cidrs(params = {}, options = {})
1101
- req = build_request(:list_byoip_cidrs, params)
2004
+ def list_custom_routing_port_mappings_by_destination(params = {}, options = {})
2005
+ req = build_request(:list_custom_routing_port_mappings_by_destination, params)
1102
2006
  req.send_request(options)
1103
2007
  end
1104
2008
 
1105
- # List the endpoint groups that are associated with a listener. To see
1106
- # an AWS CLI example of listing the endpoint groups for listener, scroll
1107
- # down to **Example**.
2009
+ # List the endpoint groups that are associated with a listener.
1108
2010
  #
1109
2011
  # @option params [required, String] :listener_arn
1110
2012
  # The Amazon Resource Name (ARN) of the listener.
@@ -1122,6 +2024,8 @@ module Aws::GlobalAccelerator
1122
2024
  # * {Types::ListEndpointGroupsResponse#endpoint_groups #endpoint_groups} => Array&lt;Types::EndpointGroup&gt;
1123
2025
  # * {Types::ListEndpointGroupsResponse#next_token #next_token} => String
1124
2026
  #
2027
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2028
+ #
1125
2029
  # @example Request syntax with placeholder values
1126
2030
  #
1127
2031
  # resp = client.list_endpoint_groups({
@@ -1161,8 +2065,7 @@ module Aws::GlobalAccelerator
1161
2065
  req.send_request(options)
1162
2066
  end
1163
2067
 
1164
- # List the listeners for an accelerator. To see an AWS CLI example of
1165
- # listing the listeners for an accelerator, scroll down to **Example**.
2068
+ # List the listeners for an accelerator.
1166
2069
  #
1167
2070
  # @option params [required, String] :accelerator_arn
1168
2071
  # The Amazon Resource Name (ARN) of the accelerator for which you want
@@ -1181,6 +2084,8 @@ module Aws::GlobalAccelerator
1181
2084
  # * {Types::ListListenersResponse#listeners #listeners} => Array&lt;Types::Listener&gt;
1182
2085
  # * {Types::ListListenersResponse#next_token #next_token} => String
1183
2086
  #
2087
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2088
+ #
1184
2089
  # @example Request syntax with placeholder values
1185
2090
  #
1186
2091
  # resp = client.list_listeners({
@@ -1209,8 +2114,7 @@ module Aws::GlobalAccelerator
1209
2114
  req.send_request(options)
1210
2115
  end
1211
2116
 
1212
- # List all tags for an accelerator. To see an AWS CLI example of listing
1213
- # tags for an accelerator, scroll down to **Example**.
2117
+ # List all tags for an accelerator.
1214
2118
  #
1215
2119
  # For more information, see [Tagging in AWS Global Accelerator][1] in
1216
2120
  # the *AWS Global Accelerator Developer Guide*.
@@ -1253,9 +2157,6 @@ module Aws::GlobalAccelerator
1253
2157
  # address pool. After the address range is provisioned, it is ready to
1254
2158
  # be advertised using [ AdvertiseByoipCidr][1].
1255
2159
  #
1256
- # To see an AWS CLI example of provisioning an address range for BYOIP,
1257
- # scroll down to **Example**.
1258
- #
1259
2160
  # For more information, see [Bring Your Own IP Addresses (BYOIP)][2] in
1260
2161
  # the *AWS Global Accelerator Developer Guide*.
1261
2162
  #
@@ -1305,8 +2206,35 @@ module Aws::GlobalAccelerator
1305
2206
  req.send_request(options)
1306
2207
  end
1307
2208
 
1308
- # Add tags to an accelerator resource. To see an AWS CLI example of
1309
- # adding tags to an accelerator, scroll down to **Example**.
2209
+ # Remove endpoints from a custom routing accelerator.
2210
+ #
2211
+ # @option params [required, Array<String>] :endpoint_ids
2212
+ # The IDs for the endpoints. For custom routing accelerators, endpoint
2213
+ # IDs are the virtual private cloud (VPC) subnet IDs.
2214
+ #
2215
+ # @option params [required, String] :endpoint_group_arn
2216
+ # The Amazon Resource Name (ARN) of the endpoint group to remove
2217
+ # endpoints from.
2218
+ #
2219
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2220
+ #
2221
+ # @example Request syntax with placeholder values
2222
+ #
2223
+ # resp = client.remove_custom_routing_endpoints({
2224
+ # endpoint_ids: ["GenericString"], # required
2225
+ # endpoint_group_arn: "GenericString", # required
2226
+ # })
2227
+ #
2228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/RemoveCustomRoutingEndpoints AWS API Documentation
2229
+ #
2230
+ # @overload remove_custom_routing_endpoints(params = {})
2231
+ # @param [Hash] params ({})
2232
+ def remove_custom_routing_endpoints(params = {}, options = {})
2233
+ req = build_request(:remove_custom_routing_endpoints, params)
2234
+ req.send_request(options)
2235
+ end
2236
+
2237
+ # Add tags to an accelerator resource.
1310
2238
  #
1311
2239
  # For more information, see [Tagging in AWS Global Accelerator][1] in
1312
2240
  # the *AWS Global Accelerator Developer Guide*.
@@ -1347,10 +2275,9 @@ module Aws::GlobalAccelerator
1347
2275
  end
1348
2276
 
1349
2277
  # Remove tags from a Global Accelerator resource. When you specify a tag
1350
- # key, the action removes both that key and its associated value. To see
1351
- # an AWS CLI example of removing tags from an accelerator, scroll down
1352
- # to **Example**. The operation succeeds even if you attempt to remove
1353
- # tags from an accelerator that was already removed.
2278
+ # key, the action removes both that key and its associated value. The
2279
+ # operation succeeds even if you attempt to remove tags from an
2280
+ # accelerator that was already removed.
1354
2281
  #
1355
2282
  # For more information, see [Tagging in AWS Global Accelerator][1] in
1356
2283
  # the *AWS Global Accelerator Developer Guide*.
@@ -1385,8 +2312,7 @@ module Aws::GlobalAccelerator
1385
2312
  req.send_request(options)
1386
2313
  end
1387
2314
 
1388
- # Update an accelerator. To see an AWS CLI example of updating an
1389
- # accelerator, scroll down to **Example**.
2315
+ # Update an accelerator.
1390
2316
  #
1391
2317
  # Global Accelerator is a global service that supports endpoints in
1392
2318
  # multiple AWS Regions but you must specify the US West (Oregon) Region
@@ -1401,7 +2327,7 @@ module Aws::GlobalAccelerator
1401
2327
  # and must not begin or end with a hyphen.
1402
2328
  #
1403
2329
  # @option params [String] :ip_address_type
1404
- # The value for the address type must be IPv4.
2330
+ # The IP address type, which must be IPv4.
1405
2331
  #
1406
2332
  # @option params [Boolean] :enabled
1407
2333
  # Indicates whether an accelerator is enabled. The value is true or
@@ -1447,9 +2373,7 @@ module Aws::GlobalAccelerator
1447
2373
  req.send_request(options)
1448
2374
  end
1449
2375
 
1450
- # Update the attributes for an accelerator. To see an AWS CLI example of
1451
- # updating an accelerator to enable flow logs, scroll down to
1452
- # **Example**.
2376
+ # Update the attributes for an accelerator.
1453
2377
  #
1454
2378
  # @option params [required, String] :accelerator_arn
1455
2379
  # The Amazon Resource Name (ARN) of the accelerator that you want to
@@ -1512,12 +2436,178 @@ module Aws::GlobalAccelerator
1512
2436
  req.send_request(options)
1513
2437
  end
1514
2438
 
2439
+ # Update a custom routing accelerator.
2440
+ #
2441
+ # @option params [required, String] :accelerator_arn
2442
+ # The Amazon Resource Name (ARN) of the accelerator to update.
2443
+ #
2444
+ # @option params [String] :name
2445
+ # The name of the accelerator. The name can have a maximum of 32
2446
+ # characters, must contain only alphanumeric characters or hyphens (-),
2447
+ # and must not begin or end with a hyphen.
2448
+ #
2449
+ # @option params [String] :ip_address_type
2450
+ # The value for the address type must be IPv4.
2451
+ #
2452
+ # @option params [Boolean] :enabled
2453
+ # Indicates whether an accelerator is enabled. The value is true or
2454
+ # false. The default value is true.
2455
+ #
2456
+ # If the value is set to true, the accelerator cannot be deleted. If set
2457
+ # to false, the accelerator can be deleted.
2458
+ #
2459
+ # @return [Types::UpdateCustomRoutingAcceleratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2460
+ #
2461
+ # * {Types::UpdateCustomRoutingAcceleratorResponse#accelerator #accelerator} => Types::CustomRoutingAccelerator
2462
+ #
2463
+ # @example Request syntax with placeholder values
2464
+ #
2465
+ # resp = client.update_custom_routing_accelerator({
2466
+ # accelerator_arn: "GenericString", # required
2467
+ # name: "GenericString",
2468
+ # ip_address_type: "IPV4", # accepts IPV4
2469
+ # enabled: false,
2470
+ # })
2471
+ #
2472
+ # @example Response structure
2473
+ #
2474
+ # resp.accelerator.accelerator_arn #=> String
2475
+ # resp.accelerator.name #=> String
2476
+ # resp.accelerator.ip_address_type #=> String, one of "IPV4"
2477
+ # resp.accelerator.enabled #=> Boolean
2478
+ # resp.accelerator.ip_sets #=> Array
2479
+ # resp.accelerator.ip_sets[0].ip_family #=> String
2480
+ # resp.accelerator.ip_sets[0].ip_addresses #=> Array
2481
+ # resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
2482
+ # resp.accelerator.dns_name #=> String
2483
+ # resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
2484
+ # resp.accelerator.created_time #=> Time
2485
+ # resp.accelerator.last_modified_time #=> Time
2486
+ #
2487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAccelerator AWS API Documentation
2488
+ #
2489
+ # @overload update_custom_routing_accelerator(params = {})
2490
+ # @param [Hash] params ({})
2491
+ def update_custom_routing_accelerator(params = {}, options = {})
2492
+ req = build_request(:update_custom_routing_accelerator, params)
2493
+ req.send_request(options)
2494
+ end
2495
+
2496
+ # Update the attributes for a custom routing accelerator.
2497
+ #
2498
+ # @option params [required, String] :accelerator_arn
2499
+ # The Amazon Resource Name (ARN) of the custom routing accelerator to
2500
+ # update attributes for.
2501
+ #
2502
+ # @option params [Boolean] :flow_logs_enabled
2503
+ # Update whether flow logs are enabled. The default value is false. If
2504
+ # the value is true, `FlowLogsS3Bucket` and `FlowLogsS3Prefix` must be
2505
+ # specified.
2506
+ #
2507
+ # For more information, see [Flow Logs][1] in the *AWS Global
2508
+ # Accelerator Developer Guide*.
2509
+ #
2510
+ #
2511
+ #
2512
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html
2513
+ #
2514
+ # @option params [String] :flow_logs_s3_bucket
2515
+ # The name of the Amazon S3 bucket for the flow logs. Attribute is
2516
+ # required if `FlowLogsEnabled` is `true`. The bucket must exist and
2517
+ # have a bucket policy that grants AWS Global Accelerator permission to
2518
+ # write to the bucket.
2519
+ #
2520
+ # @option params [String] :flow_logs_s3_prefix
2521
+ # Update the prefix for the location in the Amazon S3 bucket for the
2522
+ # flow logs. Attribute is required if `FlowLogsEnabled` is `true`.
2523
+ #
2524
+ # If you don’t specify a prefix, the flow logs are stored in the root of
2525
+ # the bucket. If you specify slash (/) for the S3 bucket prefix, the log
2526
+ # file bucket folder structure will include a double slash (//), like
2527
+ # the following:
2528
+ #
2529
+ # DOC-EXAMPLE-BUCKET//AWSLogs/aws\_account\_id
2530
+ #
2531
+ # @return [Types::UpdateCustomRoutingAcceleratorAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2532
+ #
2533
+ # * {Types::UpdateCustomRoutingAcceleratorAttributesResponse#accelerator_attributes #accelerator_attributes} => Types::CustomRoutingAcceleratorAttributes
2534
+ #
2535
+ # @example Request syntax with placeholder values
2536
+ #
2537
+ # resp = client.update_custom_routing_accelerator_attributes({
2538
+ # accelerator_arn: "GenericString", # required
2539
+ # flow_logs_enabled: false,
2540
+ # flow_logs_s3_bucket: "GenericString",
2541
+ # flow_logs_s3_prefix: "GenericString",
2542
+ # })
2543
+ #
2544
+ # @example Response structure
2545
+ #
2546
+ # resp.accelerator_attributes.flow_logs_enabled #=> Boolean
2547
+ # resp.accelerator_attributes.flow_logs_s3_bucket #=> String
2548
+ # resp.accelerator_attributes.flow_logs_s3_prefix #=> String
2549
+ #
2550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAcceleratorAttributes AWS API Documentation
2551
+ #
2552
+ # @overload update_custom_routing_accelerator_attributes(params = {})
2553
+ # @param [Hash] params ({})
2554
+ def update_custom_routing_accelerator_attributes(params = {}, options = {})
2555
+ req = build_request(:update_custom_routing_accelerator_attributes, params)
2556
+ req.send_request(options)
2557
+ end
2558
+
2559
+ # Update a listener for a custom routing accelerator.
2560
+ #
2561
+ # @option params [required, String] :listener_arn
2562
+ # The Amazon Resource Name (ARN) of the listener to update.
2563
+ #
2564
+ # @option params [required, Array<Types::PortRange>] :port_ranges
2565
+ # The updated port range to support for connections from clients to your
2566
+ # accelerator. If you remove ports that are currently being used by a
2567
+ # subnet endpoint, the call fails.
2568
+ #
2569
+ # Separately, you set port ranges for endpoints. For more information,
2570
+ # see [About endpoints for custom routing accelerators][1].
2571
+ #
2572
+ #
2573
+ #
2574
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-custom-routing-endpoints.html
2575
+ #
2576
+ # @return [Types::UpdateCustomRoutingListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2577
+ #
2578
+ # * {Types::UpdateCustomRoutingListenerResponse#listener #listener} => Types::CustomRoutingListener
2579
+ #
2580
+ # @example Request syntax with placeholder values
2581
+ #
2582
+ # resp = client.update_custom_routing_listener({
2583
+ # listener_arn: "GenericString", # required
2584
+ # port_ranges: [ # required
2585
+ # {
2586
+ # from_port: 1,
2587
+ # to_port: 1,
2588
+ # },
2589
+ # ],
2590
+ # })
2591
+ #
2592
+ # @example Response structure
2593
+ #
2594
+ # resp.listener.listener_arn #=> String
2595
+ # resp.listener.port_ranges #=> Array
2596
+ # resp.listener.port_ranges[0].from_port #=> Integer
2597
+ # resp.listener.port_ranges[0].to_port #=> Integer
2598
+ #
2599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingListener AWS API Documentation
2600
+ #
2601
+ # @overload update_custom_routing_listener(params = {})
2602
+ # @param [Hash] params ({})
2603
+ def update_custom_routing_listener(params = {}, options = {})
2604
+ req = build_request(:update_custom_routing_listener, params)
2605
+ req.send_request(options)
2606
+ end
2607
+
1515
2608
  # Update an endpoint group. A resource must be valid and active when you
1516
2609
  # add it as an endpoint.
1517
2610
  #
1518
- # To see an AWS CLI example of updating an endpoint group, scroll down
1519
- # to **Example**.
1520
- #
1521
2611
  # @option params [required, String] :endpoint_group_arn
1522
2612
  # The Amazon Resource Name (ARN) of the endpoint group.
1523
2613
  #
@@ -1593,7 +2683,7 @@ module Aws::GlobalAccelerator
1593
2683
  # traffic_dial_percentage: 1.0,
1594
2684
  # health_check_port: 1,
1595
2685
  # health_check_protocol: "TCP", # accepts TCP, HTTP, HTTPS
1596
- # health_check_path: "GenericString",
2686
+ # health_check_path: "HealthCheckPath",
1597
2687
  # health_check_interval_seconds: 1,
1598
2688
  # threshold_count: 1,
1599
2689
  # port_overrides: [
@@ -1633,8 +2723,7 @@ module Aws::GlobalAccelerator
1633
2723
  req.send_request(options)
1634
2724
  end
1635
2725
 
1636
- # Update a listener. To see an AWS CLI example of updating listener,
1637
- # scroll down to **Example**.
2726
+ # Update a listener.
1638
2727
  #
1639
2728
  # @option params [required, String] :listener_arn
1640
2729
  # The Amazon Resource Name (ARN) of the listener to update.
@@ -1710,9 +2799,7 @@ module Aws::GlobalAccelerator
1710
2799
 
1711
2800
  # Stops advertising an address range that is provisioned as an address
1712
2801
  # pool. You can perform this operation at most once every 10 seconds,
1713
- # even if you specify different address ranges each time. To see an AWS
1714
- # CLI example of withdrawing an address range for BYOIP so it will no
1715
- # longer be advertised by AWS, scroll down to **Example**.
2802
+ # even if you specify different address ranges each time.
1716
2803
  #
1717
2804
  # It can take a few minutes before traffic to the specified addresses
1718
2805
  # stops routing to AWS because of propagation delays.
@@ -1767,7 +2854,7 @@ module Aws::GlobalAccelerator
1767
2854
  params: params,
1768
2855
  config: config)
1769
2856
  context[:gem_name] = 'aws-sdk-globalaccelerator'
1770
- context[:gem_version] = '1.25.0'
2857
+ context[:gem_version] = '1.26.0'
1771
2858
  Seahorse::Client::Request.new(handlers, context)
1772
2859
  end
1773
2860