aws-sdk-elasticloadbalancingv2 1.17.0 → 1.18.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17ed1cf17c52fddd1cd560fcdedd1b9592db95b1
|
4
|
+
data.tar.gz: 4841e0c9a63f09a43c0fd6dca1acc5e2d3d4db25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e06e5cdf986d89e43201973487beaa2b5c9580596c654f643d77cd71229d224ec845fae35022bcdf9f75ad7db4681b83dfd81b856f646eec33e007c1c63bb585
|
7
|
+
data.tar.gz: 4ca934ce36e59ec670ae247bef6984bfa9f4f2ce66ceb09473bfa05986a83c18e75d0b0033110bd227560eec9ed8e3df5813f0161c22f7cc7b3191a04fb1af58
|
@@ -212,13 +212,15 @@ module Aws::ElasticLoadBalancingV2
|
|
212
212
|
#
|
213
213
|
# To list the certificates for your listener, use
|
214
214
|
# DescribeListenerCertificates. To remove certificates from your
|
215
|
-
# listener, use RemoveListenerCertificates.
|
215
|
+
# listener, use RemoveListenerCertificates. To specify the default SSL
|
216
|
+
# server certificate, use ModifyListener.
|
216
217
|
#
|
217
218
|
# @option params [required, String] :listener_arn
|
218
219
|
# The Amazon Resource Name (ARN) of the listener.
|
219
220
|
#
|
220
221
|
# @option params [required, Array<Types::Certificate>] :certificates
|
221
|
-
# The certificate to add. You can specify one certificate per call.
|
222
|
+
# The certificate to add. You can specify one certificate per call. Set
|
223
|
+
# `CertificateArn` to the certificate ARN but do not set `IsDefault`.
|
222
224
|
#
|
223
225
|
# @return [Types::AddListenerCertificatesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
224
226
|
#
|
@@ -351,30 +353,31 @@ module Aws::ElasticLoadBalancingV2
|
|
351
353
|
#
|
352
354
|
# @option params [Array<Types::Certificate>] :certificates
|
353
355
|
# \[HTTPS listeners\] The default SSL server certificate. You must
|
354
|
-
# provide exactly one
|
355
|
-
#
|
356
|
+
# provide exactly one certificate. Set `CertificateArn` to the
|
357
|
+
# certificate ARN but do not set `IsDefault`.
|
358
|
+
#
|
359
|
+
# To create a certificate list, use AddListenerCertificates.
|
356
360
|
#
|
357
361
|
# @option params [required, Array<Types::Action>] :default_actions
|
358
362
|
# The actions for the default rule. The rule must include one forward
|
359
363
|
# action or one or more fixed-response actions.
|
360
364
|
#
|
361
|
-
# If the action type is `forward`, you
|
362
|
-
#
|
363
|
-
#
|
365
|
+
# If the action type is `forward`, you specify a target group. The
|
366
|
+
# protocol of the target group must be HTTP or HTTPS for an Application
|
367
|
+
# Load Balancer or TCP for a Network Load Balancer.
|
364
368
|
#
|
365
|
-
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
366
|
-
#
|
367
|
-
#
|
369
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
370
|
+
# authenticate users through an identity provider that is OpenID Connect
|
371
|
+
# (OIDC) compliant.
|
368
372
|
#
|
369
373
|
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
370
|
-
#
|
371
|
-
# application.
|
374
|
+
# authenticate users through the user pools supported by Amazon Cognito.
|
372
375
|
#
|
373
376
|
# \[Application Load Balancer\] If the action type is `redirect`, you
|
374
|
-
#
|
377
|
+
# redirect specified client requests from one URL to another.
|
375
378
|
#
|
376
379
|
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
377
|
-
# you
|
380
|
+
# you drop specified client requests and return a custom HTTP response.
|
378
381
|
#
|
379
382
|
# @return [Types::CreateListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
380
383
|
#
|
@@ -469,7 +472,7 @@ module Aws::ElasticLoadBalancingV2
|
|
469
472
|
#
|
470
473
|
# resp = client.create_listener({
|
471
474
|
# load_balancer_arn: "LoadBalancerArn", # required
|
472
|
-
# protocol: "HTTP", # required, accepts HTTP, HTTPS, TCP
|
475
|
+
# protocol: "HTTP", # required, accepts HTTP, HTTPS, TCP, TLS, UDP
|
473
476
|
# port: 1, # required
|
474
477
|
# ssl_policy: "SslPolicyName",
|
475
478
|
# certificates: [
|
@@ -480,7 +483,7 @@ module Aws::ElasticLoadBalancingV2
|
|
480
483
|
# ],
|
481
484
|
# default_actions: [ # required
|
482
485
|
# {
|
483
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito,
|
486
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, redirect, authenticate-cognito, fixed-response
|
484
487
|
# target_group_arn: "TargetGroupArn",
|
485
488
|
# authenticate_oidc_config: {
|
486
489
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -488,7 +491,7 @@ module Aws::ElasticLoadBalancingV2
|
|
488
491
|
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
|
489
492
|
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
|
490
493
|
# client_id: "AuthenticateOidcActionClientId", # required
|
491
|
-
# client_secret: "AuthenticateOidcActionClientSecret",
|
494
|
+
# client_secret: "AuthenticateOidcActionClientSecret",
|
492
495
|
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
|
493
496
|
# scope: "AuthenticateOidcActionScope",
|
494
497
|
# session_timeout: 1,
|
@@ -496,6 +499,7 @@ module Aws::ElasticLoadBalancingV2
|
|
496
499
|
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
|
497
500
|
# },
|
498
501
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
502
|
+
# use_existing_client_secret: false,
|
499
503
|
# },
|
500
504
|
# authenticate_cognito_config: {
|
501
505
|
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
|
@@ -533,13 +537,13 @@ module Aws::ElasticLoadBalancingV2
|
|
533
537
|
# resp.listeners[0].listener_arn #=> String
|
534
538
|
# resp.listeners[0].load_balancer_arn #=> String
|
535
539
|
# resp.listeners[0].port #=> Integer
|
536
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
540
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
|
537
541
|
# resp.listeners[0].certificates #=> Array
|
538
542
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
539
543
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
540
544
|
# resp.listeners[0].ssl_policy #=> String
|
541
545
|
# resp.listeners[0].default_actions #=> Array
|
542
|
-
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "
|
546
|
+
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
|
543
547
|
# resp.listeners[0].default_actions[0].target_group_arn #=> String
|
544
548
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.issuer #=> String
|
545
549
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -553,6 +557,7 @@ module Aws::ElasticLoadBalancingV2
|
|
553
557
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
|
554
558
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
|
555
559
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
560
|
+
# resp.listeners[0].default_actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
|
556
561
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_arn #=> String
|
557
562
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_client_id #=> String
|
558
563
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_domain #=> String
|
@@ -778,6 +783,7 @@ module Aws::ElasticLoadBalancingV2
|
|
778
783
|
# {
|
779
784
|
# subnet_id: "SubnetId",
|
780
785
|
# allocation_id: "AllocationId",
|
786
|
+
# static_ip: false,
|
781
787
|
# },
|
782
788
|
# ],
|
783
789
|
# security_groups: ["SecurityGroupId"],
|
@@ -811,6 +817,7 @@ module Aws::ElasticLoadBalancingV2
|
|
811
817
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
|
812
818
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
813
819
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
820
|
+
# resp.load_balancers[0].availability_zones[0].static_ip #=> Boolean
|
814
821
|
# resp.load_balancers[0].security_groups #=> Array
|
815
822
|
# resp.load_balancers[0].security_groups[0] #=> String
|
816
823
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
@@ -884,22 +891,22 @@ module Aws::ElasticLoadBalancingV2
|
|
884
891
|
# The actions. Each rule must include exactly one of the following types
|
885
892
|
# of actions: `forward`, `fixed-response`, or `redirect`.
|
886
893
|
#
|
887
|
-
# If the action type is `forward`, you
|
888
|
-
# group
|
894
|
+
# If the action type is `forward`, you specify a target group. The
|
895
|
+
# protocol of the target group must be HTTP or HTTPS for an Application
|
896
|
+
# Load Balancer or TCP for a Network Load Balancer.
|
889
897
|
#
|
890
|
-
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
891
|
-
#
|
892
|
-
#
|
898
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
899
|
+
# authenticate users through an identity provider that is OpenID Connect
|
900
|
+
# (OIDC) compliant.
|
893
901
|
#
|
894
902
|
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
895
|
-
#
|
896
|
-
# application.
|
903
|
+
# authenticate users through the user pools supported by Amazon Cognito.
|
897
904
|
#
|
898
905
|
# \[Application Load Balancer\] If the action type is `redirect`, you
|
899
|
-
#
|
906
|
+
# redirect specified client requests from one URL to another.
|
900
907
|
#
|
901
908
|
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
902
|
-
# you
|
909
|
+
# you drop specified client requests and return a custom HTTP response.
|
903
910
|
#
|
904
911
|
# @return [Types::CreateRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
905
912
|
#
|
@@ -963,12 +970,28 @@ module Aws::ElasticLoadBalancingV2
|
|
963
970
|
# {
|
964
971
|
# field: "ConditionFieldName",
|
965
972
|
# values: ["StringValue"],
|
973
|
+
# host_header_config: {
|
974
|
+
# values: ["StringValue"],
|
975
|
+
# },
|
976
|
+
# path_pattern_config: {
|
977
|
+
# values: ["StringValue"],
|
978
|
+
# },
|
979
|
+
# http_header_config: {
|
980
|
+
# http_header_name: "HttpHeaderConditionName",
|
981
|
+
# values: ["StringValue"],
|
982
|
+
# },
|
983
|
+
# query_string_config: {
|
984
|
+
# values: ["StringValue"],
|
985
|
+
# },
|
986
|
+
# http_request_method_config: {
|
987
|
+
# values: ["GET"], # accepts GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
|
988
|
+
# },
|
966
989
|
# },
|
967
990
|
# ],
|
968
991
|
# priority: 1, # required
|
969
992
|
# actions: [ # required
|
970
993
|
# {
|
971
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito,
|
994
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, redirect, authenticate-cognito, fixed-response
|
972
995
|
# target_group_arn: "TargetGroupArn",
|
973
996
|
# authenticate_oidc_config: {
|
974
997
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -976,7 +999,7 @@ module Aws::ElasticLoadBalancingV2
|
|
976
999
|
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
|
977
1000
|
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
|
978
1001
|
# client_id: "AuthenticateOidcActionClientId", # required
|
979
|
-
# client_secret: "AuthenticateOidcActionClientSecret",
|
1002
|
+
# client_secret: "AuthenticateOidcActionClientSecret",
|
980
1003
|
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
|
981
1004
|
# scope: "AuthenticateOidcActionScope",
|
982
1005
|
# session_timeout: 1,
|
@@ -984,6 +1007,7 @@ module Aws::ElasticLoadBalancingV2
|
|
984
1007
|
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
|
985
1008
|
# },
|
986
1009
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
1010
|
+
# use_existing_client_secret: false,
|
987
1011
|
# },
|
988
1012
|
# authenticate_cognito_config: {
|
989
1013
|
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
|
@@ -1024,8 +1048,19 @@ module Aws::ElasticLoadBalancingV2
|
|
1024
1048
|
# resp.rules[0].conditions[0].field #=> String
|
1025
1049
|
# resp.rules[0].conditions[0].values #=> Array
|
1026
1050
|
# resp.rules[0].conditions[0].values[0] #=> String
|
1051
|
+
# resp.rules[0].conditions[0].host_header_config.values #=> Array
|
1052
|
+
# resp.rules[0].conditions[0].host_header_config.values[0] #=> String
|
1053
|
+
# resp.rules[0].conditions[0].path_pattern_config.values #=> Array
|
1054
|
+
# resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
|
1055
|
+
# resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
|
1056
|
+
# resp.rules[0].conditions[0].http_header_config.values #=> Array
|
1057
|
+
# resp.rules[0].conditions[0].http_header_config.values[0] #=> String
|
1058
|
+
# resp.rules[0].conditions[0].query_string_config.values #=> Array
|
1059
|
+
# resp.rules[0].conditions[0].query_string_config.values[0] #=> String
|
1060
|
+
# resp.rules[0].conditions[0].http_request_method_config.values #=> Array
|
1061
|
+
# resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"
|
1027
1062
|
# resp.rules[0].actions #=> Array
|
1028
|
-
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "
|
1063
|
+
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
|
1029
1064
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
1030
1065
|
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
|
1031
1066
|
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -1039,6 +1074,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1039
1074
|
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
|
1040
1075
|
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
|
1041
1076
|
# resp.rules[0].actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
1077
|
+
# resp.rules[0].actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
|
1042
1078
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_arn #=> String
|
1043
1079
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_client_id #=> String
|
1044
1080
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_domain #=> String
|
@@ -1102,17 +1138,20 @@ module Aws::ElasticLoadBalancingV2
|
|
1102
1138
|
# 32 characters, must contain only alphanumeric characters or hyphens,
|
1103
1139
|
# and must not begin or end with a hyphen.
|
1104
1140
|
#
|
1105
|
-
# @option params [
|
1141
|
+
# @option params [String] :protocol
|
1106
1142
|
# The protocol to use for routing traffic to the targets. For
|
1107
1143
|
# Application Load Balancers, the supported protocols are HTTP and
|
1108
|
-
# HTTPS. For Network Load Balancers, the supported protocol is TCP.
|
1144
|
+
# HTTPS. For Network Load Balancers, the supported protocol is TCP. If
|
1145
|
+
# the target is a Lambda function, this parameter does not apply.
|
1109
1146
|
#
|
1110
|
-
# @option params [
|
1147
|
+
# @option params [Integer] :port
|
1111
1148
|
# The port on which the targets receive traffic. This port is used
|
1112
|
-
# unless you specify a port override when registering the target.
|
1149
|
+
# unless you specify a port override when registering the target. If the
|
1150
|
+
# target is a Lambda function, this parameter does not apply.
|
1113
1151
|
#
|
1114
|
-
# @option params [
|
1115
|
-
# The identifier of the virtual private cloud (VPC).
|
1152
|
+
# @option params [String] :vpc_id
|
1153
|
+
# The identifier of the virtual private cloud (VPC). If the target is a
|
1154
|
+
# Lambda function, this parameter does not apply.
|
1116
1155
|
#
|
1117
1156
|
# @option params [String] :health_check_protocol
|
1118
1157
|
# The protocol the load balancer uses when performing health checks on
|
@@ -1125,6 +1164,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1125
1164
|
# targets. The default is `traffic-port`, which is the port on which
|
1126
1165
|
# each target receives traffic from the load balancer.
|
1127
1166
|
#
|
1167
|
+
# @option params [Boolean] :health_check_enabled
|
1168
|
+
# Indicates whether health checks are enabled. If the target type is
|
1169
|
+
# `instance` or `ip`, the default is `true`. If the target type is
|
1170
|
+
# `lambda`, the default is `false`.
|
1171
|
+
#
|
1128
1172
|
# @option params [String] :health_check_path
|
1129
1173
|
# \[HTTP/HTTPS health checks\] The ping path that is the destination on
|
1130
1174
|
# the targets for health checks. The default is /.
|
@@ -1133,14 +1177,17 @@ module Aws::ElasticLoadBalancingV2
|
|
1133
1177
|
# The approximate amount of time, in seconds, between health checks of
|
1134
1178
|
# an individual target. For Application Load Balancers, the range is
|
1135
1179
|
# 5–300 seconds. For Network Load Balancers, the supported values are 10
|
1136
|
-
# or 30 seconds.
|
1180
|
+
# or 30 seconds. If the target type is `instance` or `ip`, the default
|
1181
|
+
# is 30 seconds. If the target type is `lambda`, the default is 35
|
1182
|
+
# seconds.
|
1137
1183
|
#
|
1138
1184
|
# @option params [Integer] :health_check_timeout_seconds
|
1139
1185
|
# The amount of time, in seconds, during which no response from a target
|
1140
1186
|
# means a failed health check. For Application Load Balancers, the range
|
1141
|
-
# is 2–
|
1142
|
-
#
|
1143
|
-
# seconds for
|
1187
|
+
# is 2–120 seconds and the default is 5 seconds if the target type is
|
1188
|
+
# `instance` or `ip` and 30 seconds if the target type is `lambda`. For
|
1189
|
+
# Network Load Balancers, this is 10 seconds for TCP and HTTPS health
|
1190
|
+
# checks and 6 seconds for HTTP health checks.
|
1144
1191
|
#
|
1145
1192
|
# @option params [Integer] :healthy_threshold_count
|
1146
1193
|
# The number of consecutive health checks successes required before
|
@@ -1160,16 +1207,19 @@ module Aws::ElasticLoadBalancingV2
|
|
1160
1207
|
#
|
1161
1208
|
# @option params [String] :target_type
|
1162
1209
|
# The type of target that you must specify when registering targets with
|
1163
|
-
# this target group.
|
1164
|
-
#
|
1165
|
-
#
|
1166
|
-
#
|
1210
|
+
# this target group. You can't specify targets for a target group using
|
1211
|
+
# more than one target type.
|
1212
|
+
#
|
1213
|
+
# * `instance` - Targets are specified by instance ID. This is the
|
1214
|
+
# default value.
|
1167
1215
|
#
|
1168
|
-
#
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
#
|
1172
|
-
#
|
1216
|
+
# * `ip` - Targets are specified by IP address. You can specify IP
|
1217
|
+
# addresses from the subnets of the virtual private cloud (VPC) for
|
1218
|
+
# the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and
|
1219
|
+
# 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't
|
1220
|
+
# specify publicly routable IP addresses.
|
1221
|
+
#
|
1222
|
+
# * `lambda` - The target groups contains a single Lambda function.
|
1173
1223
|
#
|
1174
1224
|
# @return [Types::CreateTargetGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1175
1225
|
#
|
@@ -1215,11 +1265,12 @@ module Aws::ElasticLoadBalancingV2
|
|
1215
1265
|
#
|
1216
1266
|
# resp = client.create_target_group({
|
1217
1267
|
# name: "TargetGroupName", # required
|
1218
|
-
# protocol: "HTTP", #
|
1219
|
-
# port: 1,
|
1220
|
-
# vpc_id: "VpcId",
|
1221
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP
|
1268
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP
|
1269
|
+
# port: 1,
|
1270
|
+
# vpc_id: "VpcId",
|
1271
|
+
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP
|
1222
1272
|
# health_check_port: "HealthCheckPort",
|
1273
|
+
# health_check_enabled: false,
|
1223
1274
|
# health_check_path: "Path",
|
1224
1275
|
# health_check_interval_seconds: 1,
|
1225
1276
|
# health_check_timeout_seconds: 1,
|
@@ -1228,7 +1279,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1228
1279
|
# matcher: {
|
1229
1280
|
# http_code: "HttpCode", # required
|
1230
1281
|
# },
|
1231
|
-
# target_type: "instance", # accepts instance, ip
|
1282
|
+
# target_type: "instance", # accepts instance, ip, lambda
|
1232
1283
|
# })
|
1233
1284
|
#
|
1234
1285
|
# @example Response structure
|
@@ -1236,11 +1287,12 @@ module Aws::ElasticLoadBalancingV2
|
|
1236
1287
|
# resp.target_groups #=> Array
|
1237
1288
|
# resp.target_groups[0].target_group_arn #=> String
|
1238
1289
|
# resp.target_groups[0].target_group_name #=> String
|
1239
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
1290
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
|
1240
1291
|
# resp.target_groups[0].port #=> Integer
|
1241
1292
|
# resp.target_groups[0].vpc_id #=> String
|
1242
|
-
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
1293
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
|
1243
1294
|
# resp.target_groups[0].health_check_port #=> String
|
1295
|
+
# resp.target_groups[0].health_check_enabled #=> Boolean
|
1244
1296
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
1245
1297
|
# resp.target_groups[0].health_check_timeout_seconds #=> Integer
|
1246
1298
|
# resp.target_groups[0].healthy_threshold_count #=> Integer
|
@@ -1249,7 +1301,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1249
1301
|
# resp.target_groups[0].matcher.http_code #=> String
|
1250
1302
|
# resp.target_groups[0].load_balancer_arns #=> Array
|
1251
1303
|
# resp.target_groups[0].load_balancer_arns[0] #=> String
|
1252
|
-
# resp.target_groups[0].target_type #=> String, one of "instance", "ip"
|
1304
|
+
# resp.target_groups[0].target_type #=> String, one of "instance", "ip", "lambda"
|
1253
1305
|
#
|
1254
1306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup AWS API Documentation
|
1255
1307
|
#
|
@@ -1604,13 +1656,13 @@ module Aws::ElasticLoadBalancingV2
|
|
1604
1656
|
# resp.listeners[0].listener_arn #=> String
|
1605
1657
|
# resp.listeners[0].load_balancer_arn #=> String
|
1606
1658
|
# resp.listeners[0].port #=> Integer
|
1607
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
1659
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
|
1608
1660
|
# resp.listeners[0].certificates #=> Array
|
1609
1661
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
1610
1662
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
1611
1663
|
# resp.listeners[0].ssl_policy #=> String
|
1612
1664
|
# resp.listeners[0].default_actions #=> Array
|
1613
|
-
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "
|
1665
|
+
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
|
1614
1666
|
# resp.listeners[0].default_actions[0].target_group_arn #=> String
|
1615
1667
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.issuer #=> String
|
1616
1668
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -1624,6 +1676,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1624
1676
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
|
1625
1677
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
|
1626
1678
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
1679
|
+
# resp.listeners[0].default_actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
|
1627
1680
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_arn #=> String
|
1628
1681
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_client_id #=> String
|
1629
1682
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_domain #=> String
|
@@ -1825,6 +1878,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1825
1878
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
|
1826
1879
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
1827
1880
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
1881
|
+
# resp.load_balancers[0].availability_zones[0].static_ip #=> Boolean
|
1828
1882
|
# resp.load_balancers[0].security_groups #=> Array
|
1829
1883
|
# resp.load_balancers[0].security_groups[0] #=> String
|
1830
1884
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
@@ -1839,6 +1893,34 @@ module Aws::ElasticLoadBalancingV2
|
|
1839
1893
|
req.send_request(options)
|
1840
1894
|
end
|
1841
1895
|
|
1896
|
+
# @option params [required, String] :load_balancer_arn
|
1897
|
+
#
|
1898
|
+
# @return [Types::DescribeProvisionedCapacityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1899
|
+
#
|
1900
|
+
# * {Types::DescribeProvisionedCapacityOutput#provisioned_capacity #provisioned_capacity} => Types::ProvisionedCapacity
|
1901
|
+
#
|
1902
|
+
# @example Request syntax with placeholder values
|
1903
|
+
#
|
1904
|
+
# resp = client.describe_provisioned_capacity({
|
1905
|
+
# load_balancer_arn: "LoadBalancerArn", # required
|
1906
|
+
# })
|
1907
|
+
#
|
1908
|
+
# @example Response structure
|
1909
|
+
#
|
1910
|
+
# resp.provisioned_capacity.minimum_lb_capacity_units #=> Integer
|
1911
|
+
# resp.provisioned_capacity.status #=> String, one of "disabled", "pending", "provisioned", "pre-warmed"
|
1912
|
+
# resp.provisioned_capacity.decreases_remaining #=> Integer
|
1913
|
+
# resp.provisioned_capacity.last_modified_time #=> Time
|
1914
|
+
#
|
1915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeProvisionedCapacity AWS API Documentation
|
1916
|
+
#
|
1917
|
+
# @overload describe_provisioned_capacity(params = {})
|
1918
|
+
# @param [Hash] params ({})
|
1919
|
+
def describe_provisioned_capacity(params = {}, options = {})
|
1920
|
+
req = build_request(:describe_provisioned_capacity, params)
|
1921
|
+
req.send_request(options)
|
1922
|
+
end
|
1923
|
+
|
1842
1924
|
# Describes the specified rules or the rules for the specified listener.
|
1843
1925
|
# You must specify either a listener or one or more rules.
|
1844
1926
|
#
|
@@ -1914,8 +1996,19 @@ module Aws::ElasticLoadBalancingV2
|
|
1914
1996
|
# resp.rules[0].conditions[0].field #=> String
|
1915
1997
|
# resp.rules[0].conditions[0].values #=> Array
|
1916
1998
|
# resp.rules[0].conditions[0].values[0] #=> String
|
1999
|
+
# resp.rules[0].conditions[0].host_header_config.values #=> Array
|
2000
|
+
# resp.rules[0].conditions[0].host_header_config.values[0] #=> String
|
2001
|
+
# resp.rules[0].conditions[0].path_pattern_config.values #=> Array
|
2002
|
+
# resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
|
2003
|
+
# resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
|
2004
|
+
# resp.rules[0].conditions[0].http_header_config.values #=> Array
|
2005
|
+
# resp.rules[0].conditions[0].http_header_config.values[0] #=> String
|
2006
|
+
# resp.rules[0].conditions[0].query_string_config.values #=> Array
|
2007
|
+
# resp.rules[0].conditions[0].query_string_config.values[0] #=> String
|
2008
|
+
# resp.rules[0].conditions[0].http_request_method_config.values #=> Array
|
2009
|
+
# resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"
|
1917
2010
|
# resp.rules[0].actions #=> Array
|
1918
|
-
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "
|
2011
|
+
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
|
1919
2012
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
1920
2013
|
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
|
1921
2014
|
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -1929,6 +2022,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1929
2022
|
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
|
1930
2023
|
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
|
1931
2024
|
# resp.rules[0].actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
2025
|
+
# resp.rules[0].actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
|
1932
2026
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_arn #=> String
|
1933
2027
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_client_id #=> String
|
1934
2028
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_domain #=> String
|
@@ -2333,11 +2427,12 @@ module Aws::ElasticLoadBalancingV2
|
|
2333
2427
|
# resp.target_groups #=> Array
|
2334
2428
|
# resp.target_groups[0].target_group_arn #=> String
|
2335
2429
|
# resp.target_groups[0].target_group_name #=> String
|
2336
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
2430
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
|
2337
2431
|
# resp.target_groups[0].port #=> Integer
|
2338
2432
|
# resp.target_groups[0].vpc_id #=> String
|
2339
|
-
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
2433
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
|
2340
2434
|
# resp.target_groups[0].health_check_port #=> String
|
2435
|
+
# resp.target_groups[0].health_check_enabled #=> Boolean
|
2341
2436
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
2342
2437
|
# resp.target_groups[0].health_check_timeout_seconds #=> Integer
|
2343
2438
|
# resp.target_groups[0].healthy_threshold_count #=> Integer
|
@@ -2346,7 +2441,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2346
2441
|
# resp.target_groups[0].matcher.http_code #=> String
|
2347
2442
|
# resp.target_groups[0].load_balancer_arns #=> Array
|
2348
2443
|
# resp.target_groups[0].load_balancer_arns[0] #=> String
|
2349
|
-
# resp.target_groups[0].target_type #=> String, one of "instance", "ip"
|
2444
|
+
# resp.target_groups[0].target_type #=> String, one of "instance", "ip", "lambda"
|
2350
2445
|
# resp.next_marker #=> String
|
2351
2446
|
#
|
2352
2447
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups AWS API Documentation
|
@@ -2458,7 +2553,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2458
2553
|
# resp.target_health_descriptions[0].target.availability_zone #=> String
|
2459
2554
|
# resp.target_health_descriptions[0].health_check_port #=> String
|
2460
2555
|
# resp.target_health_descriptions[0].target_health.state #=> String, one of "initial", "healthy", "unhealthy", "unused", "draining", "unavailable"
|
2461
|
-
# resp.target_health_descriptions[0].target_health.reason #=> String, one of "Elb.RegistrationInProgress", "Elb.InitialHealthChecking", "Target.ResponseCodeMismatch", "Target.Timeout", "Target.FailedHealthChecks", "Target.NotRegistered", "Target.NotInUse", "Target.DeregistrationInProgress", "Target.InvalidState", "Target.IpUnusable", "Elb.InternalError"
|
2556
|
+
# resp.target_health_descriptions[0].target_health.reason #=> String, one of "Elb.RegistrationInProgress", "Elb.InitialHealthChecking", "Target.ResponseCodeMismatch", "Target.Timeout", "Target.FailedHealthChecks", "Target.NotRegistered", "Target.NotInUse", "Target.DeregistrationInProgress", "Target.InvalidState", "Target.IpUnusable", "Target.HealthCheckDisabled", "Elb.InternalError"
|
2462
2557
|
# resp.target_health_descriptions[0].target_health.description #=> String
|
2463
2558
|
#
|
2464
2559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth AWS API Documentation
|
@@ -2500,30 +2595,31 @@ module Aws::ElasticLoadBalancingV2
|
|
2500
2595
|
#
|
2501
2596
|
# @option params [Array<Types::Certificate>] :certificates
|
2502
2597
|
# \[HTTPS listeners\] The default SSL server certificate. You must
|
2503
|
-
# provide exactly one
|
2504
|
-
#
|
2598
|
+
# provide exactly one certificate. Set `CertificateArn` to the
|
2599
|
+
# certificate ARN but do not set `IsDefault`.
|
2600
|
+
#
|
2601
|
+
# To create a certificate list, use AddListenerCertificates.
|
2505
2602
|
#
|
2506
2603
|
# @option params [Array<Types::Action>] :default_actions
|
2507
2604
|
# The actions for the default rule. The rule must include one forward
|
2508
2605
|
# action or one or more fixed-response actions.
|
2509
2606
|
#
|
2510
|
-
# If the action type is `forward`, you
|
2511
|
-
#
|
2512
|
-
#
|
2607
|
+
# If the action type is `forward`, you specify a target group. The
|
2608
|
+
# protocol of the target group must be HTTP or HTTPS for an Application
|
2609
|
+
# Load Balancer or TCP for a Network Load Balancer.
|
2513
2610
|
#
|
2514
|
-
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
2515
|
-
#
|
2516
|
-
#
|
2611
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
2612
|
+
# authenticate users through an identity provider that is OpenID Connect
|
2613
|
+
# (OIDC) compliant.
|
2517
2614
|
#
|
2518
2615
|
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
2519
|
-
#
|
2520
|
-
# application.
|
2616
|
+
# authenticate users through the user pools supported by Amazon Cognito.
|
2521
2617
|
#
|
2522
2618
|
# \[Application Load Balancer\] If the action type is `redirect`, you
|
2523
|
-
#
|
2619
|
+
# redirect specified client requests from one URL to another.
|
2524
2620
|
#
|
2525
2621
|
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
2526
|
-
# you
|
2622
|
+
# you drop specified client requests and return a custom HTTP response.
|
2527
2623
|
#
|
2528
2624
|
# @return [Types::ModifyListenerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2529
2625
|
#
|
@@ -2604,7 +2700,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2604
2700
|
# resp = client.modify_listener({
|
2605
2701
|
# listener_arn: "ListenerArn", # required
|
2606
2702
|
# port: 1,
|
2607
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP
|
2703
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP
|
2608
2704
|
# ssl_policy: "SslPolicyName",
|
2609
2705
|
# certificates: [
|
2610
2706
|
# {
|
@@ -2614,7 +2710,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2614
2710
|
# ],
|
2615
2711
|
# default_actions: [
|
2616
2712
|
# {
|
2617
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito,
|
2713
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, redirect, authenticate-cognito, fixed-response
|
2618
2714
|
# target_group_arn: "TargetGroupArn",
|
2619
2715
|
# authenticate_oidc_config: {
|
2620
2716
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -2622,7 +2718,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2622
2718
|
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
|
2623
2719
|
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
|
2624
2720
|
# client_id: "AuthenticateOidcActionClientId", # required
|
2625
|
-
# client_secret: "AuthenticateOidcActionClientSecret",
|
2721
|
+
# client_secret: "AuthenticateOidcActionClientSecret",
|
2626
2722
|
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
|
2627
2723
|
# scope: "AuthenticateOidcActionScope",
|
2628
2724
|
# session_timeout: 1,
|
@@ -2630,6 +2726,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2630
2726
|
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
|
2631
2727
|
# },
|
2632
2728
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
2729
|
+
# use_existing_client_secret: false,
|
2633
2730
|
# },
|
2634
2731
|
# authenticate_cognito_config: {
|
2635
2732
|
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
|
@@ -2667,13 +2764,13 @@ module Aws::ElasticLoadBalancingV2
|
|
2667
2764
|
# resp.listeners[0].listener_arn #=> String
|
2668
2765
|
# resp.listeners[0].load_balancer_arn #=> String
|
2669
2766
|
# resp.listeners[0].port #=> Integer
|
2670
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
2767
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
|
2671
2768
|
# resp.listeners[0].certificates #=> Array
|
2672
2769
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
2673
2770
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
2674
2771
|
# resp.listeners[0].ssl_policy #=> String
|
2675
2772
|
# resp.listeners[0].default_actions #=> Array
|
2676
|
-
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "
|
2773
|
+
# resp.listeners[0].default_actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
|
2677
2774
|
# resp.listeners[0].default_actions[0].target_group_arn #=> String
|
2678
2775
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.issuer #=> String
|
2679
2776
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -2687,6 +2784,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2687
2784
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
|
2688
2785
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
|
2689
2786
|
# resp.listeners[0].default_actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
2787
|
+
# resp.listeners[0].default_actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
|
2690
2788
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_arn #=> String
|
2691
2789
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_client_id #=> String
|
2692
2790
|
# resp.listeners[0].default_actions[0].authenticate_cognito_config.user_pool_domain #=> String
|
@@ -2890,6 +2988,37 @@ module Aws::ElasticLoadBalancingV2
|
|
2890
2988
|
req.send_request(options)
|
2891
2989
|
end
|
2892
2990
|
|
2991
|
+
# @option params [required, String] :load_balancer_arn
|
2992
|
+
#
|
2993
|
+
# @option params [required, Integer] :minimum_lb_capacity_units
|
2994
|
+
#
|
2995
|
+
# @return [Types::ModifyProvisionedCapacityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2996
|
+
#
|
2997
|
+
# * {Types::ModifyProvisionedCapacityOutput#provisioned_capacity #provisioned_capacity} => Types::ProvisionedCapacity
|
2998
|
+
#
|
2999
|
+
# @example Request syntax with placeholder values
|
3000
|
+
#
|
3001
|
+
# resp = client.modify_provisioned_capacity({
|
3002
|
+
# load_balancer_arn: "LoadBalancerArn", # required
|
3003
|
+
# minimum_lb_capacity_units: 1, # required
|
3004
|
+
# })
|
3005
|
+
#
|
3006
|
+
# @example Response structure
|
3007
|
+
#
|
3008
|
+
# resp.provisioned_capacity.minimum_lb_capacity_units #=> Integer
|
3009
|
+
# resp.provisioned_capacity.status #=> String, one of "disabled", "pending", "provisioned", "pre-warmed"
|
3010
|
+
# resp.provisioned_capacity.decreases_remaining #=> Integer
|
3011
|
+
# resp.provisioned_capacity.last_modified_time #=> Time
|
3012
|
+
#
|
3013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyProvisionedCapacity AWS API Documentation
|
3014
|
+
#
|
3015
|
+
# @overload modify_provisioned_capacity(params = {})
|
3016
|
+
# @param [Hash] params ({})
|
3017
|
+
def modify_provisioned_capacity(params = {}, options = {})
|
3018
|
+
req = build_request(:modify_provisioned_capacity, params)
|
3019
|
+
req.send_request(options)
|
3020
|
+
end
|
3021
|
+
|
2893
3022
|
# Modifies the specified rule.
|
2894
3023
|
#
|
2895
3024
|
# Any existing properties that you do not modify retain their current
|
@@ -2935,15 +3064,22 @@ module Aws::ElasticLoadBalancingV2
|
|
2935
3064
|
# @option params [Array<Types::Action>] :actions
|
2936
3065
|
# The actions.
|
2937
3066
|
#
|
2938
|
-
# If the action type is `forward`, you
|
2939
|
-
# group
|
3067
|
+
# If the action type is `forward`, you specify a target group. The
|
3068
|
+
# protocol of the target group must be HTTP or HTTPS for an Application
|
3069
|
+
# Load Balancer or TCP for a Network Load Balancer.
|
2940
3070
|
#
|
2941
|
-
# If the action type is `authenticate-oidc`, you
|
2942
|
-
# provider that is OpenID Connect
|
2943
|
-
#
|
3071
|
+
# \[HTTPS listener\] If the action type is `authenticate-oidc`, you
|
3072
|
+
# authenticate users through an identity provider that is OpenID Connect
|
3073
|
+
# (OIDC) compliant.
|
2944
3074
|
#
|
2945
|
-
# If the action type is `authenticate-cognito`, you
|
2946
|
-
#
|
3075
|
+
# \[HTTPS listener\] If the action type is `authenticate-cognito`, you
|
3076
|
+
# authenticate users through the user pools supported by Amazon Cognito.
|
3077
|
+
#
|
3078
|
+
# \[Application Load Balancer\] If the action type is `redirect`, you
|
3079
|
+
# redirect specified client requests from one URL to another.
|
3080
|
+
#
|
3081
|
+
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
3082
|
+
# you drop specified client requests and return a custom HTTP response.
|
2947
3083
|
#
|
2948
3084
|
# @return [Types::ModifyRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2949
3085
|
#
|
@@ -2999,11 +3135,27 @@ module Aws::ElasticLoadBalancingV2
|
|
2999
3135
|
# {
|
3000
3136
|
# field: "ConditionFieldName",
|
3001
3137
|
# values: ["StringValue"],
|
3138
|
+
# host_header_config: {
|
3139
|
+
# values: ["StringValue"],
|
3140
|
+
# },
|
3141
|
+
# path_pattern_config: {
|
3142
|
+
# values: ["StringValue"],
|
3143
|
+
# },
|
3144
|
+
# http_header_config: {
|
3145
|
+
# http_header_name: "HttpHeaderConditionName",
|
3146
|
+
# values: ["StringValue"],
|
3147
|
+
# },
|
3148
|
+
# query_string_config: {
|
3149
|
+
# values: ["StringValue"],
|
3150
|
+
# },
|
3151
|
+
# http_request_method_config: {
|
3152
|
+
# values: ["GET"], # accepts GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
|
3153
|
+
# },
|
3002
3154
|
# },
|
3003
3155
|
# ],
|
3004
3156
|
# actions: [
|
3005
3157
|
# {
|
3006
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito,
|
3158
|
+
# type: "forward", # required, accepts forward, authenticate-oidc, redirect, authenticate-cognito, fixed-response
|
3007
3159
|
# target_group_arn: "TargetGroupArn",
|
3008
3160
|
# authenticate_oidc_config: {
|
3009
3161
|
# issuer: "AuthenticateOidcActionIssuer", # required
|
@@ -3011,7 +3163,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3011
3163
|
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
|
3012
3164
|
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
|
3013
3165
|
# client_id: "AuthenticateOidcActionClientId", # required
|
3014
|
-
# client_secret: "AuthenticateOidcActionClientSecret",
|
3166
|
+
# client_secret: "AuthenticateOidcActionClientSecret",
|
3015
3167
|
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
|
3016
3168
|
# scope: "AuthenticateOidcActionScope",
|
3017
3169
|
# session_timeout: 1,
|
@@ -3019,6 +3171,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3019
3171
|
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
|
3020
3172
|
# },
|
3021
3173
|
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
3174
|
+
# use_existing_client_secret: false,
|
3022
3175
|
# },
|
3023
3176
|
# authenticate_cognito_config: {
|
3024
3177
|
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
|
@@ -3059,8 +3212,19 @@ module Aws::ElasticLoadBalancingV2
|
|
3059
3212
|
# resp.rules[0].conditions[0].field #=> String
|
3060
3213
|
# resp.rules[0].conditions[0].values #=> Array
|
3061
3214
|
# resp.rules[0].conditions[0].values[0] #=> String
|
3215
|
+
# resp.rules[0].conditions[0].host_header_config.values #=> Array
|
3216
|
+
# resp.rules[0].conditions[0].host_header_config.values[0] #=> String
|
3217
|
+
# resp.rules[0].conditions[0].path_pattern_config.values #=> Array
|
3218
|
+
# resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
|
3219
|
+
# resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
|
3220
|
+
# resp.rules[0].conditions[0].http_header_config.values #=> Array
|
3221
|
+
# resp.rules[0].conditions[0].http_header_config.values[0] #=> String
|
3222
|
+
# resp.rules[0].conditions[0].query_string_config.values #=> Array
|
3223
|
+
# resp.rules[0].conditions[0].query_string_config.values[0] #=> String
|
3224
|
+
# resp.rules[0].conditions[0].http_request_method_config.values #=> Array
|
3225
|
+
# resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"
|
3062
3226
|
# resp.rules[0].actions #=> Array
|
3063
|
-
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "
|
3227
|
+
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
|
3064
3228
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
3065
3229
|
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
|
3066
3230
|
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -3074,6 +3238,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3074
3238
|
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
|
3075
3239
|
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
|
3076
3240
|
# resp.rules[0].actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
3241
|
+
# resp.rules[0].actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
|
3077
3242
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_arn #=> String
|
3078
3243
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_client_id #=> String
|
3079
3244
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_domain #=> String
|
@@ -3117,6 +3282,9 @@ module Aws::ElasticLoadBalancingV2
|
|
3117
3282
|
# targets. The TCP protocol is supported only if the protocol of the
|
3118
3283
|
# target group is TCP.
|
3119
3284
|
#
|
3285
|
+
# If the protocol of the target group is TCP, you can't modify this
|
3286
|
+
# setting.
|
3287
|
+
#
|
3120
3288
|
# @option params [String] :health_check_port
|
3121
3289
|
# The port the load balancer uses when performing health checks on
|
3122
3290
|
# targets.
|
@@ -3125,16 +3293,25 @@ module Aws::ElasticLoadBalancingV2
|
|
3125
3293
|
# \[HTTP/HTTPS health checks\] The ping path that is the destination for
|
3126
3294
|
# the health check request.
|
3127
3295
|
#
|
3296
|
+
# @option params [Boolean] :health_check_enabled
|
3297
|
+
# Indicates whether health checks are enabled.
|
3298
|
+
#
|
3128
3299
|
# @option params [Integer] :health_check_interval_seconds
|
3129
3300
|
# The approximate amount of time, in seconds, between health checks of
|
3130
3301
|
# an individual target. For Application Load Balancers, the range is
|
3131
3302
|
# 5–300 seconds. For Network Load Balancers, the supported values are 10
|
3132
3303
|
# or 30 seconds.
|
3133
3304
|
#
|
3305
|
+
# If the protocol of the target group is TCP, you can't modify this
|
3306
|
+
# setting.
|
3307
|
+
#
|
3134
3308
|
# @option params [Integer] :health_check_timeout_seconds
|
3135
3309
|
# \[HTTP/HTTPS health checks\] The amount of time, in seconds, during
|
3136
3310
|
# which no response means a failed health check.
|
3137
3311
|
#
|
3312
|
+
# If the protocol of the target group is TCP, you can't modify this
|
3313
|
+
# setting.
|
3314
|
+
#
|
3138
3315
|
# @option params [Integer] :healthy_threshold_count
|
3139
3316
|
# The number of consecutive health checks successes required before
|
3140
3317
|
# considering an unhealthy target healthy.
|
@@ -3148,6 +3325,9 @@ module Aws::ElasticLoadBalancingV2
|
|
3148
3325
|
# \[HTTP/HTTPS health checks\] The HTTP codes to use when checking for a
|
3149
3326
|
# successful response from a target.
|
3150
3327
|
#
|
3328
|
+
# If the protocol of the target group is TCP, you can't modify this
|
3329
|
+
# setting.
|
3330
|
+
#
|
3151
3331
|
# @return [Types::ModifyTargetGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3152
3332
|
#
|
3153
3333
|
# * {Types::ModifyTargetGroupOutput#target_groups #target_groups} => Array<Types::TargetGroup>
|
@@ -3193,9 +3373,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3193
3373
|
#
|
3194
3374
|
# resp = client.modify_target_group({
|
3195
3375
|
# target_group_arn: "TargetGroupArn", # required
|
3196
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP
|
3376
|
+
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP
|
3197
3377
|
# health_check_port: "HealthCheckPort",
|
3198
3378
|
# health_check_path: "Path",
|
3379
|
+
# health_check_enabled: false,
|
3199
3380
|
# health_check_interval_seconds: 1,
|
3200
3381
|
# health_check_timeout_seconds: 1,
|
3201
3382
|
# healthy_threshold_count: 1,
|
@@ -3210,11 +3391,12 @@ module Aws::ElasticLoadBalancingV2
|
|
3210
3391
|
# resp.target_groups #=> Array
|
3211
3392
|
# resp.target_groups[0].target_group_arn #=> String
|
3212
3393
|
# resp.target_groups[0].target_group_name #=> String
|
3213
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
3394
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
|
3214
3395
|
# resp.target_groups[0].port #=> Integer
|
3215
3396
|
# resp.target_groups[0].vpc_id #=> String
|
3216
|
-
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
3397
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP"
|
3217
3398
|
# resp.target_groups[0].health_check_port #=> String
|
3399
|
+
# resp.target_groups[0].health_check_enabled #=> Boolean
|
3218
3400
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
3219
3401
|
# resp.target_groups[0].health_check_timeout_seconds #=> Integer
|
3220
3402
|
# resp.target_groups[0].healthy_threshold_count #=> Integer
|
@@ -3223,7 +3405,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3223
3405
|
# resp.target_groups[0].matcher.http_code #=> String
|
3224
3406
|
# resp.target_groups[0].load_balancer_arns #=> Array
|
3225
3407
|
# resp.target_groups[0].load_balancer_arns[0] #=> String
|
3226
|
-
# resp.target_groups[0].target_type #=> String, one of "instance", "ip"
|
3408
|
+
# resp.target_groups[0].target_type #=> String, one of "instance", "ip", "lambda"
|
3227
3409
|
#
|
3228
3410
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup AWS API Documentation
|
3229
3411
|
#
|
@@ -3312,9 +3494,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3312
3494
|
|
3313
3495
|
# Registers the specified targets with the specified target group.
|
3314
3496
|
#
|
3315
|
-
#
|
3316
|
-
#
|
3317
|
-
# register it.
|
3497
|
+
# If the target is an EC2 instance, it must be in the `running` state
|
3498
|
+
# when you register it.
|
3318
3499
|
#
|
3319
3500
|
# By default, the load balancer routes requests to registered targets
|
3320
3501
|
# using the protocol and port for the target group. Alternatively, you
|
@@ -3335,6 +3516,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3335
3516
|
# @option params [required, Array<Types::TargetDescription>] :targets
|
3336
3517
|
# The targets.
|
3337
3518
|
#
|
3519
|
+
# To register a target by instance ID, specify the instance ID. To
|
3520
|
+
# register a target by IP address, specify the IP address. To register a
|
3521
|
+
# Lambda function, specify the ARN of the Lambda function.
|
3522
|
+
#
|
3338
3523
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3339
3524
|
#
|
3340
3525
|
#
|
@@ -3408,6 +3593,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3408
3593
|
#
|
3409
3594
|
# @option params [required, Array<Types::Certificate>] :certificates
|
3410
3595
|
# The certificate to remove. You can specify one certificate per call.
|
3596
|
+
# Set `CertificateArn` to the certificate ARN but do not set
|
3597
|
+
# `IsDefault`.
|
3411
3598
|
#
|
3412
3599
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3413
3600
|
#
|
@@ -3585,8 +3772,19 @@ module Aws::ElasticLoadBalancingV2
|
|
3585
3772
|
# resp.rules[0].conditions[0].field #=> String
|
3586
3773
|
# resp.rules[0].conditions[0].values #=> Array
|
3587
3774
|
# resp.rules[0].conditions[0].values[0] #=> String
|
3775
|
+
# resp.rules[0].conditions[0].host_header_config.values #=> Array
|
3776
|
+
# resp.rules[0].conditions[0].host_header_config.values[0] #=> String
|
3777
|
+
# resp.rules[0].conditions[0].path_pattern_config.values #=> Array
|
3778
|
+
# resp.rules[0].conditions[0].path_pattern_config.values[0] #=> String
|
3779
|
+
# resp.rules[0].conditions[0].http_header_config.http_header_name #=> String
|
3780
|
+
# resp.rules[0].conditions[0].http_header_config.values #=> Array
|
3781
|
+
# resp.rules[0].conditions[0].http_header_config.values[0] #=> String
|
3782
|
+
# resp.rules[0].conditions[0].query_string_config.values #=> Array
|
3783
|
+
# resp.rules[0].conditions[0].query_string_config.values[0] #=> String
|
3784
|
+
# resp.rules[0].conditions[0].http_request_method_config.values #=> Array
|
3785
|
+
# resp.rules[0].conditions[0].http_request_method_config.values[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"
|
3588
3786
|
# resp.rules[0].actions #=> Array
|
3589
|
-
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "
|
3787
|
+
# resp.rules[0].actions[0].type #=> String, one of "forward", "authenticate-oidc", "redirect", "authenticate-cognito", "fixed-response"
|
3590
3788
|
# resp.rules[0].actions[0].target_group_arn #=> String
|
3591
3789
|
# resp.rules[0].actions[0].authenticate_oidc_config.issuer #=> String
|
3592
3790
|
# resp.rules[0].actions[0].authenticate_oidc_config.authorization_endpoint #=> String
|
@@ -3600,6 +3798,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3600
3798
|
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params #=> Hash
|
3601
3799
|
# resp.rules[0].actions[0].authenticate_oidc_config.authentication_request_extra_params["AuthenticateOidcActionAuthenticationRequestParamName"] #=> String
|
3602
3800
|
# resp.rules[0].actions[0].authenticate_oidc_config.on_unauthenticated_request #=> String, one of "deny", "allow", "authenticate"
|
3801
|
+
# resp.rules[0].actions[0].authenticate_oidc_config.use_existing_client_secret #=> Boolean
|
3603
3802
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_arn #=> String
|
3604
3803
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_client_id #=> String
|
3605
3804
|
# resp.rules[0].actions[0].authenticate_cognito_config.user_pool_domain #=> String
|
@@ -3747,6 +3946,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3747
3946
|
# {
|
3748
3947
|
# subnet_id: "SubnetId",
|
3749
3948
|
# allocation_id: "AllocationId",
|
3949
|
+
# static_ip: false,
|
3750
3950
|
# },
|
3751
3951
|
# ],
|
3752
3952
|
# })
|
@@ -3759,6 +3959,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3759
3959
|
# resp.availability_zones[0].load_balancer_addresses #=> Array
|
3760
3960
|
# resp.availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
3761
3961
|
# resp.availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
3962
|
+
# resp.availability_zones[0].static_ip #=> Boolean
|
3762
3963
|
#
|
3763
3964
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets AWS API Documentation
|
3764
3965
|
#
|
@@ -3782,7 +3983,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3782
3983
|
params: params,
|
3783
3984
|
config: config)
|
3784
3985
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
3785
|
-
context[:gem_version] = '1.
|
3986
|
+
context[:gem_version] = '1.18.0'
|
3786
3987
|
Seahorse::Client::Request.new(handlers, context)
|
3787
3988
|
end
|
3788
3989
|
|