aws-sdk-globalaccelerator 1.21.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-globalaccelerator.rb +3 -2
- data/lib/aws-sdk-globalaccelerator/client.rb +1307 -158
- data/lib/aws-sdk-globalaccelerator/client_api.rb +660 -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: 7567d3644ba022c66520f0070fd9b2ac933b829547e9538f08a85ab7b264b587
|
|
4
|
+
data.tar.gz: 29163a387133e5d19f0081a04275af135d8fde61a98266c9efebfb19c6bbf341
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef570794de2e6e9c67438a1026ad58d446814f55d5207bb3cdeef1cb5f86998bf6a71804a9d07fd819d620bae63b6829154c21800bccdd95157d8faf986b321e
|
|
7
|
+
data.tar.gz: 243779eedd54be5fe42dbcd66d481309e600d282cea4dd40127da771003c8f7af3adfb8c8c14c92549d9bdc9da07dc2e1dd4588f47c6ecefad86c722aec1b28c
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
10
|
+
|
|
10
11
|
require 'aws-sdk-core'
|
|
11
12
|
require 'aws-sigv4'
|
|
12
13
|
|
|
@@ -27,7 +28,7 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
|
|
|
27
28
|
# structure.
|
|
28
29
|
#
|
|
29
30
|
# global_accelerator = Aws::GlobalAccelerator::Client.new
|
|
30
|
-
# resp = global_accelerator.
|
|
31
|
+
# resp = global_accelerator.add_custom_routing_endpoints(params)
|
|
31
32
|
#
|
|
32
33
|
# See {Client} for more information.
|
|
33
34
|
#
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
|
|
|
47
48
|
# @!group service
|
|
48
49
|
module Aws::GlobalAccelerator
|
|
49
50
|
|
|
50
|
-
GEM_VERSION = '1.
|
|
51
|
+
GEM_VERSION = '1.26.0'
|
|
51
52
|
|
|
52
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,422 @@ 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
|
+
# @example Request syntax with placeholder values
|
|
1699
|
+
#
|
|
1700
|
+
# resp = client.list_byoip_cidrs({
|
|
1701
|
+
# max_results: 1,
|
|
1702
|
+
# next_token: "GenericString",
|
|
1703
|
+
# })
|
|
1704
|
+
#
|
|
1705
|
+
# @example Response structure
|
|
1706
|
+
#
|
|
1707
|
+
# resp.byoip_cidrs #=> Array
|
|
1708
|
+
# resp.byoip_cidrs[0].cidr #=> String
|
|
1709
|
+
# resp.byoip_cidrs[0].state #=> String, one of "PENDING_PROVISIONING", "READY", "PENDING_ADVERTISING", "ADVERTISING", "PENDING_WITHDRAWING", "PENDING_DEPROVISIONING", "DEPROVISIONED", "FAILED_PROVISION", "FAILED_ADVERTISING", "FAILED_WITHDRAW", "FAILED_DEPROVISION"
|
|
1710
|
+
# resp.byoip_cidrs[0].events #=> Array
|
|
1711
|
+
# resp.byoip_cidrs[0].events[0].message #=> String
|
|
1712
|
+
# resp.byoip_cidrs[0].events[0].timestamp #=> Time
|
|
1713
|
+
# resp.next_token #=> String
|
|
1714
|
+
#
|
|
1715
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs AWS API Documentation
|
|
1716
|
+
#
|
|
1717
|
+
# @overload list_byoip_cidrs(params = {})
|
|
1718
|
+
# @param [Hash] params ({})
|
|
1719
|
+
def list_byoip_cidrs(params = {}, options = {})
|
|
1720
|
+
req = build_request(:list_byoip_cidrs, params)
|
|
1721
|
+
req.send_request(options)
|
|
1722
|
+
end
|
|
1723
|
+
|
|
1724
|
+
# List the custom routing accelerators for an AWS account.
|
|
1725
|
+
#
|
|
1726
|
+
# @option params [Integer] :max_results
|
|
1727
|
+
# The number of custom routing Global Accelerator objects that you want
|
|
1728
|
+
# to return with this call. The default value is 10.
|
|
1729
|
+
#
|
|
1730
|
+
# @option params [String] :next_token
|
|
1731
|
+
# The token for the next set of results. You receive this token from a
|
|
1732
|
+
# previous call.
|
|
1733
|
+
#
|
|
1734
|
+
# @return [Types::ListCustomRoutingAcceleratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1735
|
+
#
|
|
1736
|
+
# * {Types::ListCustomRoutingAcceleratorsResponse#accelerators #accelerators} => Array<Types::CustomRoutingAccelerator>
|
|
1737
|
+
# * {Types::ListCustomRoutingAcceleratorsResponse#next_token #next_token} => String
|
|
1738
|
+
#
|
|
1739
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1740
|
+
#
|
|
1741
|
+
# @example Request syntax with placeholder values
|
|
1742
|
+
#
|
|
1743
|
+
# resp = client.list_custom_routing_accelerators({
|
|
1744
|
+
# max_results: 1,
|
|
1745
|
+
# next_token: "GenericString",
|
|
1746
|
+
# })
|
|
1747
|
+
#
|
|
1748
|
+
# @example Response structure
|
|
1749
|
+
#
|
|
1750
|
+
# resp.accelerators #=> Array
|
|
1751
|
+
# resp.accelerators[0].accelerator_arn #=> String
|
|
1752
|
+
# resp.accelerators[0].name #=> String
|
|
1753
|
+
# resp.accelerators[0].ip_address_type #=> String, one of "IPV4"
|
|
1754
|
+
# resp.accelerators[0].enabled #=> Boolean
|
|
1755
|
+
# resp.accelerators[0].ip_sets #=> Array
|
|
1756
|
+
# resp.accelerators[0].ip_sets[0].ip_family #=> String
|
|
1757
|
+
# resp.accelerators[0].ip_sets[0].ip_addresses #=> Array
|
|
1758
|
+
# resp.accelerators[0].ip_sets[0].ip_addresses[0] #=> String
|
|
1759
|
+
# resp.accelerators[0].dns_name #=> String
|
|
1760
|
+
# resp.accelerators[0].status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
|
1761
|
+
# resp.accelerators[0].created_time #=> Time
|
|
1762
|
+
# resp.accelerators[0].last_modified_time #=> Time
|
|
1763
|
+
# resp.next_token #=> String
|
|
1764
|
+
#
|
|
1765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingAccelerators AWS API Documentation
|
|
1766
|
+
#
|
|
1767
|
+
# @overload list_custom_routing_accelerators(params = {})
|
|
1768
|
+
# @param [Hash] params ({})
|
|
1769
|
+
def list_custom_routing_accelerators(params = {}, options = {})
|
|
1770
|
+
req = build_request(:list_custom_routing_accelerators, params)
|
|
1771
|
+
req.send_request(options)
|
|
1772
|
+
end
|
|
1773
|
+
|
|
1774
|
+
# List the endpoint groups that are associated with a listener for a
|
|
1775
|
+
# custom routing accelerator.
|
|
1776
|
+
#
|
|
1777
|
+
# @option params [required, String] :listener_arn
|
|
1778
|
+
# The Amazon Resource Name (ARN) of the listener to list endpoint groups
|
|
1779
|
+
# for.
|
|
1780
|
+
#
|
|
1781
|
+
# @option params [Integer] :max_results
|
|
1782
|
+
# The number of endpoint group objects that you want to return with this
|
|
1783
|
+
# call. The default value is 10.
|
|
1784
|
+
#
|
|
1785
|
+
# @option params [String] :next_token
|
|
1786
|
+
# The token for the next set of results. You receive this token from a
|
|
1787
|
+
# previous call.
|
|
1788
|
+
#
|
|
1789
|
+
# @return [Types::ListCustomRoutingEndpointGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1790
|
+
#
|
|
1791
|
+
# * {Types::ListCustomRoutingEndpointGroupsResponse#endpoint_groups #endpoint_groups} => Array<Types::CustomRoutingEndpointGroup>
|
|
1792
|
+
# * {Types::ListCustomRoutingEndpointGroupsResponse#next_token #next_token} => String
|
|
1793
|
+
#
|
|
1794
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1795
|
+
#
|
|
1796
|
+
# @example Request syntax with placeholder values
|
|
1797
|
+
#
|
|
1798
|
+
# resp = client.list_custom_routing_endpoint_groups({
|
|
1799
|
+
# listener_arn: "GenericString", # required
|
|
1800
|
+
# max_results: 1,
|
|
1801
|
+
# next_token: "GenericString",
|
|
1802
|
+
# })
|
|
1803
|
+
#
|
|
1804
|
+
# @example Response structure
|
|
1805
|
+
#
|
|
1806
|
+
# resp.endpoint_groups #=> Array
|
|
1807
|
+
# resp.endpoint_groups[0].endpoint_group_arn #=> String
|
|
1808
|
+
# resp.endpoint_groups[0].endpoint_group_region #=> String
|
|
1809
|
+
# resp.endpoint_groups[0].destination_descriptions #=> Array
|
|
1810
|
+
# resp.endpoint_groups[0].destination_descriptions[0].from_port #=> Integer
|
|
1811
|
+
# resp.endpoint_groups[0].destination_descriptions[0].to_port #=> Integer
|
|
1812
|
+
# resp.endpoint_groups[0].destination_descriptions[0].protocols #=> Array
|
|
1813
|
+
# resp.endpoint_groups[0].destination_descriptions[0].protocols[0] #=> String, one of "TCP", "UDP"
|
|
1814
|
+
# resp.endpoint_groups[0].endpoint_descriptions #=> Array
|
|
1815
|
+
# resp.endpoint_groups[0].endpoint_descriptions[0].endpoint_id #=> String
|
|
1816
|
+
# resp.next_token #=> String
|
|
1817
|
+
#
|
|
1818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingEndpointGroups AWS API Documentation
|
|
1819
|
+
#
|
|
1820
|
+
# @overload list_custom_routing_endpoint_groups(params = {})
|
|
1821
|
+
# @param [Hash] params ({})
|
|
1822
|
+
def list_custom_routing_endpoint_groups(params = {}, options = {})
|
|
1823
|
+
req = build_request(:list_custom_routing_endpoint_groups, params)
|
|
1824
|
+
req.send_request(options)
|
|
1825
|
+
end
|
|
1826
|
+
|
|
1827
|
+
# List the listeners for a custom routing accelerator.
|
|
942
1828
|
#
|
|
943
|
-
# @option params [required, String] :
|
|
944
|
-
# The Amazon Resource Name (ARN) of the
|
|
1829
|
+
# @option params [required, String] :accelerator_arn
|
|
1830
|
+
# The Amazon Resource Name (ARN) of the accelerator to list listeners
|
|
1831
|
+
# for.
|
|
945
1832
|
#
|
|
946
|
-
# @
|
|
1833
|
+
# @option params [Integer] :max_results
|
|
1834
|
+
# The number of listener objects that you want to return with this call.
|
|
1835
|
+
# The default value is 10.
|
|
947
1836
|
#
|
|
948
|
-
#
|
|
1837
|
+
# @option params [String] :next_token
|
|
1838
|
+
# The token for the next set of results. You receive this token from a
|
|
1839
|
+
# previous call.
|
|
1840
|
+
#
|
|
1841
|
+
# @return [Types::ListCustomRoutingListenersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1842
|
+
#
|
|
1843
|
+
# * {Types::ListCustomRoutingListenersResponse#listeners #listeners} => Array<Types::CustomRoutingListener>
|
|
1844
|
+
# * {Types::ListCustomRoutingListenersResponse#next_token #next_token} => String
|
|
1845
|
+
#
|
|
1846
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
949
1847
|
#
|
|
950
1848
|
# @example Request syntax with placeholder values
|
|
951
1849
|
#
|
|
952
|
-
# resp = client.
|
|
953
|
-
#
|
|
1850
|
+
# resp = client.list_custom_routing_listeners({
|
|
1851
|
+
# accelerator_arn: "GenericString", # required
|
|
1852
|
+
# max_results: 1,
|
|
1853
|
+
# next_token: "GenericString",
|
|
954
1854
|
# })
|
|
955
1855
|
#
|
|
956
1856
|
# @example Response structure
|
|
957
1857
|
#
|
|
958
|
-
# resp.
|
|
959
|
-
# resp.
|
|
960
|
-
# resp.
|
|
961
|
-
# resp.
|
|
962
|
-
# resp.
|
|
963
|
-
# resp.
|
|
1858
|
+
# resp.listeners #=> Array
|
|
1859
|
+
# resp.listeners[0].listener_arn #=> String
|
|
1860
|
+
# resp.listeners[0].port_ranges #=> Array
|
|
1861
|
+
# resp.listeners[0].port_ranges[0].from_port #=> Integer
|
|
1862
|
+
# resp.listeners[0].port_ranges[0].to_port #=> Integer
|
|
1863
|
+
# resp.next_token #=> String
|
|
964
1864
|
#
|
|
965
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/
|
|
1865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingListeners AWS API Documentation
|
|
966
1866
|
#
|
|
967
|
-
# @overload
|
|
1867
|
+
# @overload list_custom_routing_listeners(params = {})
|
|
968
1868
|
# @param [Hash] params ({})
|
|
969
|
-
def
|
|
970
|
-
req = build_request(:
|
|
1869
|
+
def list_custom_routing_listeners(params = {}, options = {})
|
|
1870
|
+
req = build_request(:list_custom_routing_listeners, params)
|
|
971
1871
|
req.send_request(options)
|
|
972
1872
|
end
|
|
973
1873
|
|
|
974
|
-
#
|
|
975
|
-
#
|
|
976
|
-
#
|
|
1874
|
+
# Provides a complete mapping from the public accelerator IP address and
|
|
1875
|
+
# port to destination EC2 instance IP addresses and ports in the virtual
|
|
1876
|
+
# public cloud (VPC) subnet endpoint for a custom routing accelerator.
|
|
1877
|
+
# For each subnet endpoint that you add, Global Accelerator creates a
|
|
1878
|
+
# new static port mapping for the accelerator. The port mappings don't
|
|
1879
|
+
# change after Global Accelerator generates them, so you can retrieve
|
|
1880
|
+
# and cache the full mapping on your servers.
|
|
1881
|
+
#
|
|
1882
|
+
# If you remove a subnet from your accelerator, Global Accelerator
|
|
1883
|
+
# removes (reclaims) the port mappings. If you add a subnet to your
|
|
1884
|
+
# accelerator, Global Accelerator creates new port mappings (the
|
|
1885
|
+
# existing ones don't change). If you add or remove EC2 instances in
|
|
1886
|
+
# your subnet, the port mappings don't change, because the mappings are
|
|
1887
|
+
# created when you add the subnet to Global Accelerator.
|
|
1888
|
+
#
|
|
1889
|
+
# The mappings also include a flag for each destination denoting which
|
|
1890
|
+
# destination IP addresses and ports are allowed or denied traffic.
|
|
1891
|
+
#
|
|
1892
|
+
# @option params [required, String] :accelerator_arn
|
|
1893
|
+
# The Amazon Resource Name (ARN) of the accelerator to list the custom
|
|
1894
|
+
# routing port mappings for.
|
|
1895
|
+
#
|
|
1896
|
+
# @option params [String] :endpoint_group_arn
|
|
1897
|
+
# The Amazon Resource Name (ARN) of the endpoint group to list the
|
|
1898
|
+
# custom routing port mappings for.
|
|
977
1899
|
#
|
|
978
1900
|
# @option params [Integer] :max_results
|
|
979
|
-
# The number of
|
|
1901
|
+
# The number of destination port mappings that you want to return with
|
|
980
1902
|
# this call. The default value is 10.
|
|
981
1903
|
#
|
|
982
1904
|
# @option params [String] :next_token
|
|
983
1905
|
# The token for the next set of results. You receive this token from a
|
|
984
1906
|
# previous call.
|
|
985
1907
|
#
|
|
986
|
-
# @return [Types::
|
|
1908
|
+
# @return [Types::ListCustomRoutingPortMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
987
1909
|
#
|
|
988
|
-
# * {Types::
|
|
989
|
-
# * {Types::
|
|
1910
|
+
# * {Types::ListCustomRoutingPortMappingsResponse#port_mappings #port_mappings} => Array<Types::PortMapping>
|
|
1911
|
+
# * {Types::ListCustomRoutingPortMappingsResponse#next_token #next_token} => String
|
|
1912
|
+
#
|
|
1913
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
990
1914
|
#
|
|
991
1915
|
# @example Request syntax with placeholder values
|
|
992
1916
|
#
|
|
993
|
-
# resp = client.
|
|
1917
|
+
# resp = client.list_custom_routing_port_mappings({
|
|
1918
|
+
# accelerator_arn: "GenericString", # required
|
|
1919
|
+
# endpoint_group_arn: "GenericString",
|
|
994
1920
|
# max_results: 1,
|
|
995
1921
|
# next_token: "GenericString",
|
|
996
1922
|
# })
|
|
997
1923
|
#
|
|
998
1924
|
# @example Response structure
|
|
999
1925
|
#
|
|
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
|
|
1926
|
+
# resp.port_mappings #=> Array
|
|
1927
|
+
# resp.port_mappings[0].accelerator_port #=> Integer
|
|
1928
|
+
# resp.port_mappings[0].endpoint_group_arn #=> String
|
|
1929
|
+
# resp.port_mappings[0].endpoint_id #=> String
|
|
1930
|
+
# resp.port_mappings[0].destination_socket_address.ip_address #=> String
|
|
1931
|
+
# resp.port_mappings[0].destination_socket_address.port #=> Integer
|
|
1932
|
+
# resp.port_mappings[0].protocols #=> Array
|
|
1933
|
+
# resp.port_mappings[0].protocols[0] #=> String, one of "TCP", "UDP"
|
|
1934
|
+
# resp.port_mappings[0].destination_traffic_state #=> String, one of "ALLOW", "DENY"
|
|
1013
1935
|
# resp.next_token #=> String
|
|
1014
1936
|
#
|
|
1015
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/
|
|
1937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappings AWS API Documentation
|
|
1016
1938
|
#
|
|
1017
|
-
# @overload
|
|
1939
|
+
# @overload list_custom_routing_port_mappings(params = {})
|
|
1018
1940
|
# @param [Hash] params ({})
|
|
1019
|
-
def
|
|
1020
|
-
req = build_request(:
|
|
1941
|
+
def list_custom_routing_port_mappings(params = {}, options = {})
|
|
1942
|
+
req = build_request(:list_custom_routing_port_mappings, params)
|
|
1021
1943
|
req.send_request(options)
|
|
1022
1944
|
end
|
|
1023
1945
|
|
|
1024
|
-
#
|
|
1025
|
-
#
|
|
1026
|
-
#
|
|
1027
|
-
#
|
|
1028
|
-
#
|
|
1029
|
-
#
|
|
1946
|
+
# List the port mappings for a specific EC2 instance (destination) in a
|
|
1947
|
+
# VPC subnet endpoint. The response is the mappings for one destination
|
|
1948
|
+
# IP address. This is useful when your subnet endpoint has mappings that
|
|
1949
|
+
# span multiple custom routing accelerators in your account, or for
|
|
1950
|
+
# scenarios where you only want to list the port mappings for a specific
|
|
1951
|
+
# destination instance.
|
|
1030
1952
|
#
|
|
1953
|
+
# @option params [required, String] :endpoint_id
|
|
1954
|
+
# The ID for the virtual private cloud (VPC) subnet.
|
|
1031
1955
|
#
|
|
1032
|
-
#
|
|
1033
|
-
#
|
|
1956
|
+
# @option params [required, String] :destination_address
|
|
1957
|
+
# The endpoint IP address in a virtual private cloud (VPC) subnet for
|
|
1958
|
+
# which you want to receive back port mappings.
|
|
1034
1959
|
#
|
|
1035
1960
|
# @option params [Integer] :max_results
|
|
1036
|
-
# The
|
|
1037
|
-
#
|
|
1038
|
-
# `nextToken` value.
|
|
1961
|
+
# The number of destination port mappings that you want to return with
|
|
1962
|
+
# this call. The default value is 10.
|
|
1039
1963
|
#
|
|
1040
1964
|
# @option params [String] :next_token
|
|
1041
|
-
# The token for the next
|
|
1965
|
+
# The token for the next set of results. You receive this token from a
|
|
1966
|
+
# previous call.
|
|
1042
1967
|
#
|
|
1043
|
-
# @return [Types::
|
|
1968
|
+
# @return [Types::ListCustomRoutingPortMappingsByDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1044
1969
|
#
|
|
1045
|
-
# * {Types::
|
|
1046
|
-
# * {Types::
|
|
1970
|
+
# * {Types::ListCustomRoutingPortMappingsByDestinationResponse#destination_port_mappings #destination_port_mappings} => Array<Types::DestinationPortMapping>
|
|
1971
|
+
# * {Types::ListCustomRoutingPortMappingsByDestinationResponse#next_token #next_token} => String
|
|
1972
|
+
#
|
|
1973
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1047
1974
|
#
|
|
1048
1975
|
# @example Request syntax with placeholder values
|
|
1049
1976
|
#
|
|
1050
|
-
# resp = client.
|
|
1977
|
+
# resp = client.list_custom_routing_port_mappings_by_destination({
|
|
1978
|
+
# endpoint_id: "GenericString", # required
|
|
1979
|
+
# destination_address: "GenericString", # required
|
|
1051
1980
|
# max_results: 1,
|
|
1052
1981
|
# next_token: "GenericString",
|
|
1053
1982
|
# })
|
|
1054
1983
|
#
|
|
1055
1984
|
# @example Response structure
|
|
1056
1985
|
#
|
|
1057
|
-
# resp.
|
|
1058
|
-
# resp.
|
|
1059
|
-
# resp.
|
|
1060
|
-
# resp.
|
|
1061
|
-
# resp.
|
|
1062
|
-
# resp.
|
|
1986
|
+
# resp.destination_port_mappings #=> Array
|
|
1987
|
+
# resp.destination_port_mappings[0].accelerator_arn #=> String
|
|
1988
|
+
# resp.destination_port_mappings[0].accelerator_socket_addresses #=> Array
|
|
1989
|
+
# resp.destination_port_mappings[0].accelerator_socket_addresses[0].ip_address #=> String
|
|
1990
|
+
# resp.destination_port_mappings[0].accelerator_socket_addresses[0].port #=> Integer
|
|
1991
|
+
# resp.destination_port_mappings[0].endpoint_group_arn #=> String
|
|
1992
|
+
# resp.destination_port_mappings[0].endpoint_id #=> String
|
|
1993
|
+
# resp.destination_port_mappings[0].endpoint_group_region #=> String
|
|
1994
|
+
# resp.destination_port_mappings[0].destination_socket_address.ip_address #=> String
|
|
1995
|
+
# resp.destination_port_mappings[0].destination_socket_address.port #=> Integer
|
|
1996
|
+
# resp.destination_port_mappings[0].ip_address_type #=> String, one of "IPV4"
|
|
1997
|
+
# resp.destination_port_mappings[0].destination_traffic_state #=> String, one of "ALLOW", "DENY"
|
|
1063
1998
|
# resp.next_token #=> String
|
|
1064
1999
|
#
|
|
1065
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/
|
|
2000
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappingsByDestination AWS API Documentation
|
|
1066
2001
|
#
|
|
1067
|
-
# @overload
|
|
2002
|
+
# @overload list_custom_routing_port_mappings_by_destination(params = {})
|
|
1068
2003
|
# @param [Hash] params ({})
|
|
1069
|
-
def
|
|
1070
|
-
req = build_request(:
|
|
2004
|
+
def list_custom_routing_port_mappings_by_destination(params = {}, options = {})
|
|
2005
|
+
req = build_request(:list_custom_routing_port_mappings_by_destination, params)
|
|
1071
2006
|
req.send_request(options)
|
|
1072
2007
|
end
|
|
1073
2008
|
|
|
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**.
|
|
2009
|
+
# List the endpoint groups that are associated with a listener.
|
|
1077
2010
|
#
|
|
1078
2011
|
# @option params [required, String] :listener_arn
|
|
1079
2012
|
# The Amazon Resource Name (ARN) of the listener.
|
|
@@ -1091,6 +2024,8 @@ module Aws::GlobalAccelerator
|
|
|
1091
2024
|
# * {Types::ListEndpointGroupsResponse#endpoint_groups #endpoint_groups} => Array<Types::EndpointGroup>
|
|
1092
2025
|
# * {Types::ListEndpointGroupsResponse#next_token #next_token} => String
|
|
1093
2026
|
#
|
|
2027
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2028
|
+
#
|
|
1094
2029
|
# @example Request syntax with placeholder values
|
|
1095
2030
|
#
|
|
1096
2031
|
# resp = client.list_endpoint_groups({
|
|
@@ -1116,6 +2051,9 @@ module Aws::GlobalAccelerator
|
|
|
1116
2051
|
# resp.endpoint_groups[0].health_check_path #=> String
|
|
1117
2052
|
# resp.endpoint_groups[0].health_check_interval_seconds #=> Integer
|
|
1118
2053
|
# resp.endpoint_groups[0].threshold_count #=> Integer
|
|
2054
|
+
# resp.endpoint_groups[0].port_overrides #=> Array
|
|
2055
|
+
# resp.endpoint_groups[0].port_overrides[0].listener_port #=> Integer
|
|
2056
|
+
# resp.endpoint_groups[0].port_overrides[0].endpoint_port #=> Integer
|
|
1119
2057
|
# resp.next_token #=> String
|
|
1120
2058
|
#
|
|
1121
2059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups AWS API Documentation
|
|
@@ -1127,8 +2065,7 @@ module Aws::GlobalAccelerator
|
|
|
1127
2065
|
req.send_request(options)
|
|
1128
2066
|
end
|
|
1129
2067
|
|
|
1130
|
-
# List the listeners for an accelerator.
|
|
1131
|
-
# listing the listeners for an accelerator, scroll down to **Example**.
|
|
2068
|
+
# List the listeners for an accelerator.
|
|
1132
2069
|
#
|
|
1133
2070
|
# @option params [required, String] :accelerator_arn
|
|
1134
2071
|
# The Amazon Resource Name (ARN) of the accelerator for which you want
|
|
@@ -1147,6 +2084,8 @@ module Aws::GlobalAccelerator
|
|
|
1147
2084
|
# * {Types::ListListenersResponse#listeners #listeners} => Array<Types::Listener>
|
|
1148
2085
|
# * {Types::ListListenersResponse#next_token #next_token} => String
|
|
1149
2086
|
#
|
|
2087
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2088
|
+
#
|
|
1150
2089
|
# @example Request syntax with placeholder values
|
|
1151
2090
|
#
|
|
1152
2091
|
# resp = client.list_listeners({
|
|
@@ -1175,8 +2114,7 @@ module Aws::GlobalAccelerator
|
|
|
1175
2114
|
req.send_request(options)
|
|
1176
2115
|
end
|
|
1177
2116
|
|
|
1178
|
-
# List all tags for an accelerator.
|
|
1179
|
-
# tags for an accelerator, scroll down to **Example**.
|
|
2117
|
+
# List all tags for an accelerator.
|
|
1180
2118
|
#
|
|
1181
2119
|
# For more information, see [Tagging in AWS Global Accelerator][1] in
|
|
1182
2120
|
# the *AWS Global Accelerator Developer Guide*.
|
|
@@ -1219,9 +2157,6 @@ module Aws::GlobalAccelerator
|
|
|
1219
2157
|
# address pool. After the address range is provisioned, it is ready to
|
|
1220
2158
|
# be advertised using [ AdvertiseByoipCidr][1].
|
|
1221
2159
|
#
|
|
1222
|
-
# To see an AWS CLI example of provisioning an address range for BYOIP,
|
|
1223
|
-
# scroll down to **Example**.
|
|
1224
|
-
#
|
|
1225
2160
|
# For more information, see [Bring Your Own IP Addresses (BYOIP)][2] in
|
|
1226
2161
|
# the *AWS Global Accelerator Developer Guide*.
|
|
1227
2162
|
#
|
|
@@ -1271,8 +2206,35 @@ module Aws::GlobalAccelerator
|
|
|
1271
2206
|
req.send_request(options)
|
|
1272
2207
|
end
|
|
1273
2208
|
|
|
1274
|
-
#
|
|
1275
|
-
#
|
|
2209
|
+
# Remove endpoints from a custom routing accelerator.
|
|
2210
|
+
#
|
|
2211
|
+
# @option params [required, Array<String>] :endpoint_ids
|
|
2212
|
+
# The IDs for the endpoints. For custom routing accelerators, endpoint
|
|
2213
|
+
# IDs are the virtual private cloud (VPC) subnet IDs.
|
|
2214
|
+
#
|
|
2215
|
+
# @option params [required, String] :endpoint_group_arn
|
|
2216
|
+
# The Amazon Resource Name (ARN) of the endpoint group to remove
|
|
2217
|
+
# endpoints from.
|
|
2218
|
+
#
|
|
2219
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2220
|
+
#
|
|
2221
|
+
# @example Request syntax with placeholder values
|
|
2222
|
+
#
|
|
2223
|
+
# resp = client.remove_custom_routing_endpoints({
|
|
2224
|
+
# endpoint_ids: ["GenericString"], # required
|
|
2225
|
+
# endpoint_group_arn: "GenericString", # required
|
|
2226
|
+
# })
|
|
2227
|
+
#
|
|
2228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/RemoveCustomRoutingEndpoints AWS API Documentation
|
|
2229
|
+
#
|
|
2230
|
+
# @overload remove_custom_routing_endpoints(params = {})
|
|
2231
|
+
# @param [Hash] params ({})
|
|
2232
|
+
def remove_custom_routing_endpoints(params = {}, options = {})
|
|
2233
|
+
req = build_request(:remove_custom_routing_endpoints, params)
|
|
2234
|
+
req.send_request(options)
|
|
2235
|
+
end
|
|
2236
|
+
|
|
2237
|
+
# Add tags to an accelerator resource.
|
|
1276
2238
|
#
|
|
1277
2239
|
# For more information, see [Tagging in AWS Global Accelerator][1] in
|
|
1278
2240
|
# the *AWS Global Accelerator Developer Guide*.
|
|
@@ -1313,10 +2275,9 @@ module Aws::GlobalAccelerator
|
|
|
1313
2275
|
end
|
|
1314
2276
|
|
|
1315
2277
|
# 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.
|
|
2278
|
+
# key, the action removes both that key and its associated value. The
|
|
2279
|
+
# operation succeeds even if you attempt to remove tags from an
|
|
2280
|
+
# accelerator that was already removed.
|
|
1320
2281
|
#
|
|
1321
2282
|
# For more information, see [Tagging in AWS Global Accelerator][1] in
|
|
1322
2283
|
# the *AWS Global Accelerator Developer Guide*.
|
|
@@ -1351,11 +2312,11 @@ module Aws::GlobalAccelerator
|
|
|
1351
2312
|
req.send_request(options)
|
|
1352
2313
|
end
|
|
1353
2314
|
|
|
1354
|
-
# Update an accelerator.
|
|
1355
|
-
# accelerator, scroll down to **Example**.
|
|
2315
|
+
# Update an accelerator.
|
|
1356
2316
|
#
|
|
1357
|
-
#
|
|
1358
|
-
#
|
|
2317
|
+
# Global Accelerator is a global service that supports endpoints in
|
|
2318
|
+
# multiple AWS Regions but you must specify the US West (Oregon) Region
|
|
2319
|
+
# to create or update accelerators.
|
|
1359
2320
|
#
|
|
1360
2321
|
# @option params [required, String] :accelerator_arn
|
|
1361
2322
|
# The Amazon Resource Name (ARN) of the accelerator to update.
|
|
@@ -1366,7 +2327,7 @@ module Aws::GlobalAccelerator
|
|
|
1366
2327
|
# and must not begin or end with a hyphen.
|
|
1367
2328
|
#
|
|
1368
2329
|
# @option params [String] :ip_address_type
|
|
1369
|
-
# The
|
|
2330
|
+
# The IP address type, which must be IPv4.
|
|
1370
2331
|
#
|
|
1371
2332
|
# @option params [Boolean] :enabled
|
|
1372
2333
|
# Indicates whether an accelerator is enabled. The value is true or
|
|
@@ -1412,9 +2373,7 @@ module Aws::GlobalAccelerator
|
|
|
1412
2373
|
req.send_request(options)
|
|
1413
2374
|
end
|
|
1414
2375
|
|
|
1415
|
-
# Update the attributes for an accelerator.
|
|
1416
|
-
# updating an accelerator to enable flow logs, scroll down to
|
|
1417
|
-
# **Example**.
|
|
2376
|
+
# Update the attributes for an accelerator.
|
|
1418
2377
|
#
|
|
1419
2378
|
# @option params [required, String] :accelerator_arn
|
|
1420
2379
|
# The Amazon Resource Name (ARN) of the accelerator that you want to
|
|
@@ -1477,14 +2436,184 @@ module Aws::GlobalAccelerator
|
|
|
1477
2436
|
req.send_request(options)
|
|
1478
2437
|
end
|
|
1479
2438
|
|
|
1480
|
-
# Update
|
|
1481
|
-
#
|
|
2439
|
+
# Update a custom routing accelerator.
|
|
2440
|
+
#
|
|
2441
|
+
# @option params [required, String] :accelerator_arn
|
|
2442
|
+
# The Amazon Resource Name (ARN) of the accelerator to update.
|
|
2443
|
+
#
|
|
2444
|
+
# @option params [String] :name
|
|
2445
|
+
# The name of the accelerator. The name can have a maximum of 32
|
|
2446
|
+
# characters, must contain only alphanumeric characters or hyphens (-),
|
|
2447
|
+
# and must not begin or end with a hyphen.
|
|
2448
|
+
#
|
|
2449
|
+
# @option params [String] :ip_address_type
|
|
2450
|
+
# The value for the address type must be IPv4.
|
|
2451
|
+
#
|
|
2452
|
+
# @option params [Boolean] :enabled
|
|
2453
|
+
# Indicates whether an accelerator is enabled. The value is true or
|
|
2454
|
+
# false. The default value is true.
|
|
2455
|
+
#
|
|
2456
|
+
# If the value is set to true, the accelerator cannot be deleted. If set
|
|
2457
|
+
# to false, the accelerator can be deleted.
|
|
2458
|
+
#
|
|
2459
|
+
# @return [Types::UpdateCustomRoutingAcceleratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2460
|
+
#
|
|
2461
|
+
# * {Types::UpdateCustomRoutingAcceleratorResponse#accelerator #accelerator} => Types::CustomRoutingAccelerator
|
|
2462
|
+
#
|
|
2463
|
+
# @example Request syntax with placeholder values
|
|
2464
|
+
#
|
|
2465
|
+
# resp = client.update_custom_routing_accelerator({
|
|
2466
|
+
# accelerator_arn: "GenericString", # required
|
|
2467
|
+
# name: "GenericString",
|
|
2468
|
+
# ip_address_type: "IPV4", # accepts IPV4
|
|
2469
|
+
# enabled: false,
|
|
2470
|
+
# })
|
|
2471
|
+
#
|
|
2472
|
+
# @example Response structure
|
|
2473
|
+
#
|
|
2474
|
+
# resp.accelerator.accelerator_arn #=> String
|
|
2475
|
+
# resp.accelerator.name #=> String
|
|
2476
|
+
# resp.accelerator.ip_address_type #=> String, one of "IPV4"
|
|
2477
|
+
# resp.accelerator.enabled #=> Boolean
|
|
2478
|
+
# resp.accelerator.ip_sets #=> Array
|
|
2479
|
+
# resp.accelerator.ip_sets[0].ip_family #=> String
|
|
2480
|
+
# resp.accelerator.ip_sets[0].ip_addresses #=> Array
|
|
2481
|
+
# resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
|
|
2482
|
+
# resp.accelerator.dns_name #=> String
|
|
2483
|
+
# resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
|
2484
|
+
# resp.accelerator.created_time #=> Time
|
|
2485
|
+
# resp.accelerator.last_modified_time #=> Time
|
|
2486
|
+
#
|
|
2487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAccelerator AWS API Documentation
|
|
2488
|
+
#
|
|
2489
|
+
# @overload update_custom_routing_accelerator(params = {})
|
|
2490
|
+
# @param [Hash] params ({})
|
|
2491
|
+
def update_custom_routing_accelerator(params = {}, options = {})
|
|
2492
|
+
req = build_request(:update_custom_routing_accelerator, params)
|
|
2493
|
+
req.send_request(options)
|
|
2494
|
+
end
|
|
2495
|
+
|
|
2496
|
+
# Update the attributes for a custom routing accelerator.
|
|
2497
|
+
#
|
|
2498
|
+
# @option params [required, String] :accelerator_arn
|
|
2499
|
+
# The Amazon Resource Name (ARN) of the custom routing accelerator to
|
|
2500
|
+
# update attributes for.
|
|
2501
|
+
#
|
|
2502
|
+
# @option params [Boolean] :flow_logs_enabled
|
|
2503
|
+
# Update whether flow logs are enabled. The default value is false. If
|
|
2504
|
+
# the value is true, `FlowLogsS3Bucket` and `FlowLogsS3Prefix` must be
|
|
2505
|
+
# specified.
|
|
2506
|
+
#
|
|
2507
|
+
# For more information, see [Flow Logs][1] in the *AWS Global
|
|
2508
|
+
# Accelerator Developer Guide*.
|
|
2509
|
+
#
|
|
2510
|
+
#
|
|
2511
|
+
#
|
|
2512
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html
|
|
2513
|
+
#
|
|
2514
|
+
# @option params [String] :flow_logs_s3_bucket
|
|
2515
|
+
# The name of the Amazon S3 bucket for the flow logs. Attribute is
|
|
2516
|
+
# required if `FlowLogsEnabled` is `true`. The bucket must exist and
|
|
2517
|
+
# have a bucket policy that grants AWS Global Accelerator permission to
|
|
2518
|
+
# write to the bucket.
|
|
2519
|
+
#
|
|
2520
|
+
# @option params [String] :flow_logs_s3_prefix
|
|
2521
|
+
# Update the prefix for the location in the Amazon S3 bucket for the
|
|
2522
|
+
# flow logs. Attribute is required if `FlowLogsEnabled` is `true`.
|
|
2523
|
+
#
|
|
2524
|
+
# If you don’t specify a prefix, the flow logs are stored in the root of
|
|
2525
|
+
# the bucket. If you specify slash (/) for the S3 bucket prefix, the log
|
|
2526
|
+
# file bucket folder structure will include a double slash (//), like
|
|
2527
|
+
# the following:
|
|
2528
|
+
#
|
|
2529
|
+
# DOC-EXAMPLE-BUCKET//AWSLogs/aws\_account\_id
|
|
2530
|
+
#
|
|
2531
|
+
# @return [Types::UpdateCustomRoutingAcceleratorAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2532
|
+
#
|
|
2533
|
+
# * {Types::UpdateCustomRoutingAcceleratorAttributesResponse#accelerator_attributes #accelerator_attributes} => Types::CustomRoutingAcceleratorAttributes
|
|
2534
|
+
#
|
|
2535
|
+
# @example Request syntax with placeholder values
|
|
2536
|
+
#
|
|
2537
|
+
# resp = client.update_custom_routing_accelerator_attributes({
|
|
2538
|
+
# accelerator_arn: "GenericString", # required
|
|
2539
|
+
# flow_logs_enabled: false,
|
|
2540
|
+
# flow_logs_s3_bucket: "GenericString",
|
|
2541
|
+
# flow_logs_s3_prefix: "GenericString",
|
|
2542
|
+
# })
|
|
2543
|
+
#
|
|
2544
|
+
# @example Response structure
|
|
2545
|
+
#
|
|
2546
|
+
# resp.accelerator_attributes.flow_logs_enabled #=> Boolean
|
|
2547
|
+
# resp.accelerator_attributes.flow_logs_s3_bucket #=> String
|
|
2548
|
+
# resp.accelerator_attributes.flow_logs_s3_prefix #=> String
|
|
2549
|
+
#
|
|
2550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAcceleratorAttributes AWS API Documentation
|
|
2551
|
+
#
|
|
2552
|
+
# @overload update_custom_routing_accelerator_attributes(params = {})
|
|
2553
|
+
# @param [Hash] params ({})
|
|
2554
|
+
def update_custom_routing_accelerator_attributes(params = {}, options = {})
|
|
2555
|
+
req = build_request(:update_custom_routing_accelerator_attributes, params)
|
|
2556
|
+
req.send_request(options)
|
|
2557
|
+
end
|
|
2558
|
+
|
|
2559
|
+
# Update a listener for a custom routing accelerator.
|
|
2560
|
+
#
|
|
2561
|
+
# @option params [required, String] :listener_arn
|
|
2562
|
+
# The Amazon Resource Name (ARN) of the listener to update.
|
|
2563
|
+
#
|
|
2564
|
+
# @option params [required, Array<Types::PortRange>] :port_ranges
|
|
2565
|
+
# The updated port range to support for connections from clients to your
|
|
2566
|
+
# accelerator. If you remove ports that are currently being used by a
|
|
2567
|
+
# subnet endpoint, the call fails.
|
|
2568
|
+
#
|
|
2569
|
+
# Separately, you set port ranges for endpoints. For more information,
|
|
2570
|
+
# see [About endpoints for custom routing accelerators][1].
|
|
2571
|
+
#
|
|
2572
|
+
#
|
|
2573
|
+
#
|
|
2574
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-custom-routing-endpoints.html
|
|
2575
|
+
#
|
|
2576
|
+
# @return [Types::UpdateCustomRoutingListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2577
|
+
#
|
|
2578
|
+
# * {Types::UpdateCustomRoutingListenerResponse#listener #listener} => Types::CustomRoutingListener
|
|
2579
|
+
#
|
|
2580
|
+
# @example Request syntax with placeholder values
|
|
2581
|
+
#
|
|
2582
|
+
# resp = client.update_custom_routing_listener({
|
|
2583
|
+
# listener_arn: "GenericString", # required
|
|
2584
|
+
# port_ranges: [ # required
|
|
2585
|
+
# {
|
|
2586
|
+
# from_port: 1,
|
|
2587
|
+
# to_port: 1,
|
|
2588
|
+
# },
|
|
2589
|
+
# ],
|
|
2590
|
+
# })
|
|
2591
|
+
#
|
|
2592
|
+
# @example Response structure
|
|
2593
|
+
#
|
|
2594
|
+
# resp.listener.listener_arn #=> String
|
|
2595
|
+
# resp.listener.port_ranges #=> Array
|
|
2596
|
+
# resp.listener.port_ranges[0].from_port #=> Integer
|
|
2597
|
+
# resp.listener.port_ranges[0].to_port #=> Integer
|
|
2598
|
+
#
|
|
2599
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingListener AWS API Documentation
|
|
2600
|
+
#
|
|
2601
|
+
# @overload update_custom_routing_listener(params = {})
|
|
2602
|
+
# @param [Hash] params ({})
|
|
2603
|
+
def update_custom_routing_listener(params = {}, options = {})
|
|
2604
|
+
req = build_request(:update_custom_routing_listener, params)
|
|
2605
|
+
req.send_request(options)
|
|
2606
|
+
end
|
|
2607
|
+
|
|
2608
|
+
# Update an endpoint group. A resource must be valid and active when you
|
|
2609
|
+
# add it as an endpoint.
|
|
1482
2610
|
#
|
|
1483
2611
|
# @option params [required, String] :endpoint_group_arn
|
|
1484
2612
|
# The Amazon Resource Name (ARN) of the endpoint group.
|
|
1485
2613
|
#
|
|
1486
2614
|
# @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
|
|
1487
|
-
# The list of endpoint objects.
|
|
2615
|
+
# The list of endpoint objects. A resource must be valid and active when
|
|
2616
|
+
# you add it as an endpoint.
|
|
1488
2617
|
#
|
|
1489
2618
|
# @option params [Float] :traffic_dial_percentage
|
|
1490
2619
|
# The percentage of traffic to send to an AWS Region. Additional traffic
|
|
@@ -1522,6 +2651,20 @@ module Aws::GlobalAccelerator
|
|
|
1522
2651
|
# healthy endpoint to unhealthy, or to set an unhealthy endpoint to
|
|
1523
2652
|
# healthy. The default value is 3.
|
|
1524
2653
|
#
|
|
2654
|
+
# @option params [Array<Types::PortOverride>] :port_overrides
|
|
2655
|
+
# Override specific listener ports used to route traffic to endpoints
|
|
2656
|
+
# that are part of this endpoint group. For example, you can create a
|
|
2657
|
+
# port override in which the listener receives user traffic on ports 80
|
|
2658
|
+
# and 443, but your accelerator routes that traffic to ports 1080 and
|
|
2659
|
+
# 1443, respectively, on the endpoints.
|
|
2660
|
+
#
|
|
2661
|
+
# For more information, see [ Port overrides][1] in the *AWS Global
|
|
2662
|
+
# Accelerator Developer Guide*.
|
|
2663
|
+
#
|
|
2664
|
+
#
|
|
2665
|
+
#
|
|
2666
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
|
|
2667
|
+
#
|
|
1525
2668
|
# @return [Types::UpdateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1526
2669
|
#
|
|
1527
2670
|
# * {Types::UpdateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
|
|
@@ -1540,9 +2683,15 @@ module Aws::GlobalAccelerator
|
|
|
1540
2683
|
# traffic_dial_percentage: 1.0,
|
|
1541
2684
|
# health_check_port: 1,
|
|
1542
2685
|
# health_check_protocol: "TCP", # accepts TCP, HTTP, HTTPS
|
|
1543
|
-
# health_check_path: "
|
|
2686
|
+
# health_check_path: "HealthCheckPath",
|
|
1544
2687
|
# health_check_interval_seconds: 1,
|
|
1545
2688
|
# threshold_count: 1,
|
|
2689
|
+
# port_overrides: [
|
|
2690
|
+
# {
|
|
2691
|
+
# listener_port: 1,
|
|
2692
|
+
# endpoint_port: 1,
|
|
2693
|
+
# },
|
|
2694
|
+
# ],
|
|
1546
2695
|
# })
|
|
1547
2696
|
#
|
|
1548
2697
|
# @example Response structure
|
|
@@ -1561,6 +2710,9 @@ module Aws::GlobalAccelerator
|
|
|
1561
2710
|
# resp.endpoint_group.health_check_path #=> String
|
|
1562
2711
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
|
1563
2712
|
# resp.endpoint_group.threshold_count #=> Integer
|
|
2713
|
+
# resp.endpoint_group.port_overrides #=> Array
|
|
2714
|
+
# resp.endpoint_group.port_overrides[0].listener_port #=> Integer
|
|
2715
|
+
# resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
|
|
1564
2716
|
#
|
|
1565
2717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroup AWS API Documentation
|
|
1566
2718
|
#
|
|
@@ -1571,8 +2723,7 @@ module Aws::GlobalAccelerator
|
|
|
1571
2723
|
req.send_request(options)
|
|
1572
2724
|
end
|
|
1573
2725
|
|
|
1574
|
-
# Update a listener.
|
|
1575
|
-
# scroll down to **Example**.
|
|
2726
|
+
# Update a listener.
|
|
1576
2727
|
#
|
|
1577
2728
|
# @option params [required, String] :listener_arn
|
|
1578
2729
|
# The Amazon Resource Name (ARN) of the listener to update.
|
|
@@ -1588,7 +2739,7 @@ module Aws::GlobalAccelerator
|
|
|
1588
2739
|
# @option params [String] :client_affinity
|
|
1589
2740
|
# Client affinity lets you direct all requests from a user to the same
|
|
1590
2741
|
# endpoint, if you have stateful applications, regardless of the port
|
|
1591
|
-
# and protocol of the client request.
|
|
2742
|
+
# and protocol of the client request. Client affinity gives you control
|
|
1592
2743
|
# over whether to always route each client to the same specific
|
|
1593
2744
|
# endpoint.
|
|
1594
2745
|
#
|
|
@@ -1648,9 +2799,7 @@ module Aws::GlobalAccelerator
|
|
|
1648
2799
|
|
|
1649
2800
|
# Stops advertising an address range that is provisioned as an address
|
|
1650
2801
|
# 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**.
|
|
2802
|
+
# even if you specify different address ranges each time.
|
|
1654
2803
|
#
|
|
1655
2804
|
# It can take a few minutes before traffic to the specified addresses
|
|
1656
2805
|
# stops routing to AWS because of propagation delays.
|
|
@@ -1705,7 +2854,7 @@ module Aws::GlobalAccelerator
|
|
|
1705
2854
|
params: params,
|
|
1706
2855
|
config: config)
|
|
1707
2856
|
context[:gem_name] = 'aws-sdk-globalaccelerator'
|
|
1708
|
-
context[:gem_version] = '1.
|
|
2857
|
+
context[:gem_version] = '1.26.0'
|
|
1709
2858
|
Seahorse::Client::Request.new(handlers, context)
|
|
1710
2859
|
end
|
|
1711
2860
|
|