aws-sdk-globalaccelerator 1.20.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bdb9fe049819391b26c2b101e1a16df4e513154bdc71a2ec507b98ff0fce137
|
4
|
+
data.tar.gz: 187d94730e3ed9544ffdc995748bcb264f31f2cc756620aad76bb72453890ee1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab9cc9a10a638140b66c2db90af7708f5b70f19d6a362c5227111bb888baa601fc91ec0a57cf92d3ae440aa73167554802bc504ab9ac8bdaf4ab0dcfb1040626
|
7
|
+
data.tar.gz: cb37b019cd667b4ba6ecd8745e9824dbe907d75f0e2346cb90ef57fc0a62c96835ce3357e3c2d06fcb0ba8f5d90decba4e144e1ea3e9f599744e7ad0c1f924b4
|
@@ -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
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::GlobalAccelerator
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.25.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::GlobalAccelerator
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::GlobalAccelerator
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -377,13 +392,9 @@ module Aws::GlobalAccelerator
|
|
377
392
|
# Load Balancers. To see an AWS CLI example of creating an accelerator,
|
378
393
|
# scroll down to **Example**.
|
379
394
|
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
# from each of your IP address ranges can be used for each accelerator.
|
384
|
-
#
|
385
|
-
# You must specify the US West (Oregon) Region to create or update
|
386
|
-
# accelerators.
|
395
|
+
# Global Accelerator is a global service that supports endpoints in
|
396
|
+
# multiple AWS Regions but you must specify the US West (Oregon) Region
|
397
|
+
# to create or update accelerators.
|
387
398
|
#
|
388
399
|
# @option params [required, String] :name
|
389
400
|
# The name of an accelerator. The name can have a maximum of 32
|
@@ -395,13 +406,19 @@ module Aws::GlobalAccelerator
|
|
395
406
|
#
|
396
407
|
# @option params [Array<String>] :ip_addresses
|
397
408
|
# Optionally, if you've added your own IP address pool to Global
|
398
|
-
# Accelerator, you can choose IP addresses from your own pool to
|
399
|
-
# the accelerator's static IP addresses
|
400
|
-
#
|
409
|
+
# Accelerator (BYOIP), you can choose IP addresses from your own pool to
|
410
|
+
# use for the accelerator's static IP addresses when you create an
|
411
|
+
# accelerator. You can specify one or two addresses, separated by a
|
412
|
+
# comma. Do not include the /32 suffix.
|
413
|
+
#
|
414
|
+
# Only one IP address from each of your IP address ranges can be used
|
415
|
+
# for each accelerator. If you specify only one IP address from your IP
|
416
|
+
# address range, Global Accelerator assigns a second static IP address
|
417
|
+
# for the accelerator from the AWS IP address pool.
|
401
418
|
#
|
402
|
-
#
|
403
|
-
#
|
404
|
-
#
|
419
|
+
# Note that you can't update IP addresses for an existing accelerator.
|
420
|
+
# To change them, you must create a new accelerator with the new
|
421
|
+
# addresses.
|
405
422
|
#
|
406
423
|
# For more information, see [Bring Your Own IP Addresses (BYOIP)][1] in
|
407
424
|
# the *AWS Global Accelerator Developer Guide*.
|
@@ -479,15 +496,18 @@ module Aws::GlobalAccelerator
|
|
479
496
|
end
|
480
497
|
|
481
498
|
# Create an endpoint group for the specified listener. An endpoint group
|
482
|
-
# is a collection of endpoints in one AWS Region.
|
483
|
-
#
|
499
|
+
# is a collection of endpoints in one AWS Region. A resource must be
|
500
|
+
# valid and active when you add it as an endpoint.
|
501
|
+
#
|
502
|
+
# To see an AWS CLI example of creating an endpoint group, scroll down
|
503
|
+
# to **Example**.
|
484
504
|
#
|
485
505
|
# @option params [required, String] :listener_arn
|
486
506
|
# The Amazon Resource Name (ARN) of the listener.
|
487
507
|
#
|
488
508
|
# @option params [required, String] :endpoint_group_region
|
489
|
-
# The
|
490
|
-
#
|
509
|
+
# The AWS Region where the endpoint group is located. A listener can
|
510
|
+
# have only one endpoint group in a specific Region.
|
491
511
|
#
|
492
512
|
# @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
|
493
513
|
# The list of endpoint objects.
|
@@ -535,6 +555,20 @@ module Aws::GlobalAccelerator
|
|
535
555
|
# **A suitable default value is auto-generated.** You should normally
|
536
556
|
# not need to pass this option.**
|
537
557
|
#
|
558
|
+
# @option params [Array<Types::PortOverride>] :port_overrides
|
559
|
+
# Override specific listener ports used to route traffic to endpoints
|
560
|
+
# that are part of this endpoint group. For example, you can create a
|
561
|
+
# port override in which the listener receives user traffic on ports 80
|
562
|
+
# and 443, but your accelerator routes that traffic to ports 1080 and
|
563
|
+
# 1443, respectively, on the endpoints.
|
564
|
+
#
|
565
|
+
# For more information, see [ Port overrides][1] in the *AWS Global
|
566
|
+
# Accelerator Developer Guide*.
|
567
|
+
#
|
568
|
+
#
|
569
|
+
#
|
570
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
|
571
|
+
#
|
538
572
|
# @return [Types::CreateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
539
573
|
#
|
540
574
|
# * {Types::CreateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
|
@@ -558,6 +592,12 @@ module Aws::GlobalAccelerator
|
|
558
592
|
# health_check_interval_seconds: 1,
|
559
593
|
# threshold_count: 1,
|
560
594
|
# idempotency_token: "IdempotencyToken", # required
|
595
|
+
# port_overrides: [
|
596
|
+
# {
|
597
|
+
# listener_port: 1,
|
598
|
+
# endpoint_port: 1,
|
599
|
+
# },
|
600
|
+
# ],
|
561
601
|
# })
|
562
602
|
#
|
563
603
|
# @example Response structure
|
@@ -576,6 +616,9 @@ module Aws::GlobalAccelerator
|
|
576
616
|
# resp.endpoint_group.health_check_path #=> String
|
577
617
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
578
618
|
# resp.endpoint_group.threshold_count #=> Integer
|
619
|
+
# resp.endpoint_group.port_overrides #=> Array
|
620
|
+
# resp.endpoint_group.port_overrides[0].listener_port #=> Integer
|
621
|
+
# resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
|
579
622
|
#
|
580
623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroup AWS API Documentation
|
581
624
|
#
|
@@ -604,7 +647,7 @@ module Aws::GlobalAccelerator
|
|
604
647
|
# @option params [String] :client_affinity
|
605
648
|
# Client affinity lets you direct all requests from a user to the same
|
606
649
|
# endpoint, if you have stateful applications, regardless of the port
|
607
|
-
# and protocol of the client request.
|
650
|
+
# and protocol of the client request. Client affinity gives you control
|
608
651
|
# over whether to always route each client to the same specific
|
609
652
|
# endpoint.
|
610
653
|
#
|
@@ -912,6 +955,9 @@ module Aws::GlobalAccelerator
|
|
912
955
|
# resp.endpoint_group.health_check_path #=> String
|
913
956
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
914
957
|
# resp.endpoint_group.threshold_count #=> Integer
|
958
|
+
# resp.endpoint_group.port_overrides #=> Array
|
959
|
+
# resp.endpoint_group.port_overrides[0].listener_port #=> Integer
|
960
|
+
# resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
|
915
961
|
#
|
916
962
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup AWS API Documentation
|
917
963
|
#
|
@@ -1101,6 +1147,9 @@ module Aws::GlobalAccelerator
|
|
1101
1147
|
# resp.endpoint_groups[0].health_check_path #=> String
|
1102
1148
|
# resp.endpoint_groups[0].health_check_interval_seconds #=> Integer
|
1103
1149
|
# resp.endpoint_groups[0].threshold_count #=> Integer
|
1150
|
+
# resp.endpoint_groups[0].port_overrides #=> Array
|
1151
|
+
# resp.endpoint_groups[0].port_overrides[0].listener_port #=> Integer
|
1152
|
+
# resp.endpoint_groups[0].port_overrides[0].endpoint_port #=> Integer
|
1104
1153
|
# resp.next_token #=> String
|
1105
1154
|
#
|
1106
1155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups AWS API Documentation
|
@@ -1339,8 +1388,9 @@ module Aws::GlobalAccelerator
|
|
1339
1388
|
# Update an accelerator. To see an AWS CLI example of updating an
|
1340
1389
|
# accelerator, scroll down to **Example**.
|
1341
1390
|
#
|
1342
|
-
#
|
1343
|
-
#
|
1391
|
+
# Global Accelerator is a global service that supports endpoints in
|
1392
|
+
# multiple AWS Regions but you must specify the US West (Oregon) Region
|
1393
|
+
# to create or update accelerators.
|
1344
1394
|
#
|
1345
1395
|
# @option params [required, String] :accelerator_arn
|
1346
1396
|
# The Amazon Resource Name (ARN) of the accelerator to update.
|
@@ -1462,14 +1512,18 @@ module Aws::GlobalAccelerator
|
|
1462
1512
|
req.send_request(options)
|
1463
1513
|
end
|
1464
1514
|
|
1465
|
-
# Update an endpoint group.
|
1466
|
-
#
|
1515
|
+
# Update an endpoint group. A resource must be valid and active when you
|
1516
|
+
# add it as an endpoint.
|
1517
|
+
#
|
1518
|
+
# To see an AWS CLI example of updating an endpoint group, scroll down
|
1519
|
+
# to **Example**.
|
1467
1520
|
#
|
1468
1521
|
# @option params [required, String] :endpoint_group_arn
|
1469
1522
|
# The Amazon Resource Name (ARN) of the endpoint group.
|
1470
1523
|
#
|
1471
1524
|
# @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
|
1472
|
-
# The list of endpoint objects.
|
1525
|
+
# The list of endpoint objects. A resource must be valid and active when
|
1526
|
+
# you add it as an endpoint.
|
1473
1527
|
#
|
1474
1528
|
# @option params [Float] :traffic_dial_percentage
|
1475
1529
|
# The percentage of traffic to send to an AWS Region. Additional traffic
|
@@ -1507,6 +1561,20 @@ module Aws::GlobalAccelerator
|
|
1507
1561
|
# healthy endpoint to unhealthy, or to set an unhealthy endpoint to
|
1508
1562
|
# healthy. The default value is 3.
|
1509
1563
|
#
|
1564
|
+
# @option params [Array<Types::PortOverride>] :port_overrides
|
1565
|
+
# Override specific listener ports used to route traffic to endpoints
|
1566
|
+
# that are part of this endpoint group. For example, you can create a
|
1567
|
+
# port override in which the listener receives user traffic on ports 80
|
1568
|
+
# and 443, but your accelerator routes that traffic to ports 1080 and
|
1569
|
+
# 1443, respectively, on the endpoints.
|
1570
|
+
#
|
1571
|
+
# For more information, see [ Port overrides][1] in the *AWS Global
|
1572
|
+
# Accelerator Developer Guide*.
|
1573
|
+
#
|
1574
|
+
#
|
1575
|
+
#
|
1576
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
|
1577
|
+
#
|
1510
1578
|
# @return [Types::UpdateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1511
1579
|
#
|
1512
1580
|
# * {Types::UpdateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
|
@@ -1528,6 +1596,12 @@ module Aws::GlobalAccelerator
|
|
1528
1596
|
# health_check_path: "GenericString",
|
1529
1597
|
# health_check_interval_seconds: 1,
|
1530
1598
|
# threshold_count: 1,
|
1599
|
+
# port_overrides: [
|
1600
|
+
# {
|
1601
|
+
# listener_port: 1,
|
1602
|
+
# endpoint_port: 1,
|
1603
|
+
# },
|
1604
|
+
# ],
|
1531
1605
|
# })
|
1532
1606
|
#
|
1533
1607
|
# @example Response structure
|
@@ -1546,6 +1620,9 @@ module Aws::GlobalAccelerator
|
|
1546
1620
|
# resp.endpoint_group.health_check_path #=> String
|
1547
1621
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
1548
1622
|
# resp.endpoint_group.threshold_count #=> Integer
|
1623
|
+
# resp.endpoint_group.port_overrides #=> Array
|
1624
|
+
# resp.endpoint_group.port_overrides[0].listener_port #=> Integer
|
1625
|
+
# resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
|
1549
1626
|
#
|
1550
1627
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroup AWS API Documentation
|
1551
1628
|
#
|
@@ -1573,7 +1650,7 @@ module Aws::GlobalAccelerator
|
|
1573
1650
|
# @option params [String] :client_affinity
|
1574
1651
|
# Client affinity lets you direct all requests from a user to the same
|
1575
1652
|
# endpoint, if you have stateful applications, regardless of the port
|
1576
|
-
# and protocol of the client request.
|
1653
|
+
# and protocol of the client request. Client affinity gives you control
|
1577
1654
|
# over whether to always route each client to the same specific
|
1578
1655
|
# endpoint.
|
1579
1656
|
#
|
@@ -1690,7 +1767,7 @@ module Aws::GlobalAccelerator
|
|
1690
1767
|
params: params,
|
1691
1768
|
config: config)
|
1692
1769
|
context[:gem_name] = 'aws-sdk-globalaccelerator'
|
1693
|
-
context[:gem_version] = '1.
|
1770
|
+
context[:gem_version] = '1.25.0'
|
1694
1771
|
Seahorse::Client::Request.new(handlers, context)
|
1695
1772
|
end
|
1696
1773
|
|
@@ -94,6 +94,8 @@ module Aws::GlobalAccelerator
|
|
94
94
|
Listeners = Shapes::ListShape.new(name: 'Listeners')
|
95
95
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
96
96
|
PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
|
97
|
+
PortOverride = Shapes::StructureShape.new(name: 'PortOverride')
|
98
|
+
PortOverrides = Shapes::ListShape.new(name: 'PortOverrides')
|
97
99
|
PortRange = Shapes::StructureShape.new(name: 'PortRange')
|
98
100
|
PortRanges = Shapes::ListShape.new(name: 'PortRanges')
|
99
101
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
@@ -203,6 +205,7 @@ module Aws::GlobalAccelerator
|
|
203
205
|
CreateEndpointGroupRequest.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
|
204
206
|
CreateEndpointGroupRequest.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
|
205
207
|
CreateEndpointGroupRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
208
|
+
CreateEndpointGroupRequest.add_member(:port_overrides, Shapes::ShapeRef.new(shape: PortOverrides, location_name: "PortOverrides"))
|
206
209
|
CreateEndpointGroupRequest.struct_class = Types::CreateEndpointGroupRequest
|
207
210
|
|
208
211
|
CreateEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
|
@@ -282,6 +285,7 @@ module Aws::GlobalAccelerator
|
|
282
285
|
EndpointGroup.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
|
283
286
|
EndpointGroup.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
|
284
287
|
EndpointGroup.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
|
288
|
+
EndpointGroup.add_member(:port_overrides, Shapes::ShapeRef.new(shape: PortOverrides, location_name: "PortOverrides"))
|
285
289
|
EndpointGroup.struct_class = Types::EndpointGroup
|
286
290
|
|
287
291
|
EndpointGroupAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -369,6 +373,12 @@ module Aws::GlobalAccelerator
|
|
369
373
|
|
370
374
|
Listeners.member = Shapes::ShapeRef.new(shape: Listener)
|
371
375
|
|
376
|
+
PortOverride.add_member(:listener_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "ListenerPort"))
|
377
|
+
PortOverride.add_member(:endpoint_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "EndpointPort"))
|
378
|
+
PortOverride.struct_class = Types::PortOverride
|
379
|
+
|
380
|
+
PortOverrides.member = Shapes::ShapeRef.new(shape: PortOverride)
|
381
|
+
|
372
382
|
PortRange.add_member(:from_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "FromPort"))
|
373
383
|
PortRange.add_member(:to_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "ToPort"))
|
374
384
|
PortRange.struct_class = Types::PortRange
|
@@ -428,6 +438,7 @@ module Aws::GlobalAccelerator
|
|
428
438
|
UpdateEndpointGroupRequest.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
|
429
439
|
UpdateEndpointGroupRequest.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
|
430
440
|
UpdateEndpointGroupRequest.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
|
441
|
+
UpdateEndpointGroupRequest.add_member(:port_overrides, Shapes::ShapeRef.new(shape: PortOverrides, location_name: "PortOverrides"))
|
431
442
|
UpdateEndpointGroupRequest.struct_class = Types::UpdateEndpointGroupRequest
|
432
443
|
|
433
444
|
UpdateEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
|
@@ -294,9 +294,8 @@ module Aws::GlobalAccelerator
|
|
294
294
|
# @return [String]
|
295
295
|
#
|
296
296
|
# @!attribute [rw] events
|
297
|
-
# A history of status changes for an IP address range that
|
298
|
-
#
|
299
|
-
# (BYOIP).
|
297
|
+
# A history of status changes for an IP address range that you bring
|
298
|
+
# to AWS Global Accelerator through bring your own IP address (BYOIP).
|
300
299
|
# @return [Array<Types::ByoipCidrEvent>]
|
301
300
|
#
|
302
301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ByoipCidr AWS API Documentation
|
@@ -411,13 +410,19 @@ module Aws::GlobalAccelerator
|
|
411
410
|
#
|
412
411
|
# @!attribute [rw] ip_addresses
|
413
412
|
# Optionally, if you've added your own IP address pool to Global
|
414
|
-
# Accelerator, you can choose IP addresses from your own pool
|
415
|
-
# for the accelerator's static IP addresses
|
416
|
-
# two addresses, separated by a
|
413
|
+
# Accelerator (BYOIP), you can choose IP addresses from your own pool
|
414
|
+
# to use for the accelerator's static IP addresses when you create an
|
415
|
+
# accelerator. You can specify one or two addresses, separated by a
|
416
|
+
# comma. Do not include the /32 suffix.
|
417
417
|
#
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
418
|
+
# Only one IP address from each of your IP address ranges can be used
|
419
|
+
# for each accelerator. If you specify only one IP address from your
|
420
|
+
# IP address range, Global Accelerator assigns a second static IP
|
421
|
+
# address for the accelerator from the AWS IP address pool.
|
422
|
+
#
|
423
|
+
# Note that you can't update IP addresses for an existing
|
424
|
+
# accelerator. To change them, you must create a new accelerator with
|
425
|
+
# the new addresses.
|
421
426
|
#
|
422
427
|
# For more information, see [Bring Your Own IP Addresses (BYOIP)][1]
|
423
428
|
# in the *AWS Global Accelerator Developer Guide*.
|
@@ -500,6 +505,12 @@ module Aws::GlobalAccelerator
|
|
500
505
|
# health_check_interval_seconds: 1,
|
501
506
|
# threshold_count: 1,
|
502
507
|
# idempotency_token: "IdempotencyToken", # required
|
508
|
+
# port_overrides: [
|
509
|
+
# {
|
510
|
+
# listener_port: 1,
|
511
|
+
# endpoint_port: 1,
|
512
|
+
# },
|
513
|
+
# ],
|
503
514
|
# }
|
504
515
|
#
|
505
516
|
# @!attribute [rw] listener_arn
|
@@ -507,8 +518,8 @@ module Aws::GlobalAccelerator
|
|
507
518
|
# @return [String]
|
508
519
|
#
|
509
520
|
# @!attribute [rw] endpoint_group_region
|
510
|
-
# The
|
511
|
-
#
|
521
|
+
# The AWS Region where the endpoint group is located. A listener can
|
522
|
+
# have only one endpoint group in a specific Region.
|
512
523
|
# @return [String]
|
513
524
|
#
|
514
525
|
# @!attribute [rw] endpoint_configurations
|
@@ -566,6 +577,21 @@ module Aws::GlobalAccelerator
|
|
566
577
|
# not need to pass this option.
|
567
578
|
# @return [String]
|
568
579
|
#
|
580
|
+
# @!attribute [rw] port_overrides
|
581
|
+
# Override specific listener ports used to route traffic to endpoints
|
582
|
+
# that are part of this endpoint group. For example, you can create a
|
583
|
+
# port override in which the listener receives user traffic on ports
|
584
|
+
# 80 and 443, but your accelerator routes that traffic to ports 1080
|
585
|
+
# and 1443, respectively, on the endpoints.
|
586
|
+
#
|
587
|
+
# For more information, see [ Port overrides][1] in the *AWS Global
|
588
|
+
# Accelerator Developer Guide*.
|
589
|
+
#
|
590
|
+
#
|
591
|
+
#
|
592
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
|
593
|
+
# @return [Array<Types::PortOverride>]
|
594
|
+
#
|
569
595
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroupRequest AWS API Documentation
|
570
596
|
#
|
571
597
|
class CreateEndpointGroupRequest < Struct.new(
|
@@ -578,7 +604,8 @@ module Aws::GlobalAccelerator
|
|
578
604
|
:health_check_path,
|
579
605
|
:health_check_interval_seconds,
|
580
606
|
:threshold_count,
|
581
|
-
:idempotency_token
|
607
|
+
:idempotency_token,
|
608
|
+
:port_overrides)
|
582
609
|
SENSITIVE = []
|
583
610
|
include Aws::Structure
|
584
611
|
end
|
@@ -627,7 +654,7 @@ module Aws::GlobalAccelerator
|
|
627
654
|
# @!attribute [rw] client_affinity
|
628
655
|
# Client affinity lets you direct all requests from a user to the same
|
629
656
|
# endpoint, if you have stateful applications, regardless of the port
|
630
|
-
# and protocol of the client request.
|
657
|
+
# and protocol of the client request. Client affinity gives you
|
631
658
|
# control over whether to always route each client to the same
|
632
659
|
# specific endpoint.
|
633
660
|
#
|
@@ -896,7 +923,8 @@ module Aws::GlobalAccelerator
|
|
896
923
|
include Aws::Structure
|
897
924
|
end
|
898
925
|
|
899
|
-
# A complex type for endpoints.
|
926
|
+
# A complex type for endpoints. A resource must be valid and active when
|
927
|
+
# you add it as an endpoint.
|
900
928
|
#
|
901
929
|
# @note When making an API call, you may pass EndpointConfiguration
|
902
930
|
# data as a hash:
|
@@ -911,8 +939,9 @@ module Aws::GlobalAccelerator
|
|
911
939
|
# An ID for the endpoint. If the endpoint is a Network Load Balancer
|
912
940
|
# or Application Load Balancer, this is the Amazon Resource Name (ARN)
|
913
941
|
# of the resource. If the endpoint is an Elastic IP address, this is
|
914
|
-
# the Elastic IP address allocation ID. For EC2 instances, this
|
915
|
-
# EC2 instance ID.
|
942
|
+
# the Elastic IP address allocation ID. For Amazon EC2 instances, this
|
943
|
+
# is the EC2 instance ID. A resource must be valid and active when you
|
944
|
+
# add it as an endpoint.
|
916
945
|
#
|
917
946
|
# An Application Load Balancer can be either internal or
|
918
947
|
# internet-facing.
|
@@ -1060,7 +1089,7 @@ module Aws::GlobalAccelerator
|
|
1060
1089
|
# @return [String]
|
1061
1090
|
#
|
1062
1091
|
# @!attribute [rw] endpoint_group_region
|
1063
|
-
# The AWS Region
|
1092
|
+
# The AWS Region where the endpoint group is located.
|
1064
1093
|
# @return [String]
|
1065
1094
|
#
|
1066
1095
|
# @!attribute [rw] endpoint_descriptions
|
@@ -1111,6 +1140,14 @@ module Aws::GlobalAccelerator
|
|
1111
1140
|
# healthy. The default value is 3.
|
1112
1141
|
# @return [Integer]
|
1113
1142
|
#
|
1143
|
+
# @!attribute [rw] port_overrides
|
1144
|
+
# Allows you to override the destination ports used to route traffic
|
1145
|
+
# to an endpoint. Using a port override lets you to map a list of
|
1146
|
+
# external destination ports (that your users send traffic to) to a
|
1147
|
+
# list of internal destination ports that you want an application
|
1148
|
+
# endpoint to receive traffic on.
|
1149
|
+
# @return [Array<Types::PortOverride>]
|
1150
|
+
#
|
1114
1151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/EndpointGroup AWS API Documentation
|
1115
1152
|
#
|
1116
1153
|
class EndpointGroup < Struct.new(
|
@@ -1122,7 +1159,8 @@ module Aws::GlobalAccelerator
|
|
1122
1159
|
:health_check_protocol,
|
1123
1160
|
:health_check_path,
|
1124
1161
|
:health_check_interval_seconds,
|
1125
|
-
:threshold_count
|
1162
|
+
:threshold_count,
|
1163
|
+
:port_overrides)
|
1126
1164
|
SENSITIVE = []
|
1127
1165
|
include Aws::Structure
|
1128
1166
|
end
|
@@ -1496,7 +1534,7 @@ module Aws::GlobalAccelerator
|
|
1496
1534
|
# @!attribute [rw] client_affinity
|
1497
1535
|
# Client affinity lets you direct all requests from a user to the same
|
1498
1536
|
# endpoint, if you have stateful applications, regardless of the port
|
1499
|
-
# and protocol of the client request.
|
1537
|
+
# and protocol of the client request. Client affinity gives you
|
1500
1538
|
# control over whether to always route each client to the same
|
1501
1539
|
# specific endpoint.
|
1502
1540
|
#
|
@@ -1543,6 +1581,48 @@ module Aws::GlobalAccelerator
|
|
1543
1581
|
include Aws::Structure
|
1544
1582
|
end
|
1545
1583
|
|
1584
|
+
# Override specific listener ports used to route traffic to endpoints
|
1585
|
+
# that are part of an endpoint group. For example, you can create a port
|
1586
|
+
# override in which the listener receives user traffic on ports 80 and
|
1587
|
+
# 443, but your accelerator routes that traffic to ports 1080 and 1443,
|
1588
|
+
# respectively, on the endpoints.
|
1589
|
+
#
|
1590
|
+
# For more information, see [ Port overrides][1] in the *AWS Global
|
1591
|
+
# Accelerator Developer Guide*.
|
1592
|
+
#
|
1593
|
+
#
|
1594
|
+
#
|
1595
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
|
1596
|
+
#
|
1597
|
+
# @note When making an API call, you may pass PortOverride
|
1598
|
+
# data as a hash:
|
1599
|
+
#
|
1600
|
+
# {
|
1601
|
+
# listener_port: 1,
|
1602
|
+
# endpoint_port: 1,
|
1603
|
+
# }
|
1604
|
+
#
|
1605
|
+
# @!attribute [rw] listener_port
|
1606
|
+
# The listener port that you want to map to a specific endpoint port.
|
1607
|
+
# This is the port that user traffic arrives to the Global Accelerator
|
1608
|
+
# on.
|
1609
|
+
# @return [Integer]
|
1610
|
+
#
|
1611
|
+
# @!attribute [rw] endpoint_port
|
1612
|
+
# The endpoint port that you want a listener port to be mapped to.
|
1613
|
+
# This is the port on the endpoint, such as the Application Load
|
1614
|
+
# Balancer or Amazon EC2 instance.
|
1615
|
+
# @return [Integer]
|
1616
|
+
#
|
1617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/PortOverride AWS API Documentation
|
1618
|
+
#
|
1619
|
+
class PortOverride < Struct.new(
|
1620
|
+
:listener_port,
|
1621
|
+
:endpoint_port)
|
1622
|
+
SENSITIVE = []
|
1623
|
+
include Aws::Structure
|
1624
|
+
end
|
1625
|
+
|
1546
1626
|
# A complex type for a range of ports for a listener.
|
1547
1627
|
#
|
1548
1628
|
# @note When making an API call, you may pass PortRange
|
@@ -1851,6 +1931,12 @@ module Aws::GlobalAccelerator
|
|
1851
1931
|
# health_check_path: "GenericString",
|
1852
1932
|
# health_check_interval_seconds: 1,
|
1853
1933
|
# threshold_count: 1,
|
1934
|
+
# port_overrides: [
|
1935
|
+
# {
|
1936
|
+
# listener_port: 1,
|
1937
|
+
# endpoint_port: 1,
|
1938
|
+
# },
|
1939
|
+
# ],
|
1854
1940
|
# }
|
1855
1941
|
#
|
1856
1942
|
# @!attribute [rw] endpoint_group_arn
|
@@ -1858,7 +1944,8 @@ module Aws::GlobalAccelerator
|
|
1858
1944
|
# @return [String]
|
1859
1945
|
#
|
1860
1946
|
# @!attribute [rw] endpoint_configurations
|
1861
|
-
# The list of endpoint objects.
|
1947
|
+
# The list of endpoint objects. A resource must be valid and active
|
1948
|
+
# when you add it as an endpoint.
|
1862
1949
|
# @return [Array<Types::EndpointConfiguration>]
|
1863
1950
|
#
|
1864
1951
|
# @!attribute [rw] traffic_dial_percentage
|
@@ -1904,6 +1991,21 @@ module Aws::GlobalAccelerator
|
|
1904
1991
|
# healthy. The default value is 3.
|
1905
1992
|
# @return [Integer]
|
1906
1993
|
#
|
1994
|
+
# @!attribute [rw] port_overrides
|
1995
|
+
# Override specific listener ports used to route traffic to endpoints
|
1996
|
+
# that are part of this endpoint group. For example, you can create a
|
1997
|
+
# port override in which the listener receives user traffic on ports
|
1998
|
+
# 80 and 443, but your accelerator routes that traffic to ports 1080
|
1999
|
+
# and 1443, respectively, on the endpoints.
|
2000
|
+
#
|
2001
|
+
# For more information, see [ Port overrides][1] in the *AWS Global
|
2002
|
+
# Accelerator Developer Guide*.
|
2003
|
+
#
|
2004
|
+
#
|
2005
|
+
#
|
2006
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
|
2007
|
+
# @return [Array<Types::PortOverride>]
|
2008
|
+
#
|
1907
2009
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroupRequest AWS API Documentation
|
1908
2010
|
#
|
1909
2011
|
class UpdateEndpointGroupRequest < Struct.new(
|
@@ -1914,7 +2016,8 @@ module Aws::GlobalAccelerator
|
|
1914
2016
|
:health_check_protocol,
|
1915
2017
|
:health_check_path,
|
1916
2018
|
:health_check_interval_seconds,
|
1917
|
-
:threshold_count
|
2019
|
+
:threshold_count,
|
2020
|
+
:port_overrides)
|
1918
2021
|
SENSITIVE = []
|
1919
2022
|
include Aws::Structure
|
1920
2023
|
end
|
@@ -1963,7 +2066,7 @@ module Aws::GlobalAccelerator
|
|
1963
2066
|
# @!attribute [rw] client_affinity
|
1964
2067
|
# Client affinity lets you direct all requests from a user to the same
|
1965
2068
|
# endpoint, if you have stateful applications, regardless of the port
|
1966
|
-
# and protocol of the client request.
|
2069
|
+
# and protocol of the client request. Client affinity gives you
|
1967
2070
|
# control over whether to always route each client to the same
|
1968
2071
|
# specific endpoint.
|
1969
2072
|
#
|
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.25.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: 2020-
|
11
|
+
date: 2020-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|