aws-sdk-globalaccelerator 1.22.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-globalaccelerator.rb +2 -2
- data/lib/aws-sdk-globalaccelerator/client.rb +1309 -158
- data/lib/aws-sdk-globalaccelerator/client_api.rb +666 -3
- data/lib/aws-sdk-globalaccelerator/errors.rb +48 -0
- data/lib/aws-sdk-globalaccelerator/types.rb +1650 -88
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67298cb9d8e9855adfa2bd87cc3113a33d99b11c13d7fd5f7292545c1c2d949f
|
4
|
+
data.tar.gz: 6b2548e1fabae34330139c15474fe46cf7c529373e7f862ceb69c3060d32b94b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 168cc289b65ad42a33c722d681f0fa191c6f5b3789e77224b107fab2dce7cf0259b69c14f58d23bd1ba73734c22cfcc00e23c996102bef61de9169d0eb18b28e
|
7
|
+
data.tar.gz: 7830f3f35ad3882080927f8c81f47bce1db33ea24028161c6596511204545d4d0a57992ca1e824b5fb6671036d37e71903baa5e461b500703089689bd244812d
|
@@ -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.
|
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.
|
51
|
+
GEM_VERSION = '1.27.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<Types::CustomRoutingEndpointDescription>
|
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.
|
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,19 +445,84 @@ 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.
|
393
|
-
# scroll down to **Example**.
|
394
|
-
#
|
395
|
-
# If you bring your own IP address ranges to AWS Global Accelerator
|
396
|
-
# (BYOIP), you can assign IP addresses from your own pool to your
|
397
|
-
# accelerator as the static IP address entry points. Only one IP address
|
398
|
-
# from each of your IP address ranges can be used for each accelerator.
|
521
|
+
# Load Balancers.
|
399
522
|
#
|
400
|
-
#
|
401
|
-
#
|
523
|
+
# Global Accelerator is a global service that supports endpoints in
|
524
|
+
# multiple AWS Regions but you must specify the US West (Oregon) Region
|
525
|
+
# to create or update accelerators.
|
402
526
|
#
|
403
527
|
# @option params [required, String] :name
|
404
528
|
# The name of an accelerator. The name can have a maximum of 32
|
@@ -410,13 +534,19 @@ module Aws::GlobalAccelerator
|
|
410
534
|
#
|
411
535
|
# @option params [Array<String>] :ip_addresses
|
412
536
|
# Optionally, if you've added your own IP address pool to Global
|
413
|
-
# Accelerator, you can choose IP addresses from your own pool to
|
414
|
-
# the accelerator's static IP addresses
|
415
|
-
#
|
537
|
+
# Accelerator (BYOIP), you can choose IP addresses from your own pool to
|
538
|
+
# use for the accelerator's static IP addresses when you create an
|
539
|
+
# accelerator. You can specify one or two addresses, separated by a
|
540
|
+
# comma. Do not include the /32 suffix.
|
416
541
|
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
542
|
+
# Only one IP address from each of your IP address ranges can be used
|
543
|
+
# for each accelerator. If you specify only one IP address from your IP
|
544
|
+
# address range, Global Accelerator assigns a second static IP address
|
545
|
+
# for the accelerator from the AWS IP address pool.
|
546
|
+
#
|
547
|
+
# Note that you can't update IP addresses for an existing accelerator.
|
548
|
+
# To change them, you must create a new accelerator with the new
|
549
|
+
# addresses.
|
420
550
|
#
|
421
551
|
# For more information, see [Bring Your Own IP Addresses (BYOIP)][1] in
|
422
552
|
# the *AWS Global Accelerator Developer Guide*.
|
@@ -493,16 +623,228 @@ module Aws::GlobalAccelerator
|
|
493
623
|
req.send_request(options)
|
494
624
|
end
|
495
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
|
+
|
496
838
|
# Create an endpoint group for the specified listener. An endpoint group
|
497
|
-
# is a collection of endpoints in one AWS Region.
|
498
|
-
#
|
839
|
+
# is a collection of endpoints in one AWS Region. A resource must be
|
840
|
+
# valid and active when you add it as an endpoint.
|
499
841
|
#
|
500
842
|
# @option params [required, String] :listener_arn
|
501
843
|
# The Amazon Resource Name (ARN) of the listener.
|
502
844
|
#
|
503
845
|
# @option params [required, String] :endpoint_group_region
|
504
|
-
# The
|
505
|
-
#
|
846
|
+
# The AWS Region where the endpoint group is located. A listener can
|
847
|
+
# have only one endpoint group in a specific Region.
|
506
848
|
#
|
507
849
|
# @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
|
508
850
|
# The list of endpoint objects.
|
@@ -550,6 +892,20 @@ module Aws::GlobalAccelerator
|
|
550
892
|
# **A suitable default value is auto-generated.** You should normally
|
551
893
|
# not need to pass this option.**
|
552
894
|
#
|
895
|
+
# @option params [Array<Types::PortOverride>] :port_overrides
|
896
|
+
# Override specific listener ports used to route traffic to endpoints
|
897
|
+
# that are part of this endpoint group. For example, you can create a
|
898
|
+
# port override in which the listener receives user traffic on ports 80
|
899
|
+
# and 443, but your accelerator routes that traffic to ports 1080 and
|
900
|
+
# 1443, respectively, on the endpoints.
|
901
|
+
#
|
902
|
+
# For more information, see [ Port overrides][1] in the *AWS Global
|
903
|
+
# Accelerator Developer Guide*.
|
904
|
+
#
|
905
|
+
#
|
906
|
+
#
|
907
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
|
908
|
+
#
|
553
909
|
# @return [Types::CreateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
554
910
|
#
|
555
911
|
# * {Types::CreateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
|
@@ -569,10 +925,16 @@ module Aws::GlobalAccelerator
|
|
569
925
|
# traffic_dial_percentage: 1.0,
|
570
926
|
# health_check_port: 1,
|
571
927
|
# health_check_protocol: "TCP", # accepts TCP, HTTP, HTTPS
|
572
|
-
# health_check_path: "
|
928
|
+
# health_check_path: "HealthCheckPath",
|
573
929
|
# health_check_interval_seconds: 1,
|
574
930
|
# threshold_count: 1,
|
575
931
|
# idempotency_token: "IdempotencyToken", # required
|
932
|
+
# port_overrides: [
|
933
|
+
# {
|
934
|
+
# listener_port: 1,
|
935
|
+
# endpoint_port: 1,
|
936
|
+
# },
|
937
|
+
# ],
|
576
938
|
# })
|
577
939
|
#
|
578
940
|
# @example Response structure
|
@@ -591,6 +953,9 @@ module Aws::GlobalAccelerator
|
|
591
953
|
# resp.endpoint_group.health_check_path #=> String
|
592
954
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
593
955
|
# resp.endpoint_group.threshold_count #=> Integer
|
956
|
+
# resp.endpoint_group.port_overrides #=> Array
|
957
|
+
# resp.endpoint_group.port_overrides[0].listener_port #=> Integer
|
958
|
+
# resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
|
594
959
|
#
|
595
960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroup AWS API Documentation
|
596
961
|
#
|
@@ -603,8 +968,7 @@ module Aws::GlobalAccelerator
|
|
603
968
|
|
604
969
|
# Create a listener to process inbound connections from clients to an
|
605
970
|
# accelerator. Connections arrive to assigned static IP addresses on a
|
606
|
-
# port, port range, or list of port ranges that you specify.
|
607
|
-
# AWS CLI example of creating a listener, scroll down to **Example**.
|
971
|
+
# port, port range, or list of port ranges that you specify.
|
608
972
|
#
|
609
973
|
# @option params [required, String] :accelerator_arn
|
610
974
|
# The Amazon Resource Name (ARN) of your accelerator.
|
@@ -619,7 +983,7 @@ module Aws::GlobalAccelerator
|
|
619
983
|
# @option params [String] :client_affinity
|
620
984
|
# Client affinity lets you direct all requests from a user to the same
|
621
985
|
# endpoint, if you have stateful applications, regardless of the port
|
622
|
-
# and protocol of the client request.
|
986
|
+
# and protocol of the client request. Client affinity gives you control
|
623
987
|
# over whether to always route each client to the same specific
|
624
988
|
# endpoint.
|
625
989
|
#
|
@@ -730,54 +1094,208 @@ module Aws::GlobalAccelerator
|
|
730
1094
|
req.send_request(options)
|
731
1095
|
end
|
732
1096
|
|
733
|
-
# Delete
|
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.
|
734
1101
|
#
|
735
|
-
#
|
736
|
-
#
|
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.
|
737
1123
|
#
|
738
1124
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
739
1125
|
#
|
740
1126
|
# @example Request syntax with placeholder values
|
741
1127
|
#
|
742
|
-
# resp = client.
|
743
|
-
#
|
1128
|
+
# resp = client.delete_custom_routing_accelerator({
|
1129
|
+
# accelerator_arn: "GenericString", # required
|
744
1130
|
# })
|
745
1131
|
#
|
746
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/
|
1132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingAccelerator AWS API Documentation
|
747
1133
|
#
|
748
|
-
# @overload
|
1134
|
+
# @overload delete_custom_routing_accelerator(params = {})
|
749
1135
|
# @param [Hash] params ({})
|
750
|
-
def
|
751
|
-
req = build_request(:
|
1136
|
+
def delete_custom_routing_accelerator(params = {}, options = {})
|
1137
|
+
req = build_request(:delete_custom_routing_accelerator, params)
|
752
1138
|
req.send_request(options)
|
753
1139
|
end
|
754
1140
|
|
755
|
-
# Delete a listener
|
1141
|
+
# Delete an endpoint group from a listener for a custom routing
|
1142
|
+
# accelerator.
|
756
1143
|
#
|
757
|
-
# @option params [required, String] :
|
758
|
-
# The Amazon Resource Name (ARN) of the
|
1144
|
+
# @option params [required, String] :endpoint_group_arn
|
1145
|
+
# The Amazon Resource Name (ARN) of the endpoint group to delete.
|
759
1146
|
#
|
760
1147
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
761
1148
|
#
|
762
1149
|
# @example Request syntax with placeholder values
|
763
1150
|
#
|
764
|
-
# resp = client.
|
765
|
-
#
|
1151
|
+
# resp = client.delete_custom_routing_endpoint_group({
|
1152
|
+
# endpoint_group_arn: "GenericString", # required
|
766
1153
|
# })
|
767
1154
|
#
|
768
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/
|
1155
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingEndpointGroup AWS API Documentation
|
769
1156
|
#
|
770
|
-
# @overload
|
1157
|
+
# @overload delete_custom_routing_endpoint_group(params = {})
|
771
1158
|
# @param [Hash] params ({})
|
772
|
-
def
|
773
|
-
req = build_request(:
|
1159
|
+
def delete_custom_routing_endpoint_group(params = {}, options = {})
|
1160
|
+
req = build_request(:delete_custom_routing_endpoint_group, params)
|
774
1161
|
req.send_request(options)
|
775
1162
|
end
|
776
1163
|
|
777
|
-
#
|
778
|
-
#
|
779
|
-
#
|
780
|
-
#
|
1164
|
+
# Delete a listener for a custom routing accelerator.
|
1165
|
+
#
|
1166
|
+
# @option params [required, String] :listener_arn
|
1167
|
+
# The Amazon Resource Name (ARN) of the listener to delete.
|
1168
|
+
#
|
1169
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1170
|
+
#
|
1171
|
+
# @example Request syntax with placeholder values
|
1172
|
+
#
|
1173
|
+
# resp = client.delete_custom_routing_listener({
|
1174
|
+
# listener_arn: "GenericString", # required
|
1175
|
+
# })
|
1176
|
+
#
|
1177
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingListener AWS API Documentation
|
1178
|
+
#
|
1179
|
+
# @overload delete_custom_routing_listener(params = {})
|
1180
|
+
# @param [Hash] params ({})
|
1181
|
+
def delete_custom_routing_listener(params = {}, options = {})
|
1182
|
+
req = build_request(:delete_custom_routing_listener, params)
|
1183
|
+
req.send_request(options)
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
# Delete an endpoint group from a listener.
|
1187
|
+
#
|
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.
|
781
1299
|
#
|
782
1300
|
# Before you can release an address range, you must stop advertising it
|
783
1301
|
# by using [WithdrawByoipCidr][1] and you must not have any accelerators
|
@@ -822,8 +1340,7 @@ module Aws::GlobalAccelerator
|
|
822
1340
|
req.send_request(options)
|
823
1341
|
end
|
824
1342
|
|
825
|
-
# Describe an accelerator.
|
826
|
-
# accelerator, scroll down to **Example**.
|
1343
|
+
# Describe an accelerator.
|
827
1344
|
#
|
828
1345
|
# @option params [required, String] :accelerator_arn
|
829
1346
|
# The Amazon Resource Name (ARN) of the accelerator to describe.
|
@@ -862,9 +1379,7 @@ module Aws::GlobalAccelerator
|
|
862
1379
|
req.send_request(options)
|
863
1380
|
end
|
864
1381
|
|
865
|
-
# Describe the attributes of an accelerator.
|
866
|
-
# of describing the attributes of an accelerator, scroll down to
|
867
|
-
# **Example**.
|
1382
|
+
# Describe the attributes of an accelerator.
|
868
1383
|
#
|
869
1384
|
# @option params [required, String] :accelerator_arn
|
870
1385
|
# The Amazon Resource Name (ARN) of the accelerator with the attributes
|
@@ -895,8 +1410,144 @@ module Aws::GlobalAccelerator
|
|
895
1410
|
req.send_request(options)
|
896
1411
|
end
|
897
1412
|
|
898
|
-
# Describe
|
899
|
-
#
|
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.
|
900
1551
|
#
|
901
1552
|
# @option params [required, String] :endpoint_group_arn
|
902
1553
|
# The Amazon Resource Name (ARN) of the endpoint group to describe.
|
@@ -927,6 +1578,9 @@ module Aws::GlobalAccelerator
|
|
927
1578
|
# resp.endpoint_group.health_check_path #=> String
|
928
1579
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
929
1580
|
# resp.endpoint_group.threshold_count #=> Integer
|
1581
|
+
# resp.endpoint_group.port_overrides #=> Array
|
1582
|
+
# resp.endpoint_group.port_overrides[0].listener_port #=> Integer
|
1583
|
+
# resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
|
930
1584
|
#
|
931
1585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup AWS API Documentation
|
932
1586
|
#
|
@@ -937,143 +1591,424 @@ module Aws::GlobalAccelerator
|
|
937
1591
|
req.send_request(options)
|
938
1592
|
end
|
939
1593
|
|
940
|
-
# Describe a listener.
|
941
|
-
#
|
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<Types::Accelerator>
|
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<Types::ByoipCidr>
|
1696
|
+
# * {Types::ListByoipCidrsResponse#next_token #next_token} => String
|
1697
|
+
#
|
1698
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1699
|
+
#
|
1700
|
+
# @example Request syntax with placeholder values
|
1701
|
+
#
|
1702
|
+
# resp = client.list_byoip_cidrs({
|
1703
|
+
# max_results: 1,
|
1704
|
+
# next_token: "GenericString",
|
1705
|
+
# })
|
1706
|
+
#
|
1707
|
+
# @example Response structure
|
1708
|
+
#
|
1709
|
+
# resp.byoip_cidrs #=> Array
|
1710
|
+
# resp.byoip_cidrs[0].cidr #=> String
|
1711
|
+
# 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"
|
1712
|
+
# resp.byoip_cidrs[0].events #=> Array
|
1713
|
+
# resp.byoip_cidrs[0].events[0].message #=> String
|
1714
|
+
# resp.byoip_cidrs[0].events[0].timestamp #=> Time
|
1715
|
+
# resp.next_token #=> String
|
1716
|
+
#
|
1717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs AWS API Documentation
|
1718
|
+
#
|
1719
|
+
# @overload list_byoip_cidrs(params = {})
|
1720
|
+
# @param [Hash] params ({})
|
1721
|
+
def list_byoip_cidrs(params = {}, options = {})
|
1722
|
+
req = build_request(:list_byoip_cidrs, params)
|
1723
|
+
req.send_request(options)
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
# List the custom routing accelerators for an AWS account.
|
1727
|
+
#
|
1728
|
+
# @option params [Integer] :max_results
|
1729
|
+
# The number of custom routing Global Accelerator objects that you want
|
1730
|
+
# to return with this call. The default value is 10.
|
1731
|
+
#
|
1732
|
+
# @option params [String] :next_token
|
1733
|
+
# The token for the next set of results. You receive this token from a
|
1734
|
+
# previous call.
|
1735
|
+
#
|
1736
|
+
# @return [Types::ListCustomRoutingAcceleratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1737
|
+
#
|
1738
|
+
# * {Types::ListCustomRoutingAcceleratorsResponse#accelerators #accelerators} => Array<Types::CustomRoutingAccelerator>
|
1739
|
+
# * {Types::ListCustomRoutingAcceleratorsResponse#next_token #next_token} => String
|
1740
|
+
#
|
1741
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1742
|
+
#
|
1743
|
+
# @example Request syntax with placeholder values
|
1744
|
+
#
|
1745
|
+
# resp = client.list_custom_routing_accelerators({
|
1746
|
+
# max_results: 1,
|
1747
|
+
# next_token: "GenericString",
|
1748
|
+
# })
|
1749
|
+
#
|
1750
|
+
# @example Response structure
|
1751
|
+
#
|
1752
|
+
# resp.accelerators #=> Array
|
1753
|
+
# resp.accelerators[0].accelerator_arn #=> String
|
1754
|
+
# resp.accelerators[0].name #=> String
|
1755
|
+
# resp.accelerators[0].ip_address_type #=> String, one of "IPV4"
|
1756
|
+
# resp.accelerators[0].enabled #=> Boolean
|
1757
|
+
# resp.accelerators[0].ip_sets #=> Array
|
1758
|
+
# resp.accelerators[0].ip_sets[0].ip_family #=> String
|
1759
|
+
# resp.accelerators[0].ip_sets[0].ip_addresses #=> Array
|
1760
|
+
# resp.accelerators[0].ip_sets[0].ip_addresses[0] #=> String
|
1761
|
+
# resp.accelerators[0].dns_name #=> String
|
1762
|
+
# resp.accelerators[0].status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
1763
|
+
# resp.accelerators[0].created_time #=> Time
|
1764
|
+
# resp.accelerators[0].last_modified_time #=> Time
|
1765
|
+
# resp.next_token #=> String
|
1766
|
+
#
|
1767
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingAccelerators AWS API Documentation
|
1768
|
+
#
|
1769
|
+
# @overload list_custom_routing_accelerators(params = {})
|
1770
|
+
# @param [Hash] params ({})
|
1771
|
+
def list_custom_routing_accelerators(params = {}, options = {})
|
1772
|
+
req = build_request(:list_custom_routing_accelerators, params)
|
1773
|
+
req.send_request(options)
|
1774
|
+
end
|
1775
|
+
|
1776
|
+
# List the endpoint groups that are associated with a listener for a
|
1777
|
+
# custom routing accelerator.
|
1778
|
+
#
|
1779
|
+
# @option params [required, String] :listener_arn
|
1780
|
+
# The Amazon Resource Name (ARN) of the listener to list endpoint groups
|
1781
|
+
# for.
|
1782
|
+
#
|
1783
|
+
# @option params [Integer] :max_results
|
1784
|
+
# The number of endpoint group objects that you want to return with this
|
1785
|
+
# call. The default value is 10.
|
1786
|
+
#
|
1787
|
+
# @option params [String] :next_token
|
1788
|
+
# The token for the next set of results. You receive this token from a
|
1789
|
+
# previous call.
|
1790
|
+
#
|
1791
|
+
# @return [Types::ListCustomRoutingEndpointGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1792
|
+
#
|
1793
|
+
# * {Types::ListCustomRoutingEndpointGroupsResponse#endpoint_groups #endpoint_groups} => Array<Types::CustomRoutingEndpointGroup>
|
1794
|
+
# * {Types::ListCustomRoutingEndpointGroupsResponse#next_token #next_token} => String
|
1795
|
+
#
|
1796
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1797
|
+
#
|
1798
|
+
# @example Request syntax with placeholder values
|
1799
|
+
#
|
1800
|
+
# resp = client.list_custom_routing_endpoint_groups({
|
1801
|
+
# listener_arn: "GenericString", # required
|
1802
|
+
# max_results: 1,
|
1803
|
+
# next_token: "GenericString",
|
1804
|
+
# })
|
1805
|
+
#
|
1806
|
+
# @example Response structure
|
1807
|
+
#
|
1808
|
+
# resp.endpoint_groups #=> Array
|
1809
|
+
# resp.endpoint_groups[0].endpoint_group_arn #=> String
|
1810
|
+
# resp.endpoint_groups[0].endpoint_group_region #=> String
|
1811
|
+
# resp.endpoint_groups[0].destination_descriptions #=> Array
|
1812
|
+
# resp.endpoint_groups[0].destination_descriptions[0].from_port #=> Integer
|
1813
|
+
# resp.endpoint_groups[0].destination_descriptions[0].to_port #=> Integer
|
1814
|
+
# resp.endpoint_groups[0].destination_descriptions[0].protocols #=> Array
|
1815
|
+
# resp.endpoint_groups[0].destination_descriptions[0].protocols[0] #=> String, one of "TCP", "UDP"
|
1816
|
+
# resp.endpoint_groups[0].endpoint_descriptions #=> Array
|
1817
|
+
# resp.endpoint_groups[0].endpoint_descriptions[0].endpoint_id #=> String
|
1818
|
+
# resp.next_token #=> String
|
1819
|
+
#
|
1820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingEndpointGroups AWS API Documentation
|
1821
|
+
#
|
1822
|
+
# @overload list_custom_routing_endpoint_groups(params = {})
|
1823
|
+
# @param [Hash] params ({})
|
1824
|
+
def list_custom_routing_endpoint_groups(params = {}, options = {})
|
1825
|
+
req = build_request(:list_custom_routing_endpoint_groups, params)
|
1826
|
+
req.send_request(options)
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
# List the listeners for a custom routing accelerator.
|
942
1830
|
#
|
943
|
-
# @option params [required, String] :
|
944
|
-
# The Amazon Resource Name (ARN) of the
|
1831
|
+
# @option params [required, String] :accelerator_arn
|
1832
|
+
# The Amazon Resource Name (ARN) of the accelerator to list listeners
|
1833
|
+
# for.
|
945
1834
|
#
|
946
|
-
# @
|
1835
|
+
# @option params [Integer] :max_results
|
1836
|
+
# The number of listener objects that you want to return with this call.
|
1837
|
+
# The default value is 10.
|
947
1838
|
#
|
948
|
-
#
|
1839
|
+
# @option params [String] :next_token
|
1840
|
+
# The token for the next set of results. You receive this token from a
|
1841
|
+
# previous call.
|
1842
|
+
#
|
1843
|
+
# @return [Types::ListCustomRoutingListenersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1844
|
+
#
|
1845
|
+
# * {Types::ListCustomRoutingListenersResponse#listeners #listeners} => Array<Types::CustomRoutingListener>
|
1846
|
+
# * {Types::ListCustomRoutingListenersResponse#next_token #next_token} => String
|
1847
|
+
#
|
1848
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
949
1849
|
#
|
950
1850
|
# @example Request syntax with placeholder values
|
951
1851
|
#
|
952
|
-
# resp = client.
|
953
|
-
#
|
1852
|
+
# resp = client.list_custom_routing_listeners({
|
1853
|
+
# accelerator_arn: "GenericString", # required
|
1854
|
+
# max_results: 1,
|
1855
|
+
# next_token: "GenericString",
|
954
1856
|
# })
|
955
1857
|
#
|
956
1858
|
# @example Response structure
|
957
1859
|
#
|
958
|
-
# resp.
|
959
|
-
# resp.
|
960
|
-
# resp.
|
961
|
-
# resp.
|
962
|
-
# resp.
|
963
|
-
# resp.
|
1860
|
+
# resp.listeners #=> Array
|
1861
|
+
# resp.listeners[0].listener_arn #=> String
|
1862
|
+
# resp.listeners[0].port_ranges #=> Array
|
1863
|
+
# resp.listeners[0].port_ranges[0].from_port #=> Integer
|
1864
|
+
# resp.listeners[0].port_ranges[0].to_port #=> Integer
|
1865
|
+
# resp.next_token #=> String
|
964
1866
|
#
|
965
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/
|
1867
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingListeners AWS API Documentation
|
966
1868
|
#
|
967
|
-
# @overload
|
1869
|
+
# @overload list_custom_routing_listeners(params = {})
|
968
1870
|
# @param [Hash] params ({})
|
969
|
-
def
|
970
|
-
req = build_request(:
|
1871
|
+
def list_custom_routing_listeners(params = {}, options = {})
|
1872
|
+
req = build_request(:list_custom_routing_listeners, params)
|
971
1873
|
req.send_request(options)
|
972
1874
|
end
|
973
1875
|
|
974
|
-
#
|
975
|
-
#
|
976
|
-
#
|
1876
|
+
# Provides a complete mapping from the public accelerator IP address and
|
1877
|
+
# port to destination EC2 instance IP addresses and ports in the virtual
|
1878
|
+
# public cloud (VPC) subnet endpoint for a custom routing accelerator.
|
1879
|
+
# For each subnet endpoint that you add, Global Accelerator creates a
|
1880
|
+
# new static port mapping for the accelerator. The port mappings don't
|
1881
|
+
# change after Global Accelerator generates them, so you can retrieve
|
1882
|
+
# and cache the full mapping on your servers.
|
1883
|
+
#
|
1884
|
+
# If you remove a subnet from your accelerator, Global Accelerator
|
1885
|
+
# removes (reclaims) the port mappings. If you add a subnet to your
|
1886
|
+
# accelerator, Global Accelerator creates new port mappings (the
|
1887
|
+
# existing ones don't change). If you add or remove EC2 instances in
|
1888
|
+
# your subnet, the port mappings don't change, because the mappings are
|
1889
|
+
# created when you add the subnet to Global Accelerator.
|
1890
|
+
#
|
1891
|
+
# The mappings also include a flag for each destination denoting which
|
1892
|
+
# destination IP addresses and ports are allowed or denied traffic.
|
1893
|
+
#
|
1894
|
+
# @option params [required, String] :accelerator_arn
|
1895
|
+
# The Amazon Resource Name (ARN) of the accelerator to list the custom
|
1896
|
+
# routing port mappings for.
|
1897
|
+
#
|
1898
|
+
# @option params [String] :endpoint_group_arn
|
1899
|
+
# The Amazon Resource Name (ARN) of the endpoint group to list the
|
1900
|
+
# custom routing port mappings for.
|
977
1901
|
#
|
978
1902
|
# @option params [Integer] :max_results
|
979
|
-
# The number of
|
1903
|
+
# The number of destination port mappings that you want to return with
|
980
1904
|
# this call. The default value is 10.
|
981
1905
|
#
|
982
1906
|
# @option params [String] :next_token
|
983
1907
|
# The token for the next set of results. You receive this token from a
|
984
1908
|
# previous call.
|
985
1909
|
#
|
986
|
-
# @return [Types::
|
1910
|
+
# @return [Types::ListCustomRoutingPortMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
987
1911
|
#
|
988
|
-
# * {Types::
|
989
|
-
# * {Types::
|
1912
|
+
# * {Types::ListCustomRoutingPortMappingsResponse#port_mappings #port_mappings} => Array<Types::PortMapping>
|
1913
|
+
# * {Types::ListCustomRoutingPortMappingsResponse#next_token #next_token} => String
|
1914
|
+
#
|
1915
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
990
1916
|
#
|
991
1917
|
# @example Request syntax with placeholder values
|
992
1918
|
#
|
993
|
-
# resp = client.
|
1919
|
+
# resp = client.list_custom_routing_port_mappings({
|
1920
|
+
# accelerator_arn: "GenericString", # required
|
1921
|
+
# endpoint_group_arn: "GenericString",
|
994
1922
|
# max_results: 1,
|
995
1923
|
# next_token: "GenericString",
|
996
1924
|
# })
|
997
1925
|
#
|
998
1926
|
# @example Response structure
|
999
1927
|
#
|
1000
|
-
# resp.
|
1001
|
-
# resp.
|
1002
|
-
# resp.
|
1003
|
-
# resp.
|
1004
|
-
# resp.
|
1005
|
-
# resp.
|
1006
|
-
# resp.
|
1007
|
-
# resp.
|
1008
|
-
# resp.
|
1009
|
-
# resp.accelerators[0].dns_name #=> String
|
1010
|
-
# resp.accelerators[0].status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
1011
|
-
# resp.accelerators[0].created_time #=> Time
|
1012
|
-
# resp.accelerators[0].last_modified_time #=> Time
|
1928
|
+
# resp.port_mappings #=> Array
|
1929
|
+
# resp.port_mappings[0].accelerator_port #=> Integer
|
1930
|
+
# resp.port_mappings[0].endpoint_group_arn #=> String
|
1931
|
+
# resp.port_mappings[0].endpoint_id #=> String
|
1932
|
+
# resp.port_mappings[0].destination_socket_address.ip_address #=> String
|
1933
|
+
# resp.port_mappings[0].destination_socket_address.port #=> Integer
|
1934
|
+
# resp.port_mappings[0].protocols #=> Array
|
1935
|
+
# resp.port_mappings[0].protocols[0] #=> String, one of "TCP", "UDP"
|
1936
|
+
# resp.port_mappings[0].destination_traffic_state #=> String, one of "ALLOW", "DENY"
|
1013
1937
|
# resp.next_token #=> String
|
1014
1938
|
#
|
1015
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/
|
1939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappings AWS API Documentation
|
1016
1940
|
#
|
1017
|
-
# @overload
|
1941
|
+
# @overload list_custom_routing_port_mappings(params = {})
|
1018
1942
|
# @param [Hash] params ({})
|
1019
|
-
def
|
1020
|
-
req = build_request(:
|
1943
|
+
def list_custom_routing_port_mappings(params = {}, options = {})
|
1944
|
+
req = build_request(:list_custom_routing_port_mappings, params)
|
1021
1945
|
req.send_request(options)
|
1022
1946
|
end
|
1023
1947
|
|
1024
|
-
#
|
1025
|
-
#
|
1026
|
-
#
|
1027
|
-
#
|
1028
|
-
#
|
1029
|
-
#
|
1948
|
+
# List the port mappings for a specific EC2 instance (destination) in a
|
1949
|
+
# VPC subnet endpoint. The response is the mappings for one destination
|
1950
|
+
# IP address. This is useful when your subnet endpoint has mappings that
|
1951
|
+
# span multiple custom routing accelerators in your account, or for
|
1952
|
+
# scenarios where you only want to list the port mappings for a specific
|
1953
|
+
# destination instance.
|
1030
1954
|
#
|
1955
|
+
# @option params [required, String] :endpoint_id
|
1956
|
+
# The ID for the virtual private cloud (VPC) subnet.
|
1031
1957
|
#
|
1032
|
-
#
|
1033
|
-
#
|
1958
|
+
# @option params [required, String] :destination_address
|
1959
|
+
# The endpoint IP address in a virtual private cloud (VPC) subnet for
|
1960
|
+
# which you want to receive back port mappings.
|
1034
1961
|
#
|
1035
1962
|
# @option params [Integer] :max_results
|
1036
|
-
# The
|
1037
|
-
#
|
1038
|
-
# `nextToken` value.
|
1963
|
+
# The number of destination port mappings that you want to return with
|
1964
|
+
# this call. The default value is 10.
|
1039
1965
|
#
|
1040
1966
|
# @option params [String] :next_token
|
1041
|
-
# The token for the next
|
1967
|
+
# The token for the next set of results. You receive this token from a
|
1968
|
+
# previous call.
|
1042
1969
|
#
|
1043
|
-
# @return [Types::
|
1970
|
+
# @return [Types::ListCustomRoutingPortMappingsByDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1044
1971
|
#
|
1045
|
-
# * {Types::
|
1046
|
-
# * {Types::
|
1972
|
+
# * {Types::ListCustomRoutingPortMappingsByDestinationResponse#destination_port_mappings #destination_port_mappings} => Array<Types::DestinationPortMapping>
|
1973
|
+
# * {Types::ListCustomRoutingPortMappingsByDestinationResponse#next_token #next_token} => String
|
1974
|
+
#
|
1975
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1047
1976
|
#
|
1048
1977
|
# @example Request syntax with placeholder values
|
1049
1978
|
#
|
1050
|
-
# resp = client.
|
1979
|
+
# resp = client.list_custom_routing_port_mappings_by_destination({
|
1980
|
+
# endpoint_id: "GenericString", # required
|
1981
|
+
# destination_address: "GenericString", # required
|
1051
1982
|
# max_results: 1,
|
1052
1983
|
# next_token: "GenericString",
|
1053
1984
|
# })
|
1054
1985
|
#
|
1055
1986
|
# @example Response structure
|
1056
1987
|
#
|
1057
|
-
# resp.
|
1058
|
-
# resp.
|
1059
|
-
# resp.
|
1060
|
-
# resp.
|
1061
|
-
# resp.
|
1062
|
-
# resp.
|
1988
|
+
# resp.destination_port_mappings #=> Array
|
1989
|
+
# resp.destination_port_mappings[0].accelerator_arn #=> String
|
1990
|
+
# resp.destination_port_mappings[0].accelerator_socket_addresses #=> Array
|
1991
|
+
# resp.destination_port_mappings[0].accelerator_socket_addresses[0].ip_address #=> String
|
1992
|
+
# resp.destination_port_mappings[0].accelerator_socket_addresses[0].port #=> Integer
|
1993
|
+
# resp.destination_port_mappings[0].endpoint_group_arn #=> String
|
1994
|
+
# resp.destination_port_mappings[0].endpoint_id #=> String
|
1995
|
+
# resp.destination_port_mappings[0].endpoint_group_region #=> String
|
1996
|
+
# resp.destination_port_mappings[0].destination_socket_address.ip_address #=> String
|
1997
|
+
# resp.destination_port_mappings[0].destination_socket_address.port #=> Integer
|
1998
|
+
# resp.destination_port_mappings[0].ip_address_type #=> String, one of "IPV4"
|
1999
|
+
# resp.destination_port_mappings[0].destination_traffic_state #=> String, one of "ALLOW", "DENY"
|
1063
2000
|
# resp.next_token #=> String
|
1064
2001
|
#
|
1065
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/
|
2002
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappingsByDestination AWS API Documentation
|
1066
2003
|
#
|
1067
|
-
# @overload
|
2004
|
+
# @overload list_custom_routing_port_mappings_by_destination(params = {})
|
1068
2005
|
# @param [Hash] params ({})
|
1069
|
-
def
|
1070
|
-
req = build_request(:
|
2006
|
+
def list_custom_routing_port_mappings_by_destination(params = {}, options = {})
|
2007
|
+
req = build_request(:list_custom_routing_port_mappings_by_destination, params)
|
1071
2008
|
req.send_request(options)
|
1072
2009
|
end
|
1073
2010
|
|
1074
|
-
# List the endpoint groups that are associated with a listener.
|
1075
|
-
# an AWS CLI example of listing the endpoint groups for listener, scroll
|
1076
|
-
# down to **Example**.
|
2011
|
+
# List the endpoint groups that are associated with a listener.
|
1077
2012
|
#
|
1078
2013
|
# @option params [required, String] :listener_arn
|
1079
2014
|
# The Amazon Resource Name (ARN) of the listener.
|
@@ -1091,6 +2026,8 @@ module Aws::GlobalAccelerator
|
|
1091
2026
|
# * {Types::ListEndpointGroupsResponse#endpoint_groups #endpoint_groups} => Array<Types::EndpointGroup>
|
1092
2027
|
# * {Types::ListEndpointGroupsResponse#next_token #next_token} => String
|
1093
2028
|
#
|
2029
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2030
|
+
#
|
1094
2031
|
# @example Request syntax with placeholder values
|
1095
2032
|
#
|
1096
2033
|
# resp = client.list_endpoint_groups({
|
@@ -1116,6 +2053,9 @@ module Aws::GlobalAccelerator
|
|
1116
2053
|
# resp.endpoint_groups[0].health_check_path #=> String
|
1117
2054
|
# resp.endpoint_groups[0].health_check_interval_seconds #=> Integer
|
1118
2055
|
# resp.endpoint_groups[0].threshold_count #=> Integer
|
2056
|
+
# resp.endpoint_groups[0].port_overrides #=> Array
|
2057
|
+
# resp.endpoint_groups[0].port_overrides[0].listener_port #=> Integer
|
2058
|
+
# resp.endpoint_groups[0].port_overrides[0].endpoint_port #=> Integer
|
1119
2059
|
# resp.next_token #=> String
|
1120
2060
|
#
|
1121
2061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups AWS API Documentation
|
@@ -1127,8 +2067,7 @@ module Aws::GlobalAccelerator
|
|
1127
2067
|
req.send_request(options)
|
1128
2068
|
end
|
1129
2069
|
|
1130
|
-
# List the listeners for an accelerator.
|
1131
|
-
# listing the listeners for an accelerator, scroll down to **Example**.
|
2070
|
+
# List the listeners for an accelerator.
|
1132
2071
|
#
|
1133
2072
|
# @option params [required, String] :accelerator_arn
|
1134
2073
|
# The Amazon Resource Name (ARN) of the accelerator for which you want
|
@@ -1147,6 +2086,8 @@ module Aws::GlobalAccelerator
|
|
1147
2086
|
# * {Types::ListListenersResponse#listeners #listeners} => Array<Types::Listener>
|
1148
2087
|
# * {Types::ListListenersResponse#next_token #next_token} => String
|
1149
2088
|
#
|
2089
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2090
|
+
#
|
1150
2091
|
# @example Request syntax with placeholder values
|
1151
2092
|
#
|
1152
2093
|
# resp = client.list_listeners({
|
@@ -1175,8 +2116,7 @@ module Aws::GlobalAccelerator
|
|
1175
2116
|
req.send_request(options)
|
1176
2117
|
end
|
1177
2118
|
|
1178
|
-
# List all tags for an accelerator.
|
1179
|
-
# tags for an accelerator, scroll down to **Example**.
|
2119
|
+
# List all tags for an accelerator.
|
1180
2120
|
#
|
1181
2121
|
# For more information, see [Tagging in AWS Global Accelerator][1] in
|
1182
2122
|
# the *AWS Global Accelerator Developer Guide*.
|
@@ -1219,9 +2159,6 @@ module Aws::GlobalAccelerator
|
|
1219
2159
|
# address pool. After the address range is provisioned, it is ready to
|
1220
2160
|
# be advertised using [ AdvertiseByoipCidr][1].
|
1221
2161
|
#
|
1222
|
-
# To see an AWS CLI example of provisioning an address range for BYOIP,
|
1223
|
-
# scroll down to **Example**.
|
1224
|
-
#
|
1225
2162
|
# For more information, see [Bring Your Own IP Addresses (BYOIP)][2] in
|
1226
2163
|
# the *AWS Global Accelerator Developer Guide*.
|
1227
2164
|
#
|
@@ -1271,8 +2208,35 @@ module Aws::GlobalAccelerator
|
|
1271
2208
|
req.send_request(options)
|
1272
2209
|
end
|
1273
2210
|
|
1274
|
-
#
|
1275
|
-
#
|
2211
|
+
# Remove endpoints from a custom routing accelerator.
|
2212
|
+
#
|
2213
|
+
# @option params [required, Array<String>] :endpoint_ids
|
2214
|
+
# The IDs for the endpoints. For custom routing accelerators, endpoint
|
2215
|
+
# IDs are the virtual private cloud (VPC) subnet IDs.
|
2216
|
+
#
|
2217
|
+
# @option params [required, String] :endpoint_group_arn
|
2218
|
+
# The Amazon Resource Name (ARN) of the endpoint group to remove
|
2219
|
+
# endpoints from.
|
2220
|
+
#
|
2221
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2222
|
+
#
|
2223
|
+
# @example Request syntax with placeholder values
|
2224
|
+
#
|
2225
|
+
# resp = client.remove_custom_routing_endpoints({
|
2226
|
+
# endpoint_ids: ["GenericString"], # required
|
2227
|
+
# endpoint_group_arn: "GenericString", # required
|
2228
|
+
# })
|
2229
|
+
#
|
2230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/RemoveCustomRoutingEndpoints AWS API Documentation
|
2231
|
+
#
|
2232
|
+
# @overload remove_custom_routing_endpoints(params = {})
|
2233
|
+
# @param [Hash] params ({})
|
2234
|
+
def remove_custom_routing_endpoints(params = {}, options = {})
|
2235
|
+
req = build_request(:remove_custom_routing_endpoints, params)
|
2236
|
+
req.send_request(options)
|
2237
|
+
end
|
2238
|
+
|
2239
|
+
# Add tags to an accelerator resource.
|
1276
2240
|
#
|
1277
2241
|
# For more information, see [Tagging in AWS Global Accelerator][1] in
|
1278
2242
|
# the *AWS Global Accelerator Developer Guide*.
|
@@ -1313,10 +2277,9 @@ module Aws::GlobalAccelerator
|
|
1313
2277
|
end
|
1314
2278
|
|
1315
2279
|
# Remove tags from a Global Accelerator resource. When you specify a tag
|
1316
|
-
# key, the action removes both that key and its associated value.
|
1317
|
-
#
|
1318
|
-
#
|
1319
|
-
# tags from an accelerator that was already removed.
|
2280
|
+
# key, the action removes both that key and its associated value. The
|
2281
|
+
# operation succeeds even if you attempt to remove tags from an
|
2282
|
+
# accelerator that was already removed.
|
1320
2283
|
#
|
1321
2284
|
# For more information, see [Tagging in AWS Global Accelerator][1] in
|
1322
2285
|
# the *AWS Global Accelerator Developer Guide*.
|
@@ -1351,11 +2314,11 @@ module Aws::GlobalAccelerator
|
|
1351
2314
|
req.send_request(options)
|
1352
2315
|
end
|
1353
2316
|
|
1354
|
-
# Update an accelerator.
|
1355
|
-
# accelerator, scroll down to **Example**.
|
2317
|
+
# Update an accelerator.
|
1356
2318
|
#
|
1357
|
-
#
|
1358
|
-
#
|
2319
|
+
# Global Accelerator is a global service that supports endpoints in
|
2320
|
+
# multiple AWS Regions but you must specify the US West (Oregon) Region
|
2321
|
+
# to create or update accelerators.
|
1359
2322
|
#
|
1360
2323
|
# @option params [required, String] :accelerator_arn
|
1361
2324
|
# The Amazon Resource Name (ARN) of the accelerator to update.
|
@@ -1366,7 +2329,7 @@ module Aws::GlobalAccelerator
|
|
1366
2329
|
# and must not begin or end with a hyphen.
|
1367
2330
|
#
|
1368
2331
|
# @option params [String] :ip_address_type
|
1369
|
-
# The
|
2332
|
+
# The IP address type, which must be IPv4.
|
1370
2333
|
#
|
1371
2334
|
# @option params [Boolean] :enabled
|
1372
2335
|
# Indicates whether an accelerator is enabled. The value is true or
|
@@ -1412,9 +2375,7 @@ module Aws::GlobalAccelerator
|
|
1412
2375
|
req.send_request(options)
|
1413
2376
|
end
|
1414
2377
|
|
1415
|
-
# Update the attributes for an accelerator.
|
1416
|
-
# updating an accelerator to enable flow logs, scroll down to
|
1417
|
-
# **Example**.
|
2378
|
+
# Update the attributes for an accelerator.
|
1418
2379
|
#
|
1419
2380
|
# @option params [required, String] :accelerator_arn
|
1420
2381
|
# The Amazon Resource Name (ARN) of the accelerator that you want to
|
@@ -1477,14 +2438,184 @@ module Aws::GlobalAccelerator
|
|
1477
2438
|
req.send_request(options)
|
1478
2439
|
end
|
1479
2440
|
|
1480
|
-
# Update
|
1481
|
-
#
|
2441
|
+
# Update a custom routing accelerator.
|
2442
|
+
#
|
2443
|
+
# @option params [required, String] :accelerator_arn
|
2444
|
+
# The Amazon Resource Name (ARN) of the accelerator to update.
|
2445
|
+
#
|
2446
|
+
# @option params [String] :name
|
2447
|
+
# The name of the accelerator. The name can have a maximum of 32
|
2448
|
+
# characters, must contain only alphanumeric characters or hyphens (-),
|
2449
|
+
# and must not begin or end with a hyphen.
|
2450
|
+
#
|
2451
|
+
# @option params [String] :ip_address_type
|
2452
|
+
# The value for the address type must be IPv4.
|
2453
|
+
#
|
2454
|
+
# @option params [Boolean] :enabled
|
2455
|
+
# Indicates whether an accelerator is enabled. The value is true or
|
2456
|
+
# false. The default value is true.
|
2457
|
+
#
|
2458
|
+
# If the value is set to true, the accelerator cannot be deleted. If set
|
2459
|
+
# to false, the accelerator can be deleted.
|
2460
|
+
#
|
2461
|
+
# @return [Types::UpdateCustomRoutingAcceleratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2462
|
+
#
|
2463
|
+
# * {Types::UpdateCustomRoutingAcceleratorResponse#accelerator #accelerator} => Types::CustomRoutingAccelerator
|
2464
|
+
#
|
2465
|
+
# @example Request syntax with placeholder values
|
2466
|
+
#
|
2467
|
+
# resp = client.update_custom_routing_accelerator({
|
2468
|
+
# accelerator_arn: "GenericString", # required
|
2469
|
+
# name: "GenericString",
|
2470
|
+
# ip_address_type: "IPV4", # accepts IPV4
|
2471
|
+
# enabled: false,
|
2472
|
+
# })
|
2473
|
+
#
|
2474
|
+
# @example Response structure
|
2475
|
+
#
|
2476
|
+
# resp.accelerator.accelerator_arn #=> String
|
2477
|
+
# resp.accelerator.name #=> String
|
2478
|
+
# resp.accelerator.ip_address_type #=> String, one of "IPV4"
|
2479
|
+
# resp.accelerator.enabled #=> Boolean
|
2480
|
+
# resp.accelerator.ip_sets #=> Array
|
2481
|
+
# resp.accelerator.ip_sets[0].ip_family #=> String
|
2482
|
+
# resp.accelerator.ip_sets[0].ip_addresses #=> Array
|
2483
|
+
# resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
|
2484
|
+
# resp.accelerator.dns_name #=> String
|
2485
|
+
# resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
2486
|
+
# resp.accelerator.created_time #=> Time
|
2487
|
+
# resp.accelerator.last_modified_time #=> Time
|
2488
|
+
#
|
2489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAccelerator AWS API Documentation
|
2490
|
+
#
|
2491
|
+
# @overload update_custom_routing_accelerator(params = {})
|
2492
|
+
# @param [Hash] params ({})
|
2493
|
+
def update_custom_routing_accelerator(params = {}, options = {})
|
2494
|
+
req = build_request(:update_custom_routing_accelerator, params)
|
2495
|
+
req.send_request(options)
|
2496
|
+
end
|
2497
|
+
|
2498
|
+
# Update the attributes for a custom routing accelerator.
|
2499
|
+
#
|
2500
|
+
# @option params [required, String] :accelerator_arn
|
2501
|
+
# The Amazon Resource Name (ARN) of the custom routing accelerator to
|
2502
|
+
# update attributes for.
|
2503
|
+
#
|
2504
|
+
# @option params [Boolean] :flow_logs_enabled
|
2505
|
+
# Update whether flow logs are enabled. The default value is false. If
|
2506
|
+
# the value is true, `FlowLogsS3Bucket` and `FlowLogsS3Prefix` must be
|
2507
|
+
# specified.
|
2508
|
+
#
|
2509
|
+
# For more information, see [Flow Logs][1] in the *AWS Global
|
2510
|
+
# Accelerator Developer Guide*.
|
2511
|
+
#
|
2512
|
+
#
|
2513
|
+
#
|
2514
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html
|
2515
|
+
#
|
2516
|
+
# @option params [String] :flow_logs_s3_bucket
|
2517
|
+
# The name of the Amazon S3 bucket for the flow logs. Attribute is
|
2518
|
+
# required if `FlowLogsEnabled` is `true`. The bucket must exist and
|
2519
|
+
# have a bucket policy that grants AWS Global Accelerator permission to
|
2520
|
+
# write to the bucket.
|
2521
|
+
#
|
2522
|
+
# @option params [String] :flow_logs_s3_prefix
|
2523
|
+
# Update the prefix for the location in the Amazon S3 bucket for the
|
2524
|
+
# flow logs. Attribute is required if `FlowLogsEnabled` is `true`.
|
2525
|
+
#
|
2526
|
+
# If you don’t specify a prefix, the flow logs are stored in the root of
|
2527
|
+
# the bucket. If you specify slash (/) for the S3 bucket prefix, the log
|
2528
|
+
# file bucket folder structure will include a double slash (//), like
|
2529
|
+
# the following:
|
2530
|
+
#
|
2531
|
+
# DOC-EXAMPLE-BUCKET//AWSLogs/aws\_account\_id
|
2532
|
+
#
|
2533
|
+
# @return [Types::UpdateCustomRoutingAcceleratorAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2534
|
+
#
|
2535
|
+
# * {Types::UpdateCustomRoutingAcceleratorAttributesResponse#accelerator_attributes #accelerator_attributes} => Types::CustomRoutingAcceleratorAttributes
|
2536
|
+
#
|
2537
|
+
# @example Request syntax with placeholder values
|
2538
|
+
#
|
2539
|
+
# resp = client.update_custom_routing_accelerator_attributes({
|
2540
|
+
# accelerator_arn: "GenericString", # required
|
2541
|
+
# flow_logs_enabled: false,
|
2542
|
+
# flow_logs_s3_bucket: "GenericString",
|
2543
|
+
# flow_logs_s3_prefix: "GenericString",
|
2544
|
+
# })
|
2545
|
+
#
|
2546
|
+
# @example Response structure
|
2547
|
+
#
|
2548
|
+
# resp.accelerator_attributes.flow_logs_enabled #=> Boolean
|
2549
|
+
# resp.accelerator_attributes.flow_logs_s3_bucket #=> String
|
2550
|
+
# resp.accelerator_attributes.flow_logs_s3_prefix #=> String
|
2551
|
+
#
|
2552
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAcceleratorAttributes AWS API Documentation
|
2553
|
+
#
|
2554
|
+
# @overload update_custom_routing_accelerator_attributes(params = {})
|
2555
|
+
# @param [Hash] params ({})
|
2556
|
+
def update_custom_routing_accelerator_attributes(params = {}, options = {})
|
2557
|
+
req = build_request(:update_custom_routing_accelerator_attributes, params)
|
2558
|
+
req.send_request(options)
|
2559
|
+
end
|
2560
|
+
|
2561
|
+
# Update a listener for a custom routing accelerator.
|
2562
|
+
#
|
2563
|
+
# @option params [required, String] :listener_arn
|
2564
|
+
# The Amazon Resource Name (ARN) of the listener to update.
|
2565
|
+
#
|
2566
|
+
# @option params [required, Array<Types::PortRange>] :port_ranges
|
2567
|
+
# The updated port range to support for connections from clients to your
|
2568
|
+
# accelerator. If you remove ports that are currently being used by a
|
2569
|
+
# subnet endpoint, the call fails.
|
2570
|
+
#
|
2571
|
+
# Separately, you set port ranges for endpoints. For more information,
|
2572
|
+
# see [About endpoints for custom routing accelerators][1].
|
2573
|
+
#
|
2574
|
+
#
|
2575
|
+
#
|
2576
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-custom-routing-endpoints.html
|
2577
|
+
#
|
2578
|
+
# @return [Types::UpdateCustomRoutingListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2579
|
+
#
|
2580
|
+
# * {Types::UpdateCustomRoutingListenerResponse#listener #listener} => Types::CustomRoutingListener
|
2581
|
+
#
|
2582
|
+
# @example Request syntax with placeholder values
|
2583
|
+
#
|
2584
|
+
# resp = client.update_custom_routing_listener({
|
2585
|
+
# listener_arn: "GenericString", # required
|
2586
|
+
# port_ranges: [ # required
|
2587
|
+
# {
|
2588
|
+
# from_port: 1,
|
2589
|
+
# to_port: 1,
|
2590
|
+
# },
|
2591
|
+
# ],
|
2592
|
+
# })
|
2593
|
+
#
|
2594
|
+
# @example Response structure
|
2595
|
+
#
|
2596
|
+
# resp.listener.listener_arn #=> String
|
2597
|
+
# resp.listener.port_ranges #=> Array
|
2598
|
+
# resp.listener.port_ranges[0].from_port #=> Integer
|
2599
|
+
# resp.listener.port_ranges[0].to_port #=> Integer
|
2600
|
+
#
|
2601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingListener AWS API Documentation
|
2602
|
+
#
|
2603
|
+
# @overload update_custom_routing_listener(params = {})
|
2604
|
+
# @param [Hash] params ({})
|
2605
|
+
def update_custom_routing_listener(params = {}, options = {})
|
2606
|
+
req = build_request(:update_custom_routing_listener, params)
|
2607
|
+
req.send_request(options)
|
2608
|
+
end
|
2609
|
+
|
2610
|
+
# Update an endpoint group. A resource must be valid and active when you
|
2611
|
+
# add it as an endpoint.
|
1482
2612
|
#
|
1483
2613
|
# @option params [required, String] :endpoint_group_arn
|
1484
2614
|
# The Amazon Resource Name (ARN) of the endpoint group.
|
1485
2615
|
#
|
1486
2616
|
# @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
|
1487
|
-
# The list of endpoint objects.
|
2617
|
+
# The list of endpoint objects. A resource must be valid and active when
|
2618
|
+
# you add it as an endpoint.
|
1488
2619
|
#
|
1489
2620
|
# @option params [Float] :traffic_dial_percentage
|
1490
2621
|
# The percentage of traffic to send to an AWS Region. Additional traffic
|
@@ -1522,6 +2653,20 @@ module Aws::GlobalAccelerator
|
|
1522
2653
|
# healthy endpoint to unhealthy, or to set an unhealthy endpoint to
|
1523
2654
|
# healthy. The default value is 3.
|
1524
2655
|
#
|
2656
|
+
# @option params [Array<Types::PortOverride>] :port_overrides
|
2657
|
+
# Override specific listener ports used to route traffic to endpoints
|
2658
|
+
# that are part of this endpoint group. For example, you can create a
|
2659
|
+
# port override in which the listener receives user traffic on ports 80
|
2660
|
+
# and 443, but your accelerator routes that traffic to ports 1080 and
|
2661
|
+
# 1443, respectively, on the endpoints.
|
2662
|
+
#
|
2663
|
+
# For more information, see [ Port overrides][1] in the *AWS Global
|
2664
|
+
# Accelerator Developer Guide*.
|
2665
|
+
#
|
2666
|
+
#
|
2667
|
+
#
|
2668
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
|
2669
|
+
#
|
1525
2670
|
# @return [Types::UpdateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1526
2671
|
#
|
1527
2672
|
# * {Types::UpdateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
|
@@ -1540,9 +2685,15 @@ module Aws::GlobalAccelerator
|
|
1540
2685
|
# traffic_dial_percentage: 1.0,
|
1541
2686
|
# health_check_port: 1,
|
1542
2687
|
# health_check_protocol: "TCP", # accepts TCP, HTTP, HTTPS
|
1543
|
-
# health_check_path: "
|
2688
|
+
# health_check_path: "HealthCheckPath",
|
1544
2689
|
# health_check_interval_seconds: 1,
|
1545
2690
|
# threshold_count: 1,
|
2691
|
+
# port_overrides: [
|
2692
|
+
# {
|
2693
|
+
# listener_port: 1,
|
2694
|
+
# endpoint_port: 1,
|
2695
|
+
# },
|
2696
|
+
# ],
|
1546
2697
|
# })
|
1547
2698
|
#
|
1548
2699
|
# @example Response structure
|
@@ -1561,6 +2712,9 @@ module Aws::GlobalAccelerator
|
|
1561
2712
|
# resp.endpoint_group.health_check_path #=> String
|
1562
2713
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
1563
2714
|
# resp.endpoint_group.threshold_count #=> Integer
|
2715
|
+
# resp.endpoint_group.port_overrides #=> Array
|
2716
|
+
# resp.endpoint_group.port_overrides[0].listener_port #=> Integer
|
2717
|
+
# resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
|
1564
2718
|
#
|
1565
2719
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroup AWS API Documentation
|
1566
2720
|
#
|
@@ -1571,8 +2725,7 @@ module Aws::GlobalAccelerator
|
|
1571
2725
|
req.send_request(options)
|
1572
2726
|
end
|
1573
2727
|
|
1574
|
-
# Update a listener.
|
1575
|
-
# scroll down to **Example**.
|
2728
|
+
# Update a listener.
|
1576
2729
|
#
|
1577
2730
|
# @option params [required, String] :listener_arn
|
1578
2731
|
# The Amazon Resource Name (ARN) of the listener to update.
|
@@ -1588,7 +2741,7 @@ module Aws::GlobalAccelerator
|
|
1588
2741
|
# @option params [String] :client_affinity
|
1589
2742
|
# Client affinity lets you direct all requests from a user to the same
|
1590
2743
|
# endpoint, if you have stateful applications, regardless of the port
|
1591
|
-
# and protocol of the client request.
|
2744
|
+
# and protocol of the client request. Client affinity gives you control
|
1592
2745
|
# over whether to always route each client to the same specific
|
1593
2746
|
# endpoint.
|
1594
2747
|
#
|
@@ -1648,9 +2801,7 @@ module Aws::GlobalAccelerator
|
|
1648
2801
|
|
1649
2802
|
# Stops advertising an address range that is provisioned as an address
|
1650
2803
|
# pool. You can perform this operation at most once every 10 seconds,
|
1651
|
-
# even if you specify different address ranges each time.
|
1652
|
-
# CLI example of withdrawing an address range for BYOIP so it will no
|
1653
|
-
# longer be advertised by AWS, scroll down to **Example**.
|
2804
|
+
# even if you specify different address ranges each time.
|
1654
2805
|
#
|
1655
2806
|
# It can take a few minutes before traffic to the specified addresses
|
1656
2807
|
# stops routing to AWS because of propagation delays.
|
@@ -1705,7 +2856,7 @@ module Aws::GlobalAccelerator
|
|
1705
2856
|
params: params,
|
1706
2857
|
config: config)
|
1707
2858
|
context[:gem_name] = 'aws-sdk-globalaccelerator'
|
1708
|
-
context[:gem_version] = '1.
|
2859
|
+
context[:gem_version] = '1.27.0'
|
1709
2860
|
Seahorse::Client::Request.new(handlers, context)
|
1710
2861
|
end
|
1711
2862
|
|