aws-sdk-globalaccelerator 1.37.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-globalaccelerator/client.rb +190 -141
- data/lib/aws-sdk-globalaccelerator/client_api.rb +16 -1
- data/lib/aws-sdk-globalaccelerator/types.rb +279 -181
- data/lib/aws-sdk-globalaccelerator.rb +1 -1
- metadata +4 -4
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::GlobalAccelerator
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
80
84
|
|
@@ -418,15 +422,16 @@ module Aws::GlobalAccelerator
|
|
418
422
|
end
|
419
423
|
|
420
424
|
# Advertises an IPv4 address range that is provisioned for use with your
|
421
|
-
#
|
422
|
-
# a few minutes before traffic to the specified
|
423
|
-
# to
|
425
|
+
# Amazon Web Services resources through bring your own IP addresses
|
426
|
+
# (BYOIP). It can take a few minutes before traffic to the specified
|
427
|
+
# addresses starts routing to Amazon Web Services because of propagation
|
428
|
+
# delays.
|
424
429
|
#
|
425
430
|
# To stop advertising the BYOIP address range, use [
|
426
431
|
# WithdrawByoipCidr][1].
|
427
432
|
#
|
428
|
-
# For more information, see [Bring
|
429
|
-
# the *
|
433
|
+
# For more information, see [Bring your own IP addresses (BYOIP)][2] in
|
434
|
+
# the *Global Accelerator Developer Guide*.
|
430
435
|
#
|
431
436
|
#
|
432
437
|
#
|
@@ -541,35 +546,44 @@ module Aws::GlobalAccelerator
|
|
541
546
|
# Load Balancers.
|
542
547
|
#
|
543
548
|
# Global Accelerator is a global service that supports endpoints in
|
544
|
-
# multiple
|
545
|
-
# to create or
|
549
|
+
# multiple Amazon Web Services Regions but you must specify the US West
|
550
|
+
# (Oregon) Region to create, update, or otherwise work with
|
551
|
+
# accelerators. That is, for example, specify `--region us-west-2` on
|
552
|
+
# AWS CLI commands.
|
546
553
|
#
|
547
554
|
# @option params [required, String] :name
|
548
|
-
# The name of
|
549
|
-
# characters, must contain only alphanumeric characters
|
550
|
-
# and must not begin or end with a hyphen.
|
555
|
+
# The name of the accelerator. The name can have a maximum of 64
|
556
|
+
# characters, must contain only alphanumeric characters, periods (.), or
|
557
|
+
# hyphens (-), and must not begin or end with a hyphen or period.
|
551
558
|
#
|
552
559
|
# @option params [String] :ip_address_type
|
553
|
-
# The
|
560
|
+
# The IP address type that an accelerator supports. For a standard
|
561
|
+
# accelerator, the value can be IPV4 or DUAL\_STACK.
|
554
562
|
#
|
555
563
|
# @option params [Array<String>] :ip_addresses
|
556
564
|
# Optionally, if you've added your own IP address pool to Global
|
557
|
-
# Accelerator (BYOIP), you can choose
|
558
|
-
# use for the accelerator's static
|
559
|
-
# accelerator.
|
560
|
-
#
|
565
|
+
# Accelerator (BYOIP), you can choose an IPv4 address from your own pool
|
566
|
+
# to use for the accelerator's static IPv4 address when you create an
|
567
|
+
# accelerator.
|
568
|
+
#
|
569
|
+
# After you bring an address range to Amazon Web Services, it appears in
|
570
|
+
# your account as an address pool. When you create an accelerator, you
|
571
|
+
# can assign one IPv4 address from your range to it. Global Accelerator
|
572
|
+
# assigns you a second static IPv4 address from an Amazon IP address
|
573
|
+
# range. If you bring two IPv4 address ranges to Amazon Web Services,
|
574
|
+
# you can assign one IPv4 address from each range to your accelerator.
|
575
|
+
# This restriction is because Global Accelerator assigns each address
|
576
|
+
# range to a different network zone, for high availability.
|
561
577
|
#
|
562
|
-
#
|
563
|
-
#
|
564
|
-
# address range, Global Accelerator assigns a second static IP address
|
565
|
-
# for the accelerator from the AWS IP address pool.
|
578
|
+
# You can specify one or two addresses, separated by a space. Do not
|
579
|
+
# include the /32 suffix.
|
566
580
|
#
|
567
581
|
# Note that you can't update IP addresses for an existing accelerator.
|
568
582
|
# To change them, you must create a new accelerator with the new
|
569
583
|
# addresses.
|
570
584
|
#
|
571
|
-
# For more information, see [Bring
|
572
|
-
# the *
|
585
|
+
# For more information, see [Bring your own IP addresses (BYOIP)][1] in
|
586
|
+
# the *Global Accelerator Developer Guide*.
|
573
587
|
#
|
574
588
|
#
|
575
589
|
#
|
@@ -592,8 +606,8 @@ module Aws::GlobalAccelerator
|
|
592
606
|
# @option params [Array<Types::Tag>] :tags
|
593
607
|
# Create tags for an accelerator.
|
594
608
|
#
|
595
|
-
# For more information, see [Tagging in
|
596
|
-
#
|
609
|
+
# For more information, see [Tagging in Global Accelerator][1] in the
|
610
|
+
# *Global Accelerator Developer Guide*.
|
597
611
|
#
|
598
612
|
#
|
599
613
|
#
|
@@ -607,7 +621,7 @@ module Aws::GlobalAccelerator
|
|
607
621
|
#
|
608
622
|
# resp = client.create_accelerator({
|
609
623
|
# name: "GenericString", # required
|
610
|
-
# ip_address_type: "IPV4", # accepts IPV4
|
624
|
+
# ip_address_type: "IPV4", # accepts IPV4, DUAL_STACK
|
611
625
|
# ip_addresses: ["IpAddress"],
|
612
626
|
# enabled: false,
|
613
627
|
# idempotency_token: "IdempotencyToken", # required
|
@@ -623,16 +637,21 @@ module Aws::GlobalAccelerator
|
|
623
637
|
#
|
624
638
|
# resp.accelerator.accelerator_arn #=> String
|
625
639
|
# resp.accelerator.name #=> String
|
626
|
-
# resp.accelerator.ip_address_type #=> String, one of "IPV4"
|
640
|
+
# resp.accelerator.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
|
627
641
|
# resp.accelerator.enabled #=> Boolean
|
628
642
|
# resp.accelerator.ip_sets #=> Array
|
629
643
|
# resp.accelerator.ip_sets[0].ip_family #=> String
|
630
644
|
# resp.accelerator.ip_sets[0].ip_addresses #=> Array
|
631
645
|
# resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
|
646
|
+
# resp.accelerator.ip_sets[0].ip_address_family #=> String, one of "IPv4", "IPv6"
|
632
647
|
# resp.accelerator.dns_name #=> String
|
633
648
|
# resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
634
649
|
# resp.accelerator.created_time #=> Time
|
635
650
|
# resp.accelerator.last_modified_time #=> Time
|
651
|
+
# resp.accelerator.dual_stack_dns_name #=> String
|
652
|
+
# resp.accelerator.events #=> Array
|
653
|
+
# resp.accelerator.events[0].message #=> String
|
654
|
+
# resp.accelerator.events[0].timestamp #=> Time
|
636
655
|
#
|
637
656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateAccelerator AWS API Documentation
|
638
657
|
#
|
@@ -654,8 +673,10 @@ module Aws::GlobalAccelerator
|
|
654
673
|
# receive traffic, see the [ AllowCustomRoutingTraffic][1] operation.
|
655
674
|
#
|
656
675
|
# Global Accelerator is a global service that supports endpoints in
|
657
|
-
# multiple
|
658
|
-
# to create or
|
676
|
+
# multiple Amazon Web Services Regions but you must specify the US West
|
677
|
+
# (Oregon) Region to create, update, or otherwise work with
|
678
|
+
# accelerators. That is, for example, specify `--region us-west-2` on
|
679
|
+
# AWS CLI commands.
|
659
680
|
#
|
660
681
|
#
|
661
682
|
#
|
@@ -667,26 +688,33 @@ module Aws::GlobalAccelerator
|
|
667
688
|
# (-), and must not begin or end with a hyphen.
|
668
689
|
#
|
669
690
|
# @option params [String] :ip_address_type
|
670
|
-
# The
|
691
|
+
# The IP address type that an accelerator supports. For a custom routing
|
692
|
+
# accelerator, the value must be IPV4.
|
671
693
|
#
|
672
694
|
# @option params [Array<String>] :ip_addresses
|
673
695
|
# Optionally, if you've added your own IP address pool to Global
|
674
|
-
# Accelerator (BYOIP), you can choose
|
675
|
-
# use for the accelerator's static
|
676
|
-
# accelerator.
|
677
|
-
#
|
696
|
+
# Accelerator (BYOIP), you can choose an IPv4 address from your own pool
|
697
|
+
# to use for the accelerator's static IPv4 address when you create an
|
698
|
+
# accelerator.
|
699
|
+
#
|
700
|
+
# After you bring an address range to Amazon Web Services, it appears in
|
701
|
+
# your account as an address pool. When you create an accelerator, you
|
702
|
+
# can assign one IPv4 address from your range to it. Global Accelerator
|
703
|
+
# assigns you a second static IPv4 address from an Amazon IP address
|
704
|
+
# range. If you bring two IPv4 address ranges to Amazon Web Services,
|
705
|
+
# you can assign one IPv4 address from each range to your accelerator.
|
706
|
+
# This restriction is because Global Accelerator assigns each address
|
707
|
+
# range to a different network zone, for high availability.
|
678
708
|
#
|
679
|
-
#
|
680
|
-
#
|
681
|
-
# address range, Global Accelerator assigns a second static IP address
|
682
|
-
# for the accelerator from the AWS IP address pool.
|
709
|
+
# You can specify one or two addresses, separated by a space. Do not
|
710
|
+
# include the /32 suffix.
|
683
711
|
#
|
684
712
|
# Note that you can't update IP addresses for an existing accelerator.
|
685
713
|
# To change them, you must create a new accelerator with the new
|
686
714
|
# addresses.
|
687
715
|
#
|
688
716
|
# For more information, see [Bring your own IP addresses (BYOIP)][1] in
|
689
|
-
# the *
|
717
|
+
# the *Global Accelerator Developer Guide*.
|
690
718
|
#
|
691
719
|
#
|
692
720
|
#
|
@@ -709,8 +737,8 @@ module Aws::GlobalAccelerator
|
|
709
737
|
# @option params [Array<Types::Tag>] :tags
|
710
738
|
# Create tags for an accelerator.
|
711
739
|
#
|
712
|
-
# For more information, see [Tagging in
|
713
|
-
#
|
740
|
+
# For more information, see [Tagging in Global Accelerator][1] in the
|
741
|
+
# *Global Accelerator Developer Guide*.
|
714
742
|
#
|
715
743
|
#
|
716
744
|
#
|
@@ -724,7 +752,7 @@ module Aws::GlobalAccelerator
|
|
724
752
|
#
|
725
753
|
# resp = client.create_custom_routing_accelerator({
|
726
754
|
# name: "GenericString", # required
|
727
|
-
# ip_address_type: "IPV4", # accepts IPV4
|
755
|
+
# ip_address_type: "IPV4", # accepts IPV4, DUAL_STACK
|
728
756
|
# ip_addresses: ["IpAddress"],
|
729
757
|
# enabled: false,
|
730
758
|
# idempotency_token: "IdempotencyToken", # required
|
@@ -740,12 +768,13 @@ module Aws::GlobalAccelerator
|
|
740
768
|
#
|
741
769
|
# resp.accelerator.accelerator_arn #=> String
|
742
770
|
# resp.accelerator.name #=> String
|
743
|
-
# resp.accelerator.ip_address_type #=> String, one of "IPV4"
|
771
|
+
# resp.accelerator.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
|
744
772
|
# resp.accelerator.enabled #=> Boolean
|
745
773
|
# resp.accelerator.ip_sets #=> Array
|
746
774
|
# resp.accelerator.ip_sets[0].ip_family #=> String
|
747
775
|
# resp.accelerator.ip_sets[0].ip_addresses #=> Array
|
748
776
|
# resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
|
777
|
+
# resp.accelerator.ip_sets[0].ip_address_family #=> String, one of "IPv4", "IPv6"
|
749
778
|
# resp.accelerator.dns_name #=> String
|
750
779
|
# resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
751
780
|
# resp.accelerator.created_time #=> Time
|
@@ -762,15 +791,15 @@ module Aws::GlobalAccelerator
|
|
762
791
|
|
763
792
|
# Create an endpoint group for the specified listener for a custom
|
764
793
|
# routing accelerator. An endpoint group is a collection of endpoints in
|
765
|
-
# one
|
794
|
+
# one Amazon Web Services Region.
|
766
795
|
#
|
767
796
|
# @option params [required, String] :listener_arn
|
768
797
|
# The Amazon Resource Name (ARN) of the listener for a custom routing
|
769
798
|
# endpoint.
|
770
799
|
#
|
771
800
|
# @option params [required, String] :endpoint_group_region
|
772
|
-
# The
|
773
|
-
# have only one endpoint group in a specific Region.
|
801
|
+
# The Amazon Web Services Region where the endpoint group is located. A
|
802
|
+
# listener can have only one endpoint group in a specific Region.
|
774
803
|
#
|
775
804
|
# @option params [required, Array<Types::CustomRoutingDestinationConfiguration>] :destination_configurations
|
776
805
|
# Sets the port range and protocol for all endpoints (virtual private
|
@@ -884,22 +913,23 @@ module Aws::GlobalAccelerator
|
|
884
913
|
end
|
885
914
|
|
886
915
|
# Create an endpoint group for the specified listener. An endpoint group
|
887
|
-
# is a collection of endpoints in one
|
888
|
-
# valid and active when you add it as an endpoint.
|
916
|
+
# is a collection of endpoints in one Amazon Web Services Region. A
|
917
|
+
# resource must be valid and active when you add it as an endpoint.
|
889
918
|
#
|
890
919
|
# @option params [required, String] :listener_arn
|
891
920
|
# The Amazon Resource Name (ARN) of the listener.
|
892
921
|
#
|
893
922
|
# @option params [required, String] :endpoint_group_region
|
894
|
-
# The
|
895
|
-
# have only one endpoint group in a specific Region.
|
923
|
+
# The Amazon Web Services Region where the endpoint group is located. A
|
924
|
+
# listener can have only one endpoint group in a specific Region.
|
896
925
|
#
|
897
926
|
# @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
|
898
927
|
# The list of endpoint objects.
|
899
928
|
#
|
900
929
|
# @option params [Float] :traffic_dial_percentage
|
901
|
-
# The percentage of traffic to send to an
|
902
|
-
# is distributed to other endpoint groups for this
|
930
|
+
# The percentage of traffic to send to an Amazon Web Services Region.
|
931
|
+
# Additional traffic is distributed to other endpoint groups for this
|
932
|
+
# listener.
|
903
933
|
#
|
904
934
|
# Use this action to increase (dial up) or decrease (dial down) traffic
|
905
935
|
# to a specific Region. The percentage is applied to the traffic that
|
@@ -909,14 +939,13 @@ module Aws::GlobalAccelerator
|
|
909
939
|
# The default value is 100.
|
910
940
|
#
|
911
941
|
# @option params [Integer] :health_check_port
|
912
|
-
# The port that
|
913
|
-
#
|
914
|
-
#
|
915
|
-
#
|
916
|
-
# port in the list.
|
942
|
+
# The port that Global Accelerator uses to check the health of endpoints
|
943
|
+
# that are part of this endpoint group. The default port is the listener
|
944
|
+
# port that this endpoint group is associated with. If listener port is
|
945
|
+
# a list of ports, Global Accelerator uses the first port in the list.
|
917
946
|
#
|
918
947
|
# @option params [String] :health_check_protocol
|
919
|
-
# The protocol that
|
948
|
+
# The protocol that Global Accelerator uses to check the health of
|
920
949
|
# endpoints that are part of this endpoint group. The default value is
|
921
950
|
# TCP.
|
922
951
|
#
|
@@ -947,8 +976,8 @@ module Aws::GlobalAccelerator
|
|
947
976
|
# and 443, but your accelerator routes that traffic to ports 1080 and
|
948
977
|
# 1443, respectively, on the endpoints.
|
949
978
|
#
|
950
|
-
# For more information, see [
|
951
|
-
# Accelerator Developer Guide*.
|
979
|
+
# For more information, see [ Overriding listener ports][1] in the
|
980
|
+
# *Global Accelerator Developer Guide*.
|
952
981
|
#
|
953
982
|
#
|
954
983
|
#
|
@@ -1035,15 +1064,14 @@ module Aws::GlobalAccelerator
|
|
1035
1064
|
# over whether to always route each client to the same specific
|
1036
1065
|
# endpoint.
|
1037
1066
|
#
|
1038
|
-
#
|
1039
|
-
#
|
1040
|
-
#
|
1041
|
-
#
|
1042
|
-
#
|
1043
|
-
#
|
1044
|
-
#
|
1045
|
-
#
|
1046
|
-
# changes.
|
1067
|
+
# Global Accelerator uses a consistent-flow hashing algorithm to choose
|
1068
|
+
# the optimal endpoint for a connection. If client affinity is `NONE`,
|
1069
|
+
# Global Accelerator uses the "five-tuple" (5-tuple) properties—source
|
1070
|
+
# IP address, source port, destination IP address, destination port, and
|
1071
|
+
# protocol—to select the hash value, and then chooses the best endpoint.
|
1072
|
+
# However, with this setting, if someone uses different ports to connect
|
1073
|
+
# to Global Accelerator, their connections might not be always routed to
|
1074
|
+
# the same endpoint because the hash value changes.
|
1047
1075
|
#
|
1048
1076
|
# If you want a given client to always be routed to the same endpoint,
|
1049
1077
|
# set client affinity to `SOURCE_IP` instead. When you use the
|
@@ -1115,8 +1143,8 @@ module Aws::GlobalAccelerator
|
|
1115
1143
|
# that you have permissions in place to avoid inadvertently deleting
|
1116
1144
|
# accelerators. You can use IAM policies with Global Accelerator to
|
1117
1145
|
# limit the users who have permissions to delete an accelerator. For
|
1118
|
-
# more information, see [
|
1119
|
-
# *
|
1146
|
+
# more information, see [Identity and access management][1] in the
|
1147
|
+
# *Global Accelerator Developer Guide*.
|
1120
1148
|
#
|
1121
1149
|
#
|
1122
1150
|
#
|
@@ -1158,8 +1186,8 @@ module Aws::GlobalAccelerator
|
|
1158
1186
|
# that you have permissions in place to avoid inadvertently deleting
|
1159
1187
|
# accelerators. You can use IAM policies with Global Accelerator to
|
1160
1188
|
# limit the users who have permissions to delete an accelerator. For
|
1161
|
-
# more information, see [
|
1162
|
-
# *
|
1189
|
+
# more information, see [Identity and access management][1] in the
|
1190
|
+
# *Global Accelerator Developer Guide*.
|
1163
1191
|
#
|
1164
1192
|
#
|
1165
1193
|
#
|
@@ -1342,15 +1370,15 @@ module Aws::GlobalAccelerator
|
|
1342
1370
|
end
|
1343
1371
|
|
1344
1372
|
# Releases the specified address range that you provisioned to use with
|
1345
|
-
# your
|
1346
|
-
# deletes the corresponding address pool.
|
1373
|
+
# your Amazon Web Services resources through bring your own IP addresses
|
1374
|
+
# (BYOIP) and deletes the corresponding address pool.
|
1347
1375
|
#
|
1348
1376
|
# Before you can release an address range, you must stop advertising it
|
1349
1377
|
# by using [WithdrawByoipCidr][1] and you must not have any accelerators
|
1350
1378
|
# that are using static IP addresses allocated from its address range.
|
1351
1379
|
#
|
1352
|
-
# For more information, see [Bring
|
1353
|
-
# the *
|
1380
|
+
# For more information, see [Bring your own IP addresses (BYOIP)][2] in
|
1381
|
+
# the *Global Accelerator Developer Guide*.
|
1354
1382
|
#
|
1355
1383
|
#
|
1356
1384
|
#
|
@@ -1407,16 +1435,21 @@ module Aws::GlobalAccelerator
|
|
1407
1435
|
#
|
1408
1436
|
# resp.accelerator.accelerator_arn #=> String
|
1409
1437
|
# resp.accelerator.name #=> String
|
1410
|
-
# resp.accelerator.ip_address_type #=> String, one of "IPV4"
|
1438
|
+
# resp.accelerator.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
|
1411
1439
|
# resp.accelerator.enabled #=> Boolean
|
1412
1440
|
# resp.accelerator.ip_sets #=> Array
|
1413
1441
|
# resp.accelerator.ip_sets[0].ip_family #=> String
|
1414
1442
|
# resp.accelerator.ip_sets[0].ip_addresses #=> Array
|
1415
1443
|
# resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
|
1444
|
+
# resp.accelerator.ip_sets[0].ip_address_family #=> String, one of "IPv4", "IPv6"
|
1416
1445
|
# resp.accelerator.dns_name #=> String
|
1417
1446
|
# resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
1418
1447
|
# resp.accelerator.created_time #=> Time
|
1419
1448
|
# resp.accelerator.last_modified_time #=> Time
|
1449
|
+
# resp.accelerator.dual_stack_dns_name #=> String
|
1450
|
+
# resp.accelerator.events #=> Array
|
1451
|
+
# resp.accelerator.events[0].message #=> String
|
1452
|
+
# resp.accelerator.events[0].timestamp #=> Time
|
1420
1453
|
#
|
1421
1454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAccelerator AWS API Documentation
|
1422
1455
|
#
|
@@ -1477,12 +1510,13 @@ module Aws::GlobalAccelerator
|
|
1477
1510
|
#
|
1478
1511
|
# resp.accelerator.accelerator_arn #=> String
|
1479
1512
|
# resp.accelerator.name #=> String
|
1480
|
-
# resp.accelerator.ip_address_type #=> String, one of "IPV4"
|
1513
|
+
# resp.accelerator.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
|
1481
1514
|
# resp.accelerator.enabled #=> Boolean
|
1482
1515
|
# resp.accelerator.ip_sets #=> Array
|
1483
1516
|
# resp.accelerator.ip_sets[0].ip_family #=> String
|
1484
1517
|
# resp.accelerator.ip_sets[0].ip_addresses #=> Array
|
1485
1518
|
# resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
|
1519
|
+
# resp.accelerator.ip_sets[0].ip_address_family #=> String, one of "IPv4", "IPv6"
|
1486
1520
|
# resp.accelerator.dns_name #=> String
|
1487
1521
|
# resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
1488
1522
|
# resp.accelerator.created_time #=> Time
|
@@ -1672,7 +1706,7 @@ module Aws::GlobalAccelerator
|
|
1672
1706
|
req.send_request(options)
|
1673
1707
|
end
|
1674
1708
|
|
1675
|
-
# List the accelerators for an
|
1709
|
+
# List the accelerators for an Amazon Web Services account.
|
1676
1710
|
#
|
1677
1711
|
# @option params [Integer] :max_results
|
1678
1712
|
# The number of Global Accelerator objects that you want to return with
|
@@ -1701,16 +1735,21 @@ module Aws::GlobalAccelerator
|
|
1701
1735
|
# resp.accelerators #=> Array
|
1702
1736
|
# resp.accelerators[0].accelerator_arn #=> String
|
1703
1737
|
# resp.accelerators[0].name #=> String
|
1704
|
-
# resp.accelerators[0].ip_address_type #=> String, one of "IPV4"
|
1738
|
+
# resp.accelerators[0].ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
|
1705
1739
|
# resp.accelerators[0].enabled #=> Boolean
|
1706
1740
|
# resp.accelerators[0].ip_sets #=> Array
|
1707
1741
|
# resp.accelerators[0].ip_sets[0].ip_family #=> String
|
1708
1742
|
# resp.accelerators[0].ip_sets[0].ip_addresses #=> Array
|
1709
1743
|
# resp.accelerators[0].ip_sets[0].ip_addresses[0] #=> String
|
1744
|
+
# resp.accelerators[0].ip_sets[0].ip_address_family #=> String, one of "IPv4", "IPv6"
|
1710
1745
|
# resp.accelerators[0].dns_name #=> String
|
1711
1746
|
# resp.accelerators[0].status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
1712
1747
|
# resp.accelerators[0].created_time #=> Time
|
1713
1748
|
# resp.accelerators[0].last_modified_time #=> Time
|
1749
|
+
# resp.accelerators[0].dual_stack_dns_name #=> String
|
1750
|
+
# resp.accelerators[0].events #=> Array
|
1751
|
+
# resp.accelerators[0].events[0].message #=> String
|
1752
|
+
# resp.accelerators[0].events[0].timestamp #=> Time
|
1714
1753
|
# resp.next_token #=> String
|
1715
1754
|
#
|
1716
1755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListAccelerators AWS API Documentation
|
@@ -1771,7 +1810,8 @@ module Aws::GlobalAccelerator
|
|
1771
1810
|
req.send_request(options)
|
1772
1811
|
end
|
1773
1812
|
|
1774
|
-
# List the custom routing accelerators for an
|
1813
|
+
# List the custom routing accelerators for an Amazon Web Services
|
1814
|
+
# account.
|
1775
1815
|
#
|
1776
1816
|
# @option params [Integer] :max_results
|
1777
1817
|
# The number of custom routing Global Accelerator objects that you want
|
@@ -1800,12 +1840,13 @@ module Aws::GlobalAccelerator
|
|
1800
1840
|
# resp.accelerators #=> Array
|
1801
1841
|
# resp.accelerators[0].accelerator_arn #=> String
|
1802
1842
|
# resp.accelerators[0].name #=> String
|
1803
|
-
# resp.accelerators[0].ip_address_type #=> String, one of "IPV4"
|
1843
|
+
# resp.accelerators[0].ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
|
1804
1844
|
# resp.accelerators[0].enabled #=> Boolean
|
1805
1845
|
# resp.accelerators[0].ip_sets #=> Array
|
1806
1846
|
# resp.accelerators[0].ip_sets[0].ip_family #=> String
|
1807
1847
|
# resp.accelerators[0].ip_sets[0].ip_addresses #=> Array
|
1808
1848
|
# resp.accelerators[0].ip_sets[0].ip_addresses[0] #=> String
|
1849
|
+
# resp.accelerators[0].ip_sets[0].ip_address_family #=> String, one of "IPv4", "IPv6"
|
1809
1850
|
# resp.accelerators[0].dns_name #=> String
|
1810
1851
|
# resp.accelerators[0].status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
1811
1852
|
# resp.accelerators[0].created_time #=> Time
|
@@ -2043,7 +2084,7 @@ module Aws::GlobalAccelerator
|
|
2043
2084
|
# resp.destination_port_mappings[0].endpoint_group_region #=> String
|
2044
2085
|
# resp.destination_port_mappings[0].destination_socket_address.ip_address #=> String
|
2045
2086
|
# resp.destination_port_mappings[0].destination_socket_address.port #=> Integer
|
2046
|
-
# resp.destination_port_mappings[0].ip_address_type #=> String, one of "IPV4"
|
2087
|
+
# resp.destination_port_mappings[0].ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
|
2047
2088
|
# resp.destination_port_mappings[0].destination_traffic_state #=> String, one of "ALLOW", "DENY"
|
2048
2089
|
# resp.next_token #=> String
|
2049
2090
|
#
|
@@ -2166,8 +2207,8 @@ module Aws::GlobalAccelerator
|
|
2166
2207
|
|
2167
2208
|
# List all tags for an accelerator.
|
2168
2209
|
#
|
2169
|
-
# For more information, see [Tagging in
|
2170
|
-
#
|
2210
|
+
# For more information, see [Tagging in Global Accelerator][1] in the
|
2211
|
+
# *Global Accelerator Developer Guide*.
|
2171
2212
|
#
|
2172
2213
|
#
|
2173
2214
|
#
|
@@ -2202,13 +2243,13 @@ module Aws::GlobalAccelerator
|
|
2202
2243
|
req.send_request(options)
|
2203
2244
|
end
|
2204
2245
|
|
2205
|
-
# Provisions an IP address range to use with your
|
2206
|
-
# bring your own IP addresses (BYOIP) and creates a
|
2207
|
-
# address pool. After the address range is provisioned, it
|
2208
|
-
# be advertised using [ AdvertiseByoipCidr][1].
|
2246
|
+
# Provisions an IP address range to use with your Amazon Web Services
|
2247
|
+
# resources through bring your own IP addresses (BYOIP) and creates a
|
2248
|
+
# corresponding address pool. After the address range is provisioned, it
|
2249
|
+
# is ready to be advertised using [ AdvertiseByoipCidr][1].
|
2209
2250
|
#
|
2210
|
-
# For more information, see [Bring
|
2211
|
-
# the *
|
2251
|
+
# For more information, see [Bring your own IP addresses (BYOIP)][2] in
|
2252
|
+
# the *Global Accelerator Developer Guide*.
|
2212
2253
|
#
|
2213
2254
|
#
|
2214
2255
|
#
|
@@ -2286,8 +2327,8 @@ module Aws::GlobalAccelerator
|
|
2286
2327
|
|
2287
2328
|
# Add tags to an accelerator resource.
|
2288
2329
|
#
|
2289
|
-
# For more information, see [Tagging in
|
2290
|
-
#
|
2330
|
+
# For more information, see [Tagging in Global Accelerator][1] in the
|
2331
|
+
# *Global Accelerator Developer Guide*.
|
2291
2332
|
#
|
2292
2333
|
#
|
2293
2334
|
#
|
@@ -2329,8 +2370,8 @@ module Aws::GlobalAccelerator
|
|
2329
2370
|
# operation succeeds even if you attempt to remove tags from an
|
2330
2371
|
# accelerator that was already removed.
|
2331
2372
|
#
|
2332
|
-
# For more information, see [Tagging in
|
2333
|
-
#
|
2373
|
+
# For more information, see [Tagging in Global Accelerator][1] in the
|
2374
|
+
# *Global Accelerator Developer Guide*.
|
2334
2375
|
#
|
2335
2376
|
#
|
2336
2377
|
#
|
@@ -2365,19 +2406,22 @@ module Aws::GlobalAccelerator
|
|
2365
2406
|
# Update an accelerator.
|
2366
2407
|
#
|
2367
2408
|
# Global Accelerator is a global service that supports endpoints in
|
2368
|
-
# multiple
|
2369
|
-
# to create or
|
2409
|
+
# multiple Amazon Web Services Regions but you must specify the US West
|
2410
|
+
# (Oregon) Region to create, update, or otherwise work with
|
2411
|
+
# accelerators. That is, for example, specify `--region us-west-2` on
|
2412
|
+
# AWS CLI commands.
|
2370
2413
|
#
|
2371
2414
|
# @option params [required, String] :accelerator_arn
|
2372
2415
|
# The Amazon Resource Name (ARN) of the accelerator to update.
|
2373
2416
|
#
|
2374
2417
|
# @option params [String] :name
|
2375
|
-
# The name of the accelerator. The name can have a maximum of
|
2376
|
-
# characters, must contain only alphanumeric characters
|
2377
|
-
# and must not begin or end with a hyphen.
|
2418
|
+
# The name of the accelerator. The name can have a maximum of 64
|
2419
|
+
# characters, must contain only alphanumeric characters, periods (.), or
|
2420
|
+
# hyphens (-), and must not begin or end with a hyphen or period.
|
2378
2421
|
#
|
2379
2422
|
# @option params [String] :ip_address_type
|
2380
|
-
# The IP address type
|
2423
|
+
# The IP address type that an accelerator supports. For a standard
|
2424
|
+
# accelerator, the value can be IPV4 or DUAL\_STACK.
|
2381
2425
|
#
|
2382
2426
|
# @option params [Boolean] :enabled
|
2383
2427
|
# Indicates whether an accelerator is enabled. The value is true or
|
@@ -2395,7 +2439,7 @@ module Aws::GlobalAccelerator
|
|
2395
2439
|
# resp = client.update_accelerator({
|
2396
2440
|
# accelerator_arn: "GenericString", # required
|
2397
2441
|
# name: "GenericString",
|
2398
|
-
# ip_address_type: "IPV4", # accepts IPV4
|
2442
|
+
# ip_address_type: "IPV4", # accepts IPV4, DUAL_STACK
|
2399
2443
|
# enabled: false,
|
2400
2444
|
# })
|
2401
2445
|
#
|
@@ -2403,16 +2447,21 @@ module Aws::GlobalAccelerator
|
|
2403
2447
|
#
|
2404
2448
|
# resp.accelerator.accelerator_arn #=> String
|
2405
2449
|
# resp.accelerator.name #=> String
|
2406
|
-
# resp.accelerator.ip_address_type #=> String, one of "IPV4"
|
2450
|
+
# resp.accelerator.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
|
2407
2451
|
# resp.accelerator.enabled #=> Boolean
|
2408
2452
|
# resp.accelerator.ip_sets #=> Array
|
2409
2453
|
# resp.accelerator.ip_sets[0].ip_family #=> String
|
2410
2454
|
# resp.accelerator.ip_sets[0].ip_addresses #=> Array
|
2411
2455
|
# resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
|
2456
|
+
# resp.accelerator.ip_sets[0].ip_address_family #=> String, one of "IPv4", "IPv6"
|
2412
2457
|
# resp.accelerator.dns_name #=> String
|
2413
2458
|
# resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
2414
2459
|
# resp.accelerator.created_time #=> Time
|
2415
2460
|
# resp.accelerator.last_modified_time #=> Time
|
2461
|
+
# resp.accelerator.dual_stack_dns_name #=> String
|
2462
|
+
# resp.accelerator.events #=> Array
|
2463
|
+
# resp.accelerator.events[0].message #=> String
|
2464
|
+
# resp.accelerator.events[0].timestamp #=> Time
|
2416
2465
|
#
|
2417
2466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAccelerator AWS API Documentation
|
2418
2467
|
#
|
@@ -2434,8 +2483,8 @@ module Aws::GlobalAccelerator
|
|
2434
2483
|
# the value is true, `FlowLogsS3Bucket` and `FlowLogsS3Prefix` must be
|
2435
2484
|
# specified.
|
2436
2485
|
#
|
2437
|
-
# For more information, see [Flow Logs][1] in the *
|
2438
|
-
#
|
2486
|
+
# For more information, see [Flow Logs][1] in the *Global Accelerator
|
2487
|
+
# Developer Guide*.
|
2439
2488
|
#
|
2440
2489
|
#
|
2441
2490
|
#
|
@@ -2444,17 +2493,15 @@ module Aws::GlobalAccelerator
|
|
2444
2493
|
# @option params [String] :flow_logs_s3_bucket
|
2445
2494
|
# The name of the Amazon S3 bucket for the flow logs. Attribute is
|
2446
2495
|
# required if `FlowLogsEnabled` is `true`. The bucket must exist and
|
2447
|
-
# have a bucket policy that grants
|
2496
|
+
# have a bucket policy that grants Global Accelerator permission to
|
2448
2497
|
# write to the bucket.
|
2449
2498
|
#
|
2450
2499
|
# @option params [String] :flow_logs_s3_prefix
|
2451
2500
|
# Update the prefix for the location in the Amazon S3 bucket for the
|
2452
2501
|
# flow logs. Attribute is required if `FlowLogsEnabled` is `true`.
|
2453
2502
|
#
|
2454
|
-
# If you
|
2455
|
-
#
|
2456
|
-
# file bucket folder structure will include a double slash (//), like
|
2457
|
-
# the following:
|
2503
|
+
# If you specify slash (/) for the S3 bucket prefix, the log file bucket
|
2504
|
+
# folder structure will include a double slash (//), like the following:
|
2458
2505
|
#
|
2459
2506
|
# s3-bucket\_name//AWSLogs/aws\_account\_id
|
2460
2507
|
#
|
@@ -2492,12 +2539,13 @@ module Aws::GlobalAccelerator
|
|
2492
2539
|
# The Amazon Resource Name (ARN) of the accelerator to update.
|
2493
2540
|
#
|
2494
2541
|
# @option params [String] :name
|
2495
|
-
# The name of the accelerator. The name can have a maximum of
|
2496
|
-
# characters, must contain only alphanumeric characters
|
2497
|
-
# and must not begin or end with a hyphen.
|
2542
|
+
# The name of the accelerator. The name can have a maximum of 64
|
2543
|
+
# characters, must contain only alphanumeric characters, periods (.), or
|
2544
|
+
# hyphens (-), and must not begin or end with a hyphen or period.
|
2498
2545
|
#
|
2499
2546
|
# @option params [String] :ip_address_type
|
2500
|
-
# The
|
2547
|
+
# The IP address type that an accelerator supports. For a custom routing
|
2548
|
+
# accelerator, the value must be IPV4.
|
2501
2549
|
#
|
2502
2550
|
# @option params [Boolean] :enabled
|
2503
2551
|
# Indicates whether an accelerator is enabled. The value is true or
|
@@ -2515,7 +2563,7 @@ module Aws::GlobalAccelerator
|
|
2515
2563
|
# resp = client.update_custom_routing_accelerator({
|
2516
2564
|
# accelerator_arn: "GenericString", # required
|
2517
2565
|
# name: "GenericString",
|
2518
|
-
# ip_address_type: "IPV4", # accepts IPV4
|
2566
|
+
# ip_address_type: "IPV4", # accepts IPV4, DUAL_STACK
|
2519
2567
|
# enabled: false,
|
2520
2568
|
# })
|
2521
2569
|
#
|
@@ -2523,12 +2571,13 @@ module Aws::GlobalAccelerator
|
|
2523
2571
|
#
|
2524
2572
|
# resp.accelerator.accelerator_arn #=> String
|
2525
2573
|
# resp.accelerator.name #=> String
|
2526
|
-
# resp.accelerator.ip_address_type #=> String, one of "IPV4"
|
2574
|
+
# resp.accelerator.ip_address_type #=> String, one of "IPV4", "DUAL_STACK"
|
2527
2575
|
# resp.accelerator.enabled #=> Boolean
|
2528
2576
|
# resp.accelerator.ip_sets #=> Array
|
2529
2577
|
# resp.accelerator.ip_sets[0].ip_family #=> String
|
2530
2578
|
# resp.accelerator.ip_sets[0].ip_addresses #=> Array
|
2531
2579
|
# resp.accelerator.ip_sets[0].ip_addresses[0] #=> String
|
2580
|
+
# resp.accelerator.ip_sets[0].ip_address_family #=> String, one of "IPv4", "IPv6"
|
2532
2581
|
# resp.accelerator.dns_name #=> String
|
2533
2582
|
# resp.accelerator.status #=> String, one of "DEPLOYED", "IN_PROGRESS"
|
2534
2583
|
# resp.accelerator.created_time #=> Time
|
@@ -2554,8 +2603,8 @@ module Aws::GlobalAccelerator
|
|
2554
2603
|
# the value is true, `FlowLogsS3Bucket` and `FlowLogsS3Prefix` must be
|
2555
2604
|
# specified.
|
2556
2605
|
#
|
2557
|
-
# For more information, see [Flow
|
2558
|
-
#
|
2606
|
+
# For more information, see [Flow logs][1] in the *Global Accelerator
|
2607
|
+
# Developer Guide*.
|
2559
2608
|
#
|
2560
2609
|
#
|
2561
2610
|
#
|
@@ -2564,7 +2613,7 @@ module Aws::GlobalAccelerator
|
|
2564
2613
|
# @option params [String] :flow_logs_s3_bucket
|
2565
2614
|
# The name of the Amazon S3 bucket for the flow logs. Attribute is
|
2566
2615
|
# required if `FlowLogsEnabled` is `true`. The bucket must exist and
|
2567
|
-
# have a bucket policy that grants
|
2616
|
+
# have a bucket policy that grants Global Accelerator permission to
|
2568
2617
|
# write to the bucket.
|
2569
2618
|
#
|
2570
2619
|
# @option params [String] :flow_logs_s3_prefix
|
@@ -2666,8 +2715,9 @@ module Aws::GlobalAccelerator
|
|
2666
2715
|
# you add it as an endpoint.
|
2667
2716
|
#
|
2668
2717
|
# @option params [Float] :traffic_dial_percentage
|
2669
|
-
# The percentage of traffic to send to an
|
2670
|
-
# is distributed to other endpoint groups for this
|
2718
|
+
# The percentage of traffic to send to an Amazon Web Services Region.
|
2719
|
+
# Additional traffic is distributed to other endpoint groups for this
|
2720
|
+
# listener.
|
2671
2721
|
#
|
2672
2722
|
# Use this action to increase (dial up) or decrease (dial down) traffic
|
2673
2723
|
# to a specific Region. The percentage is applied to the traffic that
|
@@ -2677,14 +2727,14 @@ module Aws::GlobalAccelerator
|
|
2677
2727
|
# The default value is 100.
|
2678
2728
|
#
|
2679
2729
|
# @option params [Integer] :health_check_port
|
2680
|
-
# The port that
|
2681
|
-
#
|
2682
|
-
#
|
2683
|
-
#
|
2684
|
-
#
|
2730
|
+
# The port that Global Accelerator uses to check the health of endpoints
|
2731
|
+
# that are part of this endpoint group. The default port is the listener
|
2732
|
+
# port that this endpoint group is associated with. If the listener port
|
2733
|
+
# is a list of ports, Global Accelerator uses the first port in the
|
2734
|
+
# list.
|
2685
2735
|
#
|
2686
2736
|
# @option params [String] :health_check_protocol
|
2687
|
-
# The protocol that
|
2737
|
+
# The protocol that Global Accelerator uses to check the health of
|
2688
2738
|
# endpoints that are part of this endpoint group. The default value is
|
2689
2739
|
# TCP.
|
2690
2740
|
#
|
@@ -2708,8 +2758,8 @@ module Aws::GlobalAccelerator
|
|
2708
2758
|
# and 443, but your accelerator routes that traffic to ports 1080 and
|
2709
2759
|
# 1443, respectively, on the endpoints.
|
2710
2760
|
#
|
2711
|
-
# For more information, see [
|
2712
|
-
# Accelerator Developer Guide*.
|
2761
|
+
# For more information, see [ Overriding listener ports][1] in the
|
2762
|
+
# *Global Accelerator Developer Guide*.
|
2713
2763
|
#
|
2714
2764
|
#
|
2715
2765
|
#
|
@@ -2793,15 +2843,14 @@ module Aws::GlobalAccelerator
|
|
2793
2843
|
# over whether to always route each client to the same specific
|
2794
2844
|
# endpoint.
|
2795
2845
|
#
|
2796
|
-
#
|
2797
|
-
#
|
2798
|
-
#
|
2799
|
-
#
|
2800
|
-
#
|
2801
|
-
#
|
2802
|
-
#
|
2803
|
-
#
|
2804
|
-
# changes.
|
2846
|
+
# Global Accelerator uses a consistent-flow hashing algorithm to choose
|
2847
|
+
# the optimal endpoint for a connection. If client affinity is `NONE`,
|
2848
|
+
# Global Accelerator uses the "five-tuple" (5-tuple) properties—source
|
2849
|
+
# IP address, source port, destination IP address, destination port, and
|
2850
|
+
# protocol—to select the hash value, and then chooses the best endpoint.
|
2851
|
+
# However, with this setting, if someone uses different ports to connect
|
2852
|
+
# to Global Accelerator, their connections might not be always routed to
|
2853
|
+
# the same endpoint because the hash value changes.
|
2805
2854
|
#
|
2806
2855
|
# If you want a given client to always be routed to the same endpoint,
|
2807
2856
|
# set client affinity to `SOURCE_IP` instead. When you use the
|
@@ -2852,10 +2901,10 @@ module Aws::GlobalAccelerator
|
|
2852
2901
|
# even if you specify different address ranges each time.
|
2853
2902
|
#
|
2854
2903
|
# It can take a few minutes before traffic to the specified addresses
|
2855
|
-
# stops routing to
|
2904
|
+
# stops routing to Amazon Web Services because of propagation delays.
|
2856
2905
|
#
|
2857
|
-
# For more information, see [Bring
|
2858
|
-
# the *
|
2906
|
+
# For more information, see [Bring your own IP addresses (BYOIP)][1] in
|
2907
|
+
# the *Global Accelerator Developer Guide*.
|
2859
2908
|
#
|
2860
2909
|
#
|
2861
2910
|
#
|
@@ -2904,7 +2953,7 @@ module Aws::GlobalAccelerator
|
|
2904
2953
|
params: params,
|
2905
2954
|
config: config)
|
2906
2955
|
context[:gem_name] = 'aws-sdk-globalaccelerator'
|
2907
|
-
context[:gem_version] = '1.
|
2956
|
+
context[:gem_version] = '1.40.0'
|
2908
2957
|
Seahorse::Client::Request.new(handlers, context)
|
2909
2958
|
end
|
2910
2959
|
|