aws-sdk-globalaccelerator 1.19.1 → 1.24.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 +5 -2
- data/lib/aws-sdk-globalaccelerator/client.rb +111 -32
- data/lib/aws-sdk-globalaccelerator/client_api.rb +13 -0
- data/lib/aws-sdk-globalaccelerator/errors.rb +2 -0
- data/lib/aws-sdk-globalaccelerator/resource.rb +2 -0
- data/lib/aws-sdk-globalaccelerator/types.rb +199 -22
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98bc6a701bfa10579b74d7e783c9f3913a21a9840f19c2fde23422acb443be53
|
4
|
+
data.tar.gz: d95cdb55da920a8e7ef8a781aacdf92b68382c0ba09356b4eb08b08c0e3bb499
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9358b2379ac0289a92193a53e63658734c6e37cd4bf8c054bd71c9a690f922e9f0e1e4f8bb5bd574f68a1f36c13f611f1fe1522b324d2fc161a16b3d2b4833d
|
7
|
+
data.tar.gz: dc89393ca26cde38b5c8c8eaf4105c60fd5db0608ec63384ad4613c5cb7e82e041ebb8a3f01ca6f5a1cf0a9b72b1d46072f1fea7743805c18f9f953e72868ecd
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::GlobalAccelerator
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.24.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::GlobalAccelerator
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
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
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::GlobalAccelerator
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# 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.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -375,13 +392,9 @@ module Aws::GlobalAccelerator
|
|
375
392
|
# Load Balancers. To see an AWS CLI example of creating an accelerator,
|
376
393
|
# scroll down to **Example**.
|
377
394
|
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
# from each of your IP address ranges can be used for each accelerator.
|
382
|
-
#
|
383
|
-
# You must specify the US West (Oregon) Region to create or update
|
384
|
-
# 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.
|
385
398
|
#
|
386
399
|
# @option params [required, String] :name
|
387
400
|
# The name of an accelerator. The name can have a maximum of 32
|
@@ -393,13 +406,19 @@ module Aws::GlobalAccelerator
|
|
393
406
|
#
|
394
407
|
# @option params [Array<String>] :ip_addresses
|
395
408
|
# Optionally, if you've added your own IP address pool to Global
|
396
|
-
# Accelerator, you can choose IP addresses from your own pool to
|
397
|
-
# the accelerator's static IP addresses
|
398
|
-
#
|
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.
|
399
418
|
#
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
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.
|
403
422
|
#
|
404
423
|
# For more information, see [Bring Your Own IP Addresses (BYOIP)][1] in
|
405
424
|
# the *AWS Global Accelerator Developer Guide*.
|
@@ -477,15 +496,18 @@ module Aws::GlobalAccelerator
|
|
477
496
|
end
|
478
497
|
|
479
498
|
# Create an endpoint group for the specified listener. An endpoint group
|
480
|
-
# is a collection of endpoints in one AWS Region.
|
481
|
-
#
|
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**.
|
482
504
|
#
|
483
505
|
# @option params [required, String] :listener_arn
|
484
506
|
# The Amazon Resource Name (ARN) of the listener.
|
485
507
|
#
|
486
508
|
# @option params [required, String] :endpoint_group_region
|
487
|
-
# The
|
488
|
-
#
|
509
|
+
# The AWS Region where the endpoint group is located. A listener can
|
510
|
+
# have only one endpoint group in a specific Region.
|
489
511
|
#
|
490
512
|
# @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
|
491
513
|
# The list of endpoint objects.
|
@@ -533,6 +555,20 @@ module Aws::GlobalAccelerator
|
|
533
555
|
# **A suitable default value is auto-generated.** You should normally
|
534
556
|
# not need to pass this option.**
|
535
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
|
+
#
|
536
572
|
# @return [Types::CreateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
537
573
|
#
|
538
574
|
# * {Types::CreateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
|
@@ -556,6 +592,12 @@ module Aws::GlobalAccelerator
|
|
556
592
|
# health_check_interval_seconds: 1,
|
557
593
|
# threshold_count: 1,
|
558
594
|
# idempotency_token: "IdempotencyToken", # required
|
595
|
+
# port_overrides: [
|
596
|
+
# {
|
597
|
+
# listener_port: 1,
|
598
|
+
# endpoint_port: 1,
|
599
|
+
# },
|
600
|
+
# ],
|
559
601
|
# })
|
560
602
|
#
|
561
603
|
# @example Response structure
|
@@ -574,6 +616,9 @@ module Aws::GlobalAccelerator
|
|
574
616
|
# resp.endpoint_group.health_check_path #=> String
|
575
617
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
576
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
|
577
622
|
#
|
578
623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroup AWS API Documentation
|
579
624
|
#
|
@@ -602,7 +647,7 @@ module Aws::GlobalAccelerator
|
|
602
647
|
# @option params [String] :client_affinity
|
603
648
|
# Client affinity lets you direct all requests from a user to the same
|
604
649
|
# endpoint, if you have stateful applications, regardless of the port
|
605
|
-
# and protocol of the client request.
|
650
|
+
# and protocol of the client request. Client affinity gives you control
|
606
651
|
# over whether to always route each client to the same specific
|
607
652
|
# endpoint.
|
608
653
|
#
|
@@ -910,6 +955,9 @@ module Aws::GlobalAccelerator
|
|
910
955
|
# resp.endpoint_group.health_check_path #=> String
|
911
956
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
912
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
|
913
961
|
#
|
914
962
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup AWS API Documentation
|
915
963
|
#
|
@@ -1099,6 +1147,9 @@ module Aws::GlobalAccelerator
|
|
1099
1147
|
# resp.endpoint_groups[0].health_check_path #=> String
|
1100
1148
|
# resp.endpoint_groups[0].health_check_interval_seconds #=> Integer
|
1101
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
|
1102
1153
|
# resp.next_token #=> String
|
1103
1154
|
#
|
1104
1155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups AWS API Documentation
|
@@ -1337,8 +1388,9 @@ module Aws::GlobalAccelerator
|
|
1337
1388
|
# Update an accelerator. To see an AWS CLI example of updating an
|
1338
1389
|
# accelerator, scroll down to **Example**.
|
1339
1390
|
#
|
1340
|
-
#
|
1341
|
-
#
|
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.
|
1342
1394
|
#
|
1343
1395
|
# @option params [required, String] :accelerator_arn
|
1344
1396
|
# The Amazon Resource Name (ARN) of the accelerator to update.
|
@@ -1460,14 +1512,18 @@ module Aws::GlobalAccelerator
|
|
1460
1512
|
req.send_request(options)
|
1461
1513
|
end
|
1462
1514
|
|
1463
|
-
# Update an endpoint group.
|
1464
|
-
#
|
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**.
|
1465
1520
|
#
|
1466
1521
|
# @option params [required, String] :endpoint_group_arn
|
1467
1522
|
# The Amazon Resource Name (ARN) of the endpoint group.
|
1468
1523
|
#
|
1469
1524
|
# @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
|
1470
|
-
# 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.
|
1471
1527
|
#
|
1472
1528
|
# @option params [Float] :traffic_dial_percentage
|
1473
1529
|
# The percentage of traffic to send to an AWS Region. Additional traffic
|
@@ -1505,6 +1561,20 @@ module Aws::GlobalAccelerator
|
|
1505
1561
|
# healthy endpoint to unhealthy, or to set an unhealthy endpoint to
|
1506
1562
|
# healthy. The default value is 3.
|
1507
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
|
+
#
|
1508
1578
|
# @return [Types::UpdateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1509
1579
|
#
|
1510
1580
|
# * {Types::UpdateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
|
@@ -1526,6 +1596,12 @@ module Aws::GlobalAccelerator
|
|
1526
1596
|
# health_check_path: "GenericString",
|
1527
1597
|
# health_check_interval_seconds: 1,
|
1528
1598
|
# threshold_count: 1,
|
1599
|
+
# port_overrides: [
|
1600
|
+
# {
|
1601
|
+
# listener_port: 1,
|
1602
|
+
# endpoint_port: 1,
|
1603
|
+
# },
|
1604
|
+
# ],
|
1529
1605
|
# })
|
1530
1606
|
#
|
1531
1607
|
# @example Response structure
|
@@ -1544,6 +1620,9 @@ module Aws::GlobalAccelerator
|
|
1544
1620
|
# resp.endpoint_group.health_check_path #=> String
|
1545
1621
|
# resp.endpoint_group.health_check_interval_seconds #=> Integer
|
1546
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
|
1547
1626
|
#
|
1548
1627
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroup AWS API Documentation
|
1549
1628
|
#
|
@@ -1571,7 +1650,7 @@ module Aws::GlobalAccelerator
|
|
1571
1650
|
# @option params [String] :client_affinity
|
1572
1651
|
# Client affinity lets you direct all requests from a user to the same
|
1573
1652
|
# endpoint, if you have stateful applications, regardless of the port
|
1574
|
-
# and protocol of the client request.
|
1653
|
+
# and protocol of the client request. Client affinity gives you control
|
1575
1654
|
# over whether to always route each client to the same specific
|
1576
1655
|
# endpoint.
|
1577
1656
|
#
|
@@ -1688,7 +1767,7 @@ module Aws::GlobalAccelerator
|
|
1688
1767
|
params: params,
|
1689
1768
|
config: config)
|
1690
1769
|
context[:gem_name] = 'aws-sdk-globalaccelerator'
|
1691
|
-
context[:gem_version] = '1.
|
1770
|
+
context[:gem_version] = '1.24.0'
|
1692
1771
|
Seahorse::Client::Request.new(handlers, context)
|
1693
1772
|
end
|
1694
1773
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -92,6 +94,8 @@ module Aws::GlobalAccelerator
|
|
92
94
|
Listeners = Shapes::ListShape.new(name: 'Listeners')
|
93
95
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
94
96
|
PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
|
97
|
+
PortOverride = Shapes::StructureShape.new(name: 'PortOverride')
|
98
|
+
PortOverrides = Shapes::ListShape.new(name: 'PortOverrides')
|
95
99
|
PortRange = Shapes::StructureShape.new(name: 'PortRange')
|
96
100
|
PortRanges = Shapes::ListShape.new(name: 'PortRanges')
|
97
101
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
@@ -201,6 +205,7 @@ module Aws::GlobalAccelerator
|
|
201
205
|
CreateEndpointGroupRequest.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
|
202
206
|
CreateEndpointGroupRequest.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
|
203
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"))
|
204
209
|
CreateEndpointGroupRequest.struct_class = Types::CreateEndpointGroupRequest
|
205
210
|
|
206
211
|
CreateEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
|
@@ -280,6 +285,7 @@ module Aws::GlobalAccelerator
|
|
280
285
|
EndpointGroup.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
|
281
286
|
EndpointGroup.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
|
282
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"))
|
283
289
|
EndpointGroup.struct_class = Types::EndpointGroup
|
284
290
|
|
285
291
|
EndpointGroupAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -367,6 +373,12 @@ module Aws::GlobalAccelerator
|
|
367
373
|
|
368
374
|
Listeners.member = Shapes::ShapeRef.new(shape: Listener)
|
369
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
|
+
|
370
382
|
PortRange.add_member(:from_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "FromPort"))
|
371
383
|
PortRange.add_member(:to_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "ToPort"))
|
372
384
|
PortRange.struct_class = Types::PortRange
|
@@ -426,6 +438,7 @@ module Aws::GlobalAccelerator
|
|
426
438
|
UpdateEndpointGroupRequest.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
|
427
439
|
UpdateEndpointGroupRequest.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
|
428
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"))
|
429
442
|
UpdateEndpointGroupRequest.struct_class = Types::UpdateEndpointGroupRequest
|
430
443
|
|
431
444
|
UpdateEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -81,6 +83,7 @@ module Aws::GlobalAccelerator
|
|
81
83
|
:status,
|
82
84
|
:created_time,
|
83
85
|
:last_modified_time)
|
86
|
+
SENSITIVE = []
|
84
87
|
include Aws::Structure
|
85
88
|
end
|
86
89
|
|
@@ -124,6 +127,7 @@ module Aws::GlobalAccelerator
|
|
124
127
|
:flow_logs_enabled,
|
125
128
|
:flow_logs_s3_bucket,
|
126
129
|
:flow_logs_s3_prefix)
|
130
|
+
SENSITIVE = []
|
127
131
|
include Aws::Structure
|
128
132
|
end
|
129
133
|
|
@@ -136,6 +140,7 @@ module Aws::GlobalAccelerator
|
|
136
140
|
#
|
137
141
|
class AcceleratorNotDisabledException < Struct.new(
|
138
142
|
:message)
|
143
|
+
SENSITIVE = []
|
139
144
|
include Aws::Structure
|
140
145
|
end
|
141
146
|
|
@@ -148,6 +153,7 @@ module Aws::GlobalAccelerator
|
|
148
153
|
#
|
149
154
|
class AcceleratorNotFoundException < Struct.new(
|
150
155
|
:message)
|
156
|
+
SENSITIVE = []
|
151
157
|
include Aws::Structure
|
152
158
|
end
|
153
159
|
|
@@ -160,6 +166,7 @@ module Aws::GlobalAccelerator
|
|
160
166
|
#
|
161
167
|
class AccessDeniedException < Struct.new(
|
162
168
|
:message)
|
169
|
+
SENSITIVE = []
|
163
170
|
include Aws::Structure
|
164
171
|
end
|
165
172
|
|
@@ -180,6 +187,7 @@ module Aws::GlobalAccelerator
|
|
180
187
|
#
|
181
188
|
class AdvertiseByoipCidrRequest < Struct.new(
|
182
189
|
:cidr)
|
190
|
+
SENSITIVE = []
|
183
191
|
include Aws::Structure
|
184
192
|
end
|
185
193
|
|
@@ -191,6 +199,7 @@ module Aws::GlobalAccelerator
|
|
191
199
|
#
|
192
200
|
class AdvertiseByoipCidrResponse < Struct.new(
|
193
201
|
:byoip_cidr)
|
202
|
+
SENSITIVE = []
|
194
203
|
include Aws::Structure
|
195
204
|
end
|
196
205
|
|
@@ -205,6 +214,7 @@ module Aws::GlobalAccelerator
|
|
205
214
|
#
|
206
215
|
class AssociatedEndpointGroupFoundException < Struct.new(
|
207
216
|
:message)
|
217
|
+
SENSITIVE = []
|
208
218
|
include Aws::Structure
|
209
219
|
end
|
210
220
|
|
@@ -219,6 +229,7 @@ module Aws::GlobalAccelerator
|
|
219
229
|
#
|
220
230
|
class AssociatedListenerFoundException < Struct.new(
|
221
231
|
:message)
|
232
|
+
SENSITIVE = []
|
222
233
|
include Aws::Structure
|
223
234
|
end
|
224
235
|
|
@@ -283,9 +294,8 @@ module Aws::GlobalAccelerator
|
|
283
294
|
# @return [String]
|
284
295
|
#
|
285
296
|
# @!attribute [rw] events
|
286
|
-
# A history of status changes for an IP address range that
|
287
|
-
#
|
288
|
-
# (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).
|
289
299
|
# @return [Array<Types::ByoipCidrEvent>]
|
290
300
|
#
|
291
301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ByoipCidr AWS API Documentation
|
@@ -294,6 +304,7 @@ module Aws::GlobalAccelerator
|
|
294
304
|
:cidr,
|
295
305
|
:state,
|
296
306
|
:events)
|
307
|
+
SENSITIVE = []
|
297
308
|
include Aws::Structure
|
298
309
|
end
|
299
310
|
|
@@ -318,6 +329,7 @@ module Aws::GlobalAccelerator
|
|
318
329
|
class ByoipCidrEvent < Struct.new(
|
319
330
|
:message,
|
320
331
|
:timestamp)
|
332
|
+
SENSITIVE = []
|
321
333
|
include Aws::Structure
|
322
334
|
end
|
323
335
|
|
@@ -330,6 +342,7 @@ module Aws::GlobalAccelerator
|
|
330
342
|
#
|
331
343
|
class ByoipCidrNotFoundException < Struct.new(
|
332
344
|
:message)
|
345
|
+
SENSITIVE = []
|
333
346
|
include Aws::Structure
|
334
347
|
end
|
335
348
|
|
@@ -364,6 +377,7 @@ module Aws::GlobalAccelerator
|
|
364
377
|
class CidrAuthorizationContext < Struct.new(
|
365
378
|
:message,
|
366
379
|
:signature)
|
380
|
+
SENSITIVE = []
|
367
381
|
include Aws::Structure
|
368
382
|
end
|
369
383
|
|
@@ -396,13 +410,19 @@ module Aws::GlobalAccelerator
|
|
396
410
|
#
|
397
411
|
# @!attribute [rw] ip_addresses
|
398
412
|
# Optionally, if you've added your own IP address pool to Global
|
399
|
-
# Accelerator, you can choose IP addresses from your own pool
|
400
|
-
# for the accelerator's static IP addresses
|
401
|
-
# 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
|
+
#
|
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.
|
402
422
|
#
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
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.
|
406
426
|
#
|
407
427
|
# For more information, see [Bring Your Own IP Addresses (BYOIP)][1]
|
408
428
|
# in the *AWS Global Accelerator Developer Guide*.
|
@@ -448,6 +468,7 @@ module Aws::GlobalAccelerator
|
|
448
468
|
:enabled,
|
449
469
|
:idempotency_token,
|
450
470
|
:tags)
|
471
|
+
SENSITIVE = []
|
451
472
|
include Aws::Structure
|
452
473
|
end
|
453
474
|
|
@@ -460,6 +481,7 @@ module Aws::GlobalAccelerator
|
|
460
481
|
#
|
461
482
|
class CreateAcceleratorResponse < Struct.new(
|
462
483
|
:accelerator)
|
484
|
+
SENSITIVE = []
|
463
485
|
include Aws::Structure
|
464
486
|
end
|
465
487
|
|
@@ -483,6 +505,12 @@ module Aws::GlobalAccelerator
|
|
483
505
|
# health_check_interval_seconds: 1,
|
484
506
|
# threshold_count: 1,
|
485
507
|
# idempotency_token: "IdempotencyToken", # required
|
508
|
+
# port_overrides: [
|
509
|
+
# {
|
510
|
+
# listener_port: 1,
|
511
|
+
# endpoint_port: 1,
|
512
|
+
# },
|
513
|
+
# ],
|
486
514
|
# }
|
487
515
|
#
|
488
516
|
# @!attribute [rw] listener_arn
|
@@ -490,8 +518,8 @@ module Aws::GlobalAccelerator
|
|
490
518
|
# @return [String]
|
491
519
|
#
|
492
520
|
# @!attribute [rw] endpoint_group_region
|
493
|
-
# The
|
494
|
-
#
|
521
|
+
# The AWS Region where the endpoint group is located. A listener can
|
522
|
+
# have only one endpoint group in a specific Region.
|
495
523
|
# @return [String]
|
496
524
|
#
|
497
525
|
# @!attribute [rw] endpoint_configurations
|
@@ -549,6 +577,21 @@ module Aws::GlobalAccelerator
|
|
549
577
|
# not need to pass this option.
|
550
578
|
# @return [String]
|
551
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
|
+
#
|
552
595
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroupRequest AWS API Documentation
|
553
596
|
#
|
554
597
|
class CreateEndpointGroupRequest < Struct.new(
|
@@ -561,7 +604,9 @@ module Aws::GlobalAccelerator
|
|
561
604
|
:health_check_path,
|
562
605
|
:health_check_interval_seconds,
|
563
606
|
:threshold_count,
|
564
|
-
:idempotency_token
|
607
|
+
:idempotency_token,
|
608
|
+
:port_overrides)
|
609
|
+
SENSITIVE = []
|
565
610
|
include Aws::Structure
|
566
611
|
end
|
567
612
|
|
@@ -573,6 +618,7 @@ module Aws::GlobalAccelerator
|
|
573
618
|
#
|
574
619
|
class CreateEndpointGroupResponse < Struct.new(
|
575
620
|
:endpoint_group)
|
621
|
+
SENSITIVE = []
|
576
622
|
include Aws::Structure
|
577
623
|
end
|
578
624
|
|
@@ -608,7 +654,7 @@ module Aws::GlobalAccelerator
|
|
608
654
|
# @!attribute [rw] client_affinity
|
609
655
|
# Client affinity lets you direct all requests from a user to the same
|
610
656
|
# endpoint, if you have stateful applications, regardless of the port
|
611
|
-
# and protocol of the client request.
|
657
|
+
# and protocol of the client request. Client affinity gives you
|
612
658
|
# control over whether to always route each client to the same
|
613
659
|
# specific endpoint.
|
614
660
|
#
|
@@ -647,6 +693,7 @@ module Aws::GlobalAccelerator
|
|
647
693
|
:protocol,
|
648
694
|
:client_affinity,
|
649
695
|
:idempotency_token)
|
696
|
+
SENSITIVE = []
|
650
697
|
include Aws::Structure
|
651
698
|
end
|
652
699
|
|
@@ -658,6 +705,7 @@ module Aws::GlobalAccelerator
|
|
658
705
|
#
|
659
706
|
class CreateListenerResponse < Struct.new(
|
660
707
|
:listener)
|
708
|
+
SENSITIVE = []
|
661
709
|
include Aws::Structure
|
662
710
|
end
|
663
711
|
|
@@ -676,6 +724,7 @@ module Aws::GlobalAccelerator
|
|
676
724
|
#
|
677
725
|
class DeleteAcceleratorRequest < Struct.new(
|
678
726
|
:accelerator_arn)
|
727
|
+
SENSITIVE = []
|
679
728
|
include Aws::Structure
|
680
729
|
end
|
681
730
|
|
@@ -694,6 +743,7 @@ module Aws::GlobalAccelerator
|
|
694
743
|
#
|
695
744
|
class DeleteEndpointGroupRequest < Struct.new(
|
696
745
|
:endpoint_group_arn)
|
746
|
+
SENSITIVE = []
|
697
747
|
include Aws::Structure
|
698
748
|
end
|
699
749
|
|
@@ -712,6 +762,7 @@ module Aws::GlobalAccelerator
|
|
712
762
|
#
|
713
763
|
class DeleteListenerRequest < Struct.new(
|
714
764
|
:listener_arn)
|
765
|
+
SENSITIVE = []
|
715
766
|
include Aws::Structure
|
716
767
|
end
|
717
768
|
|
@@ -731,6 +782,7 @@ module Aws::GlobalAccelerator
|
|
731
782
|
#
|
732
783
|
class DeprovisionByoipCidrRequest < Struct.new(
|
733
784
|
:cidr)
|
785
|
+
SENSITIVE = []
|
734
786
|
include Aws::Structure
|
735
787
|
end
|
736
788
|
|
@@ -742,6 +794,7 @@ module Aws::GlobalAccelerator
|
|
742
794
|
#
|
743
795
|
class DeprovisionByoipCidrResponse < Struct.new(
|
744
796
|
:byoip_cidr)
|
797
|
+
SENSITIVE = []
|
745
798
|
include Aws::Structure
|
746
799
|
end
|
747
800
|
|
@@ -761,6 +814,7 @@ module Aws::GlobalAccelerator
|
|
761
814
|
#
|
762
815
|
class DescribeAcceleratorAttributesRequest < Struct.new(
|
763
816
|
:accelerator_arn)
|
817
|
+
SENSITIVE = []
|
764
818
|
include Aws::Structure
|
765
819
|
end
|
766
820
|
|
@@ -772,6 +826,7 @@ module Aws::GlobalAccelerator
|
|
772
826
|
#
|
773
827
|
class DescribeAcceleratorAttributesResponse < Struct.new(
|
774
828
|
:accelerator_attributes)
|
829
|
+
SENSITIVE = []
|
775
830
|
include Aws::Structure
|
776
831
|
end
|
777
832
|
|
@@ -790,6 +845,7 @@ module Aws::GlobalAccelerator
|
|
790
845
|
#
|
791
846
|
class DescribeAcceleratorRequest < Struct.new(
|
792
847
|
:accelerator_arn)
|
848
|
+
SENSITIVE = []
|
793
849
|
include Aws::Structure
|
794
850
|
end
|
795
851
|
|
@@ -801,6 +857,7 @@ module Aws::GlobalAccelerator
|
|
801
857
|
#
|
802
858
|
class DescribeAcceleratorResponse < Struct.new(
|
803
859
|
:accelerator)
|
860
|
+
SENSITIVE = []
|
804
861
|
include Aws::Structure
|
805
862
|
end
|
806
863
|
|
@@ -819,6 +876,7 @@ module Aws::GlobalAccelerator
|
|
819
876
|
#
|
820
877
|
class DescribeEndpointGroupRequest < Struct.new(
|
821
878
|
:endpoint_group_arn)
|
879
|
+
SENSITIVE = []
|
822
880
|
include Aws::Structure
|
823
881
|
end
|
824
882
|
|
@@ -830,6 +888,7 @@ module Aws::GlobalAccelerator
|
|
830
888
|
#
|
831
889
|
class DescribeEndpointGroupResponse < Struct.new(
|
832
890
|
:endpoint_group)
|
891
|
+
SENSITIVE = []
|
833
892
|
include Aws::Structure
|
834
893
|
end
|
835
894
|
|
@@ -848,6 +907,7 @@ module Aws::GlobalAccelerator
|
|
848
907
|
#
|
849
908
|
class DescribeListenerRequest < Struct.new(
|
850
909
|
:listener_arn)
|
910
|
+
SENSITIVE = []
|
851
911
|
include Aws::Structure
|
852
912
|
end
|
853
913
|
|
@@ -859,10 +919,12 @@ module Aws::GlobalAccelerator
|
|
859
919
|
#
|
860
920
|
class DescribeListenerResponse < Struct.new(
|
861
921
|
:listener)
|
922
|
+
SENSITIVE = []
|
862
923
|
include Aws::Structure
|
863
924
|
end
|
864
925
|
|
865
|
-
# 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.
|
866
928
|
#
|
867
929
|
# @note When making an API call, you may pass EndpointConfiguration
|
868
930
|
# data as a hash:
|
@@ -877,8 +939,9 @@ module Aws::GlobalAccelerator
|
|
877
939
|
# An ID for the endpoint. If the endpoint is a Network Load Balancer
|
878
940
|
# or Application Load Balancer, this is the Amazon Resource Name (ARN)
|
879
941
|
# of the resource. If the endpoint is an Elastic IP address, this is
|
880
|
-
# the Elastic IP address allocation ID. For EC2 instances, this
|
881
|
-
# 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.
|
882
945
|
#
|
883
946
|
# An Application Load Balancer can be either internal or
|
884
947
|
# internet-facing.
|
@@ -925,6 +988,7 @@ module Aws::GlobalAccelerator
|
|
925
988
|
:endpoint_id,
|
926
989
|
:weight,
|
927
990
|
:client_ip_preservation_enabled)
|
991
|
+
SENSITIVE = []
|
928
992
|
include Aws::Structure
|
929
993
|
end
|
930
994
|
|
@@ -1013,6 +1077,7 @@ module Aws::GlobalAccelerator
|
|
1013
1077
|
:health_state,
|
1014
1078
|
:health_reason,
|
1015
1079
|
:client_ip_preservation_enabled)
|
1080
|
+
SENSITIVE = []
|
1016
1081
|
include Aws::Structure
|
1017
1082
|
end
|
1018
1083
|
|
@@ -1024,7 +1089,7 @@ module Aws::GlobalAccelerator
|
|
1024
1089
|
# @return [String]
|
1025
1090
|
#
|
1026
1091
|
# @!attribute [rw] endpoint_group_region
|
1027
|
-
# The AWS Region
|
1092
|
+
# The AWS Region where the endpoint group is located.
|
1028
1093
|
# @return [String]
|
1029
1094
|
#
|
1030
1095
|
# @!attribute [rw] endpoint_descriptions
|
@@ -1075,6 +1140,14 @@ module Aws::GlobalAccelerator
|
|
1075
1140
|
# healthy. The default value is 3.
|
1076
1141
|
# @return [Integer]
|
1077
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
|
+
#
|
1078
1151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/EndpointGroup AWS API Documentation
|
1079
1152
|
#
|
1080
1153
|
class EndpointGroup < Struct.new(
|
@@ -1086,7 +1159,9 @@ module Aws::GlobalAccelerator
|
|
1086
1159
|
:health_check_protocol,
|
1087
1160
|
:health_check_path,
|
1088
1161
|
:health_check_interval_seconds,
|
1089
|
-
:threshold_count
|
1162
|
+
:threshold_count,
|
1163
|
+
:port_overrides)
|
1164
|
+
SENSITIVE = []
|
1090
1165
|
include Aws::Structure
|
1091
1166
|
end
|
1092
1167
|
|
@@ -1099,6 +1174,7 @@ module Aws::GlobalAccelerator
|
|
1099
1174
|
#
|
1100
1175
|
class EndpointGroupAlreadyExistsException < Struct.new(
|
1101
1176
|
:message)
|
1177
|
+
SENSITIVE = []
|
1102
1178
|
include Aws::Structure
|
1103
1179
|
end
|
1104
1180
|
|
@@ -1111,6 +1187,7 @@ module Aws::GlobalAccelerator
|
|
1111
1187
|
#
|
1112
1188
|
class EndpointGroupNotFoundException < Struct.new(
|
1113
1189
|
:message)
|
1190
|
+
SENSITIVE = []
|
1114
1191
|
include Aws::Structure
|
1115
1192
|
end
|
1116
1193
|
|
@@ -1124,6 +1201,7 @@ module Aws::GlobalAccelerator
|
|
1124
1201
|
#
|
1125
1202
|
class IncorrectCidrStateException < Struct.new(
|
1126
1203
|
:message)
|
1204
|
+
SENSITIVE = []
|
1127
1205
|
include Aws::Structure
|
1128
1206
|
end
|
1129
1207
|
|
@@ -1136,6 +1214,7 @@ module Aws::GlobalAccelerator
|
|
1136
1214
|
#
|
1137
1215
|
class InternalServiceErrorException < Struct.new(
|
1138
1216
|
:message)
|
1217
|
+
SENSITIVE = []
|
1139
1218
|
include Aws::Structure
|
1140
1219
|
end
|
1141
1220
|
|
@@ -1148,6 +1227,7 @@ module Aws::GlobalAccelerator
|
|
1148
1227
|
#
|
1149
1228
|
class InvalidArgumentException < Struct.new(
|
1150
1229
|
:message)
|
1230
|
+
SENSITIVE = []
|
1151
1231
|
include Aws::Structure
|
1152
1232
|
end
|
1153
1233
|
|
@@ -1160,6 +1240,7 @@ module Aws::GlobalAccelerator
|
|
1160
1240
|
#
|
1161
1241
|
class InvalidNextTokenException < Struct.new(
|
1162
1242
|
:message)
|
1243
|
+
SENSITIVE = []
|
1163
1244
|
include Aws::Structure
|
1164
1245
|
end
|
1165
1246
|
|
@@ -1173,6 +1254,7 @@ module Aws::GlobalAccelerator
|
|
1173
1254
|
#
|
1174
1255
|
class InvalidPortRangeException < Struct.new(
|
1175
1256
|
:message)
|
1257
|
+
SENSITIVE = []
|
1176
1258
|
include Aws::Structure
|
1177
1259
|
end
|
1178
1260
|
|
@@ -1192,6 +1274,7 @@ module Aws::GlobalAccelerator
|
|
1192
1274
|
class IpSet < Struct.new(
|
1193
1275
|
:ip_family,
|
1194
1276
|
:ip_addresses)
|
1277
|
+
SENSITIVE = []
|
1195
1278
|
include Aws::Structure
|
1196
1279
|
end
|
1197
1280
|
|
@@ -1205,6 +1288,7 @@ module Aws::GlobalAccelerator
|
|
1205
1288
|
#
|
1206
1289
|
class LimitExceededException < Struct.new(
|
1207
1290
|
:message)
|
1291
|
+
SENSITIVE = []
|
1208
1292
|
include Aws::Structure
|
1209
1293
|
end
|
1210
1294
|
|
@@ -1231,6 +1315,7 @@ module Aws::GlobalAccelerator
|
|
1231
1315
|
class ListAcceleratorsRequest < Struct.new(
|
1232
1316
|
:max_results,
|
1233
1317
|
:next_token)
|
1318
|
+
SENSITIVE = []
|
1234
1319
|
include Aws::Structure
|
1235
1320
|
end
|
1236
1321
|
|
@@ -1248,6 +1333,7 @@ module Aws::GlobalAccelerator
|
|
1248
1333
|
class ListAcceleratorsResponse < Struct.new(
|
1249
1334
|
:accelerators,
|
1250
1335
|
:next_token)
|
1336
|
+
SENSITIVE = []
|
1251
1337
|
include Aws::Structure
|
1252
1338
|
end
|
1253
1339
|
|
@@ -1274,6 +1360,7 @@ module Aws::GlobalAccelerator
|
|
1274
1360
|
class ListByoipCidrsRequest < Struct.new(
|
1275
1361
|
:max_results,
|
1276
1362
|
:next_token)
|
1363
|
+
SENSITIVE = []
|
1277
1364
|
include Aws::Structure
|
1278
1365
|
end
|
1279
1366
|
|
@@ -1290,6 +1377,7 @@ module Aws::GlobalAccelerator
|
|
1290
1377
|
class ListByoipCidrsResponse < Struct.new(
|
1291
1378
|
:byoip_cidrs,
|
1292
1379
|
:next_token)
|
1380
|
+
SENSITIVE = []
|
1293
1381
|
include Aws::Structure
|
1294
1382
|
end
|
1295
1383
|
|
@@ -1322,6 +1410,7 @@ module Aws::GlobalAccelerator
|
|
1322
1410
|
:listener_arn,
|
1323
1411
|
:max_results,
|
1324
1412
|
:next_token)
|
1413
|
+
SENSITIVE = []
|
1325
1414
|
include Aws::Structure
|
1326
1415
|
end
|
1327
1416
|
|
@@ -1339,6 +1428,7 @@ module Aws::GlobalAccelerator
|
|
1339
1428
|
class ListEndpointGroupsResponse < Struct.new(
|
1340
1429
|
:endpoint_groups,
|
1341
1430
|
:next_token)
|
1431
|
+
SENSITIVE = []
|
1342
1432
|
include Aws::Structure
|
1343
1433
|
end
|
1344
1434
|
|
@@ -1372,6 +1462,7 @@ module Aws::GlobalAccelerator
|
|
1372
1462
|
:accelerator_arn,
|
1373
1463
|
:max_results,
|
1374
1464
|
:next_token)
|
1465
|
+
SENSITIVE = []
|
1375
1466
|
include Aws::Structure
|
1376
1467
|
end
|
1377
1468
|
|
@@ -1389,6 +1480,7 @@ module Aws::GlobalAccelerator
|
|
1389
1480
|
class ListListenersResponse < Struct.new(
|
1390
1481
|
:listeners,
|
1391
1482
|
:next_token)
|
1483
|
+
SENSITIVE = []
|
1392
1484
|
include Aws::Structure
|
1393
1485
|
end
|
1394
1486
|
|
@@ -1408,6 +1500,7 @@ module Aws::GlobalAccelerator
|
|
1408
1500
|
#
|
1409
1501
|
class ListTagsForResourceRequest < Struct.new(
|
1410
1502
|
:resource_arn)
|
1503
|
+
SENSITIVE = []
|
1411
1504
|
include Aws::Structure
|
1412
1505
|
end
|
1413
1506
|
|
@@ -1419,6 +1512,7 @@ module Aws::GlobalAccelerator
|
|
1419
1512
|
#
|
1420
1513
|
class ListTagsForResourceResponse < Struct.new(
|
1421
1514
|
:tags)
|
1515
|
+
SENSITIVE = []
|
1422
1516
|
include Aws::Structure
|
1423
1517
|
end
|
1424
1518
|
|
@@ -1440,7 +1534,7 @@ module Aws::GlobalAccelerator
|
|
1440
1534
|
# @!attribute [rw] client_affinity
|
1441
1535
|
# Client affinity lets you direct all requests from a user to the same
|
1442
1536
|
# endpoint, if you have stateful applications, regardless of the port
|
1443
|
-
# and protocol of the client request.
|
1537
|
+
# and protocol of the client request. Client affinity gives you
|
1444
1538
|
# control over whether to always route each client to the same
|
1445
1539
|
# specific endpoint.
|
1446
1540
|
#
|
@@ -1470,6 +1564,7 @@ module Aws::GlobalAccelerator
|
|
1470
1564
|
:port_ranges,
|
1471
1565
|
:protocol,
|
1472
1566
|
:client_affinity)
|
1567
|
+
SENSITIVE = []
|
1473
1568
|
include Aws::Structure
|
1474
1569
|
end
|
1475
1570
|
|
@@ -1482,6 +1577,49 @@ module Aws::GlobalAccelerator
|
|
1482
1577
|
#
|
1483
1578
|
class ListenerNotFoundException < Struct.new(
|
1484
1579
|
:message)
|
1580
|
+
SENSITIVE = []
|
1581
|
+
include Aws::Structure
|
1582
|
+
end
|
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 = []
|
1485
1623
|
include Aws::Structure
|
1486
1624
|
end
|
1487
1625
|
|
@@ -1508,6 +1646,7 @@ module Aws::GlobalAccelerator
|
|
1508
1646
|
class PortRange < Struct.new(
|
1509
1647
|
:from_port,
|
1510
1648
|
:to_port)
|
1649
|
+
SENSITIVE = []
|
1511
1650
|
include Aws::Structure
|
1512
1651
|
end
|
1513
1652
|
|
@@ -1539,6 +1678,7 @@ module Aws::GlobalAccelerator
|
|
1539
1678
|
class ProvisionByoipCidrRequest < Struct.new(
|
1540
1679
|
:cidr,
|
1541
1680
|
:cidr_authorization_context)
|
1681
|
+
SENSITIVE = []
|
1542
1682
|
include Aws::Structure
|
1543
1683
|
end
|
1544
1684
|
|
@@ -1550,6 +1690,7 @@ module Aws::GlobalAccelerator
|
|
1550
1690
|
#
|
1551
1691
|
class ProvisionByoipCidrResponse < Struct.new(
|
1552
1692
|
:byoip_cidr)
|
1693
|
+
SENSITIVE = []
|
1553
1694
|
include Aws::Structure
|
1554
1695
|
end
|
1555
1696
|
|
@@ -1576,6 +1717,7 @@ module Aws::GlobalAccelerator
|
|
1576
1717
|
class Tag < Struct.new(
|
1577
1718
|
:key,
|
1578
1719
|
:value)
|
1720
|
+
SENSITIVE = []
|
1579
1721
|
include Aws::Structure
|
1580
1722
|
end
|
1581
1723
|
|
@@ -1607,6 +1749,7 @@ module Aws::GlobalAccelerator
|
|
1607
1749
|
class TagResourceRequest < Struct.new(
|
1608
1750
|
:resource_arn,
|
1609
1751
|
:tags)
|
1752
|
+
SENSITIVE = []
|
1610
1753
|
include Aws::Structure
|
1611
1754
|
end
|
1612
1755
|
|
@@ -1637,6 +1780,7 @@ module Aws::GlobalAccelerator
|
|
1637
1780
|
class UntagResourceRequest < Struct.new(
|
1638
1781
|
:resource_arn,
|
1639
1782
|
:tag_keys)
|
1783
|
+
SENSITIVE = []
|
1640
1784
|
include Aws::Structure
|
1641
1785
|
end
|
1642
1786
|
|
@@ -1698,6 +1842,7 @@ module Aws::GlobalAccelerator
|
|
1698
1842
|
:flow_logs_enabled,
|
1699
1843
|
:flow_logs_s3_bucket,
|
1700
1844
|
:flow_logs_s3_prefix)
|
1845
|
+
SENSITIVE = []
|
1701
1846
|
include Aws::Structure
|
1702
1847
|
end
|
1703
1848
|
|
@@ -1709,6 +1854,7 @@ module Aws::GlobalAccelerator
|
|
1709
1854
|
#
|
1710
1855
|
class UpdateAcceleratorAttributesResponse < Struct.new(
|
1711
1856
|
:accelerator_attributes)
|
1857
|
+
SENSITIVE = []
|
1712
1858
|
include Aws::Structure
|
1713
1859
|
end
|
1714
1860
|
|
@@ -1751,6 +1897,7 @@ module Aws::GlobalAccelerator
|
|
1751
1897
|
:name,
|
1752
1898
|
:ip_address_type,
|
1753
1899
|
:enabled)
|
1900
|
+
SENSITIVE = []
|
1754
1901
|
include Aws::Structure
|
1755
1902
|
end
|
1756
1903
|
|
@@ -1762,6 +1909,7 @@ module Aws::GlobalAccelerator
|
|
1762
1909
|
#
|
1763
1910
|
class UpdateAcceleratorResponse < Struct.new(
|
1764
1911
|
:accelerator)
|
1912
|
+
SENSITIVE = []
|
1765
1913
|
include Aws::Structure
|
1766
1914
|
end
|
1767
1915
|
|
@@ -1783,6 +1931,12 @@ module Aws::GlobalAccelerator
|
|
1783
1931
|
# health_check_path: "GenericString",
|
1784
1932
|
# health_check_interval_seconds: 1,
|
1785
1933
|
# threshold_count: 1,
|
1934
|
+
# port_overrides: [
|
1935
|
+
# {
|
1936
|
+
# listener_port: 1,
|
1937
|
+
# endpoint_port: 1,
|
1938
|
+
# },
|
1939
|
+
# ],
|
1786
1940
|
# }
|
1787
1941
|
#
|
1788
1942
|
# @!attribute [rw] endpoint_group_arn
|
@@ -1790,7 +1944,8 @@ module Aws::GlobalAccelerator
|
|
1790
1944
|
# @return [String]
|
1791
1945
|
#
|
1792
1946
|
# @!attribute [rw] endpoint_configurations
|
1793
|
-
# 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.
|
1794
1949
|
# @return [Array<Types::EndpointConfiguration>]
|
1795
1950
|
#
|
1796
1951
|
# @!attribute [rw] traffic_dial_percentage
|
@@ -1836,6 +1991,21 @@ module Aws::GlobalAccelerator
|
|
1836
1991
|
# healthy. The default value is 3.
|
1837
1992
|
# @return [Integer]
|
1838
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
|
+
#
|
1839
2009
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroupRequest AWS API Documentation
|
1840
2010
|
#
|
1841
2011
|
class UpdateEndpointGroupRequest < Struct.new(
|
@@ -1846,7 +2016,9 @@ module Aws::GlobalAccelerator
|
|
1846
2016
|
:health_check_protocol,
|
1847
2017
|
:health_check_path,
|
1848
2018
|
:health_check_interval_seconds,
|
1849
|
-
:threshold_count
|
2019
|
+
:threshold_count,
|
2020
|
+
:port_overrides)
|
2021
|
+
SENSITIVE = []
|
1850
2022
|
include Aws::Structure
|
1851
2023
|
end
|
1852
2024
|
|
@@ -1858,6 +2030,7 @@ module Aws::GlobalAccelerator
|
|
1858
2030
|
#
|
1859
2031
|
class UpdateEndpointGroupResponse < Struct.new(
|
1860
2032
|
:endpoint_group)
|
2033
|
+
SENSITIVE = []
|
1861
2034
|
include Aws::Structure
|
1862
2035
|
end
|
1863
2036
|
|
@@ -1893,7 +2066,7 @@ module Aws::GlobalAccelerator
|
|
1893
2066
|
# @!attribute [rw] client_affinity
|
1894
2067
|
# Client affinity lets you direct all requests from a user to the same
|
1895
2068
|
# endpoint, if you have stateful applications, regardless of the port
|
1896
|
-
# and protocol of the client request.
|
2069
|
+
# and protocol of the client request. Client affinity gives you
|
1897
2070
|
# control over whether to always route each client to the same
|
1898
2071
|
# specific endpoint.
|
1899
2072
|
#
|
@@ -1923,6 +2096,7 @@ module Aws::GlobalAccelerator
|
|
1923
2096
|
:port_ranges,
|
1924
2097
|
:protocol,
|
1925
2098
|
:client_affinity)
|
2099
|
+
SENSITIVE = []
|
1926
2100
|
include Aws::Structure
|
1927
2101
|
end
|
1928
2102
|
|
@@ -1934,6 +2108,7 @@ module Aws::GlobalAccelerator
|
|
1934
2108
|
#
|
1935
2109
|
class UpdateListenerResponse < Struct.new(
|
1936
2110
|
:listener)
|
2111
|
+
SENSITIVE = []
|
1937
2112
|
include Aws::Structure
|
1938
2113
|
end
|
1939
2114
|
|
@@ -1952,6 +2127,7 @@ module Aws::GlobalAccelerator
|
|
1952
2127
|
#
|
1953
2128
|
class WithdrawByoipCidrRequest < Struct.new(
|
1954
2129
|
:cidr)
|
2130
|
+
SENSITIVE = []
|
1955
2131
|
include Aws::Structure
|
1956
2132
|
end
|
1957
2133
|
|
@@ -1963,6 +2139,7 @@ module Aws::GlobalAccelerator
|
|
1963
2139
|
#
|
1964
2140
|
class WithdrawByoipCidrResponse < Struct.new(
|
1965
2141
|
:byoip_cidr)
|
2142
|
+
SENSITIVE = []
|
1966
2143
|
include Aws::Structure
|
1967
2144
|
end
|
1968
2145
|
|
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.24.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
|