aws-sdk-elasticloadbalancingv2 1.53.0 → 1.54.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
  SHA256:
3
- metadata.gz: 0375ef8b924fb7560f632a96dbce09a7d16e2221afe154255bc3d6a2e87745e2
4
- data.tar.gz: ea11ed7aa075aa7a135d9710fbfddaf99400e48043180c3fcb278dccdcf9e529
3
+ metadata.gz: 81a985f49cf2c2ffee2a2bb22a25fef073cdf6f0ea90ecfdf106dc76f3ea1b9a
4
+ data.tar.gz: 1c74da13fc1f30a76e024b833c7ed367c72b51b93eb3c9c99fd951d5c57b3449
5
5
  SHA512:
6
- metadata.gz: 607203f2d7950a278654d14cf55d4f188592693f8fd22a9801ffebeac31c749f06cea96ca32428678a4b093d6f0833e0901208f90b359f5be1c8c17741ff3048
7
- data.tar.gz: 354f7b04d1555eabdb54f0f2f361f5aca8ae26d577edd94a40e179c5eeb05f9006bf414f4e3b83966d1e4075aca16b969978b95d2f3b8e43dbcac108ab3240a1
6
+ metadata.gz: 92976d3941d1348ca6a93c972e6bf871c7dd4bf8d388365046364ebf3d801ed8bec5c4ed83e61a4f68fdb732ea80b1a2513078fdd08cc9dd436e46d1d747e82d
7
+ data.tar.gz: 4ff97e172086794cafb10189868dce76e9dce867102c530e73f27ee2919c2542c6005afd132ad4de57d2710a16310a8386540ddc17e70a4908506aec7e73a1be
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
49
49
  # @!group service
50
50
  module Aws::ElasticLoadBalancingV2
51
51
 
52
- GEM_VERSION = '1.53.0'
52
+ GEM_VERSION = '1.54.0'
53
53
 
54
54
  end
@@ -518,26 +518,7 @@ module Aws::ElasticLoadBalancingV2
518
518
  # AddListenerCertificates.
519
519
  #
520
520
  # @option params [required, Array<Types::Action>] :default_actions
521
- # The actions for the default rule. The rule must include one forward
522
- # action or one or more fixed-response actions.
523
- #
524
- # If the action type is `forward`, you specify one or more target
525
- # groups. The protocol of the target group must be HTTP or HTTPS for an
526
- # Application Load Balancer. The protocol of the target group must be
527
- # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
528
- #
529
- # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
530
- # authenticate users through an identity provider that is OpenID Connect
531
- # (OIDC) compliant.
532
- #
533
- # \[HTTPS listeners\] If the action type is `authenticate-cognito`, you
534
- # authenticate users through the user pools supported by Amazon Cognito.
535
- #
536
- # \[Application Load Balancer\] If the action type is `redirect`, you
537
- # redirect specified client requests from one URL to another.
538
- #
539
- # \[Application Load Balancer\] If the action type is `fixed-response`,
540
- # you drop specified client requests and return a custom HTTP response.
521
+ # The actions for the default rule.
541
522
  #
542
523
  # @option params [Array<String>] :alpn_policy
543
524
  # \[TLS listeners\] The name of the Application-Layer Protocol
@@ -1086,38 +1067,14 @@ module Aws::ElasticLoadBalancingV2
1086
1067
  # The Amazon Resource Name (ARN) of the listener.
1087
1068
  #
1088
1069
  # @option params [required, Array<Types::RuleCondition>] :conditions
1089
- # The conditions. Each rule can optionally include up to one of each of
1090
- # the following conditions: `http-request-method`, `host-header`,
1091
- # `path-pattern`, and `source-ip`. Each rule can also optionally include
1092
- # one or more of each of the following conditions: `http-header` and
1093
- # `query-string`.
1070
+ # The conditions.
1094
1071
  #
1095
1072
  # @option params [required, Integer] :priority
1096
1073
  # The rule priority. A listener can't have multiple rules with the same
1097
1074
  # priority.
1098
1075
  #
1099
1076
  # @option params [required, Array<Types::Action>] :actions
1100
- # The actions. Each rule must include exactly one of the following types
1101
- # of actions: `forward`, `fixed-response`, or `redirect`, and it must be
1102
- # the last action to be performed.
1103
- #
1104
- # If the action type is `forward`, you specify one or more target
1105
- # groups. The protocol of the target group must be HTTP or HTTPS for an
1106
- # Application Load Balancer. The protocol of the target group must be
1107
- # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
1108
- #
1109
- # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
1110
- # authenticate users through an identity provider that is OpenID Connect
1111
- # (OIDC) compliant.
1112
- #
1113
- # \[HTTPS listeners\] If the action type is `authenticate-cognito`, you
1114
- # authenticate users through the user pools supported by Amazon Cognito.
1115
- #
1116
- # \[Application Load Balancer\] If the action type is `redirect`, you
1117
- # redirect specified client requests from one URL to another.
1118
- #
1119
- # \[Application Load Balancer\] If the action type is `fixed-response`,
1120
- # you drop specified client requests and return a custom HTTP response.
1077
+ # The actions.
1121
1078
  #
1122
1079
  # @option params [Array<Types::Tag>] :tags
1123
1080
  # The tags to assign to the rule.
@@ -1394,6 +1351,12 @@ module Aws::ElasticLoadBalancingV2
1394
1351
  # TCP\_UDP target group. If the target is a Lambda function, this
1395
1352
  # parameter does not apply.
1396
1353
  #
1354
+ # @option params [String] :protocol_version
1355
+ # \[HTTP/HTTPS protocol\] The protocol version. Specify `GRPC` to send
1356
+ # requests to targets using gRPC. Specify `HTTP2` to send requests to
1357
+ # targets using HTTP/2. The default is `HTTP1`, which sends requests to
1358
+ # targets using HTTP/1.1.
1359
+ #
1397
1360
  # @option params [Integer] :port
1398
1361
  # The port on which the targets receive traffic. This port is used
1399
1362
  # unless you specify a port override when registering the target. If the
@@ -1424,8 +1387,14 @@ module Aws::ElasticLoadBalancingV2
1424
1387
  # enabled and cannot be disabled.
1425
1388
  #
1426
1389
  # @option params [String] :health_check_path
1427
- # \[HTTP/HTTPS health checks\] The ping path that is the destination on
1428
- # the targets for health checks. The default is /.
1390
+ # \[HTTP/HTTPS health checks\] The destination for health checks on the
1391
+ # targets.
1392
+ #
1393
+ # \[HTTP1 or HTTP2 protocol version\] The ping path. The default is /.
1394
+ #
1395
+ # \[GRPC protocol version\] The path of a custom health check method
1396
+ # with the format /package.service/method. The default is
1397
+ # /AWS.ALB/healthcheck.
1429
1398
  #
1430
1399
  # @option params [Integer] :health_check_interval_seconds
1431
1400
  # The approximate amount of time, in seconds, between health checks of
@@ -1457,8 +1426,8 @@ module Aws::ElasticLoadBalancingV2
1457
1426
  # count. If the target type is `lambda`, the default is 2.
1458
1427
  #
1459
1428
  # @option params [Types::Matcher] :matcher
1460
- # \[HTTP/HTTPS health checks\] The HTTP codes to use when checking for a
1461
- # successful response from a target.
1429
+ # \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
1430
+ # checking for a successful response from a target.
1462
1431
  #
1463
1432
  # @option params [String] :target_type
1464
1433
  # The type of target that you must specify when registering targets with
@@ -1524,6 +1493,7 @@ module Aws::ElasticLoadBalancingV2
1524
1493
  # resp = client.create_target_group({
1525
1494
  # name: "TargetGroupName", # required
1526
1495
  # protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
1496
+ # protocol_version: "ProtocolVersion",
1527
1497
  # port: 1,
1528
1498
  # vpc_id: "VpcId",
1529
1499
  # health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
@@ -1535,7 +1505,8 @@ module Aws::ElasticLoadBalancingV2
1535
1505
  # healthy_threshold_count: 1,
1536
1506
  # unhealthy_threshold_count: 1,
1537
1507
  # matcher: {
1538
- # http_code: "HttpCode", # required
1508
+ # http_code: "HttpCode",
1509
+ # grpc_code: "GrpcCode",
1539
1510
  # },
1540
1511
  # target_type: "instance", # accepts instance, ip, lambda
1541
1512
  # tags: [
@@ -1563,9 +1534,11 @@ module Aws::ElasticLoadBalancingV2
1563
1534
  # resp.target_groups[0].unhealthy_threshold_count #=> Integer
1564
1535
  # resp.target_groups[0].health_check_path #=> String
1565
1536
  # resp.target_groups[0].matcher.http_code #=> String
1537
+ # resp.target_groups[0].matcher.grpc_code #=> String
1566
1538
  # resp.target_groups[0].load_balancer_arns #=> Array
1567
1539
  # resp.target_groups[0].load_balancer_arns[0] #=> String
1568
1540
  # resp.target_groups[0].target_type #=> String, one of "instance", "ip", "lambda"
1541
+ # resp.target_groups[0].protocol_version #=> String
1569
1542
  #
1570
1543
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup AWS API Documentation
1571
1544
  #
@@ -2724,9 +2697,11 @@ module Aws::ElasticLoadBalancingV2
2724
2697
  # resp.target_groups[0].unhealthy_threshold_count #=> Integer
2725
2698
  # resp.target_groups[0].health_check_path #=> String
2726
2699
  # resp.target_groups[0].matcher.http_code #=> String
2700
+ # resp.target_groups[0].matcher.grpc_code #=> String
2727
2701
  # resp.target_groups[0].load_balancer_arns #=> Array
2728
2702
  # resp.target_groups[0].load_balancer_arns[0] #=> String
2729
2703
  # resp.target_groups[0].target_type #=> String, one of "instance", "ip", "lambda"
2704
+ # resp.target_groups[0].protocol_version #=> String
2730
2705
  # resp.next_marker #=> String
2731
2706
  #
2732
2707
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups AWS API Documentation
@@ -2921,26 +2896,7 @@ module Aws::ElasticLoadBalancingV2
2921
2896
  # To create a certificate list, use AddListenerCertificates.
2922
2897
  #
2923
2898
  # @option params [Array<Types::Action>] :default_actions
2924
- # The actions for the default rule. The rule must include one forward
2925
- # action or one or more fixed-response actions.
2926
- #
2927
- # If the action type is `forward`, you specify one or more target
2928
- # groups. The protocol of the target group must be HTTP or HTTPS for an
2929
- # Application Load Balancer. The protocol of the target group must be
2930
- # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
2931
- #
2932
- # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
2933
- # authenticate users through an identity provider that is OpenID Connect
2934
- # (OIDC) compliant.
2935
- #
2936
- # \[HTTPS listeners\] If the action type is `authenticate-cognito`, you
2937
- # authenticate users through the user pools supported by Amazon Cognito.
2938
- #
2939
- # \[Application Load Balancer\] If the action type is `redirect`, you
2940
- # redirect specified client requests from one URL to another.
2941
- #
2942
- # \[Application Load Balancer\] If the action type is `fixed-response`,
2943
- # you drop specified client requests and return a custom HTTP response.
2899
+ # The actions for the default rule.
2944
2900
  #
2945
2901
  # @option params [Array<String>] :alpn_policy
2946
2902
  # \[TLS listeners\] The name of the Application-Layer Protocol
@@ -3365,33 +3321,10 @@ module Aws::ElasticLoadBalancingV2
3365
3321
  # The Amazon Resource Name (ARN) of the rule.
3366
3322
  #
3367
3323
  # @option params [Array<Types::RuleCondition>] :conditions
3368
- # The conditions. Each rule can include zero or one of the following
3369
- # conditions: `http-request-method`, `host-header`, `path-pattern`, and
3370
- # `source-ip`, and zero or more of the following conditions:
3371
- # `http-header` and `query-string`.
3324
+ # The conditions.
3372
3325
  #
3373
3326
  # @option params [Array<Types::Action>] :actions
3374
- # The actions. Each rule must include exactly one of the following types
3375
- # of actions: `forward`, `fixed-response`, or `redirect`, and it must be
3376
- # the last action to be performed.
3377
- #
3378
- # If the action type is `forward`, you specify one or more target
3379
- # groups. The protocol of the target group must be HTTP or HTTPS for an
3380
- # Application Load Balancer. The protocol of the target group must be
3381
- # TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
3382
- #
3383
- # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
3384
- # authenticate users through an identity provider that is OpenID Connect
3385
- # (OIDC) compliant.
3386
- #
3387
- # \[HTTPS listeners\] If the action type is `authenticate-cognito`, you
3388
- # authenticate users through the user pools supported by Amazon Cognito.
3389
- #
3390
- # \[Application Load Balancer\] If the action type is `redirect`, you
3391
- # redirect specified client requests from one URL to another.
3392
- #
3393
- # \[Application Load Balancer\] If the action type is `fixed-response`,
3394
- # you drop specified client requests and return a custom HTTP response.
3327
+ # The actions.
3395
3328
  #
3396
3329
  # @return [Types::ModifyRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3397
3330
  #
@@ -3630,17 +3563,23 @@ module Aws::ElasticLoadBalancingV2
3630
3563
  # targets.
3631
3564
  #
3632
3565
  # @option params [String] :health_check_path
3633
- # \[HTTP/HTTPS health checks\] The ping path that is the destination for
3634
- # the health check request.
3566
+ # \[HTTP/HTTPS health checks\] The destination for health checks on the
3567
+ # targets.
3568
+ #
3569
+ # \[HTTP1 or HTTP2 protocol version\] The ping path. The default is /.
3570
+ #
3571
+ # \[GRPC protocol version\] The path of a custom health check method
3572
+ # with the format /package.service/method. The default is
3573
+ # /AWS.ALB/healthcheck.
3635
3574
  #
3636
3575
  # @option params [Boolean] :health_check_enabled
3637
3576
  # Indicates whether health checks are enabled.
3638
3577
  #
3639
3578
  # @option params [Integer] :health_check_interval_seconds
3640
3579
  # The approximate amount of time, in seconds, between health checks of
3641
- # an individual target. For Application Load Balancers, the range is 5
3642
- # to 300 seconds. For Network Load Balancers, the supported values are
3643
- # 10 or 30 seconds.
3580
+ # an individual target. For HTTP and HTTPS health checks, the range is 5
3581
+ # to 300 seconds. For TPC health checks, the supported values are 10 or
3582
+ # 30 seconds.
3644
3583
  #
3645
3584
  # With Network Load Balancers, you can't modify this setting.
3646
3585
  #
@@ -3656,14 +3595,13 @@ module Aws::ElasticLoadBalancingV2
3656
3595
  #
3657
3596
  # @option params [Integer] :unhealthy_threshold_count
3658
3597
  # The number of consecutive health check failures required before
3659
- # considering the target unhealthy. For Network Load Balancers, this
3660
- # value must be the same as the healthy threshold count.
3598
+ # considering the target unhealthy. For target groups with a protocol of
3599
+ # TCP or TLS, this value must be the same as the healthy threshold
3600
+ # count.
3661
3601
  #
3662
3602
  # @option params [Types::Matcher] :matcher
3663
- # \[HTTP/HTTPS health checks\] The HTTP codes to use when checking for a
3664
- # successful response from a target. The possible values are from 200 to
3665
- # 499. You can specify multiple values (for example, "200,202") or a
3666
- # range of values (for example, "200-299"). The default is 200.
3603
+ # \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
3604
+ # checking for a successful response from a target.
3667
3605
  #
3668
3606
  # With Network Load Balancers, you can't modify this setting.
3669
3607
  #
@@ -3721,7 +3659,8 @@ module Aws::ElasticLoadBalancingV2
3721
3659
  # healthy_threshold_count: 1,
3722
3660
  # unhealthy_threshold_count: 1,
3723
3661
  # matcher: {
3724
- # http_code: "HttpCode", # required
3662
+ # http_code: "HttpCode",
3663
+ # grpc_code: "GrpcCode",
3725
3664
  # },
3726
3665
  # })
3727
3666
  #
@@ -3742,9 +3681,11 @@ module Aws::ElasticLoadBalancingV2
3742
3681
  # resp.target_groups[0].unhealthy_threshold_count #=> Integer
3743
3682
  # resp.target_groups[0].health_check_path #=> String
3744
3683
  # resp.target_groups[0].matcher.http_code #=> String
3684
+ # resp.target_groups[0].matcher.grpc_code #=> String
3745
3685
  # resp.target_groups[0].load_balancer_arns #=> Array
3746
3686
  # resp.target_groups[0].load_balancer_arns[0] #=> String
3747
3687
  # resp.target_groups[0].target_type #=> String, one of "instance", "ip", "lambda"
3688
+ # resp.target_groups[0].protocol_version #=> String
3748
3689
  #
3749
3690
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup AWS API Documentation
3750
3691
  #
@@ -3855,10 +3796,6 @@ module Aws::ElasticLoadBalancingV2
3855
3796
  # @option params [required, Array<Types::TargetDescription>] :targets
3856
3797
  # The targets.
3857
3798
  #
3858
- # To register a target by instance ID, specify the instance ID. To
3859
- # register a target by IP address, specify the IP address. To register a
3860
- # Lambda function, specify the ARN of the Lambda function.
3861
- #
3862
3799
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3863
3800
  #
3864
3801
  #
@@ -4341,7 +4278,7 @@ module Aws::ElasticLoadBalancingV2
4341
4278
  params: params,
4342
4279
  config: config)
4343
4280
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
4344
- context[:gem_version] = '1.53.0'
4281
+ context[:gem_version] = '1.54.0'
4345
4282
  Seahorse::Client::Request.new(handlers, context)
4346
4283
  end
4347
4284
 
@@ -119,6 +119,7 @@ module Aws::ElasticLoadBalancingV2
119
119
  FixedResponseActionMessage = Shapes::StringShape.new(name: 'FixedResponseActionMessage')
120
120
  FixedResponseActionStatusCode = Shapes::StringShape.new(name: 'FixedResponseActionStatusCode')
121
121
  ForwardActionConfig = Shapes::StructureShape.new(name: 'ForwardActionConfig')
122
+ GrpcCode = Shapes::StringShape.new(name: 'GrpcCode')
122
123
  HealthCheckEnabled = Shapes::BooleanShape.new(name: 'HealthCheckEnabled')
123
124
  HealthCheckIntervalSeconds = Shapes::IntegerShape.new(name: 'HealthCheckIntervalSeconds')
124
125
  HealthCheckPort = Shapes::StringShape.new(name: 'HealthCheckPort')
@@ -188,6 +189,7 @@ module Aws::ElasticLoadBalancingV2
188
189
  PriorityInUseException = Shapes::StructureShape.new(name: 'PriorityInUseException')
189
190
  PrivateIPv4Address = Shapes::StringShape.new(name: 'PrivateIPv4Address')
190
191
  ProtocolEnum = Shapes::StringShape.new(name: 'ProtocolEnum')
192
+ ProtocolVersion = Shapes::StringShape.new(name: 'ProtocolVersion')
191
193
  QueryStringConditionConfig = Shapes::StructureShape.new(name: 'QueryStringConditionConfig')
192
194
  QueryStringKeyValuePair = Shapes::StructureShape.new(name: 'QueryStringKeyValuePair')
193
195
  QueryStringKeyValuePairList = Shapes::ListShape.new(name: 'QueryStringKeyValuePairList')
@@ -415,6 +417,7 @@ module Aws::ElasticLoadBalancingV2
415
417
 
416
418
  CreateTargetGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: TargetGroupName, required: true, location_name: "Name"))
417
419
  CreateTargetGroupInput.add_member(:protocol, Shapes::ShapeRef.new(shape: ProtocolEnum, location_name: "Protocol"))
420
+ CreateTargetGroupInput.add_member(:protocol_version, Shapes::ShapeRef.new(shape: ProtocolVersion, location_name: "ProtocolVersion"))
418
421
  CreateTargetGroupInput.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "Port"))
419
422
  CreateTargetGroupInput.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
420
423
  CreateTargetGroupInput.add_member(:health_check_protocol, Shapes::ShapeRef.new(shape: ProtocolEnum, location_name: "HealthCheckProtocol"))
@@ -658,7 +661,8 @@ module Aws::ElasticLoadBalancingV2
658
661
 
659
662
  LoadBalancers.member = Shapes::ShapeRef.new(shape: LoadBalancer)
660
663
 
661
- Matcher.add_member(:http_code, Shapes::ShapeRef.new(shape: HttpCode, required: true, location_name: "HttpCode"))
664
+ Matcher.add_member(:http_code, Shapes::ShapeRef.new(shape: HttpCode, location_name: "HttpCode"))
665
+ Matcher.add_member(:grpc_code, Shapes::ShapeRef.new(shape: GrpcCode, location_name: "GrpcCode"))
662
666
  Matcher.struct_class = Types::Matcher
663
667
 
664
668
  ModifyListenerInput.add_member(:listener_arn, Shapes::ShapeRef.new(shape: ListenerArn, required: true, location_name: "ListenerArn"))
@@ -881,6 +885,7 @@ module Aws::ElasticLoadBalancingV2
881
885
  TargetGroup.add_member(:matcher, Shapes::ShapeRef.new(shape: Matcher, location_name: "Matcher"))
882
886
  TargetGroup.add_member(:load_balancer_arns, Shapes::ShapeRef.new(shape: LoadBalancerArns, location_name: "LoadBalancerArns"))
883
887
  TargetGroup.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetTypeEnum, location_name: "TargetType"))
888
+ TargetGroup.add_member(:protocol_version, Shapes::ShapeRef.new(shape: ProtocolVersion, location_name: "ProtocolVersion"))
884
889
  TargetGroup.struct_class = Types::TargetGroup
885
890
 
886
891
  TargetGroupArns.member = Shapes::ShapeRef.new(shape: TargetGroupArn)
@@ -663,28 +663,7 @@ module Aws::ElasticLoadBalancingV2
663
663
  # @return [Array<Types::Certificate>]
664
664
  #
665
665
  # @!attribute [rw] default_actions
666
- # The actions for the default rule. The rule must include one forward
667
- # action or one or more fixed-response actions.
668
- #
669
- # If the action type is `forward`, you specify one or more target
670
- # groups. The protocol of the target group must be HTTP or HTTPS for
671
- # an Application Load Balancer. The protocol of the target group must
672
- # be TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
673
- #
674
- # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
675
- # authenticate users through an identity provider that is OpenID
676
- # Connect (OIDC) compliant.
677
- #
678
- # \[HTTPS listeners\] If the action type is `authenticate-cognito`,
679
- # you authenticate users through the user pools supported by Amazon
680
- # Cognito.
681
- #
682
- # \[Application Load Balancer\] If the action type is `redirect`, you
683
- # redirect specified client requests from one URL to another.
684
- #
685
- # \[Application Load Balancer\] If the action type is
686
- # `fixed-response`, you drop specified client requests and return a
687
- # custom HTTP response.
666
+ # The actions for the default rule.
688
667
  # @return [Array<Types::Action>]
689
668
  #
690
669
  # @!attribute [rw] alpn_policy
@@ -994,11 +973,7 @@ module Aws::ElasticLoadBalancingV2
994
973
  # @return [String]
995
974
  #
996
975
  # @!attribute [rw] conditions
997
- # The conditions. Each rule can optionally include up to one of each
998
- # of the following conditions: `http-request-method`, `host-header`,
999
- # `path-pattern`, and `source-ip`. Each rule can also optionally
1000
- # include one or more of each of the following conditions:
1001
- # `http-header` and `query-string`.
976
+ # The conditions.
1002
977
  # @return [Array<Types::RuleCondition>]
1003
978
  #
1004
979
  # @!attribute [rw] priority
@@ -1007,29 +982,7 @@ module Aws::ElasticLoadBalancingV2
1007
982
  # @return [Integer]
1008
983
  #
1009
984
  # @!attribute [rw] actions
1010
- # The actions. Each rule must include exactly one of the following
1011
- # types of actions: `forward`, `fixed-response`, or `redirect`, and it
1012
- # must be the last action to be performed.
1013
- #
1014
- # If the action type is `forward`, you specify one or more target
1015
- # groups. The protocol of the target group must be HTTP or HTTPS for
1016
- # an Application Load Balancer. The protocol of the target group must
1017
- # be TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
1018
- #
1019
- # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
1020
- # authenticate users through an identity provider that is OpenID
1021
- # Connect (OIDC) compliant.
1022
- #
1023
- # \[HTTPS listeners\] If the action type is `authenticate-cognito`,
1024
- # you authenticate users through the user pools supported by Amazon
1025
- # Cognito.
1026
- #
1027
- # \[Application Load Balancer\] If the action type is `redirect`, you
1028
- # redirect specified client requests from one URL to another.
1029
- #
1030
- # \[Application Load Balancer\] If the action type is
1031
- # `fixed-response`, you drop specified client requests and return a
1032
- # custom HTTP response.
985
+ # The actions.
1033
986
  # @return [Array<Types::Action>]
1034
987
  #
1035
988
  # @!attribute [rw] tags
@@ -1066,6 +1019,7 @@ module Aws::ElasticLoadBalancingV2
1066
1019
  # {
1067
1020
  # name: "TargetGroupName", # required
1068
1021
  # protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
1022
+ # protocol_version: "ProtocolVersion",
1069
1023
  # port: 1,
1070
1024
  # vpc_id: "VpcId",
1071
1025
  # health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
@@ -1077,7 +1031,8 @@ module Aws::ElasticLoadBalancingV2
1077
1031
  # healthy_threshold_count: 1,
1078
1032
  # unhealthy_threshold_count: 1,
1079
1033
  # matcher: {
1080
- # http_code: "HttpCode", # required
1034
+ # http_code: "HttpCode",
1035
+ # grpc_code: "GrpcCode",
1081
1036
  # },
1082
1037
  # target_type: "instance", # accepts instance, ip, lambda
1083
1038
  # tags: [
@@ -1105,6 +1060,13 @@ module Aws::ElasticLoadBalancingV2
1105
1060
  # parameter does not apply.
1106
1061
  # @return [String]
1107
1062
  #
1063
+ # @!attribute [rw] protocol_version
1064
+ # \[HTTP/HTTPS protocol\] The protocol version. Specify `GRPC` to send
1065
+ # requests to targets using gRPC. Specify `HTTP2` to send requests to
1066
+ # targets using HTTP/2. The default is `HTTP1`, which sends requests
1067
+ # to targets using HTTP/1.1.
1068
+ # @return [String]
1069
+ #
1108
1070
  # @!attribute [rw] port
1109
1071
  # The port on which the targets receive traffic. This port is used
1110
1072
  # unless you specify a port override when registering the target. If
@@ -1140,8 +1102,14 @@ module Aws::ElasticLoadBalancingV2
1140
1102
  # @return [Boolean]
1141
1103
  #
1142
1104
  # @!attribute [rw] health_check_path
1143
- # \[HTTP/HTTPS health checks\] The ping path that is the destination
1144
- # on the targets for health checks. The default is /.
1105
+ # \[HTTP/HTTPS health checks\] The destination for health checks on
1106
+ # the targets.
1107
+ #
1108
+ # \[HTTP1 or HTTP2 protocol version\] The ping path. The default is /.
1109
+ #
1110
+ # \[GRPC protocol version\] The path of a custom health check method
1111
+ # with the format /package.service/method. The default is
1112
+ # /AWS.ALB/healthcheck.
1145
1113
  # @return [String]
1146
1114
  #
1147
1115
  # @!attribute [rw] health_check_interval_seconds
@@ -1179,8 +1147,8 @@ module Aws::ElasticLoadBalancingV2
1179
1147
  # @return [Integer]
1180
1148
  #
1181
1149
  # @!attribute [rw] matcher
1182
- # \[HTTP/HTTPS health checks\] The HTTP codes to use when checking for
1183
- # a successful response from a target.
1150
+ # \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
1151
+ # checking for a successful response from a target.
1184
1152
  # @return [Types::Matcher]
1185
1153
  #
1186
1154
  # @!attribute [rw] target_type
@@ -1209,6 +1177,7 @@ module Aws::ElasticLoadBalancingV2
1209
1177
  class CreateTargetGroupInput < Struct.new(
1210
1178
  :name,
1211
1179
  :protocol,
1180
+ :protocol_version,
1212
1181
  :port,
1213
1182
  :vpc_id,
1214
1183
  :health_check_protocol,
@@ -2455,31 +2424,38 @@ module Aws::ElasticLoadBalancingV2
2455
2424
  include Aws::Structure
2456
2425
  end
2457
2426
 
2458
- # Information to use when checking for a successful response from a
2459
- # target.
2427
+ # The codes to use when checking for a successful response from a
2428
+ # target. If the protocol version is gRPC, these are gRPC codes.
2429
+ # Otherwise, these are HTTP codes.
2460
2430
  #
2461
2431
  # @note When making an API call, you may pass Matcher
2462
2432
  # data as a hash:
2463
2433
  #
2464
2434
  # {
2465
- # http_code: "HttpCode", # required
2435
+ # http_code: "HttpCode",
2436
+ # grpc_code: "GrpcCode",
2466
2437
  # }
2467
2438
  #
2468
2439
  # @!attribute [rw] http_code
2469
- # The HTTP codes.
2470
- #
2471
2440
  # For Application Load Balancers, you can specify values between 200
2472
2441
  # and 499, and the default value is 200. You can specify multiple
2473
2442
  # values (for example, "200,202") or a range of values (for example,
2474
2443
  # "200-299").
2475
2444
  #
2476
- # For Network Load Balancers, this is 200–399.
2445
+ # For Network Load Balancers, this is "200–399".
2446
+ # @return [String]
2447
+ #
2448
+ # @!attribute [rw] grpc_code
2449
+ # You can specify values between 0 and 99. You can specify multiple
2450
+ # values (for example, "0,1") or a range of values (for example,
2451
+ # "0-5"). The default value is 12.
2477
2452
  # @return [String]
2478
2453
  #
2479
2454
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Matcher AWS API Documentation
2480
2455
  #
2481
2456
  class Matcher < Struct.new(
2482
- :http_code)
2457
+ :http_code,
2458
+ :grpc_code)
2483
2459
  SENSITIVE = []
2484
2460
  include Aws::Structure
2485
2461
  end
@@ -2618,28 +2594,7 @@ module Aws::ElasticLoadBalancingV2
2618
2594
  # @return [Array<Types::Certificate>]
2619
2595
  #
2620
2596
  # @!attribute [rw] default_actions
2621
- # The actions for the default rule. The rule must include one forward
2622
- # action or one or more fixed-response actions.
2623
- #
2624
- # If the action type is `forward`, you specify one or more target
2625
- # groups. The protocol of the target group must be HTTP or HTTPS for
2626
- # an Application Load Balancer. The protocol of the target group must
2627
- # be TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
2628
- #
2629
- # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
2630
- # authenticate users through an identity provider that is OpenID
2631
- # Connect (OIDC) compliant.
2632
- #
2633
- # \[HTTPS listeners\] If the action type is `authenticate-cognito`,
2634
- # you authenticate users through the user pools supported by Amazon
2635
- # Cognito.
2636
- #
2637
- # \[Application Load Balancer\] If the action type is `redirect`, you
2638
- # redirect specified client requests from one URL to another.
2639
- #
2640
- # \[Application Load Balancer\] If the action type is
2641
- # `fixed-response`, you drop specified client requests and return a
2642
- # custom HTTP response.
2597
+ # The actions for the default rule.
2643
2598
  # @return [Array<Types::Action>]
2644
2599
  #
2645
2600
  # @!attribute [rw] alpn_policy
@@ -2835,36 +2790,11 @@ module Aws::ElasticLoadBalancingV2
2835
2790
  # @return [String]
2836
2791
  #
2837
2792
  # @!attribute [rw] conditions
2838
- # The conditions. Each rule can include zero or one of the following
2839
- # conditions: `http-request-method`, `host-header`, `path-pattern`,
2840
- # and `source-ip`, and zero or more of the following conditions:
2841
- # `http-header` and `query-string`.
2793
+ # The conditions.
2842
2794
  # @return [Array<Types::RuleCondition>]
2843
2795
  #
2844
2796
  # @!attribute [rw] actions
2845
- # The actions. Each rule must include exactly one of the following
2846
- # types of actions: `forward`, `fixed-response`, or `redirect`, and it
2847
- # must be the last action to be performed.
2848
- #
2849
- # If the action type is `forward`, you specify one or more target
2850
- # groups. The protocol of the target group must be HTTP or HTTPS for
2851
- # an Application Load Balancer. The protocol of the target group must
2852
- # be TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
2853
- #
2854
- # \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
2855
- # authenticate users through an identity provider that is OpenID
2856
- # Connect (OIDC) compliant.
2857
- #
2858
- # \[HTTPS listeners\] If the action type is `authenticate-cognito`,
2859
- # you authenticate users through the user pools supported by Amazon
2860
- # Cognito.
2861
- #
2862
- # \[Application Load Balancer\] If the action type is `redirect`, you
2863
- # redirect specified client requests from one URL to another.
2864
- #
2865
- # \[Application Load Balancer\] If the action type is
2866
- # `fixed-response`, you drop specified client requests and return a
2867
- # custom HTTP response.
2797
+ # The actions.
2868
2798
  # @return [Array<Types::Action>]
2869
2799
  #
2870
2800
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleInput AWS API Documentation
@@ -2945,7 +2875,8 @@ module Aws::ElasticLoadBalancingV2
2945
2875
  # healthy_threshold_count: 1,
2946
2876
  # unhealthy_threshold_count: 1,
2947
2877
  # matcher: {
2948
- # http_code: "HttpCode", # required
2878
+ # http_code: "HttpCode",
2879
+ # grpc_code: "GrpcCode",
2949
2880
  # },
2950
2881
  # }
2951
2882
  #
@@ -2968,8 +2899,14 @@ module Aws::ElasticLoadBalancingV2
2968
2899
  # @return [String]
2969
2900
  #
2970
2901
  # @!attribute [rw] health_check_path
2971
- # \[HTTP/HTTPS health checks\] The ping path that is the destination
2972
- # for the health check request.
2902
+ # \[HTTP/HTTPS health checks\] The destination for health checks on
2903
+ # the targets.
2904
+ #
2905
+ # \[HTTP1 or HTTP2 protocol version\] The ping path. The default is /.
2906
+ #
2907
+ # \[GRPC protocol version\] The path of a custom health check method
2908
+ # with the format /package.service/method. The default is
2909
+ # /AWS.ALB/healthcheck.
2973
2910
  # @return [String]
2974
2911
  #
2975
2912
  # @!attribute [rw] health_check_enabled
@@ -2978,9 +2915,9 @@ module Aws::ElasticLoadBalancingV2
2978
2915
  #
2979
2916
  # @!attribute [rw] health_check_interval_seconds
2980
2917
  # The approximate amount of time, in seconds, between health checks of
2981
- # an individual target. For Application Load Balancers, the range is 5
2982
- # to 300 seconds. For Network Load Balancers, the supported values are
2983
- # 10 or 30 seconds.
2918
+ # an individual target. For HTTP and HTTPS health checks, the range is
2919
+ # 5 to 300 seconds. For TPC health checks, the supported values are 10
2920
+ # or 30 seconds.
2984
2921
  #
2985
2922
  # With Network Load Balancers, you can't modify this setting.
2986
2923
  # @return [Integer]
@@ -2999,16 +2936,14 @@ module Aws::ElasticLoadBalancingV2
2999
2936
  #
3000
2937
  # @!attribute [rw] unhealthy_threshold_count
3001
2938
  # The number of consecutive health check failures required before
3002
- # considering the target unhealthy. For Network Load Balancers, this
3003
- # value must be the same as the healthy threshold count.
2939
+ # considering the target unhealthy. For target groups with a protocol
2940
+ # of TCP or TLS, this value must be the same as the healthy threshold
2941
+ # count.
3004
2942
  # @return [Integer]
3005
2943
  #
3006
2944
  # @!attribute [rw] matcher
3007
- # \[HTTP/HTTPS health checks\] The HTTP codes to use when checking for
3008
- # a successful response from a target. The possible values are from
3009
- # 200 to 499. You can specify multiple values (for example,
3010
- # "200,202") or a range of values (for example, "200-299"). The
3011
- # default is 200.
2945
+ # \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
2946
+ # checking for a successful response from a target.
3012
2947
  #
3013
2948
  # With Network Load Balancers, you can't modify this setting.
3014
2949
  # @return [Types::Matcher]
@@ -3252,10 +3187,6 @@ module Aws::ElasticLoadBalancingV2
3252
3187
  #
3253
3188
  # @!attribute [rw] targets
3254
3189
  # The targets.
3255
- #
3256
- # To register a target by instance ID, specify the instance ID. To
3257
- # register a target by IP address, specify the IP address. To register
3258
- # a Lambda function, specify the ARN of the Lambda function.
3259
3190
  # @return [Array<Types::TargetDescription>]
3260
3191
  #
3261
3192
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsInput AWS API Documentation
@@ -3990,12 +3921,12 @@ module Aws::ElasticLoadBalancingV2
3990
3921
  # @return [Integer]
3991
3922
  #
3992
3923
  # @!attribute [rw] health_check_path
3993
- # The destination for the health check request.
3924
+ # The destination for health checks on the targets.
3994
3925
  # @return [String]
3995
3926
  #
3996
3927
  # @!attribute [rw] matcher
3997
- # The HTTP codes to use when checking for a successful response from a
3998
- # target.
3928
+ # The HTTP or gRPC codes to use when checking for a successful
3929
+ # response from a target.
3999
3930
  # @return [Types::Matcher]
4000
3931
  #
4001
3932
  # @!attribute [rw] load_balancer_arns
@@ -4010,6 +3941,11 @@ module Aws::ElasticLoadBalancingV2
4010
3941
  # address).
4011
3942
  # @return [String]
4012
3943
  #
3944
+ # @!attribute [rw] protocol_version
3945
+ # \[HTTP/HTTPS protocol\] The protocol version. The possible values
3946
+ # are `GRPC`, `HTTP1`, and `HTTP2`.
3947
+ # @return [String]
3948
+ #
4013
3949
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroup AWS API Documentation
4014
3950
  #
4015
3951
  class TargetGroup < Struct.new(
@@ -4028,7 +3964,8 @@ module Aws::ElasticLoadBalancingV2
4028
3964
  :health_check_path,
4029
3965
  :matcher,
4030
3966
  :load_balancer_arns,
4031
- :target_type)
3967
+ :target_type,
3968
+ :protocol_version)
4032
3969
  SENSITIVE = []
4033
3970
  include Aws::Structure
4034
3971
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticloadbalancingv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-02 00:00:00.000000000 Z
11
+ date: 2020-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core