lib/aws-sdk-elasticloadbalancingv2/client.rb in aws-sdk-elasticloadbalancingv2-1.18.0 vs lib/aws-sdk-elasticloadbalancingv2/client.rb in aws-sdk-elasticloadbalancingv2-1.19.0
- old
+ new
@@ -470,38 +470,37 @@
#
# @example Request syntax with placeholder values
#
# resp = client.create_listener({
# load_balancer_arn: "LoadBalancerArn", # required
- # protocol: "HTTP", # required, accepts HTTP, HTTPS, TCP, TLS, UDP
+ # protocol: "HTTP", # required, accepts HTTP, HTTPS, TCP
# port: 1, # required
# ssl_policy: "SslPolicyName",
# certificates: [
# {
# certificate_arn: "CertificateArn",
# is_default: false,
# },
# ],
# default_actions: [ # required
# {
- # type: "forward", # required, accepts forward, authenticate-oidc, redirect, authenticate-cognito, fixed-response
+ # type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
# target_group_arn: "TargetGroupArn",
# authenticate_oidc_config: {
# issuer: "AuthenticateOidcActionIssuer", # required
# authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
# client_id: "AuthenticateOidcActionClientId", # required
- # client_secret: "AuthenticateOidcActionClientSecret",
+ # client_secret: "AuthenticateOidcActionClientSecret", # required
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
# scope: "AuthenticateOidcActionScope",
# session_timeout: 1,
# authentication_request_extra_params: {
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
# },
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
- # use_existing_client_secret: false,
# },
# authenticate_cognito_config: {
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
# user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
# user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
@@ -535,17 +534,17 @@
#
# resp.listeners #=> Array
# resp.listeners[0].listener_arn #=> String
# resp.listeners[0].load_balancer_arn #=> String
# resp.listeners[0].port #=> Integer
- # resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
+ # resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.listeners[0].certificates #=> Array
# resp.listeners[0].certificates[0].certificate_arn #=> String
# resp.listeners[0].certificates[0].is_default #=> Boolean
# resp.listeners[0].ssl_policy #=> String
# resp.listeners[0].default_actions #=> Array
- # resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
+ # resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
# resp.listeners[0].default_actions[0].target_group_arn #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.issuer #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authorization_endpoint #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.token_endpoint #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.user_info_endpoint #=> String
@@ -555,11 +554,10 @@
# resp.listeners[0].default_actions[0].authenticate_oidc_config.scope #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.session_timeout #=> Integer
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
- # resp.listeners[0].default_actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_arn #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_client_id #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_domain #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.session_cookie_name #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.scope #=> String
@@ -781,11 +779,10 @@
# subnets: ["SubnetId"],
# subnet_mappings: [
# {
# subnet_id: "SubnetId",
# allocation_id: "AllocationId",
- # static_ip: false,
# },
# ],
# security_groups: ["SecurityGroupId"],
# scheme: "internet-facing", # accepts internet-facing, internal
# tags: [
@@ -815,11 +812,10 @@
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
- # resp.load_balancers[0].availability_zones[0].static_ip #=> Boolean
# resp.load_balancers[0].security_groups #=> Array
# resp.load_balancers[0].security_groups[0] #=> String
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer AWS API Documentation
@@ -968,48 +964,31 @@
# listener_arn: "ListenerArn", # required
# conditions: [ # required
# {
# field: "ConditionFieldName",
# values: ["StringValue"],
- # host_header_config: {
- # values: ["StringValue"],
- # },
- # path_pattern_config: {
- # values: ["StringValue"],
- # },
- # http_header_config: {
- # http_header_name: "HttpHeaderConditionName",
- # values: ["StringValue"],
- # },
- # query_string_config: {
- # values: ["StringValue"],
- # },
- # http_request_method_config: {
- # values: ["GET"], # accepts GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
- # },
# },
# ],
# priority: 1, # required
# actions: [ # required
# {
- # type: "forward", # required, accepts forward, authenticate-oidc, redirect, authenticate-cognito, fixed-response
+ # type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
# target_group_arn: "TargetGroupArn",
# authenticate_oidc_config: {
# issuer: "AuthenticateOidcActionIssuer", # required
# authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
# client_id: "AuthenticateOidcActionClientId", # required
- # client_secret: "AuthenticateOidcActionClientSecret",
+ # client_secret: "AuthenticateOidcActionClientSecret", # required
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
# scope: "AuthenticateOidcActionScope",
# session_timeout: 1,
# authentication_request_extra_params: {
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
# },
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
- # use_existing_client_secret: false,
# },
# authenticate_cognito_config: {
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
# user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
# user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
@@ -1046,23 +1025,12 @@
# resp.rules[0].priority #=> String
# resp.rules[0].conditions #=> Array
# resp.rules[0].conditions[0].field #=> String
# resp.rules[0].conditions[0].values #=> Array
# resp.rules[0].conditions[0].values[0] #=> String
- # resp.rules[0].conditions[0].host_header_config.values #=> Array
- # resp.rules[0].conditions[0].host_header_config.values[0] #=> String
- # resp.rules[0].conditions[0].path_pattern_config.values #=> Array
- # resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
- # resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
- # resp.rules[0].conditions[0].http_header_config.values #=> Array
- # resp.rules[0].conditions[0].http_header_config.values[0] #=> String
- # resp.rules[0].conditions[0].query_string_config.values #=> Array
- # resp.rules[0].conditions[0].query_string_config.values[0] #=> String
- # resp.rules[0].conditions[0].http_request_method_config.values #=> Array
- # resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"
# resp.rules[0].actions #=> Array
- # resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
+ # resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
# resp.rules[0].actions[0].target_group_arn #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.token_endpoint #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.user_info_endpoint #=> String
@@ -1072,11 +1040,10 @@
# resp.rules[0].actions[0].authenticate_oidc_config.scope #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.session_timeout #=> Integer
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
- # resp.rules[0].actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_arn #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_client_id #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_domain #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.session_cookie_name #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.scope #=> String
@@ -1263,14 +1230,14 @@
#
# @example Request syntax with placeholder values
#
# resp = client.create_target_group({
# name: "TargetGroupName", # required
- # protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP
+ # protocol: "HTTP", # accepts HTTP, HTTPS, TCP
# port: 1,
# vpc_id: "VpcId",
- # health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP
+ # health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP
# health_check_port: "HealthCheckPort",
# health_check_enabled: false,
# health_check_path: "Path",
# health_check_interval_seconds: 1,
# health_check_timeout_seconds: 1,
@@ -1285,14 +1252,14 @@
# @example Response structure
#
# resp.target_groups #=> Array
# resp.target_groups[0].target_group_arn #=> String
# resp.target_groups[0].target_group_name #=> String
- # resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
+ # resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.target_groups[0].port #=> Integer
# resp.target_groups[0].vpc_id #=> String
- # resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
+ # resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.target_groups[0].health_check_port #=> String
# resp.target_groups[0].health_check_enabled #=> Boolean
# resp.target_groups[0].health_check_interval_seconds #=> Integer
# resp.target_groups[0].health_check_timeout_seconds #=> Integer
# resp.target_groups[0].healthy_threshold_count #=> Integer
@@ -1654,17 +1621,17 @@
#
# resp.listeners #=> Array
# resp.listeners[0].listener_arn #=> String
# resp.listeners[0].load_balancer_arn #=> String
# resp.listeners[0].port #=> Integer
- # resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
+ # resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.listeners[0].certificates #=> Array
# resp.listeners[0].certificates[0].certificate_arn #=> String
# resp.listeners[0].certificates[0].is_default #=> Boolean
# resp.listeners[0].ssl_policy #=> String
# resp.listeners[0].default_actions #=> Array
- # resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
+ # resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
# resp.listeners[0].default_actions[0].target_group_arn #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.issuer #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authorization_endpoint #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.token_endpoint #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.user_info_endpoint #=> String
@@ -1674,11 +1641,10 @@
# resp.listeners[0].default_actions[0].authenticate_oidc_config.scope #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.session_timeout #=> Integer
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
- # resp.listeners[0].default_actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_arn #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_client_id #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_domain #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.session_cookie_name #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.scope #=> String
@@ -1876,11 +1842,10 @@
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
- # resp.load_balancers[0].availability_zones[0].static_ip #=> Boolean
# resp.load_balancers[0].security_groups #=> Array
# resp.load_balancers[0].security_groups[0] #=> String
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
# resp.next_marker #=> String
#
@@ -1891,38 +1856,10 @@
def describe_load_balancers(params = {}, options = {})
req = build_request(:describe_load_balancers, params)
req.send_request(options)
end
- # @option params [required, String] :load_balancer_arn
- #
- # @return [Types::DescribeProvisionedCapacityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::DescribeProvisionedCapacityOutput#provisioned_capacity #provisioned_capacity} => Types::ProvisionedCapacity
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.describe_provisioned_capacity({
- # load_balancer_arn: "LoadBalancerArn", # required
- # })
- #
- # @example Response structure
- #
- # resp.provisioned_capacity.minimum_lb_capacity_units #=> Integer
- # resp.provisioned_capacity.status #=> String, one of "disabled", "pending", "provisioned", "pre-warmed"
- # resp.provisioned_capacity.decreases_remaining #=> Integer
- # resp.provisioned_capacity.last_modified_time #=> Time
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeProvisionedCapacity AWS API Documentation
- #
- # @overload describe_provisioned_capacity(params = {})
- # @param [Hash] params ({})
- def describe_provisioned_capacity(params = {}, options = {})
- req = build_request(:describe_provisioned_capacity, params)
- req.send_request(options)
- end
-
# Describes the specified rules or the rules for the specified listener.
# You must specify either a listener or one or more rules.
#
# @option params [String] :listener_arn
# The Amazon Resource Name (ARN) of the listener.
@@ -1994,23 +1931,12 @@
# resp.rules[0].priority #=> String
# resp.rules[0].conditions #=> Array
# resp.rules[0].conditions[0].field #=> String
# resp.rules[0].conditions[0].values #=> Array
# resp.rules[0].conditions[0].values[0] #=> String
- # resp.rules[0].conditions[0].host_header_config.values #=> Array
- # resp.rules[0].conditions[0].host_header_config.values[0] #=> String
- # resp.rules[0].conditions[0].path_pattern_config.values #=> Array
- # resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
- # resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
- # resp.rules[0].conditions[0].http_header_config.values #=> Array
- # resp.rules[0].conditions[0].http_header_config.values[0] #=> String
- # resp.rules[0].conditions[0].query_string_config.values #=> Array
- # resp.rules[0].conditions[0].query_string_config.values[0] #=> String
- # resp.rules[0].conditions[0].http_request_method_config.values #=> Array
- # resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"
# resp.rules[0].actions #=> Array
- # resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
+ # resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
# resp.rules[0].actions[0].target_group_arn #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.token_endpoint #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.user_info_endpoint #=> String
@@ -2020,11 +1946,10 @@
# resp.rules[0].actions[0].authenticate_oidc_config.scope #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.session_timeout #=> Integer
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
- # resp.rules[0].actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_arn #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_client_id #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_domain #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.session_cookie_name #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.scope #=> String
@@ -2425,14 +2350,14 @@
# @example Response structure
#
# resp.target_groups #=> Array
# resp.target_groups[0].target_group_arn #=> String
# resp.target_groups[0].target_group_name #=> String
- # resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
+ # resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.target_groups[0].port #=> Integer
# resp.target_groups[0].vpc_id #=> String
- # resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
+ # resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.target_groups[0].health_check_port #=> String
# resp.target_groups[0].health_check_enabled #=> Boolean
# resp.target_groups[0].health_check_interval_seconds #=> Integer
# resp.target_groups[0].health_check_timeout_seconds #=> Integer
# resp.target_groups[0].healthy_threshold_count #=> Integer
@@ -2698,37 +2623,36 @@
# @example Request syntax with placeholder values
#
# resp = client.modify_listener({
# listener_arn: "ListenerArn", # required
# port: 1,
- # protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP
+ # protocol: "HTTP", # accepts HTTP, HTTPS, TCP
# ssl_policy: "SslPolicyName",
# certificates: [
# {
# certificate_arn: "CertificateArn",
# is_default: false,
# },
# ],
# default_actions: [
# {
- # type: "forward", # required, accepts forward, authenticate-oidc, redirect, authenticate-cognito, fixed-response
+ # type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
# target_group_arn: "TargetGroupArn",
# authenticate_oidc_config: {
# issuer: "AuthenticateOidcActionIssuer", # required
# authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
# client_id: "AuthenticateOidcActionClientId", # required
- # client_secret: "AuthenticateOidcActionClientSecret",
+ # client_secret: "AuthenticateOidcActionClientSecret", # required
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
# scope: "AuthenticateOidcActionScope",
# session_timeout: 1,
# authentication_request_extra_params: {
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
# },
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
- # use_existing_client_secret: false,
# },
# authenticate_cognito_config: {
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
# user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
# user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
@@ -2762,17 +2686,17 @@
#
# resp.listeners #=> Array
# resp.listeners[0].listener_arn #=> String
# resp.listeners[0].load_balancer_arn #=> String
# resp.listeners[0].port #=> Integer
- # resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
+ # resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.listeners[0].certificates #=> Array
# resp.listeners[0].certificates[0].certificate_arn #=> String
# resp.listeners[0].certificates[0].is_default #=> Boolean
# resp.listeners[0].ssl_policy #=> String
# resp.listeners[0].default_actions #=> Array
- # resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
+ # resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
# resp.listeners[0].default_actions[0].target_group_arn #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.issuer #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authorization_endpoint #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.token_endpoint #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.user_info_endpoint #=> String
@@ -2782,11 +2706,10 @@
# resp.listeners[0].default_actions[0].authenticate_oidc_config.scope #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.session_timeout #=> Integer
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
# resp.listeners[0].default_actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
- # resp.listeners[0].default_actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_arn #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_client_id #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_domain #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.session_cookie_name #=> String
# resp.listeners[0].default_actions[0].authenticate_cognito_config.scope #=> String
@@ -2986,41 +2909,10 @@
def modify_load_balancer_attributes(params = {}, options = {})
req = build_request(:modify_load_balancer_attributes, params)
req.send_request(options)
end
- # @option params [required, String] :load_balancer_arn
- #
- # @option params [required, Integer] :minimum_lb_capacity_units
- #
- # @return [Types::ModifyProvisionedCapacityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::ModifyProvisionedCapacityOutput#provisioned_capacity #provisioned_capacity} => Types::ProvisionedCapacity
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.modify_provisioned_capacity({
- # load_balancer_arn: "LoadBalancerArn", # required
- # minimum_lb_capacity_units: 1, # required
- # })
- #
- # @example Response structure
- #
- # resp.provisioned_capacity.minimum_lb_capacity_units #=> Integer
- # resp.provisioned_capacity.status #=> String, one of "disabled", "pending", "provisioned", "pre-warmed"
- # resp.provisioned_capacity.decreases_remaining #=> Integer
- # resp.provisioned_capacity.last_modified_time #=> Time
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyProvisionedCapacity AWS API Documentation
- #
- # @overload modify_provisioned_capacity(params = {})
- # @param [Hash] params ({})
- def modify_provisioned_capacity(params = {}, options = {})
- req = build_request(:modify_provisioned_capacity, params)
- req.send_request(options)
- end
-
# Modifies the specified rule.
#
# Any existing properties that you do not modify retain their current
# values.
#
@@ -3133,47 +3025,30 @@
# rule_arn: "RuleArn", # required
# conditions: [
# {
# field: "ConditionFieldName",
# values: ["StringValue"],
- # host_header_config: {
- # values: ["StringValue"],
- # },
- # path_pattern_config: {
- # values: ["StringValue"],
- # },
- # http_header_config: {
- # http_header_name: "HttpHeaderConditionName",
- # values: ["StringValue"],
- # },
- # query_string_config: {
- # values: ["StringValue"],
- # },
- # http_request_method_config: {
- # values: ["GET"], # accepts GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
- # },
# },
# ],
# actions: [
# {
- # type: "forward", # required, accepts forward, authenticate-oidc, redirect, authenticate-cognito, fixed-response
+ # type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
# target_group_arn: "TargetGroupArn",
# authenticate_oidc_config: {
# issuer: "AuthenticateOidcActionIssuer", # required
# authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
# client_id: "AuthenticateOidcActionClientId", # required
- # client_secret: "AuthenticateOidcActionClientSecret",
+ # client_secret: "AuthenticateOidcActionClientSecret", # required
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
# scope: "AuthenticateOidcActionScope",
# session_timeout: 1,
# authentication_request_extra_params: {
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
# },
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
- # use_existing_client_secret: false,
# },
# authenticate_cognito_config: {
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
# user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
# user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
@@ -3210,23 +3085,12 @@
# resp.rules[0].priority #=> String
# resp.rules[0].conditions #=> Array
# resp.rules[0].conditions[0].field #=> String
# resp.rules[0].conditions[0].values #=> Array
# resp.rules[0].conditions[0].values[0] #=> String
- # resp.rules[0].conditions[0].host_header_config.values #=> Array
- # resp.rules[0].conditions[0].host_header_config.values[0] #=> String
- # resp.rules[0].conditions[0].path_pattern_config.values #=> Array
- # resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
- # resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
- # resp.rules[0].conditions[0].http_header_config.values #=> Array
- # resp.rules[0].conditions[0].http_header_config.values[0] #=> String
- # resp.rules[0].conditions[0].query_string_config.values #=> Array
- # resp.rules[0].conditions[0].query_string_config.values[0] #=> String
- # resp.rules[0].conditions[0].http_request_method_config.values #=> Array
- # resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"
# resp.rules[0].actions #=> Array
- # resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
+ # resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
# resp.rules[0].actions[0].target_group_arn #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.token_endpoint #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.user_info_endpoint #=> String
@@ -3236,11 +3100,10 @@
# resp.rules[0].actions[0].authenticate_oidc_config.scope #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.session_timeout #=> Integer
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
- # resp.rules[0].actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_arn #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_client_id #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_domain #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.session_cookie_name #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.scope #=> String
@@ -3371,11 +3234,11 @@
#
# @example Request syntax with placeholder values
#
# resp = client.modify_target_group({
# target_group_arn: "TargetGroupArn", # required
- # health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP
+ # health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP
# health_check_port: "HealthCheckPort",
# health_check_path: "Path",
# health_check_enabled: false,
# health_check_interval_seconds: 1,
# health_check_timeout_seconds: 1,
@@ -3389,14 +3252,14 @@
# @example Response structure
#
# resp.target_groups #=> Array
# resp.target_groups[0].target_group_arn #=> String
# resp.target_groups[0].target_group_name #=> String
- # resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
+ # resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.target_groups[0].port #=> Integer
# resp.target_groups[0].vpc_id #=> String
- # resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
+ # resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP"
# resp.target_groups[0].health_check_port #=> String
# resp.target_groups[0].health_check_enabled #=> Boolean
# resp.target_groups[0].health_check_interval_seconds #=> Integer
# resp.target_groups[0].health_check_timeout_seconds #=> Integer
# resp.target_groups[0].healthy_threshold_count #=> Integer
@@ -3770,23 +3633,12 @@
# resp.rules[0].priority #=> String
# resp.rules[0].conditions #=> Array
# resp.rules[0].conditions[0].field #=> String
# resp.rules[0].conditions[0].values #=> Array
# resp.rules[0].conditions[0].values[0] #=> String
- # resp.rules[0].conditions[0].host_header_config.values #=> Array
- # resp.rules[0].conditions[0].host_header_config.values[0] #=> String
- # resp.rules[0].conditions[0].path_pattern_config.values #=> Array
- # resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
- # resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
- # resp.rules[0].conditions[0].http_header_config.values #=> Array
- # resp.rules[0].conditions[0].http_header_config.values[0] #=> String
- # resp.rules[0].conditions[0].query_string_config.values #=> Array
- # resp.rules[0].conditions[0].query_string_config.values[0] #=> String
- # resp.rules[0].conditions[0].http_request_method_config.values #=> Array
- # resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"
# resp.rules[0].actions #=> Array
- # resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
+ # resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "authenticate-cognito", "redirect", "fixed-response"
# resp.rules[0].actions[0].target_group_arn #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.token_endpoint #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.user_info_endpoint #=> String
@@ -3796,11 +3648,10 @@
# resp.rules[0].actions[0].authenticate_oidc_config.scope #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.session_timeout #=> Integer
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
# resp.rules[0].actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
- # resp.rules[0].actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_arn #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_client_id #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_domain #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.session_cookie_name #=> String
# resp.rules[0].actions[0].authenticate_cognito_config.scope #=> String
@@ -3944,11 +3795,10 @@
# subnets: ["SubnetId"],
# subnet_mappings: [
# {
# subnet_id: "SubnetId",
# allocation_id: "AllocationId",
- # static_ip: false,
# },
# ],
# })
#
# @example Response structure
@@ -3957,11 +3807,10 @@
# resp.availability_zones[0].zone_name #=> String
# resp.availability_zones[0].subnet_id #=> String
# resp.availability_zones[0].load_balancer_addresses #=> Array
# resp.availability_zones[0].load_balancer_addresses[0].ip_address #=> String
# resp.availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
- # resp.availability_zones[0].static_ip #=> Boolean
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets AWS API Documentation
#
# @overload set_subnets(params = {})
# @param [Hash] params ({})
@@ -3981,10 +3830,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
- context[:gem_version] = '1.18.0'
+ context[:gem_version] = '1.19.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#