aws-sdk-globalaccelerator 1.10.0 → 1.11.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
  SHA1:
3
- metadata.gz: 017de26bd9441da470bac25b9bf5cac85796f79f
4
- data.tar.gz: c795c04eb2684d52156b25d13cde9424f4d35bf2
3
+ metadata.gz: f7d52546940fb33ad73be154da1bb2d6bcd4033c
4
+ data.tar.gz: c88eed3e892a789e8743dbbea8329e30ab47553d
5
5
  SHA512:
6
- metadata.gz: 7d5f6e5b7ddcf89209f73f91bb357ea819a84083b56ef8579d9286a6f765c963590082ee9f855a27dd9e3b73437b3da5b0f3d562ac2ca46ab9b62e7dcf9c519e
7
- data.tar.gz: 2415fcc7d87fefadc324e45820cfbd37c21c9f6f6302e6b96055290761b8464c6ff79fb77622e267b90e70ef969b8f45b6624e008feffe30f13f0d53b4e5e69c
6
+ metadata.gz: 6ecd4e818ca7b1e050b74ae4ea8abde95a4acf0fc239ad907d0bbab51460eabd4a675994fbba04b604e47dfc91f4b1933c7fca1728294fe517cdd1162639caf6
7
+ data.tar.gz: de5b4479d881639cae309ac4dceecc716bb2d6b50796f1e2e40c1968636158368420ffb8e5b73aacef09b9346748f57093ea641d71c07221debcca483b7d5025
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
42
42
  # @service
43
43
  module Aws::GlobalAccelerator
44
44
 
45
- GEM_VERSION = '1.10.0'
45
+ GEM_VERSION = '1.11.0'
46
46
 
47
47
  end
@@ -270,6 +270,9 @@ module Aws::GlobalAccelerator
270
270
  # Load Balancers. To see an AWS CLI example of creating an accelerator,
271
271
  # scroll down to **Example**.
272
272
  #
273
+ # You must specify the US-West-2 (Oregon) Region to create or update
274
+ # accelerators.
275
+ #
273
276
  # @option params [required, String] :name
274
277
  # The name of an accelerator. The name can have a maximum of 32
275
278
  # characters, must contain only alphanumeric characters or hyphens (-),
@@ -392,6 +395,7 @@ module Aws::GlobalAccelerator
392
395
  # {
393
396
  # endpoint_id: "GenericString",
394
397
  # weight: 1,
398
+ # client_ip_preservation_enabled: false,
395
399
  # },
396
400
  # ],
397
401
  # traffic_dial_percentage: 1.0,
@@ -412,6 +416,7 @@ module Aws::GlobalAccelerator
412
416
  # resp.endpoint_group.endpoint_descriptions[0].weight #=> Integer
413
417
  # resp.endpoint_group.endpoint_descriptions[0].health_state #=> String, one of "INITIAL", "HEALTHY", "UNHEALTHY"
414
418
  # resp.endpoint_group.endpoint_descriptions[0].health_reason #=> String
419
+ # resp.endpoint_group.endpoint_descriptions[0].client_ip_preservation_enabled #=> Boolean
415
420
  # resp.endpoint_group.traffic_dial_percentage #=> Float
416
421
  # resp.endpoint_group.health_check_port #=> Integer
417
422
  # resp.endpoint_group.health_check_protocol #=> String, one of "TCP", "HTTP", "HTTPS"
@@ -618,9 +623,9 @@ module Aws::GlobalAccelerator
618
623
 
619
624
  # Describe the attributes of an accelerator.
620
625
  #
621
- # @option params [String] :accelerator_arn
626
+ # @option params [required, String] :accelerator_arn
622
627
  # The Amazon Resource Name (ARN) of the accelerator with the attributes
623
- # that you want to describe. Value is required.
628
+ # that you want to describe.
624
629
  #
625
630
  # @return [Types::DescribeAcceleratorAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
626
631
  #
@@ -629,7 +634,7 @@ module Aws::GlobalAccelerator
629
634
  # @example Request syntax with placeholder values
630
635
  #
631
636
  # resp = client.describe_accelerator_attributes({
632
- # accelerator_arn: "GenericString",
637
+ # accelerator_arn: "GenericString", # required
633
638
  # })
634
639
  #
635
640
  # @example Response structure
@@ -671,6 +676,7 @@ module Aws::GlobalAccelerator
671
676
  # resp.endpoint_group.endpoint_descriptions[0].weight #=> Integer
672
677
  # resp.endpoint_group.endpoint_descriptions[0].health_state #=> String, one of "INITIAL", "HEALTHY", "UNHEALTHY"
673
678
  # resp.endpoint_group.endpoint_descriptions[0].health_reason #=> String
679
+ # resp.endpoint_group.endpoint_descriptions[0].client_ip_preservation_enabled #=> Boolean
674
680
  # resp.endpoint_group.traffic_dial_percentage #=> Float
675
681
  # resp.endpoint_group.health_check_port #=> Integer
676
682
  # resp.endpoint_group.health_check_protocol #=> String, one of "TCP", "HTTP", "HTTPS"
@@ -803,6 +809,7 @@ module Aws::GlobalAccelerator
803
809
  # resp.endpoint_groups[0].endpoint_descriptions[0].weight #=> Integer
804
810
  # resp.endpoint_groups[0].endpoint_descriptions[0].health_state #=> String, one of "INITIAL", "HEALTHY", "UNHEALTHY"
805
811
  # resp.endpoint_groups[0].endpoint_descriptions[0].health_reason #=> String
812
+ # resp.endpoint_groups[0].endpoint_descriptions[0].client_ip_preservation_enabled #=> Boolean
806
813
  # resp.endpoint_groups[0].traffic_dial_percentage #=> Float
807
814
  # resp.endpoint_groups[0].health_check_port #=> Integer
808
815
  # resp.endpoint_groups[0].health_check_protocol #=> String, one of "TCP", "HTTP", "HTTPS"
@@ -867,7 +874,11 @@ module Aws::GlobalAccelerator
867
874
  req.send_request(options)
868
875
  end
869
876
 
870
- # Update an accelerator.
877
+ # Update an accelerator. To see an AWS CLI example of updating an
878
+ # accelerator, scroll down to **Example**.
879
+ #
880
+ # You must specify the US-West-2 (Oregon) Region to create or update
881
+ # accelerators.
871
882
  #
872
883
  # @option params [required, String] :accelerator_arn
873
884
  # The Amazon Resource Name (ARN) of the accelerator to update.
@@ -927,9 +938,9 @@ module Aws::GlobalAccelerator
927
938
  # updating an accelerator to enable flow logs, scroll down to
928
939
  # **Example**.
929
940
  #
930
- # @option params [String] :accelerator_arn
941
+ # @option params [required, String] :accelerator_arn
931
942
  # The Amazon Resource Name (ARN) of the accelerator that you want to
932
- # update. Attribute is required.
943
+ # update.
933
944
  #
934
945
  # @option params [Boolean] :flow_logs_enabled
935
946
  # Update whether flow logs are enabled. The default value is false. If
@@ -962,7 +973,7 @@ module Aws::GlobalAccelerator
962
973
  # @example Request syntax with placeholder values
963
974
  #
964
975
  # resp = client.update_accelerator_attributes({
965
- # accelerator_arn: "GenericString",
976
+ # accelerator_arn: "GenericString", # required
966
977
  # flow_logs_enabled: false,
967
978
  # flow_logs_s3_bucket: "GenericString",
968
979
  # flow_logs_s3_prefix: "GenericString",
@@ -1040,6 +1051,7 @@ module Aws::GlobalAccelerator
1040
1051
  # {
1041
1052
  # endpoint_id: "GenericString",
1042
1053
  # weight: 1,
1054
+ # client_ip_preservation_enabled: false,
1043
1055
  # },
1044
1056
  # ],
1045
1057
  # traffic_dial_percentage: 1.0,
@@ -1059,6 +1071,7 @@ module Aws::GlobalAccelerator
1059
1071
  # resp.endpoint_group.endpoint_descriptions[0].weight #=> Integer
1060
1072
  # resp.endpoint_group.endpoint_descriptions[0].health_state #=> String, one of "INITIAL", "HEALTHY", "UNHEALTHY"
1061
1073
  # resp.endpoint_group.endpoint_descriptions[0].health_reason #=> String
1074
+ # resp.endpoint_group.endpoint_descriptions[0].client_ip_preservation_enabled #=> Boolean
1062
1075
  # resp.endpoint_group.traffic_dial_percentage #=> Float
1063
1076
  # resp.endpoint_group.health_check_port #=> Integer
1064
1077
  # resp.endpoint_group.health_check_protocol #=> String, one of "TCP", "HTTP", "HTTPS"
@@ -1162,7 +1175,7 @@ module Aws::GlobalAccelerator
1162
1175
  params: params,
1163
1176
  config: config)
1164
1177
  context[:gem_name] = 'aws-sdk-globalaccelerator'
1165
- context[:gem_version] = '1.10.0'
1178
+ context[:gem_version] = '1.11.0'
1166
1179
  Seahorse::Client::Request.new(handlers, context)
1167
1180
  end
1168
1181
 
@@ -17,6 +17,7 @@ module Aws::GlobalAccelerator
17
17
  AcceleratorNotFoundException = Shapes::StructureShape.new(name: 'AcceleratorNotFoundException')
18
18
  AcceleratorStatus = Shapes::StringShape.new(name: 'AcceleratorStatus')
19
19
  Accelerators = Shapes::ListShape.new(name: 'Accelerators')
20
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
20
21
  AssociatedEndpointGroupFoundException = Shapes::StructureShape.new(name: 'AssociatedEndpointGroupFoundException')
21
22
  AssociatedListenerFoundException = Shapes::StructureShape.new(name: 'AssociatedListenerFoundException')
22
23
  ClientAffinity = Shapes::StringShape.new(name: 'ClientAffinity')
@@ -113,6 +114,9 @@ module Aws::GlobalAccelerator
113
114
 
114
115
  Accelerators.member = Shapes::ShapeRef.new(shape: Accelerator)
115
116
 
117
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
118
+ AccessDeniedException.struct_class = Types::AccessDeniedException
119
+
116
120
  AssociatedEndpointGroupFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
117
121
  AssociatedEndpointGroupFoundException.struct_class = Types::AssociatedEndpointGroupFoundException
118
122
 
@@ -162,7 +166,7 @@ module Aws::GlobalAccelerator
162
166
  DeleteListenerRequest.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ListenerArn"))
163
167
  DeleteListenerRequest.struct_class = Types::DeleteListenerRequest
164
168
 
165
- DescribeAcceleratorAttributesRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "AcceleratorArn"))
169
+ DescribeAcceleratorAttributesRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AcceleratorArn"))
166
170
  DescribeAcceleratorAttributesRequest.struct_class = Types::DescribeAcceleratorAttributesRequest
167
171
 
168
172
  DescribeAcceleratorAttributesResponse.add_member(:accelerator_attributes, Shapes::ShapeRef.new(shape: AcceleratorAttributes, location_name: "AcceleratorAttributes"))
@@ -188,6 +192,7 @@ module Aws::GlobalAccelerator
188
192
 
189
193
  EndpointConfiguration.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointId"))
190
194
  EndpointConfiguration.add_member(:weight, Shapes::ShapeRef.new(shape: EndpointWeight, location_name: "Weight"))
195
+ EndpointConfiguration.add_member(:client_ip_preservation_enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "ClientIPPreservationEnabled"))
191
196
  EndpointConfiguration.struct_class = Types::EndpointConfiguration
192
197
 
193
198
  EndpointConfigurations.member = Shapes::ShapeRef.new(shape: EndpointConfiguration)
@@ -196,6 +201,7 @@ module Aws::GlobalAccelerator
196
201
  EndpointDescription.add_member(:weight, Shapes::ShapeRef.new(shape: EndpointWeight, location_name: "Weight"))
197
202
  EndpointDescription.add_member(:health_state, Shapes::ShapeRef.new(shape: HealthState, location_name: "HealthState"))
198
203
  EndpointDescription.add_member(:health_reason, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthReason"))
204
+ EndpointDescription.add_member(:client_ip_preservation_enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "ClientIPPreservationEnabled"))
199
205
  EndpointDescription.struct_class = Types::EndpointDescription
200
206
 
201
207
  EndpointDescriptions.member = Shapes::ShapeRef.new(shape: EndpointDescription)
@@ -285,7 +291,7 @@ module Aws::GlobalAccelerator
285
291
 
286
292
  PortRanges.member = Shapes::ShapeRef.new(shape: PortRange)
287
293
 
288
- UpdateAcceleratorAttributesRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "AcceleratorArn"))
294
+ UpdateAcceleratorAttributesRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AcceleratorArn"))
289
295
  UpdateAcceleratorAttributesRequest.add_member(:flow_logs_enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "FlowLogsEnabled"))
290
296
  UpdateAcceleratorAttributesRequest.add_member(:flow_logs_s3_bucket, Shapes::ShapeRef.new(shape: GenericString, location_name: "FlowLogsS3Bucket"))
291
297
  UpdateAcceleratorAttributesRequest.add_member(:flow_logs_s3_prefix, Shapes::ShapeRef.new(shape: GenericString, location_name: "FlowLogsS3Prefix"))
@@ -367,6 +373,7 @@ module Aws::GlobalAccelerator
367
373
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
368
374
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
369
375
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
376
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
370
377
  end)
371
378
 
372
379
  api.add_operation(:create_listener, Seahorse::Model::Operation.new.tap do |o|
@@ -401,6 +408,7 @@ module Aws::GlobalAccelerator
401
408
  o.http_request_uri = "/"
402
409
  o.input = Shapes::ShapeRef.new(shape: DeleteEndpointGroupRequest)
403
410
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
411
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
404
412
  o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
405
413
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
406
414
  end)
@@ -411,6 +419,7 @@ module Aws::GlobalAccelerator
411
419
  o.http_request_uri = "/"
412
420
  o.input = Shapes::ShapeRef.new(shape: DeleteListenerRequest)
413
421
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
422
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
414
423
  o.errors << Shapes::ShapeRef.new(shape: ListenerNotFoundException)
415
424
  o.errors << Shapes::ShapeRef.new(shape: AssociatedEndpointGroupFoundException)
416
425
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
@@ -444,6 +453,7 @@ module Aws::GlobalAccelerator
444
453
  o.http_request_uri = "/"
445
454
  o.input = Shapes::ShapeRef.new(shape: DescribeEndpointGroupRequest)
446
455
  o.output = Shapes::ShapeRef.new(shape: DescribeEndpointGroupResponse)
456
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
447
457
  o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
448
458
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
449
459
  end)
@@ -465,6 +475,7 @@ module Aws::GlobalAccelerator
465
475
  o.http_request_uri = "/"
466
476
  o.input = Shapes::ShapeRef.new(shape: ListAcceleratorsRequest)
467
477
  o.output = Shapes::ShapeRef.new(shape: ListAcceleratorsResponse)
478
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
468
479
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
469
480
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
470
481
  end)
@@ -487,6 +498,7 @@ module Aws::GlobalAccelerator
487
498
  o.http_request_uri = "/"
488
499
  o.input = Shapes::ShapeRef.new(shape: ListListenersRequest)
489
500
  o.output = Shapes::ShapeRef.new(shape: ListListenersResponse)
501
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
490
502
  o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
491
503
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
492
504
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
@@ -512,6 +524,7 @@ module Aws::GlobalAccelerator
512
524
  o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
513
525
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
514
526
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
527
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
515
528
  end)
516
529
 
517
530
  api.add_operation(:update_endpoint_group, Seahorse::Model::Operation.new.tap do |o|
@@ -524,6 +537,7 @@ module Aws::GlobalAccelerator
524
537
  o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
525
538
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
526
539
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
540
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
527
541
  end)
528
542
 
529
543
  api.add_operation(:update_listener, Seahorse::Model::Operation.new.tap do |o|
@@ -42,6 +42,22 @@ module Aws::GlobalAccelerator
42
42
 
43
43
  end
44
44
 
45
+ class AccessDeniedException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::GlobalAccelerator::Types::AccessDeniedException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
45
61
  class AssociatedEndpointGroupFoundException < ServiceError
46
62
 
47
63
  # @param [Seahorse::Client::RequestContext] context
@@ -18,9 +18,8 @@ module Aws::GlobalAccelerator
18
18
  # @return [String]
19
19
  #
20
20
  # @!attribute [rw] name
21
- # The name of the accelerator. The name can have a maximum of 32
22
- # characters, must contain only alphanumeric characters or hyphens
23
- # (-), and must not begin or end with a hyphen.
21
+ # The name of the accelerator. The name must contain only alphanumeric
22
+ # characters or hyphens (-), and must not begin or end with a hyphen.
24
23
  # @return [String]
25
24
  #
26
25
  # @!attribute [rw] ip_address_type
@@ -28,7 +27,7 @@ module Aws::GlobalAccelerator
28
27
  # @return [String]
29
28
  #
30
29
  # @!attribute [rw] enabled
31
- # Indicates whether theaccelerator is enabled. The value is true or
30
+ # Indicates whether the accelerator is enabled. The value is true or
32
31
  # false. The default value is true.
33
32
  #
34
33
  # If the value is set to true, the accelerator cannot be deleted. If
@@ -36,7 +35,8 @@ module Aws::GlobalAccelerator
36
35
  # @return [Boolean]
37
36
  #
38
37
  # @!attribute [rw] ip_sets
39
- # IP address set associated with the accelerator.
38
+ # The static IP addresses that Global Accelerator associates with the
39
+ # accelerator.
40
40
  # @return [Array<Types::IpSet>]
41
41
  #
42
42
  # @!attribute [rw] status
@@ -127,6 +127,18 @@ module Aws::GlobalAccelerator
127
127
  include Aws::Structure
128
128
  end
129
129
 
130
+ # You don't have access permission.
131
+ #
132
+ # @!attribute [rw] message
133
+ # @return [String]
134
+ #
135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AccessDeniedException AWS API Documentation
136
+ #
137
+ class AccessDeniedException < Struct.new(
138
+ :message)
139
+ include Aws::Structure
140
+ end
141
+
130
142
  # The listener that you specified has an endpoint group associated with
131
143
  # it. You must remove all dependent resources from a listener before you
132
144
  # can delete it.
@@ -220,6 +232,7 @@ module Aws::GlobalAccelerator
220
232
  # {
221
233
  # endpoint_id: "GenericString",
222
234
  # weight: 1,
235
+ # client_ip_preservation_enabled: false,
223
236
  # },
224
237
  # ],
225
238
  # traffic_dial_percentage: 1.0,
@@ -459,12 +472,12 @@ module Aws::GlobalAccelerator
459
472
  # data as a hash:
460
473
  #
461
474
  # {
462
- # accelerator_arn: "GenericString",
475
+ # accelerator_arn: "GenericString", # required
463
476
  # }
464
477
  #
465
478
  # @!attribute [rw] accelerator_arn
466
479
  # The Amazon Resource Name (ARN) of the accelerator with the
467
- # attributes that you want to describe. Value is required.
480
+ # attributes that you want to describe.
468
481
  # @return [String]
469
482
  #
470
483
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAcceleratorAttributesRequest AWS API Documentation
@@ -580,6 +593,7 @@ module Aws::GlobalAccelerator
580
593
  # {
581
594
  # endpoint_id: "GenericString",
582
595
  # weight: 1,
596
+ # client_ip_preservation_enabled: false,
583
597
  # }
584
598
  #
585
599
  # @!attribute [rw] endpoint_id
@@ -605,11 +619,31 @@ module Aws::GlobalAccelerator
605
619
  # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html
606
620
  # @return [Integer]
607
621
  #
622
+ # @!attribute [rw] client_ip_preservation_enabled
623
+ # Indicates whether client IP address preservation is enabled for an
624
+ # Application Load Balancer endpoint. The value is true or false. The
625
+ # default value is true for new accelerators.
626
+ #
627
+ # If the value is set to true, the client's IP address is preserved
628
+ # in the `X-Forwarded-For` request header as traffic travels to
629
+ # applications on the Application Load Balancer endpoint fronted by
630
+ # the accelerator.
631
+ #
632
+ # For more information, see [ Viewing Client IP Addresses in AWS
633
+ # Global Accelerator][1] in the *AWS Global Accelerator Developer
634
+ # Guide*.
635
+ #
636
+ #
637
+ #
638
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/introduction-how-it-works-client-ip.html
639
+ # @return [Boolean]
640
+ #
608
641
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/EndpointConfiguration AWS API Documentation
609
642
  #
610
643
  class EndpointConfiguration < Struct.new(
611
644
  :endpoint_id,
612
- :weight)
645
+ :weight,
646
+ :client_ip_preservation_enabled)
613
647
  include Aws::Structure
614
648
  end
615
649
 
@@ -620,7 +654,8 @@ module Aws::GlobalAccelerator
620
654
  # An ID for the endpoint. If the endpoint is a Network Load Balancer
621
655
  # or Application Load Balancer, this is the Amazon Resource Name (ARN)
622
656
  # of the resource. If the endpoint is an Elastic IP address, this is
623
- # the Elastic IP address allocation ID.
657
+ # the Elastic IP address allocation ID. An Application Load Balancer
658
+ # can be either internal or internet-facing.
624
659
  # @return [String]
625
660
  #
626
661
  # @!attribute [rw] weight
@@ -667,13 +702,33 @@ module Aws::GlobalAccelerator
667
702
  # required to determine its health status.
668
703
  # @return [String]
669
704
  #
705
+ # @!attribute [rw] client_ip_preservation_enabled
706
+ # Indicates whether client IP address preservation is enabled for an
707
+ # Application Load Balancer endpoint. The value is true or false. The
708
+ # default value is true for new accelerators.
709
+ #
710
+ # If the value is set to true, the client's IP address is preserved
711
+ # in the `X-Forwarded-For` request header as traffic travels to
712
+ # applications on the Application Load Balancer endpoint fronted by
713
+ # the accelerator.
714
+ #
715
+ # For more information, see [ Viewing Client IP Addresses in AWS
716
+ # Global Accelerator][1] in the *AWS Global Accelerator Developer
717
+ # Guide*.
718
+ #
719
+ #
720
+ #
721
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/introduction-how-it-works-client-ip.html
722
+ # @return [Boolean]
723
+ #
670
724
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/EndpointDescription AWS API Documentation
671
725
  #
672
726
  class EndpointDescription < Struct.new(
673
727
  :endpoint_id,
674
728
  :weight,
675
729
  :health_state,
676
- :health_reason)
730
+ :health_reason,
731
+ :client_ip_preservation_enabled)
677
732
  include Aws::Structure
678
733
  end
679
734
 
@@ -1091,7 +1146,7 @@ module Aws::GlobalAccelerator
1091
1146
  # data as a hash:
1092
1147
  #
1093
1148
  # {
1094
- # accelerator_arn: "GenericString",
1149
+ # accelerator_arn: "GenericString", # required
1095
1150
  # flow_logs_enabled: false,
1096
1151
  # flow_logs_s3_bucket: "GenericString",
1097
1152
  # flow_logs_s3_prefix: "GenericString",
@@ -1099,7 +1154,7 @@ module Aws::GlobalAccelerator
1099
1154
  #
1100
1155
  # @!attribute [rw] accelerator_arn
1101
1156
  # The Amazon Resource Name (ARN) of the accelerator that you want to
1102
- # update. Attribute is required.
1157
+ # update.
1103
1158
  # @return [String]
1104
1159
  #
1105
1160
  # @!attribute [rw] flow_logs_enabled
@@ -1212,6 +1267,7 @@ module Aws::GlobalAccelerator
1212
1267
  # {
1213
1268
  # endpoint_id: "GenericString",
1214
1269
  # weight: 1,
1270
+ # client_ip_preservation_enabled: false,
1215
1271
  # },
1216
1272
  # ],
1217
1273
  # traffic_dial_percentage: 1.0,
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.10.0
4
+ version: 1.11.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: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core