lib/aws-sdk-elasticloadbalancingv2/client.rb in aws-sdk-elasticloadbalancingv2-1.37.0 vs lib/aws-sdk-elasticloadbalancingv2/client.rb in aws-sdk-elasticloadbalancingv2-1.38.0
- old
+ new
@@ -419,14 +419,14 @@
#
# @option params [required, Array<Types::Action>] :default_actions
# The actions for the default rule. The rule must include one forward
# action or one or more fixed-response actions.
#
- # If the action type is `forward`, you specify a target group. The
- # protocol of the target group must be HTTP or HTTPS for an Application
- # Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
- # or TCP\_UDP for a Network Load Balancer.
+ # If the action type is `forward`, you specify one or more target
+ # groups. The protocol of the target group must be HTTP or HTTPS for an
+ # Application Load Balancer. The protocol of the target group must be
+ # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
#
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
# authenticate users through an identity provider that is OpenID Connect
# (OIDC) compliant.
#
@@ -585,10 +585,22 @@
# fixed_response_config: {
# message_body: "FixedResponseActionMessage",
# status_code: "FixedResponseActionStatusCode", # required
# content_type: "FixedResponseActionContentType",
# },
+ # forward_config: {
+ # target_groups: [
+ # {
+ # target_group_arn: "TargetGroupArn",
+ # weight: 1,
+ # },
+ # ],
+ # target_group_stickiness_config: {
+ # enabled: false,
+ # duration_seconds: 1,
+ # },
+ # },
# },
# ],
# })
#
# @example Response structure
@@ -635,10 +647,15 @@
# resp.listeners[0].default_actions[0].redirect_config.query #=> String
# resp.listeners[0].default_actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
# resp.listeners[0].default_actions[0].fixed_response_config.message_body #=> String
# resp.listeners[0].default_actions[0].fixed_response_config.status_code #=> String
# resp.listeners[0].default_actions[0].fixed_response_config.content_type #=> String
+ # resp.listeners[0].default_actions[0].forward_config.target_groups #=> Array
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].target_group_arn #=> String
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener AWS API Documentation
#
# @overload create_listener(params = {})
# @param [Hash] params ({})
@@ -923,14 +940,14 @@
# @option params [required, Array<Types::Action>] :actions
# The actions. Each rule must include exactly one of the following types
# of actions: `forward`, `fixed-response`, or `redirect`, and it must be
# the last action to be performed.
#
- # If the action type is `forward`, you specify a target group. The
- # protocol of the target group must be HTTP or HTTPS for an Application
- # Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
- # or TCP\_UDP for a Network Load Balancer.
+ # If the action type is `forward`, you specify one or more target
+ # groups. The protocol of the target group must be HTTP or HTTPS for an
+ # Application Load Balancer. The protocol of the target group must be
+ # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
#
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
# authenticate users through an identity provider that is OpenID Connect
# (OIDC) compliant.
#
@@ -1076,10 +1093,22 @@
# fixed_response_config: {
# message_body: "FixedResponseActionMessage",
# status_code: "FixedResponseActionStatusCode", # required
# content_type: "FixedResponseActionContentType",
# },
+ # forward_config: {
+ # target_groups: [
+ # {
+ # target_group_arn: "TargetGroupArn",
+ # weight: 1,
+ # },
+ # ],
+ # target_group_stickiness_config: {
+ # enabled: false,
+ # duration_seconds: 1,
+ # },
+ # },
# },
# ],
# })
#
# @example Response structure
@@ -1138,10 +1167,15 @@
# resp.rules[0].actions[0].redirect_config.query #=> String
# resp.rules[0].actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
# resp.rules[0].actions[0].fixed_response_config.message_body #=> String
# resp.rules[0].actions[0].fixed_response_config.status_code #=> String
# resp.rules[0].actions[0].fixed_response_config.content_type #=> String
+ # resp.rules[0].actions[0].forward_config.target_groups #=> Array
+ # resp.rules[0].actions[0].forward_config.target_groups[0].target_group_arn #=> String
+ # resp.rules[0].actions[0].forward_config.target_groups[0].weight #=> Integer
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
# resp.rules[0].is_default #=> Boolean
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule AWS API Documentation
#
# @overload create_rule(params = {})
@@ -1764,10 +1798,15 @@
# resp.listeners[0].default_actions[0].redirect_config.query #=> String
# resp.listeners[0].default_actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
# resp.listeners[0].default_actions[0].fixed_response_config.message_body #=> String
# resp.listeners[0].default_actions[0].fixed_response_config.status_code #=> String
# resp.listeners[0].default_actions[0].fixed_response_config.content_type #=> String
+ # resp.listeners[0].default_actions[0].forward_config.target_groups #=> Array
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].target_group_arn #=> String
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
# resp.next_marker #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners AWS API Documentation
#
# @overload describe_listeners(params = {})
@@ -2084,10 +2123,15 @@
# resp.rules[0].actions[0].redirect_config.query #=> String
# resp.rules[0].actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
# resp.rules[0].actions[0].fixed_response_config.message_body #=> String
# resp.rules[0].actions[0].fixed_response_config.status_code #=> String
# resp.rules[0].actions[0].fixed_response_config.content_type #=> String
+ # resp.rules[0].actions[0].forward_config.target_groups #=> Array
+ # resp.rules[0].actions[0].forward_config.target_groups[0].target_group_arn #=> String
+ # resp.rules[0].actions[0].forward_config.target_groups[0].weight #=> Integer
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
# resp.rules[0].is_default #=> Boolean
# resp.next_marker #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules AWS API Documentation
#
@@ -2607,18 +2651,23 @@
def describe_target_health(params = {}, options = {})
req = build_request(:describe_target_health, params)
req.send_request(options)
end
- # Modifies the specified properties of the specified listener.
+ # Replaces the specified properties of the specified listener. Any
+ # properties that you do not specify remain unchanged.
#
- # Any properties that you do not specify retain their current values.
- # However, changing the protocol from HTTPS to HTTP, or from TLS to TCP,
- # removes the security policy and default certificate properties. If you
- # change the protocol from HTTP to HTTPS, or from TCP to TLS, you must
- # add the security policy and default certificate properties.
+ # Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes
+ # the security policy and default certificate properties. If you change
+ # the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the
+ # security policy and default certificate properties.
#
+ # To add an item to a list, remove an item from a list, or update an
+ # item in a list, you must provide the entire list. For example, to add
+ # an action, specify a list with the current actions plus the new
+ # action.
+ #
# @option params [required, String] :listener_arn
# The Amazon Resource Name (ARN) of the listener.
#
# @option params [Integer] :port
# The port for connections from clients to the load balancer.
@@ -2647,14 +2696,14 @@
#
# @option params [Array<Types::Action>] :default_actions
# The actions for the default rule. The rule must include one forward
# action or one or more fixed-response actions.
#
- # If the action type is `forward`, you specify a target group. The
- # protocol of the target group must be HTTP or HTTPS for an Application
- # Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
- # or TCP\_UDP for a Network Load Balancer.
+ # If the action type is `forward`, you specify one or more target
+ # groups. The protocol of the target group must be HTTP or HTTPS for an
+ # Application Load Balancer. The protocol of the target group must be
+ # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
#
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
# authenticate users through an identity provider that is OpenID Connect
# (OIDC) compliant.
#
@@ -2798,10 +2847,22 @@
# fixed_response_config: {
# message_body: "FixedResponseActionMessage",
# status_code: "FixedResponseActionStatusCode", # required
# content_type: "FixedResponseActionContentType",
# },
+ # forward_config: {
+ # target_groups: [
+ # {
+ # target_group_arn: "TargetGroupArn",
+ # weight: 1,
+ # },
+ # ],
+ # target_group_stickiness_config: {
+ # enabled: false,
+ # duration_seconds: 1,
+ # },
+ # },
# },
# ],
# })
#
# @example Response structure
@@ -2848,10 +2909,15 @@
# resp.listeners[0].default_actions[0].redirect_config.query #=> String
# resp.listeners[0].default_actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
# resp.listeners[0].default_actions[0].fixed_response_config.message_body #=> String
# resp.listeners[0].default_actions[0].fixed_response_config.status_code #=> String
# resp.listeners[0].default_actions[0].fixed_response_config.content_type #=> String
+ # resp.listeners[0].default_actions[0].forward_config.target_groups #=> Array
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].target_group_arn #=> String
+ # resp.listeners[0].default_actions[0].forward_config.target_groups[0].weight #=> Integer
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
+ # resp.listeners[0].default_actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener AWS API Documentation
#
# @overload modify_listener(params = {})
# @param [Hash] params ({})
@@ -3032,14 +3098,17 @@
def modify_load_balancer_attributes(params = {}, options = {})
req = build_request(:modify_load_balancer_attributes, params)
req.send_request(options)
end
- # Modifies the specified rule.
+ # Replaces the specified properties of the specified rule. Any
+ # properties that you do not specify are unchanged.
#
- # Any existing properties that you do not modify retain their current
- # values.
+ # To add an item to a list, remove an item from a list, or update an
+ # item in a list, you must provide the entire list. For example, to add
+ # an action, specify a list with the current actions plus the new
+ # action.
#
# To modify the actions for the default rule, use ModifyListener.
#
# @option params [required, String] :rule_arn
# The Amazon Resource Name (ARN) of the rule.
@@ -3053,14 +3122,14 @@
# @option params [Array<Types::Action>] :actions
# The actions. Each rule must include exactly one of the following types
# of actions: `forward`, `fixed-response`, or `redirect`, and it must be
# the last action to be performed.
#
- # If the action type is `forward`, you specify a target group. The
- # protocol of the target group must be HTTP or HTTPS for an Application
- # Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
- # or TCP\_UDP for a Network Load Balancer.
+ # If the action type is `forward`, you specify one or more target
+ # groups. The protocol of the target group must be HTTP or HTTPS for an
+ # Application Load Balancer. The protocol of the target group must be
+ # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
#
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
# authenticate users through an identity provider that is OpenID Connect
# (OIDC) compliant.
#
@@ -3197,10 +3266,22 @@
# fixed_response_config: {
# message_body: "FixedResponseActionMessage",
# status_code: "FixedResponseActionStatusCode", # required
# content_type: "FixedResponseActionContentType",
# },
+ # forward_config: {
+ # target_groups: [
+ # {
+ # target_group_arn: "TargetGroupArn",
+ # weight: 1,
+ # },
+ # ],
+ # target_group_stickiness_config: {
+ # enabled: false,
+ # duration_seconds: 1,
+ # },
+ # },
# },
# ],
# })
#
# @example Response structure
@@ -3259,10 +3340,15 @@
# resp.rules[0].actions[0].redirect_config.query #=> String
# resp.rules[0].actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
# resp.rules[0].actions[0].fixed_response_config.message_body #=> String
# resp.rules[0].actions[0].fixed_response_config.status_code #=> String
# resp.rules[0].actions[0].fixed_response_config.content_type #=> String
+ # resp.rules[0].actions[0].forward_config.target_groups #=> Array
+ # resp.rules[0].actions[0].forward_config.target_groups[0].target_group_arn #=> String
+ # resp.rules[0].actions[0].forward_config.target_groups[0].weight #=> Integer
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
# resp.rules[0].is_default #=> Boolean
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule AWS API Documentation
#
# @overload modify_rule(params = {})
@@ -3819,10 +3905,15 @@
# resp.rules[0].actions[0].redirect_config.query #=> String
# resp.rules[0].actions[0].redirect_config.status_code #=> String, one of "HTTP_301", "HTTP_302"
# resp.rules[0].actions[0].fixed_response_config.message_body #=> String
# resp.rules[0].actions[0].fixed_response_config.status_code #=> String
# resp.rules[0].actions[0].fixed_response_config.content_type #=> String
+ # resp.rules[0].actions[0].forward_config.target_groups #=> Array
+ # resp.rules[0].actions[0].forward_config.target_groups[0].target_group_arn #=> String
+ # resp.rules[0].actions[0].forward_config.target_groups[0].weight #=> Integer
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.enabled #=> Boolean
+ # resp.rules[0].actions[0].forward_config.target_group_stickiness_config.duration_seconds #=> Integer
# resp.rules[0].is_default #=> Boolean
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities AWS API Documentation
#
# @overload set_rule_priorities(params = {})
@@ -3982,10 +4073,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
- context[:gem_version] = '1.37.0'
+ context[:gem_version] = '1.38.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#