aws-sdk-globalaccelerator 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-globalaccelerator.rb +1 -1
- data/lib/aws-sdk-globalaccelerator/client.rb +54 -23
- data/lib/aws-sdk-globalaccelerator/types.rb +91 -34
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7df2ec393ec3e9243b9c661c64e9ffbab9e0232b
|
4
|
+
data.tar.gz: 2e407869e9cd182433e7a1ea88ef5880f4ea85bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc2e559962a1ad3f230ab7cc01adb3ea4ebb9abd01fbfc4780418178b4f4e98cd65fc32ceaa7100f6d19bfec8dd0bf2d167ea21744ce2ff7a90bc2f744ec1524
|
7
|
+
data.tar.gz: a6ce78c7f39e2e50eebe9ec42ff564cf0b59c29983005de8143799ed668818f61b780f95178132eb67fa596b653715dd0e343c6067a26d5151f57ddec8ce9e33
|
@@ -276,9 +276,9 @@ module Aws::GlobalAccelerator
|
|
276
276
|
req.send_request(options)
|
277
277
|
end
|
278
278
|
|
279
|
-
# Create an endpoint group for the specified
|
280
|
-
#
|
281
|
-
#
|
279
|
+
# Create an endpoint group for the specified listener. An endpoint group
|
280
|
+
# is a collection of endpoints in one AWS Region. To see an AWS CLI
|
281
|
+
# example of creating an endpoint group, scroll down to **Example**.
|
282
282
|
#
|
283
283
|
# @option params [required, String] :listener_arn
|
284
284
|
# The Amazon Resource Name (ARN) of the listener.
|
@@ -318,8 +318,8 @@ module Aws::GlobalAccelerator
|
|
318
318
|
# destination for health check targets. The default value is slash (/).
|
319
319
|
#
|
320
320
|
# @option params [Integer] :health_check_interval_seconds
|
321
|
-
# The time
|
322
|
-
# default value is 30.
|
321
|
+
# The time—10 seconds or 30 seconds—between each health check for an
|
322
|
+
# endpoint. The default value is 30.
|
323
323
|
#
|
324
324
|
# @option params [Integer] :threshold_count
|
325
325
|
# The number of consecutive health checks required to set the state of a
|
@@ -404,7 +404,7 @@ module Aws::GlobalAccelerator
|
|
404
404
|
# AWS Global Accelerator uses a consistent-flow hashing algorithm to
|
405
405
|
# choose the optimal endpoint for a connection. If client affinity is
|
406
406
|
# `NONE`, Global Accelerator uses the "five-tuple" (5-tuple)
|
407
|
-
# properties—
|
407
|
+
# properties—source IP address, source port, destination IP address,
|
408
408
|
# destination port, and protocol—to select the hash value, and then
|
409
409
|
# chooses the best endpoint. However, with this setting, if someone uses
|
410
410
|
# different ports to connect to Global Accelerator, their connections
|
@@ -412,11 +412,10 @@ module Aws::GlobalAccelerator
|
|
412
412
|
# changes.
|
413
413
|
#
|
414
414
|
# If you want a given client to always be routed to the same endpoint,
|
415
|
-
# set client affinity to `
|
416
|
-
# `
|
417
|
-
# (2-tuple) properties— client IP address and destination IP
|
418
|
-
# select the hash value.
|
419
|
-
# two-tuple properties to select the hash value.
|
415
|
+
# set client affinity to `SOURCE_IP` instead. When you use the
|
416
|
+
# `SOURCE_IP` setting, Global Accelerator uses the "two-tuple"
|
417
|
+
# (2-tuple) properties— source (client) IP address and destination IP
|
418
|
+
# address—to select the hash value.
|
420
419
|
#
|
421
420
|
# The default value is `NONE`.
|
422
421
|
#
|
@@ -462,7 +461,8 @@ module Aws::GlobalAccelerator
|
|
462
461
|
end
|
463
462
|
|
464
463
|
# Delete an accelerator. Note: before you can delete an accelerator, you
|
465
|
-
# must disable it
|
464
|
+
# must disable it and remove all dependent resources (listeners and
|
465
|
+
# endpoint groups).
|
466
466
|
#
|
467
467
|
# @option params [required, String] :accelerator_arn
|
468
468
|
# The Amazon Resource Name (ARN) of an accelerator.
|
@@ -571,7 +571,7 @@ module Aws::GlobalAccelerator
|
|
571
571
|
#
|
572
572
|
# @option params [String] :accelerator_arn
|
573
573
|
# The Amazon Resource Name (ARN) of the accelerator with the attributes
|
574
|
-
# that you want to describe.
|
574
|
+
# that you want to describe. Value is required.
|
575
575
|
#
|
576
576
|
# @return [Types::DescribeAcceleratorAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
577
577
|
#
|
@@ -880,17 +880,31 @@ module Aws::GlobalAccelerator
|
|
880
880
|
#
|
881
881
|
# @option params [String] :accelerator_arn
|
882
882
|
# The Amazon Resource Name (ARN) of the accelerator that you want to
|
883
|
-
# update.
|
883
|
+
# update. Attribute is required.
|
884
884
|
#
|
885
885
|
# @option params [Boolean] :flow_logs_enabled
|
886
|
-
# Update whether flow logs are enabled.
|
886
|
+
# Update whether flow logs are enabled. The default value is false. If
|
887
|
+
# the value is true, `FlowLogsS3Bucket` and `FlowLogsS3Prefix` must be
|
888
|
+
# specified.
|
889
|
+
#
|
890
|
+
# For more information, see [Flow Logs][1] in the *AWS Global
|
891
|
+
# Accelerator Developer Guide*.
|
892
|
+
#
|
893
|
+
#
|
894
|
+
#
|
895
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html
|
887
896
|
#
|
888
897
|
# @option params [String] :flow_logs_s3_bucket
|
889
|
-
#
|
898
|
+
# The name of the Amazon S3 bucket for the flow logs. Attribute is
|
899
|
+
# required if `FlowLogsEnabled` is `true`. The bucket must exist and
|
900
|
+
# have a bucket policy that grants AWS Global Accelerator permission to
|
901
|
+
# write to the bucket.
|
890
902
|
#
|
891
903
|
# @option params [String] :flow_logs_s3_prefix
|
892
904
|
# Update the prefix for the location in the Amazon S3 bucket for the
|
893
|
-
# flow logs.
|
905
|
+
# flow logs. Attribute is required if `FlowLogsEnabled` is `true`. If
|
906
|
+
# you don’t specify a prefix, the flow logs are stored in the root of
|
907
|
+
# the bucket.
|
894
908
|
#
|
895
909
|
# @return [Types::UpdateAcceleratorAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
896
910
|
#
|
@@ -957,8 +971,8 @@ module Aws::GlobalAccelerator
|
|
957
971
|
# destination for health check targets. The default value is slash (/).
|
958
972
|
#
|
959
973
|
# @option params [Integer] :health_check_interval_seconds
|
960
|
-
# The time
|
961
|
-
# default value is 30.
|
974
|
+
# The time—10 seconds or 30 seconds—between each health check for an
|
975
|
+
# endpoint. The default value is 30.
|
962
976
|
#
|
963
977
|
# @option params [Integer] :threshold_count
|
964
978
|
# The number of consecutive health checks required to set the state of a
|
@@ -1027,9 +1041,26 @@ module Aws::GlobalAccelerator
|
|
1027
1041
|
#
|
1028
1042
|
# @option params [String] :client_affinity
|
1029
1043
|
# Client affinity lets you direct all requests from a user to the same
|
1030
|
-
# endpoint, if you have stateful applications, regardless of the
|
1031
|
-
#
|
1032
|
-
# whether
|
1044
|
+
# endpoint, if you have stateful applications, regardless of the port
|
1045
|
+
# and protocol of the client request. Clienty affinity gives you control
|
1046
|
+
# over whether to always route each client to the same specific
|
1047
|
+
# endpoint.
|
1048
|
+
#
|
1049
|
+
# AWS Global Accelerator uses a consistent-flow hashing algorithm to
|
1050
|
+
# choose the optimal endpoint for a connection. If client affinity is
|
1051
|
+
# `NONE`, Global Accelerator uses the "five-tuple" (5-tuple)
|
1052
|
+
# properties—source IP address, source port, destination IP address,
|
1053
|
+
# destination port, and protocol—to select the hash value, and then
|
1054
|
+
# chooses the best endpoint. However, with this setting, if someone uses
|
1055
|
+
# different ports to connect to Global Accelerator, their connections
|
1056
|
+
# might not be always routed to the same endpoint because the hash value
|
1057
|
+
# changes.
|
1058
|
+
#
|
1059
|
+
# If you want a given client to always be routed to the same endpoint,
|
1060
|
+
# set client affinity to `SOURCE_IP` instead. When you use the
|
1061
|
+
# `SOURCE_IP` setting, Global Accelerator uses the "two-tuple"
|
1062
|
+
# (2-tuple) properties— source (client) IP address and destination IP
|
1063
|
+
# address—to select the hash value.
|
1033
1064
|
#
|
1034
1065
|
# The default value is `NONE`.
|
1035
1066
|
#
|
@@ -1082,7 +1113,7 @@ module Aws::GlobalAccelerator
|
|
1082
1113
|
params: params,
|
1083
1114
|
config: config)
|
1084
1115
|
context[:gem_name] = 'aws-sdk-globalaccelerator'
|
1085
|
-
context[:gem_version] = '1.
|
1116
|
+
context[:gem_version] = '1.1.0'
|
1086
1117
|
Seahorse::Client::Request.new(handlers, context)
|
1087
1118
|
end
|
1088
1119
|
|
@@ -68,22 +68,30 @@ module Aws::GlobalAccelerator
|
|
68
68
|
# Attributes of an accelerator.
|
69
69
|
#
|
70
70
|
# @!attribute [rw] flow_logs_enabled
|
71
|
-
# Indicates whether flow logs are enabled. The value is
|
72
|
-
#
|
73
|
-
#
|
71
|
+
# Indicates whether flow logs are enabled. The default value is false.
|
72
|
+
# If the value is true, `FlowLogsS3Bucket` and `FlowLogsS3Prefix` must
|
73
|
+
# be specified.
|
74
|
+
#
|
75
|
+
# For more information, see [Flow Logs][1] in the *AWS Global
|
76
|
+
# Accelerator Developer Guide*.
|
77
|
+
#
|
78
|
+
#
|
79
|
+
#
|
80
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html
|
74
81
|
# @return [Boolean]
|
75
82
|
#
|
76
83
|
# @!attribute [rw] flow_logs_s3_bucket
|
77
|
-
# The name of the Amazon S3 bucket for the flow logs.
|
78
|
-
#
|
79
|
-
# a bucket policy that grants AWS Global Accelerator permission
|
80
|
-
# write to the bucket.
|
84
|
+
# The name of the Amazon S3 bucket for the flow logs. Attribute is
|
85
|
+
# required if `FlowLogsEnabled` is `true`. The bucket must exist and
|
86
|
+
# have a bucket policy that grants AWS Global Accelerator permission
|
87
|
+
# to write to the bucket.
|
81
88
|
# @return [String]
|
82
89
|
#
|
83
90
|
# @!attribute [rw] flow_logs_s3_prefix
|
84
91
|
# The prefix for the location in the Amazon S3 bucket for the flow
|
85
|
-
# logs.
|
86
|
-
# root of the
|
92
|
+
# logs. Attribute is required if `FlowLogsEnabled` is `true`. If you
|
93
|
+
# don’t specify a prefix, the flow logs are stored in the root of the
|
94
|
+
# bucket.
|
87
95
|
# @return [String]
|
88
96
|
#
|
89
97
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AcceleratorAttributes AWS API Documentation
|
@@ -217,8 +225,8 @@ module Aws::GlobalAccelerator
|
|
217
225
|
# @return [String]
|
218
226
|
#
|
219
227
|
# @!attribute [rw] health_check_interval_seconds
|
220
|
-
# The time
|
221
|
-
# default value is 30.
|
228
|
+
# The time—10 seconds or 30 seconds—between each health check for an
|
229
|
+
# endpoint. The default value is 30.
|
222
230
|
# @return [Integer]
|
223
231
|
#
|
224
232
|
# @!attribute [rw] threshold_count
|
@@ -298,7 +306,7 @@ module Aws::GlobalAccelerator
|
|
298
306
|
# AWS Global Accelerator uses a consistent-flow hashing algorithm to
|
299
307
|
# choose the optimal endpoint for a connection. If client affinity is
|
300
308
|
# `NONE`, Global Accelerator uses the "five-tuple" (5-tuple)
|
301
|
-
# properties—
|
309
|
+
# properties—source IP address, source port, destination IP address,
|
302
310
|
# destination port, and protocol—to select the hash value, and then
|
303
311
|
# chooses the best endpoint. However, with this setting, if someone
|
304
312
|
# uses different ports to connect to Global Accelerator, their
|
@@ -306,11 +314,10 @@ module Aws::GlobalAccelerator
|
|
306
314
|
# the hash value changes.
|
307
315
|
#
|
308
316
|
# If you want a given client to always be routed to the same endpoint,
|
309
|
-
# set client affinity to `
|
310
|
-
# `
|
311
|
-
# (2-tuple) properties— client IP address and destination IP
|
312
|
-
# address—to select the hash value.
|
313
|
-
# uses two-tuple properties to select the hash value.
|
317
|
+
# set client affinity to `SOURCE_IP` instead. When you use the
|
318
|
+
# `SOURCE_IP` setting, Global Accelerator uses the "two-tuple"
|
319
|
+
# (2-tuple) properties— source (client) IP address and destination IP
|
320
|
+
# address—to select the hash value.
|
314
321
|
#
|
315
322
|
# The default value is `NONE`.
|
316
323
|
# @return [String]
|
@@ -405,7 +412,7 @@ module Aws::GlobalAccelerator
|
|
405
412
|
#
|
406
413
|
# @!attribute [rw] accelerator_arn
|
407
414
|
# The Amazon Resource Name (ARN) of the accelerator with the
|
408
|
-
# attributes that you want to describe.
|
415
|
+
# attributes that you want to describe. Value is required.
|
409
416
|
# @return [String]
|
410
417
|
#
|
411
418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAcceleratorAttributesRequest AWS API Documentation
|
@@ -543,7 +550,7 @@ module Aws::GlobalAccelerator
|
|
543
550
|
#
|
544
551
|
#
|
545
552
|
#
|
546
|
-
# [1]: https://docs.
|
553
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html
|
547
554
|
# @return [Integer]
|
548
555
|
#
|
549
556
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/EndpointConfiguration AWS API Documentation
|
@@ -577,7 +584,7 @@ module Aws::GlobalAccelerator
|
|
577
584
|
#
|
578
585
|
#
|
579
586
|
#
|
580
|
-
# [1]: https://docs.
|
587
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html
|
581
588
|
# @return [Integer]
|
582
589
|
#
|
583
590
|
# @!attribute [rw] health_state
|
@@ -667,7 +674,7 @@ module Aws::GlobalAccelerator
|
|
667
674
|
# @return [String]
|
668
675
|
#
|
669
676
|
# @!attribute [rw] health_check_interval_seconds
|
670
|
-
# The
|
677
|
+
# The time—10 seconds or 30 seconds—between health checks for each
|
671
678
|
# endpoint. The default value is 30.
|
672
679
|
# @return [Integer]
|
673
680
|
#
|
@@ -869,9 +876,29 @@ module Aws::GlobalAccelerator
|
|
869
876
|
# @return [String]
|
870
877
|
#
|
871
878
|
# @!attribute [rw] client_affinity
|
872
|
-
#
|
873
|
-
# endpoint
|
874
|
-
#
|
879
|
+
# Client affinity lets you direct all requests from a user to the same
|
880
|
+
# endpoint, if you have stateful applications, regardless of the port
|
881
|
+
# and protocol of the client request. Clienty affinity gives you
|
882
|
+
# control over whether to always route each client to the same
|
883
|
+
# specific endpoint.
|
884
|
+
#
|
885
|
+
# AWS Global Accelerator uses a consistent-flow hashing algorithm to
|
886
|
+
# choose the optimal endpoint for a connection. If client affinity is
|
887
|
+
# `NONE`, Global Accelerator uses the "five-tuple" (5-tuple)
|
888
|
+
# properties—source IP address, source port, destination IP address,
|
889
|
+
# destination port, and protocol—to select the hash value, and then
|
890
|
+
# chooses the best endpoint. However, with this setting, if someone
|
891
|
+
# uses different ports to connect to Global Accelerator, their
|
892
|
+
# connections might not be always routed to the same endpoint because
|
893
|
+
# the hash value changes.
|
894
|
+
#
|
895
|
+
# If you want a given client to always be routed to the same endpoint,
|
896
|
+
# set client affinity to `SOURCE_IP` instead. When you use the
|
897
|
+
# `SOURCE_IP` setting, Global Accelerator uses the "two-tuple"
|
898
|
+
# (2-tuple) properties— source (client) IP address and destination IP
|
899
|
+
# address—to select the hash value.
|
900
|
+
#
|
901
|
+
# The default value is `NONE`.
|
875
902
|
# @return [String]
|
876
903
|
#
|
877
904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/Listener AWS API Documentation
|
@@ -922,20 +949,34 @@ module Aws::GlobalAccelerator
|
|
922
949
|
#
|
923
950
|
# @!attribute [rw] accelerator_arn
|
924
951
|
# The Amazon Resource Name (ARN) of the accelerator that you want to
|
925
|
-
# update.
|
952
|
+
# update. Attribute is required.
|
926
953
|
# @return [String]
|
927
954
|
#
|
928
955
|
# @!attribute [rw] flow_logs_enabled
|
929
|
-
# Update whether flow logs are enabled.
|
956
|
+
# Update whether flow logs are enabled. The default value is false. If
|
957
|
+
# the value is true, `FlowLogsS3Bucket` and `FlowLogsS3Prefix` must be
|
958
|
+
# specified.
|
959
|
+
#
|
960
|
+
# For more information, see [Flow Logs][1] in the *AWS Global
|
961
|
+
# Accelerator Developer Guide*.
|
962
|
+
#
|
963
|
+
#
|
964
|
+
#
|
965
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html
|
930
966
|
# @return [Boolean]
|
931
967
|
#
|
932
968
|
# @!attribute [rw] flow_logs_s3_bucket
|
933
|
-
#
|
969
|
+
# The name of the Amazon S3 bucket for the flow logs. Attribute is
|
970
|
+
# required if `FlowLogsEnabled` is `true`. The bucket must exist and
|
971
|
+
# have a bucket policy that grants AWS Global Accelerator permission
|
972
|
+
# to write to the bucket.
|
934
973
|
# @return [String]
|
935
974
|
#
|
936
975
|
# @!attribute [rw] flow_logs_s3_prefix
|
937
976
|
# Update the prefix for the location in the Amazon S3 bucket for the
|
938
|
-
# flow logs.
|
977
|
+
# flow logs. Attribute is required if `FlowLogsEnabled` is `true`. If
|
978
|
+
# you don’t specify a prefix, the flow logs are stored in the root of
|
979
|
+
# the bucket.
|
939
980
|
# @return [String]
|
940
981
|
#
|
941
982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAcceleratorAttributesRequest AWS API Documentation
|
@@ -1072,8 +1113,8 @@ module Aws::GlobalAccelerator
|
|
1072
1113
|
# @return [String]
|
1073
1114
|
#
|
1074
1115
|
# @!attribute [rw] health_check_interval_seconds
|
1075
|
-
# The time
|
1076
|
-
# default value is 30.
|
1116
|
+
# The time—10 seconds or 30 seconds—between each health check for an
|
1117
|
+
# endpoint. The default value is 30.
|
1077
1118
|
# @return [Integer]
|
1078
1119
|
#
|
1079
1120
|
# @!attribute [rw] threshold_count
|
@@ -1138,10 +1179,26 @@ module Aws::GlobalAccelerator
|
|
1138
1179
|
#
|
1139
1180
|
# @!attribute [rw] client_affinity
|
1140
1181
|
# Client affinity lets you direct all requests from a user to the same
|
1141
|
-
# endpoint, if you have stateful applications, regardless of the
|
1142
|
-
#
|
1143
|
-
# over whether
|
1144
|
-
# endpoint.
|
1182
|
+
# endpoint, if you have stateful applications, regardless of the port
|
1183
|
+
# and protocol of the client request. Clienty affinity gives you
|
1184
|
+
# control over whether to always route each client to the same
|
1185
|
+
# specific endpoint.
|
1186
|
+
#
|
1187
|
+
# AWS Global Accelerator uses a consistent-flow hashing algorithm to
|
1188
|
+
# choose the optimal endpoint for a connection. If client affinity is
|
1189
|
+
# `NONE`, Global Accelerator uses the "five-tuple" (5-tuple)
|
1190
|
+
# properties—source IP address, source port, destination IP address,
|
1191
|
+
# destination port, and protocol—to select the hash value, and then
|
1192
|
+
# chooses the best endpoint. However, with this setting, if someone
|
1193
|
+
# uses different ports to connect to Global Accelerator, their
|
1194
|
+
# connections might not be always routed to the same endpoint because
|
1195
|
+
# the hash value changes.
|
1196
|
+
#
|
1197
|
+
# If you want a given client to always be routed to the same endpoint,
|
1198
|
+
# set client affinity to `SOURCE_IP` instead. When you use the
|
1199
|
+
# `SOURCE_IP` setting, Global Accelerator uses the "two-tuple"
|
1200
|
+
# (2-tuple) properties— source (client) IP address and destination IP
|
1201
|
+
# address—to select the hash value.
|
1145
1202
|
#
|
1146
1203
|
# The default value is `NONE`.
|
1147
1204
|
# @return [String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-globalaccelerator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|