@aws-sdk/client-elastic-load-balancing-v2 3.288.0 → 3.290.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist-types/commands/AddListenerCertificatesCommand.d.ts +10 -0
  2. package/dist-types/commands/AddTagsCommand.d.ts +42 -0
  3. package/dist-types/commands/CreateListenerCommand.d.ts +144 -0
  4. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +137 -0
  5. package/dist-types/commands/CreateRuleCommand.d.ts +101 -0
  6. package/dist-types/commands/CreateTargetGroupCommand.d.ts +51 -0
  7. package/dist-types/commands/DeleteListenerCommand.d.ts +18 -0
  8. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +21 -0
  9. package/dist-types/commands/DeleteRuleCommand.d.ts +18 -0
  10. package/dist-types/commands/DeleteTargetGroupCommand.d.ts +15 -0
  11. package/dist-types/commands/DeregisterTargetsCommand.d.ts +24 -0
  12. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
  13. package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +4 -0
  14. package/dist-types/commands/DescribeListenersCommand.d.ts +41 -0
  15. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +41 -0
  16. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +49 -0
  17. package/dist-types/commands/DescribeRulesCommand.d.ts +48 -0
  18. package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +109 -0
  19. package/dist-types/commands/DescribeTagsCommand.d.ts +45 -0
  20. package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +37 -0
  21. package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +46 -0
  22. package/dist-types/commands/DescribeTargetHealthCommand.d.ts +83 -0
  23. package/dist-types/commands/ModifyListenerCommand.d.ts +130 -0
  24. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +144 -0
  25. package/dist-types/commands/ModifyRuleCommand.d.ts +81 -0
  26. package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +46 -0
  27. package/dist-types/commands/ModifyTargetGroupCommand.d.ts +45 -0
  28. package/dist-types/commands/RegisterTargetsCommand.d.ts +55 -0
  29. package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +7 -0
  30. package/dist-types/commands/RemoveTagsCommand.d.ts +33 -0
  31. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +10 -0
  32. package/dist-types/commands/SetRulePrioritiesCommand.d.ts +51 -0
  33. package/dist-types/commands/SetSecurityGroupsCommand.d.ts +31 -0
  34. package/dist-types/commands/SetSubnetsCommand.d.ts +48 -0
  35. package/package.json +30 -30
@@ -36,6 +36,10 @@ export interface DescribeListenerCertificatesCommandOutput extends DescribeListe
36
36
  * @see {@link DescribeListenerCertificatesCommandOutput} for command's `response` shape.
37
37
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
38
38
  *
39
+ * @throws {@link ListenerNotFoundException} (client fault)
40
+ * <p>The specified listener does not exist.</p>
41
+ *
42
+ *
39
43
  */
40
44
  export declare class DescribeListenerCertificatesCommand extends $Command<DescribeListenerCertificatesCommandInput, DescribeListenerCertificatesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
41
45
  readonly input: DescribeListenerCertificatesCommandInput;
@@ -31,6 +31,47 @@ export interface DescribeListenersCommandOutput extends DescribeListenersOutput,
31
31
  * @see {@link DescribeListenersCommandOutput} for command's `response` shape.
32
32
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
33
33
  *
34
+ * @throws {@link ListenerNotFoundException} (client fault)
35
+ * <p>The specified listener does not exist.</p>
36
+ *
37
+ * @throws {@link LoadBalancerNotFoundException} (client fault)
38
+ * <p>The specified load balancer does not exist.</p>
39
+ *
40
+ * @throws {@link UnsupportedProtocolException} (client fault)
41
+ * <p>The specified protocol is not supported.</p>
42
+ *
43
+ *
44
+ * @example To describe a listener
45
+ * ```javascript
46
+ * // This example describes the specified listener.
47
+ * const input = {
48
+ * "ListenerArns": [
49
+ * "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2"
50
+ * ]
51
+ * };
52
+ * const command = new DescribeListenersCommand(input);
53
+ * const response = await client.send(command);
54
+ * /* response ==
55
+ * {
56
+ * "Listeners": [
57
+ * {
58
+ * "DefaultActions": [
59
+ * {
60
+ * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
61
+ * "Type": "forward"
62
+ * }
63
+ * ],
64
+ * "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
65
+ * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
66
+ * "Port": 80,
67
+ * "Protocol": "HTTP"
68
+ * }
69
+ * ]
70
+ * }
71
+ * *\/
72
+ * // example id: elbv2-describe-listeners-1
73
+ * ```
74
+ *
34
75
  */
35
76
  export declare class DescribeListenersCommand extends $Command<DescribeListenersCommandInput, DescribeListenersCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
36
77
  readonly input: DescribeListenersCommandInput;
@@ -51,6 +51,47 @@ export interface DescribeLoadBalancerAttributesCommandOutput extends DescribeLoa
51
51
  * @see {@link DescribeLoadBalancerAttributesCommandOutput} for command's `response` shape.
52
52
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
53
53
  *
54
+ * @throws {@link LoadBalancerNotFoundException} (client fault)
55
+ * <p>The specified load balancer does not exist.</p>
56
+ *
57
+ *
58
+ * @example To describe load balancer attributes
59
+ * ```javascript
60
+ * // This example describes the attributes of the specified load balancer.
61
+ * const input = {
62
+ * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
63
+ * };
64
+ * const command = new DescribeLoadBalancerAttributesCommand(input);
65
+ * const response = await client.send(command);
66
+ * /* response ==
67
+ * {
68
+ * "Attributes": [
69
+ * {
70
+ * "Key": "access_logs.s3.enabled",
71
+ * "Value": "false"
72
+ * },
73
+ * {
74
+ * "Key": "idle_timeout.timeout_seconds",
75
+ * "Value": "60"
76
+ * },
77
+ * {
78
+ * "Key": "access_logs.s3.prefix",
79
+ * "Value": ""
80
+ * },
81
+ * {
82
+ * "Key": "deletion_protection.enabled",
83
+ * "Value": "false"
84
+ * },
85
+ * {
86
+ * "Key": "access_logs.s3.bucket",
87
+ * "Value": ""
88
+ * }
89
+ * ]
90
+ * }
91
+ * *\/
92
+ * // example id: elbv2-describe-load-balancer-attributes-1
93
+ * ```
94
+ *
54
95
  */
55
96
  export declare class DescribeLoadBalancerAttributesCommand extends $Command<DescribeLoadBalancerAttributesCommandInput, DescribeLoadBalancerAttributesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
56
97
  readonly input: DescribeLoadBalancerAttributesCommandInput;
@@ -29,6 +29,55 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
29
29
  * @see {@link DescribeLoadBalancersCommandOutput} for command's `response` shape.
30
30
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
31
31
  *
32
+ * @throws {@link LoadBalancerNotFoundException} (client fault)
33
+ * <p>The specified load balancer does not exist.</p>
34
+ *
35
+ *
36
+ * @example To describe a load balancer
37
+ * ```javascript
38
+ * // This example describes the specified load balancer.
39
+ * const input = {
40
+ * "LoadBalancerArns": [
41
+ * "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
42
+ * ]
43
+ * };
44
+ * const command = new DescribeLoadBalancersCommand(input);
45
+ * const response = await client.send(command);
46
+ * /* response ==
47
+ * {
48
+ * "LoadBalancers": [
49
+ * {
50
+ * "AvailabilityZones": [
51
+ * {
52
+ * "SubnetId": "subnet-8360a9e7",
53
+ * "ZoneName": "us-west-2a"
54
+ * },
55
+ * {
56
+ * "SubnetId": "subnet-b7d581c0",
57
+ * "ZoneName": "us-west-2b"
58
+ * }
59
+ * ],
60
+ * "CanonicalHostedZoneId": "Z2P70J7EXAMPLE",
61
+ * "CreatedTime": "2016-03-25T21:26:12.920Z",
62
+ * "DNSName": "my-load-balancer-424835706.us-west-2.elb.amazonaws.com",
63
+ * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
64
+ * "LoadBalancerName": "my-load-balancer",
65
+ * "Scheme": "internet-facing",
66
+ * "SecurityGroups": [
67
+ * "sg-5943793c"
68
+ * ],
69
+ * "State": {
70
+ * "Code": "active"
71
+ * },
72
+ * "Type": "application",
73
+ * "VpcId": "vpc-3ac0fb5f"
74
+ * }
75
+ * ]
76
+ * }
77
+ * *\/
78
+ * // example id: elbv2-describe-load-balancers-1
79
+ * ```
80
+ *
32
81
  */
33
82
  export declare class DescribeLoadBalancersCommand extends $Command<DescribeLoadBalancersCommandInput, DescribeLoadBalancersCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
34
83
  readonly input: DescribeLoadBalancersCommandInput;
@@ -30,6 +30,54 @@ export interface DescribeRulesCommandOutput extends DescribeRulesOutput, __Metad
30
30
  * @see {@link DescribeRulesCommandOutput} for command's `response` shape.
31
31
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
32
32
  *
33
+ * @throws {@link ListenerNotFoundException} (client fault)
34
+ * <p>The specified listener does not exist.</p>
35
+ *
36
+ * @throws {@link RuleNotFoundException} (client fault)
37
+ * <p>The specified rule does not exist.</p>
38
+ *
39
+ * @throws {@link UnsupportedProtocolException} (client fault)
40
+ * <p>The specified protocol is not supported.</p>
41
+ *
42
+ *
43
+ * @example To describe a rule
44
+ * ```javascript
45
+ * // This example describes the specified rule.
46
+ * const input = {
47
+ * "RuleArns": [
48
+ * "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee"
49
+ * ]
50
+ * };
51
+ * const command = new DescribeRulesCommand(input);
52
+ * const response = await client.send(command);
53
+ * /* response ==
54
+ * {
55
+ * "Rules": [
56
+ * {
57
+ * "Actions": [
58
+ * {
59
+ * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
60
+ * "Type": "forward"
61
+ * }
62
+ * ],
63
+ * "Conditions": [
64
+ * {
65
+ * "Field": "path-pattern",
66
+ * "Values": [
67
+ * "/img/*"
68
+ * ]
69
+ * }
70
+ * ],
71
+ * "IsDefault": false,
72
+ * "Priority": "10",
73
+ * "RuleArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee"
74
+ * }
75
+ * ]
76
+ * }
77
+ * *\/
78
+ * // example id: elbv2-describe-rules-1
79
+ * ```
80
+ *
33
81
  */
34
82
  export declare class DescribeRulesCommand extends $Command<DescribeRulesCommandInput, DescribeRulesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
35
83
  readonly input: DescribeRulesCommandInput;
@@ -31,6 +31,115 @@ export interface DescribeSSLPoliciesCommandOutput extends DescribeSSLPoliciesOut
31
31
  * @see {@link DescribeSSLPoliciesCommandOutput} for command's `response` shape.
32
32
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
33
33
  *
34
+ * @throws {@link SSLPolicyNotFoundException} (client fault)
35
+ * <p>The specified SSL policy does not exist.</p>
36
+ *
37
+ *
38
+ * @example To describe a policy used for SSL negotiation
39
+ * ```javascript
40
+ * // This example describes the specified policy used for SSL negotiation.
41
+ * const input = {
42
+ * "Names": [
43
+ * "ELBSecurityPolicy-2015-05"
44
+ * ]
45
+ * };
46
+ * const command = new DescribeSSLPoliciesCommand(input);
47
+ * const response = await client.send(command);
48
+ * /* response ==
49
+ * {
50
+ * "SslPolicies": [
51
+ * {
52
+ * "Ciphers": [
53
+ * {
54
+ * "Name": "ECDHE-ECDSA-AES128-GCM-SHA256",
55
+ * "Priority": 1
56
+ * },
57
+ * {
58
+ * "Name": "ECDHE-RSA-AES128-GCM-SHA256",
59
+ * "Priority": 2
60
+ * },
61
+ * {
62
+ * "Name": "ECDHE-ECDSA-AES128-SHA256",
63
+ * "Priority": 3
64
+ * },
65
+ * {
66
+ * "Name": "ECDHE-RSA-AES128-SHA256",
67
+ * "Priority": 4
68
+ * },
69
+ * {
70
+ * "Name": "ECDHE-ECDSA-AES128-SHA",
71
+ * "Priority": 5
72
+ * },
73
+ * {
74
+ * "Name": "ECDHE-RSA-AES128-SHA",
75
+ * "Priority": 6
76
+ * },
77
+ * {
78
+ * "Name": "DHE-RSA-AES128-SHA",
79
+ * "Priority": 7
80
+ * },
81
+ * {
82
+ * "Name": "ECDHE-ECDSA-AES256-GCM-SHA384",
83
+ * "Priority": 8
84
+ * },
85
+ * {
86
+ * "Name": "ECDHE-RSA-AES256-GCM-SHA384",
87
+ * "Priority": 9
88
+ * },
89
+ * {
90
+ * "Name": "ECDHE-ECDSA-AES256-SHA384",
91
+ * "Priority": 10
92
+ * },
93
+ * {
94
+ * "Name": "ECDHE-RSA-AES256-SHA384",
95
+ * "Priority": 11
96
+ * },
97
+ * {
98
+ * "Name": "ECDHE-RSA-AES256-SHA",
99
+ * "Priority": 12
100
+ * },
101
+ * {
102
+ * "Name": "ECDHE-ECDSA-AES256-SHA",
103
+ * "Priority": 13
104
+ * },
105
+ * {
106
+ * "Name": "AES128-GCM-SHA256",
107
+ * "Priority": 14
108
+ * },
109
+ * {
110
+ * "Name": "AES128-SHA256",
111
+ * "Priority": 15
112
+ * },
113
+ * {
114
+ * "Name": "AES128-SHA",
115
+ * "Priority": 16
116
+ * },
117
+ * {
118
+ * "Name": "AES256-GCM-SHA384",
119
+ * "Priority": 17
120
+ * },
121
+ * {
122
+ * "Name": "AES256-SHA256",
123
+ * "Priority": 18
124
+ * },
125
+ * {
126
+ * "Name": "AES256-SHA",
127
+ * "Priority": 19
128
+ * }
129
+ * ],
130
+ * "Name": "ELBSecurityPolicy-2015-05",
131
+ * "SslProtocols": [
132
+ * "TLSv1",
133
+ * "TLSv1.1",
134
+ * "TLSv1.2"
135
+ * ]
136
+ * }
137
+ * ]
138
+ * }
139
+ * *\/
140
+ * // example id: elbv2-describe-ssl-policies-1
141
+ * ```
142
+ *
34
143
  */
35
144
  export declare class DescribeSSLPoliciesCommand extends $Command<DescribeSSLPoliciesCommandInput, DescribeSSLPoliciesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
36
145
  readonly input: DescribeSSLPoliciesCommandInput;
@@ -31,6 +31,51 @@ export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __Metadat
31
31
  * @see {@link DescribeTagsCommandOutput} for command's `response` shape.
32
32
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
33
33
  *
34
+ * @throws {@link ListenerNotFoundException} (client fault)
35
+ * <p>The specified listener does not exist.</p>
36
+ *
37
+ * @throws {@link LoadBalancerNotFoundException} (client fault)
38
+ * <p>The specified load balancer does not exist.</p>
39
+ *
40
+ * @throws {@link RuleNotFoundException} (client fault)
41
+ * <p>The specified rule does not exist.</p>
42
+ *
43
+ * @throws {@link TargetGroupNotFoundException} (client fault)
44
+ * <p>The specified target group does not exist.</p>
45
+ *
46
+ *
47
+ * @example To describe the tags assigned to a load balancer
48
+ * ```javascript
49
+ * // This example describes the tags assigned to the specified load balancer.
50
+ * const input = {
51
+ * "ResourceArns": [
52
+ * "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
53
+ * ]
54
+ * };
55
+ * const command = new DescribeTagsCommand(input);
56
+ * const response = await client.send(command);
57
+ * /* response ==
58
+ * {
59
+ * "TagDescriptions": [
60
+ * {
61
+ * "ResourceArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
62
+ * "Tags": [
63
+ * {
64
+ * "Key": "project",
65
+ * "Value": "lima"
66
+ * },
67
+ * {
68
+ * "Key": "department",
69
+ * "Value": "digital-media"
70
+ * }
71
+ * ]
72
+ * }
73
+ * ]
74
+ * }
75
+ * *\/
76
+ * // example id: elbv2-describe-tags-1
77
+ * ```
78
+ *
34
79
  */
35
80
  export declare class DescribeTagsCommand extends $Command<DescribeTagsCommandInput, DescribeTagsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
36
81
  readonly input: DescribeTagsCommandInput;
@@ -50,6 +50,43 @@ export interface DescribeTargetGroupAttributesCommandOutput extends DescribeTarg
50
50
  * @see {@link DescribeTargetGroupAttributesCommandOutput} for command's `response` shape.
51
51
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
52
52
  *
53
+ * @throws {@link TargetGroupNotFoundException} (client fault)
54
+ * <p>The specified target group does not exist.</p>
55
+ *
56
+ *
57
+ * @example To describe target group attributes
58
+ * ```javascript
59
+ * // This example describes the attributes of the specified target group.
60
+ * const input = {
61
+ * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
62
+ * };
63
+ * const command = new DescribeTargetGroupAttributesCommand(input);
64
+ * const response = await client.send(command);
65
+ * /* response ==
66
+ * {
67
+ * "Attributes": [
68
+ * {
69
+ * "Key": "stickiness.enabled",
70
+ * "Value": "false"
71
+ * },
72
+ * {
73
+ * "Key": "deregistration_delay.timeout_seconds",
74
+ * "Value": "300"
75
+ * },
76
+ * {
77
+ * "Key": "stickiness.type",
78
+ * "Value": "lb_cookie"
79
+ * },
80
+ * {
81
+ * "Key": "stickiness.lb_cookie.duration_seconds",
82
+ * "Value": "86400"
83
+ * }
84
+ * ]
85
+ * }
86
+ * *\/
87
+ * // example id: elbv2-describe-target-group-attributes-1
88
+ * ```
89
+ *
53
90
  */
54
91
  export declare class DescribeTargetGroupAttributesCommand extends $Command<DescribeTargetGroupAttributesCommandInput, DescribeTargetGroupAttributesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
55
92
  readonly input: DescribeTargetGroupAttributesCommandInput;
@@ -32,6 +32,52 @@ export interface DescribeTargetGroupsCommandOutput extends DescribeTargetGroupsO
32
32
  * @see {@link DescribeTargetGroupsCommandOutput} for command's `response` shape.
33
33
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
34
34
  *
35
+ * @throws {@link LoadBalancerNotFoundException} (client fault)
36
+ * <p>The specified load balancer does not exist.</p>
37
+ *
38
+ * @throws {@link TargetGroupNotFoundException} (client fault)
39
+ * <p>The specified target group does not exist.</p>
40
+ *
41
+ *
42
+ * @example To describe a target group
43
+ * ```javascript
44
+ * // This example describes the specified target group.
45
+ * const input = {
46
+ * "TargetGroupArns": [
47
+ * "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
48
+ * ]
49
+ * };
50
+ * const command = new DescribeTargetGroupsCommand(input);
51
+ * const response = await client.send(command);
52
+ * /* response ==
53
+ * {
54
+ * "TargetGroups": [
55
+ * {
56
+ * "HealthCheckIntervalSeconds": 30,
57
+ * "HealthCheckPath": "/",
58
+ * "HealthCheckPort": "traffic-port",
59
+ * "HealthCheckProtocol": "HTTP",
60
+ * "HealthCheckTimeoutSeconds": 5,
61
+ * "HealthyThresholdCount": 5,
62
+ * "LoadBalancerArns": [
63
+ * "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
64
+ * ],
65
+ * "Matcher": {
66
+ * "HttpCode": "200"
67
+ * },
68
+ * "Port": 80,
69
+ * "Protocol": "HTTP",
70
+ * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
71
+ * "TargetGroupName": "my-targets",
72
+ * "UnhealthyThresholdCount": 2,
73
+ * "VpcId": "vpc-3ac0fb5f"
74
+ * }
75
+ * ]
76
+ * }
77
+ * *\/
78
+ * // example id: elbv2-describe-target-groups-1
79
+ * ```
80
+ *
35
81
  */
36
82
  export declare class DescribeTargetGroupsCommand extends $Command<DescribeTargetGroupsCommandInput, DescribeTargetGroupsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
37
83
  readonly input: DescribeTargetGroupsCommandInput;
@@ -29,6 +29,89 @@ export interface DescribeTargetHealthCommandOutput extends DescribeTargetHealthO
29
29
  * @see {@link DescribeTargetHealthCommandOutput} for command's `response` shape.
30
30
  * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape.
31
31
  *
32
+ * @throws {@link HealthUnavailableException} (server fault)
33
+ * <p>The health of the specified targets could not be retrieved due to an internal
34
+ * error.</p>
35
+ *
36
+ * @throws {@link InvalidTargetException} (client fault)
37
+ * <p>The specified target does not exist, is not in the same VPC as the target group, or has an
38
+ * unsupported instance type.</p>
39
+ *
40
+ * @throws {@link TargetGroupNotFoundException} (client fault)
41
+ * <p>The specified target group does not exist.</p>
42
+ *
43
+ *
44
+ * @example To describe the health of the targets for a target group
45
+ * ```javascript
46
+ * // This example describes the health of the targets for the specified target group. One target is healthy but the other is not specified in an action, so it can't receive traffic from the load balancer.
47
+ * const input = {
48
+ * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
49
+ * };
50
+ * const command = new DescribeTargetHealthCommand(input);
51
+ * const response = await client.send(command);
52
+ * /* response ==
53
+ * {
54
+ * "TargetHealthDescriptions": [
55
+ * {
56
+ * "Target": {
57
+ * "Id": "i-0f76fade",
58
+ * "Port": 80
59
+ * },
60
+ * "TargetHealth": {
61
+ * "Description": "Given target group is not configured to receive traffic from ELB",
62
+ * "Reason": "Target.NotInUse",
63
+ * "State": "unused"
64
+ * }
65
+ * },
66
+ * {
67
+ * "HealthCheckPort": "80",
68
+ * "Target": {
69
+ * "Id": "i-0f76fade",
70
+ * "Port": 80
71
+ * },
72
+ * "TargetHealth": {
73
+ * "State": "healthy"
74
+ * }
75
+ * }
76
+ * ]
77
+ * }
78
+ * *\/
79
+ * // example id: elbv2-describe-target-health-1
80
+ * ```
81
+ *
82
+ * @example To describe the health of a target
83
+ * ```javascript
84
+ * // This example describes the health of the specified target. This target is healthy.
85
+ * const input = {
86
+ * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
87
+ * "Targets": [
88
+ * {
89
+ * "Id": "i-0f76fade",
90
+ * "Port": 80
91
+ * }
92
+ * ]
93
+ * };
94
+ * const command = new DescribeTargetHealthCommand(input);
95
+ * const response = await client.send(command);
96
+ * /* response ==
97
+ * {
98
+ * "TargetHealthDescriptions": [
99
+ * {
100
+ * "HealthCheckPort": "80",
101
+ * "Target": {
102
+ * "Id": "i-0f76fade",
103
+ * "Port": 80
104
+ * },
105
+ * "TargetHealth": {
106
+ * "State": "healthy"
107
+ * }
108
+ * }
109
+ * ]
110
+ * }
111
+ * *\/
112
+ * // example id: elbv2-describe-target-health-2
113
+ * ```
114
+ *
32
115
  */
33
116
  export declare class DescribeTargetHealthCommand extends $Command<DescribeTargetHealthCommandInput, DescribeTargetHealthCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig> {
34
117
  readonly input: DescribeTargetHealthCommandInput;