aws-sdk-elasticloadbalancingv2 1.37.0 → 1.38.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: 185bace8d658caf502801117692bf048bae6a08c
4
- data.tar.gz: 6ca23a448e549df740aeb5da1ac4bf84862e03fb
3
+ metadata.gz: 43d7111d9f5775a51db51a09e9f0248c56ce2a52
4
+ data.tar.gz: 7f5938d16388615e884428034de29888f2b5df8d
5
5
  SHA512:
6
- metadata.gz: dcb48a45915e093d02884a3a6c16a1c0370520d7ce6700c935be387bae612a300cf6d3254042bdab6302772336ab68821fb4662c755bd581e73973607be3fec6
7
- data.tar.gz: 1f3a21d37c2c00e23ed30ef9aa7668d138e31670117f4579e6f779061f75a2d520c44cb994230e761bea1ec8c9e309b87bc74050f0b5a2aaafdc9d9b1a3441dc
6
+ metadata.gz: '09e012b962db01457647d401b45abf6f6aef79324c7f9316a6403c588ba69276d0736dd5aaf3562397c8e489f87282df6f9e71442665b33df00078f9d43b1730'
7
+ data.tar.gz: 77eaeaa7bef68a95e7da1f7b4d1d7fb20002bb4617b7e0a92098686169a18b90874a706e9841fbfa7ee3aaa97076f4da5008f112a0a9c3b2bff5694133d7e498
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
43
43
  # @service
44
44
  module Aws::ElasticLoadBalancingV2
45
45
 
46
- GEM_VERSION = '1.37.0'
46
+ GEM_VERSION = '1.38.0'
47
47
 
48
48
  end
@@ -421,10 +421,10 @@ module Aws::ElasticLoadBalancingV2
421
421
  # The actions for the default rule. The rule must include one forward
422
422
  # action or one or more fixed-response actions.
423
423
  #
424
- # If the action type is `forward`, you specify a target group. The
425
- # protocol of the target group must be HTTP or HTTPS for an Application
426
- # Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
427
- # or TCP\_UDP for a Network Load Balancer.
424
+ # If the action type is `forward`, you specify one or more target
425
+ # groups. The protocol of the target group must be HTTP or HTTPS for an
426
+ # Application Load Balancer. The protocol of the target group must be
427
+ # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
428
428
  #
429
429
  # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
430
430
  # authenticate users through an identity provider that is OpenID Connect
@@ -587,6 +587,18 @@ module Aws::ElasticLoadBalancingV2
587
587
  # status_code: "FixedResponseActionStatusCode", # required
588
588
  # content_type: "FixedResponseActionContentType",
589
589
  # },
590
+ # forward_config: {
591
+ # target_groups: [
592
+ # {
593
+ # target_group_arn: "TargetGroupArn",
594
+ # weight: 1,
595
+ # },
596
+ # ],
597
+ # target_group_stickiness_config: {
598
+ # enabled: false,
599
+ # duration_seconds: 1,
600
+ # },
601
+ # },
590
602
  # },
591
603
  # ],
592
604
  # })
@@ -637,6 +649,11 @@ module Aws::ElasticLoadBalancingV2
637
649
  # resp.listeners[0].default_actions[0].fixed_response_config.message_body #=> String
638
650
  # resp.listeners[0].default_actions[0].fixed_response_config.status_code #=> String
639
651
  # resp.listeners[0].default_actions[0].fixed_response_config.content_type #=> String
652
+ # resp.listeners[0].default_actions[0].forward_config.target_groups #=> Array
653
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].target_group_arn #=> String
654
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
655
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
656
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
640
657
  #
641
658
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener AWS API Documentation
642
659
  #
@@ -925,10 +942,10 @@ module Aws::ElasticLoadBalancingV2
925
942
  # of actions: `forward`, `fixed-response`, or `redirect`, and it must be
926
943
  # the last action to be performed.
927
944
  #
928
- # If the action type is `forward`, you specify a target group. The
929
- # protocol of the target group must be HTTP or HTTPS for an Application
930
- # Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
931
- # or TCP\_UDP for a Network Load Balancer.
945
+ # If the action type is `forward`, you specify one or more target
946
+ # groups. The protocol of the target group must be HTTP or HTTPS for an
947
+ # Application Load Balancer. The protocol of the target group must be
948
+ # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
932
949
  #
933
950
  # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
934
951
  # authenticate users through an identity provider that is OpenID Connect
@@ -1078,6 +1095,18 @@ module Aws::ElasticLoadBalancingV2
1078
1095
  # status_code: "FixedResponseActionStatusCode", # required
1079
1096
  # content_type: "FixedResponseActionContentType",
1080
1097
  # },
1098
+ # forward_config: {
1099
+ # target_groups: [
1100
+ # {
1101
+ # target_group_arn: "TargetGroupArn",
1102
+ # weight: 1,
1103
+ # },
1104
+ # ],
1105
+ # target_group_stickiness_config: {
1106
+ # enabled: false,
1107
+ # duration_seconds: 1,
1108
+ # },
1109
+ # },
1081
1110
  # },
1082
1111
  # ],
1083
1112
  # })
@@ -1140,6 +1169,11 @@ module Aws::ElasticLoadBalancingV2
1140
1169
  # resp.rules[0].actions[0].fixed_response_config.message_body #=> String
1141
1170
  # resp.rules[0].actions[0].fixed_response_config.status_code #=> String
1142
1171
  # resp.rules[0].actions[0].fixed_response_config.content_type #=> String
1172
+ # resp.rules[0].actions[0].forward_config.target_groups #=> Array
1173
+ # resp.rules[0].actions[0].forward_config.target_groups[0].target_group_arn #=> String
1174
+ # resp.rules[0].actions[0].forward_config.target_groups[0].weight #=> Integer
1175
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
1176
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
1143
1177
  # resp.rules[0].is_default #=> Boolean
1144
1178
  #
1145
1179
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule AWS API Documentation
@@ -1766,6 +1800,11 @@ module Aws::ElasticLoadBalancingV2
1766
1800
  # resp.listeners[0].default_actions[0].fixed_response_config.message_body #=> String
1767
1801
  # resp.listeners[0].default_actions[0].fixed_response_config.status_code #=> String
1768
1802
  # resp.listeners[0].default_actions[0].fixed_response_config.content_type #=> String
1803
+ # resp.listeners[0].default_actions[0].forward_config.target_groups #=> Array
1804
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].target_group_arn #=> String
1805
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
1806
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
1807
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
1769
1808
  # resp.next_marker #=> String
1770
1809
  #
1771
1810
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners AWS API Documentation
@@ -2086,6 +2125,11 @@ module Aws::ElasticLoadBalancingV2
2086
2125
  # resp.rules[0].actions[0].fixed_response_config.message_body #=> String
2087
2126
  # resp.rules[0].actions[0].fixed_response_config.status_code #=> String
2088
2127
  # resp.rules[0].actions[0].fixed_response_config.content_type #=> String
2128
+ # resp.rules[0].actions[0].forward_config.target_groups #=> Array
2129
+ # resp.rules[0].actions[0].forward_config.target_groups[0].target_group_arn #=> String
2130
+ # resp.rules[0].actions[0].forward_config.target_groups[0].weight #=> Integer
2131
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
2132
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
2089
2133
  # resp.rules[0].is_default #=> Boolean
2090
2134
  # resp.next_marker #=> String
2091
2135
  #
@@ -2609,13 +2653,18 @@ module Aws::ElasticLoadBalancingV2
2609
2653
  req.send_request(options)
2610
2654
  end
2611
2655
 
2612
- # Modifies the specified properties of the specified listener.
2656
+ # Replaces the specified properties of the specified listener. Any
2657
+ # properties that you do not specify remain unchanged.
2658
+ #
2659
+ # Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes
2660
+ # the security policy and default certificate properties. If you change
2661
+ # the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the
2662
+ # security policy and default certificate properties.
2613
2663
  #
2614
- # Any properties that you do not specify retain their current values.
2615
- # However, changing the protocol from HTTPS to HTTP, or from TLS to TCP,
2616
- # removes the security policy and default certificate properties. If you
2617
- # change the protocol from HTTP to HTTPS, or from TCP to TLS, you must
2618
- # add the security policy and default certificate properties.
2664
+ # To add an item to a list, remove an item from a list, or update an
2665
+ # item in a list, you must provide the entire list. For example, to add
2666
+ # an action, specify a list with the current actions plus the new
2667
+ # action.
2619
2668
  #
2620
2669
  # @option params [required, String] :listener_arn
2621
2670
  # The Amazon Resource Name (ARN) of the listener.
@@ -2649,10 +2698,10 @@ module Aws::ElasticLoadBalancingV2
2649
2698
  # The actions for the default rule. The rule must include one forward
2650
2699
  # action or one or more fixed-response actions.
2651
2700
  #
2652
- # If the action type is `forward`, you specify a target group. The
2653
- # protocol of the target group must be HTTP or HTTPS for an Application
2654
- # Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
2655
- # or TCP\_UDP for a Network Load Balancer.
2701
+ # If the action type is `forward`, you specify one or more target
2702
+ # groups. The protocol of the target group must be HTTP or HTTPS for an
2703
+ # Application Load Balancer. The protocol of the target group must be
2704
+ # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
2656
2705
  #
2657
2706
  # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
2658
2707
  # authenticate users through an identity provider that is OpenID Connect
@@ -2800,6 +2849,18 @@ module Aws::ElasticLoadBalancingV2
2800
2849
  # status_code: "FixedResponseActionStatusCode", # required
2801
2850
  # content_type: "FixedResponseActionContentType",
2802
2851
  # },
2852
+ # forward_config: {
2853
+ # target_groups: [
2854
+ # {
2855
+ # target_group_arn: "TargetGroupArn",
2856
+ # weight: 1,
2857
+ # },
2858
+ # ],
2859
+ # target_group_stickiness_config: {
2860
+ # enabled: false,
2861
+ # duration_seconds: 1,
2862
+ # },
2863
+ # },
2803
2864
  # },
2804
2865
  # ],
2805
2866
  # })
@@ -2850,6 +2911,11 @@ module Aws::ElasticLoadBalancingV2
2850
2911
  # resp.listeners[0].default_actions[0].fixed_response_config.message_body #=> String
2851
2912
  # resp.listeners[0].default_actions[0].fixed_response_config.status_code #=> String
2852
2913
  # resp.listeners[0].default_actions[0].fixed_response_config.content_type #=> String
2914
+ # resp.listeners[0].default_actions[0].forward_config.target_groups #=> Array
2915
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].target_group_arn #=> String
2916
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
2917
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
2918
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
2853
2919
  #
2854
2920
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener AWS API Documentation
2855
2921
  #
@@ -3034,10 +3100,13 @@ module Aws::ElasticLoadBalancingV2
3034
3100
  req.send_request(options)
3035
3101
  end
3036
3102
 
3037
- # Modifies the specified rule.
3103
+ # Replaces the specified properties of the specified rule. Any
3104
+ # properties that you do not specify are unchanged.
3038
3105
  #
3039
- # Any existing properties that you do not modify retain their current
3040
- # values.
3106
+ # To add an item to a list, remove an item from a list, or update an
3107
+ # item in a list, you must provide the entire list. For example, to add
3108
+ # an action, specify a list with the current actions plus the new
3109
+ # action.
3041
3110
  #
3042
3111
  # To modify the actions for the default rule, use ModifyListener.
3043
3112
  #
@@ -3055,10 +3124,10 @@ module Aws::ElasticLoadBalancingV2
3055
3124
  # of actions: `forward`, `fixed-response`, or `redirect`, and it must be
3056
3125
  # the last action to be performed.
3057
3126
  #
3058
- # If the action type is `forward`, you specify a target group. The
3059
- # protocol of the target group must be HTTP or HTTPS for an Application
3060
- # Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
3061
- # or TCP\_UDP for a Network Load Balancer.
3127
+ # If the action type is `forward`, you specify one or more target
3128
+ # groups. The protocol of the target group must be HTTP or HTTPS for an
3129
+ # Application Load Balancer. The protocol of the target group must be
3130
+ # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
3062
3131
  #
3063
3132
  # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
3064
3133
  # authenticate users through an identity provider that is OpenID Connect
@@ -3199,6 +3268,18 @@ module Aws::ElasticLoadBalancingV2
3199
3268
  # status_code: "FixedResponseActionStatusCode", # required
3200
3269
  # content_type: "FixedResponseActionContentType",
3201
3270
  # },
3271
+ # forward_config: {
3272
+ # target_groups: [
3273
+ # {
3274
+ # target_group_arn: "TargetGroupArn",
3275
+ # weight: 1,
3276
+ # },
3277
+ # ],
3278
+ # target_group_stickiness_config: {
3279
+ # enabled: false,
3280
+ # duration_seconds: 1,
3281
+ # },
3282
+ # },
3202
3283
  # },
3203
3284
  # ],
3204
3285
  # })
@@ -3261,6 +3342,11 @@ module Aws::ElasticLoadBalancingV2
3261
3342
  # resp.rules[0].actions[0].fixed_response_config.message_body #=> String
3262
3343
  # resp.rules[0].actions[0].fixed_response_config.status_code #=> String
3263
3344
  # resp.rules[0].actions[0].fixed_response_config.content_type #=> String
3345
+ # resp.rules[0].actions[0].forward_config.target_groups #=> Array
3346
+ # resp.rules[0].actions[0].forward_config.target_groups[0].target_group_arn #=> String
3347
+ # resp.rules[0].actions[0].forward_config.target_groups[0].weight #=> Integer
3348
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
3349
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
3264
3350
  # resp.rules[0].is_default #=> Boolean
3265
3351
  #
3266
3352
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule AWS API Documentation
@@ -3821,6 +3907,11 @@ module Aws::ElasticLoadBalancingV2
3821
3907
  # resp.rules[0].actions[0].fixed_response_config.message_body #=> String
3822
3908
  # resp.rules[0].actions[0].fixed_response_config.status_code #=> String
3823
3909
  # resp.rules[0].actions[0].fixed_response_config.content_type #=> String
3910
+ # resp.rules[0].actions[0].forward_config.target_groups #=> Array
3911
+ # resp.rules[0].actions[0].forward_config.target_groups[0].target_group_arn #=> String
3912
+ # resp.rules[0].actions[0].forward_config.target_groups[0].weight #=> Integer
3913
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
3914
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
3824
3915
  # resp.rules[0].is_default #=> Boolean
3825
3916
  #
3826
3917
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities AWS API Documentation
@@ -3984,7 +4075,7 @@ module Aws::ElasticLoadBalancingV2
3984
4075
  params: params,
3985
4076
  config: config)
3986
4077
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
3987
- context[:gem_version] = '1.37.0'
4078
+ context[:gem_version] = '1.38.0'
3988
4079
  Seahorse::Client::Request.new(handlers, context)
3989
4080
  end
3990
4081
 
@@ -112,6 +112,7 @@ module Aws::ElasticLoadBalancingV2
112
112
  FixedResponseActionContentType = Shapes::StringShape.new(name: 'FixedResponseActionContentType')
113
113
  FixedResponseActionMessage = Shapes::StringShape.new(name: 'FixedResponseActionMessage')
114
114
  FixedResponseActionStatusCode = Shapes::StringShape.new(name: 'FixedResponseActionStatusCode')
115
+ ForwardActionConfig = Shapes::StructureShape.new(name: 'ForwardActionConfig')
115
116
  HealthCheckEnabled = Shapes::BooleanShape.new(name: 'HealthCheckEnabled')
116
117
  HealthCheckIntervalSeconds = Shapes::IntegerShape.new(name: 'HealthCheckIntervalSeconds')
117
118
  HealthCheckPort = Shapes::StringShape.new(name: 'HealthCheckPort')
@@ -251,9 +252,15 @@ module Aws::ElasticLoadBalancingV2
251
252
  TargetGroupAttributeKey = Shapes::StringShape.new(name: 'TargetGroupAttributeKey')
252
253
  TargetGroupAttributeValue = Shapes::StringShape.new(name: 'TargetGroupAttributeValue')
253
254
  TargetGroupAttributes = Shapes::ListShape.new(name: 'TargetGroupAttributes')
255
+ TargetGroupList = Shapes::ListShape.new(name: 'TargetGroupList')
254
256
  TargetGroupName = Shapes::StringShape.new(name: 'TargetGroupName')
255
257
  TargetGroupNames = Shapes::ListShape.new(name: 'TargetGroupNames')
256
258
  TargetGroupNotFoundException = Shapes::StructureShape.new(name: 'TargetGroupNotFoundException')
259
+ TargetGroupStickinessConfig = Shapes::StructureShape.new(name: 'TargetGroupStickinessConfig')
260
+ TargetGroupStickinessDurationSeconds = Shapes::IntegerShape.new(name: 'TargetGroupStickinessDurationSeconds')
261
+ TargetGroupStickinessEnabled = Shapes::BooleanShape.new(name: 'TargetGroupStickinessEnabled')
262
+ TargetGroupTuple = Shapes::StructureShape.new(name: 'TargetGroupTuple')
263
+ TargetGroupWeight = Shapes::IntegerShape.new(name: 'TargetGroupWeight')
257
264
  TargetGroups = Shapes::ListShape.new(name: 'TargetGroups')
258
265
  TargetHealth = Shapes::StructureShape.new(name: 'TargetHealth')
259
266
  TargetHealthDescription = Shapes::StructureShape.new(name: 'TargetHealthDescription')
@@ -271,6 +278,7 @@ module Aws::ElasticLoadBalancingV2
271
278
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
272
279
  TooManyTargetGroupsException = Shapes::StructureShape.new(name: 'TooManyTargetGroupsException')
273
280
  TooManyTargetsException = Shapes::StructureShape.new(name: 'TooManyTargetsException')
281
+ TooManyUniqueTargetGroupsPerLoadBalancerException = Shapes::StructureShape.new(name: 'TooManyUniqueTargetGroupsPerLoadBalancerException')
274
282
  UnsupportedProtocolException = Shapes::StructureShape.new(name: 'UnsupportedProtocolException')
275
283
  VpcId = Shapes::StringShape.new(name: 'VpcId')
276
284
  ZoneName = Shapes::StringShape.new(name: 'ZoneName')
@@ -282,6 +290,7 @@ module Aws::ElasticLoadBalancingV2
282
290
  Action.add_member(:order, Shapes::ShapeRef.new(shape: ActionOrder, location_name: "Order"))
283
291
  Action.add_member(:redirect_config, Shapes::ShapeRef.new(shape: RedirectActionConfig, location_name: "RedirectConfig"))
284
292
  Action.add_member(:fixed_response_config, Shapes::ShapeRef.new(shape: FixedResponseActionConfig, location_name: "FixedResponseConfig"))
293
+ Action.add_member(:forward_config, Shapes::ShapeRef.new(shape: ForwardActionConfig, location_name: "ForwardConfig"))
285
294
  Action.struct_class = Types::Action
286
295
 
287
296
  Actions.member = Shapes::ShapeRef.new(shape: Action)
@@ -523,6 +532,10 @@ module Aws::ElasticLoadBalancingV2
523
532
  FixedResponseActionConfig.add_member(:content_type, Shapes::ShapeRef.new(shape: FixedResponseActionContentType, location_name: "ContentType"))
524
533
  FixedResponseActionConfig.struct_class = Types::FixedResponseActionConfig
525
534
 
535
+ ForwardActionConfig.add_member(:target_groups, Shapes::ShapeRef.new(shape: TargetGroupList, location_name: "TargetGroups"))
536
+ ForwardActionConfig.add_member(:target_group_stickiness_config, Shapes::ShapeRef.new(shape: TargetGroupStickinessConfig, location_name: "TargetGroupStickinessConfig"))
537
+ ForwardActionConfig.struct_class = Types::ForwardActionConfig
538
+
526
539
  HostHeaderConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
527
540
  HostHeaderConditionConfig.struct_class = Types::HostHeaderConditionConfig
528
541
 
@@ -809,8 +822,18 @@ module Aws::ElasticLoadBalancingV2
809
822
 
810
823
  TargetGroupAttributes.member = Shapes::ShapeRef.new(shape: TargetGroupAttribute)
811
824
 
825
+ TargetGroupList.member = Shapes::ShapeRef.new(shape: TargetGroupTuple)
826
+
812
827
  TargetGroupNames.member = Shapes::ShapeRef.new(shape: TargetGroupName)
813
828
 
829
+ TargetGroupStickinessConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: TargetGroupStickinessEnabled, location_name: "Enabled"))
830
+ TargetGroupStickinessConfig.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: TargetGroupStickinessDurationSeconds, location_name: "DurationSeconds"))
831
+ TargetGroupStickinessConfig.struct_class = Types::TargetGroupStickinessConfig
832
+
833
+ TargetGroupTuple.add_member(:target_group_arn, Shapes::ShapeRef.new(shape: TargetGroupArn, location_name: "TargetGroupArn"))
834
+ TargetGroupTuple.add_member(:weight, Shapes::ShapeRef.new(shape: TargetGroupWeight, location_name: "Weight"))
835
+ TargetGroupTuple.struct_class = Types::TargetGroupTuple
836
+
814
837
  TargetGroups.member = Shapes::ShapeRef.new(shape: TargetGroup)
815
838
 
816
839
  TargetHealth.add_member(:state, Shapes::ShapeRef.new(shape: TargetHealthStateEnum, location_name: "State"))
@@ -887,6 +910,7 @@ module Aws::ElasticLoadBalancingV2
887
910
  o.errors << Shapes::ShapeRef.new(shape: TooManyTargetsException)
888
911
  o.errors << Shapes::ShapeRef.new(shape: TooManyActionsException)
889
912
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerActionException)
913
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUniqueTargetGroupsPerLoadBalancerException)
890
914
  end)
891
915
 
892
916
  api.add_operation(:create_load_balancer, Seahorse::Model::Operation.new.tap do |o|
@@ -929,6 +953,7 @@ module Aws::ElasticLoadBalancingV2
929
953
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedProtocolException)
930
954
  o.errors << Shapes::ShapeRef.new(shape: TooManyActionsException)
931
955
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerActionException)
956
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUniqueTargetGroupsPerLoadBalancerException)
932
957
  end)
933
958
 
934
959
  api.add_operation(:create_target_group, Seahorse::Model::Operation.new.tap do |o|
@@ -1135,6 +1160,7 @@ module Aws::ElasticLoadBalancingV2
1135
1160
  o.errors << Shapes::ShapeRef.new(shape: TooManyTargetsException)
1136
1161
  o.errors << Shapes::ShapeRef.new(shape: TooManyActionsException)
1137
1162
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerActionException)
1163
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUniqueTargetGroupsPerLoadBalancerException)
1138
1164
  end)
1139
1165
 
1140
1166
  api.add_operation(:modify_load_balancer_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -1163,6 +1189,7 @@ module Aws::ElasticLoadBalancingV2
1163
1189
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedProtocolException)
1164
1190
  o.errors << Shapes::ShapeRef.new(shape: TooManyActionsException)
1165
1191
  o.errors << Shapes::ShapeRef.new(shape: InvalidLoadBalancerActionException)
1192
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUniqueTargetGroupsPerLoadBalancerException)
1166
1193
  end)
1167
1194
 
1168
1195
  api.add_operation(:modify_target_group, Seahorse::Model::Operation.new.tap do |o|
@@ -58,6 +58,18 @@ module Aws::ElasticLoadBalancingV2
58
58
  # status_code: "FixedResponseActionStatusCode", # required
59
59
  # content_type: "FixedResponseActionContentType",
60
60
  # },
61
+ # forward_config: {
62
+ # target_groups: [
63
+ # {
64
+ # target_group_arn: "TargetGroupArn",
65
+ # weight: 1,
66
+ # },
67
+ # ],
68
+ # target_group_stickiness_config: {
69
+ # enabled: false,
70
+ # duration_seconds: 1,
71
+ # },
72
+ # },
61
73
  # }
62
74
  #
63
75
  # @!attribute [rw] type
@@ -66,7 +78,9 @@ module Aws::ElasticLoadBalancingV2
66
78
  #
67
79
  # @!attribute [rw] target_group_arn
68
80
  # The Amazon Resource Name (ARN) of the target group. Specify only
69
- # when `Type` is `forward`.
81
+ # when `Type` is `forward` and you want to route to a single target
82
+ # group. To route to one or more target groups, use `ForwardConfig`
83
+ # instead.
70
84
  # @return [String]
71
85
  #
72
86
  # @!attribute [rw] authenticate_oidc_config
@@ -100,6 +114,15 @@ module Aws::ElasticLoadBalancingV2
100
114
  # `fixed-response`.
101
115
  # @return [Types::FixedResponseActionConfig]
102
116
  #
117
+ # @!attribute [rw] forward_config
118
+ # Information for creating an action that distributes requests among
119
+ # one or more target groups. For Network Load Balancers, you can
120
+ # specify a single target group. Specify only when `Type` is
121
+ # `forward`. If you specify both `ForwardConfig` and `TargetGroupArn`,
122
+ # you can specify only one target group using `ForwardConfig` and it
123
+ # must be the same target group specified in `TargetGroupArn`.
124
+ # @return [Types::ForwardActionConfig]
125
+ #
103
126
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Action AWS API Documentation
104
127
  #
105
128
  class Action < Struct.new(
@@ -109,7 +132,8 @@ module Aws::ElasticLoadBalancingV2
109
132
  :authenticate_cognito_config,
110
133
  :order,
111
134
  :redirect_config,
112
- :fixed_response_config)
135
+ :fixed_response_config,
136
+ :forward_config)
113
137
  include Aws::Structure
114
138
  end
115
139
 
@@ -514,6 +538,18 @@ module Aws::ElasticLoadBalancingV2
514
538
  # status_code: "FixedResponseActionStatusCode", # required
515
539
  # content_type: "FixedResponseActionContentType",
516
540
  # },
541
+ # forward_config: {
542
+ # target_groups: [
543
+ # {
544
+ # target_group_arn: "TargetGroupArn",
545
+ # weight: 1,
546
+ # },
547
+ # ],
548
+ # target_group_stickiness_config: {
549
+ # enabled: false,
550
+ # duration_seconds: 1,
551
+ # },
552
+ # },
517
553
  # },
518
554
  # ],
519
555
  # }
@@ -552,10 +588,10 @@ module Aws::ElasticLoadBalancingV2
552
588
  # The actions for the default rule. The rule must include one forward
553
589
  # action or one or more fixed-response actions.
554
590
  #
555
- # If the action type is `forward`, you specify a target group. The
556
- # protocol of the target group must be HTTP or HTTPS for an
557
- # Application Load Balancer. The protocol of the target group must be
558
- # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
591
+ # If the action type is `forward`, you specify one or more target
592
+ # groups. The protocol of the target group must be HTTP or HTTPS for
593
+ # an Application Load Balancer. The protocol of the target group must
594
+ # be TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
559
595
  #
560
596
  # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
561
597
  # authenticate users through an identity provider that is OpenID
@@ -798,6 +834,18 @@ module Aws::ElasticLoadBalancingV2
798
834
  # status_code: "FixedResponseActionStatusCode", # required
799
835
  # content_type: "FixedResponseActionContentType",
800
836
  # },
837
+ # forward_config: {
838
+ # target_groups: [
839
+ # {
840
+ # target_group_arn: "TargetGroupArn",
841
+ # weight: 1,
842
+ # },
843
+ # ],
844
+ # target_group_stickiness_config: {
845
+ # enabled: false,
846
+ # duration_seconds: 1,
847
+ # },
848
+ # },
801
849
  # },
802
850
  # ],
803
851
  # }
@@ -823,10 +871,10 @@ module Aws::ElasticLoadBalancingV2
823
871
  # types of actions: `forward`, `fixed-response`, or `redirect`, and it
824
872
  # must be the last action to be performed.
825
873
  #
826
- # If the action type is `forward`, you specify a target group. The
827
- # protocol of the target group must be HTTP or HTTPS for an
828
- # Application Load Balancer. The protocol of the target group must be
829
- # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
874
+ # If the action type is `forward`, you specify one or more target
875
+ # groups. The protocol of the target group must be HTTP or HTTPS for
876
+ # an Application Load Balancer. The protocol of the target group must
877
+ # be TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
830
878
  #
831
879
  # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
832
880
  # authenticate users through an identity provider that is OpenID
@@ -1679,6 +1727,41 @@ module Aws::ElasticLoadBalancingV2
1679
1727
  include Aws::Structure
1680
1728
  end
1681
1729
 
1730
+ # Information about a forward action.
1731
+ #
1732
+ # @note When making an API call, you may pass ForwardActionConfig
1733
+ # data as a hash:
1734
+ #
1735
+ # {
1736
+ # target_groups: [
1737
+ # {
1738
+ # target_group_arn: "TargetGroupArn",
1739
+ # weight: 1,
1740
+ # },
1741
+ # ],
1742
+ # target_group_stickiness_config: {
1743
+ # enabled: false,
1744
+ # duration_seconds: 1,
1745
+ # },
1746
+ # }
1747
+ #
1748
+ # @!attribute [rw] target_groups
1749
+ # One or more target groups. For Network Load Balancers, you can
1750
+ # specify a single target group.
1751
+ # @return [Array<Types::TargetGroupTuple>]
1752
+ #
1753
+ # @!attribute [rw] target_group_stickiness_config
1754
+ # The target group stickiness for the rule.
1755
+ # @return [Types::TargetGroupStickinessConfig]
1756
+ #
1757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ForwardActionConfig AWS API Documentation
1758
+ #
1759
+ class ForwardActionConfig < Struct.new(
1760
+ :target_groups,
1761
+ :target_group_stickiness_config)
1762
+ include Aws::Structure
1763
+ end
1764
+
1682
1765
  # Information about a host header condition.
1683
1766
  #
1684
1767
  # @note When making an API call, you may pass HostHeaderConditionConfig
@@ -1804,6 +1887,12 @@ module Aws::ElasticLoadBalancingV2
1804
1887
  #
1805
1888
  # * target-groups
1806
1889
  #
1890
+ # * target-groups-per-action-on-application-load-balancer
1891
+ #
1892
+ # * target-groups-per-action-on-network-load-balancer
1893
+ #
1894
+ # * target-groups-per-application-load-balancer
1895
+ #
1807
1896
  # * targets-per-application-load-balancer
1808
1897
  #
1809
1898
  # * targets-per-availability-zone-per-network-load-balancer
@@ -2146,6 +2235,18 @@ module Aws::ElasticLoadBalancingV2
2146
2235
  # status_code: "FixedResponseActionStatusCode", # required
2147
2236
  # content_type: "FixedResponseActionContentType",
2148
2237
  # },
2238
+ # forward_config: {
2239
+ # target_groups: [
2240
+ # {
2241
+ # target_group_arn: "TargetGroupArn",
2242
+ # weight: 1,
2243
+ # },
2244
+ # ],
2245
+ # target_group_stickiness_config: {
2246
+ # enabled: false,
2247
+ # duration_seconds: 1,
2248
+ # },
2249
+ # },
2149
2250
  # },
2150
2251
  # ],
2151
2252
  # }
@@ -2187,10 +2288,10 @@ module Aws::ElasticLoadBalancingV2
2187
2288
  # The actions for the default rule. The rule must include one forward
2188
2289
  # action or one or more fixed-response actions.
2189
2290
  #
2190
- # If the action type is `forward`, you specify a target group. The
2191
- # protocol of the target group must be HTTP or HTTPS for an
2192
- # Application Load Balancer. The protocol of the target group must be
2193
- # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
2291
+ # If the action type is `forward`, you specify one or more target
2292
+ # groups. The protocol of the target group must be HTTP or HTTPS for
2293
+ # an Application Load Balancer. The protocol of the target group must
2294
+ # be TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
2194
2295
  #
2195
2296
  # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
2196
2297
  # authenticate users through an identity provider that is OpenID
@@ -2352,6 +2453,18 @@ module Aws::ElasticLoadBalancingV2
2352
2453
  # status_code: "FixedResponseActionStatusCode", # required
2353
2454
  # content_type: "FixedResponseActionContentType",
2354
2455
  # },
2456
+ # forward_config: {
2457
+ # target_groups: [
2458
+ # {
2459
+ # target_group_arn: "TargetGroupArn",
2460
+ # weight: 1,
2461
+ # },
2462
+ # ],
2463
+ # target_group_stickiness_config: {
2464
+ # enabled: false,
2465
+ # duration_seconds: 1,
2466
+ # },
2467
+ # },
2355
2468
  # },
2356
2469
  # ],
2357
2470
  # }
@@ -2372,10 +2485,10 @@ module Aws::ElasticLoadBalancingV2
2372
2485
  # types of actions: `forward`, `fixed-response`, or `redirect`, and it
2373
2486
  # must be the last action to be performed.
2374
2487
  #
2375
- # If the action type is `forward`, you specify a target group. The
2376
- # protocol of the target group must be HTTP or HTTPS for an
2377
- # Application Load Balancer. The protocol of the target group must be
2378
- # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
2488
+ # If the action type is `forward`, you specify one or more target
2489
+ # groups. The protocol of the target group must be HTTP or HTTPS for
2490
+ # an Application Load Balancer. The protocol of the target group must
2491
+ # be TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
2379
2492
  #
2380
2493
  # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
2381
2494
  # authenticate users through an identity provider that is OpenID
@@ -3548,6 +3661,61 @@ module Aws::ElasticLoadBalancingV2
3548
3661
  include Aws::Structure
3549
3662
  end
3550
3663
 
3664
+ # Information about the target group stickiness for a rule.
3665
+ #
3666
+ # @note When making an API call, you may pass TargetGroupStickinessConfig
3667
+ # data as a hash:
3668
+ #
3669
+ # {
3670
+ # enabled: false,
3671
+ # duration_seconds: 1,
3672
+ # }
3673
+ #
3674
+ # @!attribute [rw] enabled
3675
+ # Indicates whether target group stickiness is enabled.
3676
+ # @return [Boolean]
3677
+ #
3678
+ # @!attribute [rw] duration_seconds
3679
+ # The time period, in seconds, during which requests from a client
3680
+ # should be routed to the same target group. The range is 1-604800
3681
+ # seconds (7 days).
3682
+ # @return [Integer]
3683
+ #
3684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroupStickinessConfig AWS API Documentation
3685
+ #
3686
+ class TargetGroupStickinessConfig < Struct.new(
3687
+ :enabled,
3688
+ :duration_seconds)
3689
+ include Aws::Structure
3690
+ end
3691
+
3692
+ # Information about how traffic will be distributed between multiple
3693
+ # target groups in a forward rule.
3694
+ #
3695
+ # @note When making an API call, you may pass TargetGroupTuple
3696
+ # data as a hash:
3697
+ #
3698
+ # {
3699
+ # target_group_arn: "TargetGroupArn",
3700
+ # weight: 1,
3701
+ # }
3702
+ #
3703
+ # @!attribute [rw] target_group_arn
3704
+ # The Amazon Resource Name (ARN) of the target group.
3705
+ # @return [String]
3706
+ #
3707
+ # @!attribute [rw] weight
3708
+ # The weight. The range is 0 to 999.
3709
+ # @return [Integer]
3710
+ #
3711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroupTuple AWS API Documentation
3712
+ #
3713
+ class TargetGroupTuple < Struct.new(
3714
+ :target_group_arn,
3715
+ :weight)
3716
+ include Aws::Structure
3717
+ end
3718
+
3551
3719
  # Information about the current health of a target.
3552
3720
  #
3553
3721
  # @!attribute [rw] state
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticloadbalancingv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.37.0
4
+ version: 1.38.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-11-15 00:00:00.000000000 Z
11
+ date: 2019-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core