aws-sdk-vpclattice 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-vpclattice/client.rb +80 -56
- data/lib/aws-sdk-vpclattice/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-vpclattice/types.rb +131 -120
- data/lib/aws-sdk-vpclattice.rb +1 -1
- data/sig/client.rbs +7 -7
- data/sig/types.rbs +8 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a91ed62e3c3847dffee92b6e8af37c4c54ecda7a13645105ea106c0667e15ca
|
4
|
+
data.tar.gz: 8639564e250ff940b73e83f85e9288f7ce80794185fb15fbc68b49f25413b9e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce857d5187baf4920aaa31fd2f580a4a2442fa445afd4ebf707deee4a4534a55ee8828863b9ab3a13202c657c012bbb0276338ad084dcb1242d6d0b0225e0336
|
7
|
+
data.tar.gz: af62df48ba4f337e3059e8b217e5b1ecaf67ba931c3b526917231ec7b793b75bfcee5131603f616d8a1661b0b7911da0f99421fb4612f647cc780cc53d0c9214
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
@@ -301,8 +301,9 @@ module Aws::VPCLattice
|
|
301
301
|
#
|
302
302
|
# @option options [String] :sdk_ua_app_id
|
303
303
|
# A unique and opaque application ID that is appended to the
|
304
|
-
# User-Agent header as app
|
305
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
306
307
|
#
|
307
308
|
# @option options [String] :secret_access_key
|
308
309
|
#
|
@@ -416,6 +417,15 @@ module Aws::VPCLattice
|
|
416
417
|
# change the priority of listener rules. This can be useful when bulk
|
417
418
|
# updating or swapping rule priority.
|
418
419
|
#
|
420
|
+
# **Required permissions:** `vpc-lattice:UpdateRule`
|
421
|
+
#
|
422
|
+
# For more information, see [How Amazon VPC Lattice works with IAM][1]
|
423
|
+
# in the *Amazon VPC Lattice User Guide*.
|
424
|
+
#
|
425
|
+
#
|
426
|
+
#
|
427
|
+
# [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/security_iam_service-with-iam.html
|
428
|
+
#
|
419
429
|
# @option params [required, String] :listener_identifier
|
420
430
|
# The ID or Amazon Resource Name (ARN) of the listener.
|
421
431
|
#
|
@@ -518,7 +528,7 @@ module Aws::VPCLattice
|
|
518
528
|
# Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and
|
519
529
|
# Amazon Kinesis Data Firehose. The service network owner can use the
|
520
530
|
# access logs to audit the services in the network. The service network
|
521
|
-
# owner
|
531
|
+
# owner can only see access logs from clients and services that are
|
522
532
|
# associated with their service network. Access log entries represent
|
523
533
|
# traffic originated from VPCs associated with that network. For more
|
524
534
|
# information, see [Access logs][1] in the *Amazon VPC Lattice User
|
@@ -607,12 +617,8 @@ module Aws::VPCLattice
|
|
607
617
|
# not need to pass this option.**
|
608
618
|
#
|
609
619
|
# @option params [required, Types::RuleAction] :default_action
|
610
|
-
# The action for the default rule. Each listener has a default rule.
|
611
|
-
#
|
612
|
-
# conditions. The default rule is the rule that's used if no other
|
613
|
-
# rules match. Each rule must include exactly one of the following types
|
614
|
-
# of actions: `forward `or `fixed-response`, and it must be the last
|
615
|
-
# action to be performed.
|
620
|
+
# The action for the default rule. Each listener has a default rule. The
|
621
|
+
# default rule is used if no other rules match.
|
616
622
|
#
|
617
623
|
# @option params [required, String] :name
|
618
624
|
# The name of the listener. A listener name must be unique within a
|
@@ -621,11 +627,11 @@ module Aws::VPCLattice
|
|
621
627
|
# after another hyphen.
|
622
628
|
#
|
623
629
|
# @option params [Integer] :port
|
624
|
-
# The listener port. You can specify a value from
|
625
|
-
#
|
630
|
+
# The listener port. You can specify a value from 1 to 65535. For HTTP,
|
631
|
+
# the default is 80. For HTTPS, the default is 443.
|
626
632
|
#
|
627
633
|
# @option params [required, String] :protocol
|
628
|
-
# The listener protocol
|
634
|
+
# The listener protocol.
|
629
635
|
#
|
630
636
|
# @option params [required, String] :service_identifier
|
631
637
|
# The ID or Amazon Resource Name (ARN) of the service.
|
@@ -663,7 +669,7 @@ module Aws::VPCLattice
|
|
663
669
|
# },
|
664
670
|
# name: "ListenerName", # required
|
665
671
|
# port: 1,
|
666
|
-
# protocol: "HTTP", # required, accepts HTTP, HTTPS
|
672
|
+
# protocol: "HTTP", # required, accepts HTTP, HTTPS, TLS_PASSTHROUGH
|
667
673
|
# service_identifier: "ServiceIdentifier", # required
|
668
674
|
# tags: {
|
669
675
|
# "TagKey" => "TagValue",
|
@@ -680,7 +686,7 @@ module Aws::VPCLattice
|
|
680
686
|
# resp.id #=> String
|
681
687
|
# resp.name #=> String
|
682
688
|
# resp.port #=> Integer
|
683
|
-
# resp.protocol #=> String, one of "HTTP", "HTTPS"
|
689
|
+
# resp.protocol #=> String, one of "HTTP", "HTTPS", "TLS_PASSTHROUGH"
|
684
690
|
# resp.service_arn #=> String
|
685
691
|
# resp.service_id #=> String
|
686
692
|
#
|
@@ -990,7 +996,9 @@ module Aws::VPCLattice
|
|
990
996
|
req.send_request(options)
|
991
997
|
end
|
992
998
|
|
993
|
-
# Associates a service with a service network.
|
999
|
+
# Associates a service with a service network. For more information, see
|
1000
|
+
# [Manage service associations][1] in the *Amazon VPC Lattice User
|
1001
|
+
# Guide*.
|
994
1002
|
#
|
995
1003
|
# You can't use this operation if the service and service network are
|
996
1004
|
# already associated or if there is a disassociation or deletion in
|
@@ -1004,6 +1012,10 @@ module Aws::VPCLattice
|
|
1004
1012
|
# As a result of this operation, the association is created in the
|
1005
1013
|
# service network account and the association owner account.
|
1006
1014
|
#
|
1015
|
+
#
|
1016
|
+
#
|
1017
|
+
# [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-network-associations.html#service-network-service-associations
|
1018
|
+
#
|
1007
1019
|
# @option params [String] :client_token
|
1008
1020
|
# A unique, case-sensitive identifier that you provide to ensure the
|
1009
1021
|
# idempotency of the request. If you retry a request that completed
|
@@ -1077,10 +1089,11 @@ module Aws::VPCLattice
|
|
1077
1089
|
# As a result of this operation, the association gets created in the
|
1078
1090
|
# service network account and the VPC owner account.
|
1079
1091
|
#
|
1080
|
-
#
|
1081
|
-
#
|
1082
|
-
#
|
1083
|
-
# security groups you must
|
1092
|
+
# If you add a security group to the service network and VPC
|
1093
|
+
# association, the association must continue to always have at least one
|
1094
|
+
# security group. You can add or edit security groups at any time.
|
1095
|
+
# However, to remove all security groups, you must first delete the
|
1096
|
+
# association and recreate it without security groups.
|
1084
1097
|
#
|
1085
1098
|
#
|
1086
1099
|
#
|
@@ -1178,8 +1191,7 @@ module Aws::VPCLattice
|
|
1178
1191
|
# not need to pass this option.**
|
1179
1192
|
#
|
1180
1193
|
# @option params [Types::TargetGroupConfig] :config
|
1181
|
-
# The target group configuration.
|
1182
|
-
# parameter doesn't apply.
|
1194
|
+
# The target group configuration.
|
1183
1195
|
#
|
1184
1196
|
# @option params [required, String] :name
|
1185
1197
|
# The name of the target group. The name must be unique within the
|
@@ -1217,14 +1229,14 @@ module Aws::VPCLattice
|
|
1217
1229
|
# },
|
1218
1230
|
# path: "HealthCheckPath",
|
1219
1231
|
# port: 1,
|
1220
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS
|
1232
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP
|
1221
1233
|
# protocol_version: "HTTP1", # accepts HTTP1, HTTP2
|
1222
1234
|
# unhealthy_threshold_count: 1,
|
1223
1235
|
# },
|
1224
1236
|
# ip_address_type: "IPV4", # accepts IPV4, IPV6
|
1225
1237
|
# lambda_event_structure_version: "V1", # accepts V1, V2
|
1226
1238
|
# port: 1,
|
1227
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS
|
1239
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP
|
1228
1240
|
# protocol_version: "HTTP1", # accepts HTTP1, HTTP2, GRPC
|
1229
1241
|
# vpc_identifier: "VpcId",
|
1230
1242
|
# },
|
@@ -1245,13 +1257,13 @@ module Aws::VPCLattice
|
|
1245
1257
|
# resp.config.health_check.matcher.http_code #=> String
|
1246
1258
|
# resp.config.health_check.path #=> String
|
1247
1259
|
# resp.config.health_check.port #=> Integer
|
1248
|
-
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS"
|
1260
|
+
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
1249
1261
|
# resp.config.health_check.protocol_version #=> String, one of "HTTP1", "HTTP2"
|
1250
1262
|
# resp.config.health_check.unhealthy_threshold_count #=> Integer
|
1251
1263
|
# resp.config.ip_address_type #=> String, one of "IPV4", "IPV6"
|
1252
1264
|
# resp.config.lambda_event_structure_version #=> String, one of "V1", "V2"
|
1253
1265
|
# resp.config.port #=> Integer
|
1254
|
-
# resp.config.protocol #=> String, one of "HTTP", "HTTPS"
|
1266
|
+
# resp.config.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
1255
1267
|
# resp.config.protocol_version #=> String, one of "HTTP1", "HTTP2", "GRPC"
|
1256
1268
|
# resp.config.vpc_identifier #=> String
|
1257
1269
|
# resp.id #=> String
|
@@ -1290,12 +1302,11 @@ module Aws::VPCLattice
|
|
1290
1302
|
req.send_request(options)
|
1291
1303
|
end
|
1292
1304
|
|
1293
|
-
# Deletes the specified auth policy. If an auth is set to `
|
1294
|
-
#
|
1295
|
-
#
|
1296
|
-
#
|
1297
|
-
#
|
1298
|
-
# denied.
|
1305
|
+
# Deletes the specified auth policy. If an auth is set to `AWS_IAM` and
|
1306
|
+
# the auth policy is deleted, all requests are denied. If you are trying
|
1307
|
+
# to remove the auth policy completely, you must set the auth type to
|
1308
|
+
# `NONE`. If auth is enabled on the resource, but no auth policy is set,
|
1309
|
+
# all requests are denied.
|
1299
1310
|
#
|
1300
1311
|
# @option params [required, String] :resource_identifier
|
1301
1312
|
# The ID or Amazon Resource Name (ARN) of the resource.
|
@@ -1481,7 +1492,7 @@ module Aws::VPCLattice
|
|
1481
1492
|
end
|
1482
1493
|
|
1483
1494
|
# Deletes the association between a specified service and the specific
|
1484
|
-
# service network. This
|
1495
|
+
# service network. This operation fails if an association is still in
|
1485
1496
|
# progress.
|
1486
1497
|
#
|
1487
1498
|
# @option params [required, String] :service_network_service_association_identifier
|
@@ -1743,7 +1754,7 @@ module Aws::VPCLattice
|
|
1743
1754
|
# resp.last_updated_at #=> Time
|
1744
1755
|
# resp.name #=> String
|
1745
1756
|
# resp.port #=> Integer
|
1746
|
-
# resp.protocol #=> String, one of "HTTP", "HTTPS"
|
1757
|
+
# resp.protocol #=> String, one of "HTTP", "HTTPS", "TLS_PASSTHROUGH"
|
1747
1758
|
# resp.service_arn #=> String
|
1748
1759
|
# resp.service_id #=> String
|
1749
1760
|
#
|
@@ -1757,11 +1768,11 @@ module Aws::VPCLattice
|
|
1757
1768
|
end
|
1758
1769
|
|
1759
1770
|
# Retrieves information about the resource policy. The resource policy
|
1760
|
-
# is an IAM policy created
|
1761
|
-
#
|
1771
|
+
# is an IAM policy created on behalf of the resource owner when they
|
1772
|
+
# share a resource.
|
1762
1773
|
#
|
1763
1774
|
# @option params [required, String] :resource_arn
|
1764
|
-
#
|
1775
|
+
# The Amazon Resource Name (ARN) of the service network or service.
|
1765
1776
|
#
|
1766
1777
|
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1767
1778
|
#
|
@@ -2096,13 +2107,13 @@ module Aws::VPCLattice
|
|
2096
2107
|
# resp.config.health_check.matcher.http_code #=> String
|
2097
2108
|
# resp.config.health_check.path #=> String
|
2098
2109
|
# resp.config.health_check.port #=> Integer
|
2099
|
-
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS"
|
2110
|
+
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
2100
2111
|
# resp.config.health_check.protocol_version #=> String, one of "HTTP1", "HTTP2"
|
2101
2112
|
# resp.config.health_check.unhealthy_threshold_count #=> Integer
|
2102
2113
|
# resp.config.ip_address_type #=> String, one of "IPV4", "IPV6"
|
2103
2114
|
# resp.config.lambda_event_structure_version #=> String, one of "V1", "V2"
|
2104
2115
|
# resp.config.port #=> Integer
|
2105
|
-
# resp.config.protocol #=> String, one of "HTTP", "HTTPS"
|
2116
|
+
# resp.config.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
2106
2117
|
# resp.config.protocol_version #=> String, one of "HTTP1", "HTTP2", "GRPC"
|
2107
2118
|
# resp.config.vpc_identifier #=> String
|
2108
2119
|
# resp.created_at #=> Time
|
@@ -2209,7 +2220,7 @@ module Aws::VPCLattice
|
|
2209
2220
|
# resp.items[0].last_updated_at #=> Time
|
2210
2221
|
# resp.items[0].name #=> String
|
2211
2222
|
# resp.items[0].port #=> Integer
|
2212
|
-
# resp.items[0].protocol #=> String, one of "HTTP", "HTTPS"
|
2223
|
+
# resp.items[0].protocol #=> String, one of "HTTP", "HTTPS", "TLS_PASSTHROUGH"
|
2213
2224
|
# resp.next_token #=> String
|
2214
2225
|
#
|
2215
2226
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListListeners AWS API Documentation
|
@@ -2281,8 +2292,8 @@ module Aws::VPCLattice
|
|
2281
2292
|
# Resource Name (ARN), such as when a service network is associated with
|
2282
2293
|
# a VPC or when a service is associated with a service network. If the
|
2283
2294
|
# association is for a resource that is shared with another account, the
|
2284
|
-
# association
|
2285
|
-
#
|
2295
|
+
# association includes the local account ID as the prefix in the ARN for
|
2296
|
+
# each account the resource is shared with.
|
2286
2297
|
#
|
2287
2298
|
# @option params [Integer] :max_results
|
2288
2299
|
# The maximum number of results to return.
|
@@ -2529,7 +2540,7 @@ module Aws::VPCLattice
|
|
2529
2540
|
# The target group type.
|
2530
2541
|
#
|
2531
2542
|
# @option params [String] :vpc_identifier
|
2532
|
-
# The ID or Amazon Resource Name (ARN) of the
|
2543
|
+
# The ID or Amazon Resource Name (ARN) of the VPC.
|
2533
2544
|
#
|
2534
2545
|
# @return [Types::ListTargetGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2535
2546
|
#
|
@@ -2558,7 +2569,7 @@ module Aws::VPCLattice
|
|
2558
2569
|
# resp.items[0].last_updated_at #=> Time
|
2559
2570
|
# resp.items[0].name #=> String
|
2560
2571
|
# resp.items[0].port #=> Integer
|
2561
|
-
# resp.items[0].protocol #=> String, one of "HTTP", "HTTPS"
|
2572
|
+
# resp.items[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
2562
2573
|
# resp.items[0].service_arns #=> Array
|
2563
2574
|
# resp.items[0].service_arns[0] #=> String
|
2564
2575
|
# resp.items[0].status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
|
@@ -2589,7 +2600,7 @@ module Aws::VPCLattice
|
|
2589
2600
|
# The ID or Amazon Resource Name (ARN) of the target group.
|
2590
2601
|
#
|
2591
2602
|
# @option params [Array<Types::Target>] :targets
|
2592
|
-
# The targets
|
2603
|
+
# The targets.
|
2593
2604
|
#
|
2594
2605
|
# @return [Types::ListTargetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2595
2606
|
#
|
@@ -2630,10 +2641,19 @@ module Aws::VPCLattice
|
|
2630
2641
|
req.send_request(options)
|
2631
2642
|
end
|
2632
2643
|
|
2633
|
-
# Creates or updates the auth policy.
|
2644
|
+
# Creates or updates the auth policy. The policy string in JSON must not
|
2645
|
+
# contain newlines or blank lines.
|
2646
|
+
#
|
2647
|
+
# For more information, see [Auth policies][1] in the *Amazon VPC
|
2648
|
+
# Lattice User Guide*.
|
2649
|
+
#
|
2650
|
+
#
|
2651
|
+
#
|
2652
|
+
# [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/auth-policies.html
|
2634
2653
|
#
|
2635
2654
|
# @option params [required, String] :policy
|
2636
|
-
# The auth policy.
|
2655
|
+
# The auth policy. The policy string in JSON must not contain newlines
|
2656
|
+
# or blank lines.
|
2637
2657
|
#
|
2638
2658
|
# @option params [required, String] :resource_identifier
|
2639
2659
|
# The ID or Amazon Resource Name (ARN) of the service network or service
|
@@ -2671,7 +2691,8 @@ module Aws::VPCLattice
|
|
2671
2691
|
# permission for sharing services and service networks.
|
2672
2692
|
#
|
2673
2693
|
# @option params [required, String] :policy
|
2674
|
-
# An IAM policy.
|
2694
|
+
# An IAM policy. The policy string in JSON must not contain newlines or
|
2695
|
+
# blank lines.
|
2675
2696
|
#
|
2676
2697
|
# @option params [required, String] :resource_arn
|
2677
2698
|
# The ID or Amazon Resource Name (ARN) of the service network or service
|
@@ -2887,7 +2908,7 @@ module Aws::VPCLattice
|
|
2887
2908
|
# resp.id #=> String
|
2888
2909
|
# resp.name #=> String
|
2889
2910
|
# resp.port #=> Integer
|
2890
|
-
# resp.protocol #=> String, one of "HTTP", "HTTPS"
|
2911
|
+
# resp.protocol #=> String, one of "HTTP", "HTTPS", "TLS_PASSTHROUGH"
|
2891
2912
|
# resp.service_arn #=> String
|
2892
2913
|
# resp.service_id #=> String
|
2893
2914
|
#
|
@@ -3104,12 +3125,15 @@ module Aws::VPCLattice
|
|
3104
3125
|
req.send_request(options)
|
3105
3126
|
end
|
3106
3127
|
|
3107
|
-
# Updates the service network and VPC association.
|
3108
|
-
#
|
3128
|
+
# Updates the service network and VPC association. If you add a security
|
3129
|
+
# group to the service network and VPC association, the association must
|
3130
|
+
# continue to always have at least one security group. You can add or
|
3131
|
+
# edit security groups at any time. However, to remove all security
|
3132
|
+
# groups, you must first delete the association and recreate it without
|
3133
|
+
# security groups.
|
3109
3134
|
#
|
3110
3135
|
# @option params [required, Array<String>] :security_group_ids
|
3111
|
-
# The IDs of the security groups.
|
3112
|
-
# cannot be removed.
|
3136
|
+
# The IDs of the security groups.
|
3113
3137
|
#
|
3114
3138
|
# @option params [required, String] :service_network_vpc_association_identifier
|
3115
3139
|
# The ID or Amazon Resource Name (ARN) of the association.
|
@@ -3177,7 +3201,7 @@ module Aws::VPCLattice
|
|
3177
3201
|
# },
|
3178
3202
|
# path: "HealthCheckPath",
|
3179
3203
|
# port: 1,
|
3180
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS
|
3204
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP
|
3181
3205
|
# protocol_version: "HTTP1", # accepts HTTP1, HTTP2
|
3182
3206
|
# unhealthy_threshold_count: 1,
|
3183
3207
|
# },
|
@@ -3194,13 +3218,13 @@ module Aws::VPCLattice
|
|
3194
3218
|
# resp.config.health_check.matcher.http_code #=> String
|
3195
3219
|
# resp.config.health_check.path #=> String
|
3196
3220
|
# resp.config.health_check.port #=> Integer
|
3197
|
-
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS"
|
3221
|
+
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
3198
3222
|
# resp.config.health_check.protocol_version #=> String, one of "HTTP1", "HTTP2"
|
3199
3223
|
# resp.config.health_check.unhealthy_threshold_count #=> Integer
|
3200
3224
|
# resp.config.ip_address_type #=> String, one of "IPV4", "IPV6"
|
3201
3225
|
# resp.config.lambda_event_structure_version #=> String, one of "V1", "V2"
|
3202
3226
|
# resp.config.port #=> Integer
|
3203
|
-
# resp.config.protocol #=> String, one of "HTTP", "HTTPS"
|
3227
|
+
# resp.config.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
3204
3228
|
# resp.config.protocol_version #=> String, one of "HTTP1", "HTTP2", "GRPC"
|
3205
3229
|
# resp.config.vpc_identifier #=> String
|
3206
3230
|
# resp.id #=> String
|
@@ -3230,7 +3254,7 @@ module Aws::VPCLattice
|
|
3230
3254
|
params: params,
|
3231
3255
|
config: config)
|
3232
3256
|
context[:gem_name] = 'aws-sdk-vpclattice'
|
3233
|
-
context[:gem_version] = '1.
|
3257
|
+
context[:gem_version] = '1.13.0'
|
3234
3258
|
Seahorse::Client::Request.new(handlers, context)
|
3235
3259
|
end
|
3236
3260
|
|
@@ -32,7 +32,7 @@ module Aws::VPCLattice
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://vpc-lattice-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -214,11 +214,7 @@ module Aws::VPCLattice
|
|
214
214
|
#
|
215
215
|
# @!attribute [rw] default_action
|
216
216
|
# The action for the default rule. Each listener has a default rule.
|
217
|
-
#
|
218
|
-
# more conditions. The default rule is the rule that's used if no
|
219
|
-
# other rules match. Each rule must include exactly one of the
|
220
|
-
# following types of actions: `forward `or `fixed-response`, and it
|
221
|
-
# must be the last action to be performed.
|
217
|
+
# The default rule is used if no other rules match.
|
222
218
|
# @return [Types::RuleAction]
|
223
219
|
#
|
224
220
|
# @!attribute [rw] name
|
@@ -229,12 +225,12 @@ module Aws::VPCLattice
|
|
229
225
|
# @return [String]
|
230
226
|
#
|
231
227
|
# @!attribute [rw] port
|
232
|
-
# The listener port. You can specify a value from
|
233
|
-
# HTTP, the default is
|
228
|
+
# The listener port. You can specify a value from 1 to 65535. For
|
229
|
+
# HTTP, the default is 80. For HTTPS, the default is 443.
|
234
230
|
# @return [Integer]
|
235
231
|
#
|
236
232
|
# @!attribute [rw] protocol
|
237
|
-
# The listener protocol
|
233
|
+
# The listener protocol.
|
238
234
|
# @return [String]
|
239
235
|
#
|
240
236
|
# @!attribute [rw] service_identifier
|
@@ -366,9 +362,7 @@ module Aws::VPCLattice
|
|
366
362
|
end
|
367
363
|
|
368
364
|
# @!attribute [rw] action
|
369
|
-
# The rule action.
|
370
|
-
# types of actions: `forward `or `fixed-response`, and it must be the
|
371
|
-
# last action to be performed.
|
365
|
+
# The rule action.
|
372
366
|
# @return [Types::RuleAction]
|
373
367
|
#
|
374
368
|
# @!attribute [rw] arn
|
@@ -534,7 +528,7 @@ module Aws::VPCLattice
|
|
534
528
|
# @return [String]
|
535
529
|
#
|
536
530
|
# @!attribute [rw] status
|
537
|
-
# The
|
531
|
+
# The association status.
|
538
532
|
# @return [String]
|
539
533
|
#
|
540
534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateServiceNetworkServiceAssociationResponse AWS API Documentation
|
@@ -617,7 +611,7 @@ module Aws::VPCLattice
|
|
617
611
|
# @return [Array<String>]
|
618
612
|
#
|
619
613
|
# @!attribute [rw] status
|
620
|
-
# The
|
614
|
+
# The association status.
|
621
615
|
# @return [String]
|
622
616
|
#
|
623
617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateServiceNetworkVpcAssociationResponse AWS API Documentation
|
@@ -714,8 +708,8 @@ module Aws::VPCLattice
|
|
714
708
|
# @return [String]
|
715
709
|
#
|
716
710
|
# @!attribute [rw] status
|
717
|
-
# The status. If the status is `CREATE_FAILED`, you
|
718
|
-
#
|
711
|
+
# The status. If the status is `CREATE_FAILED`, you must delete and
|
712
|
+
# recreate the service.
|
719
713
|
# @return [String]
|
720
714
|
#
|
721
715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateServiceResponse AWS API Documentation
|
@@ -745,8 +739,7 @@ module Aws::VPCLattice
|
|
745
739
|
# @return [String]
|
746
740
|
#
|
747
741
|
# @!attribute [rw] config
|
748
|
-
# The target group configuration.
|
749
|
-
# parameter doesn't apply.
|
742
|
+
# The target group configuration.
|
750
743
|
# @return [Types::TargetGroupConfig]
|
751
744
|
#
|
752
745
|
# @!attribute [rw] name
|
@@ -781,8 +774,7 @@ module Aws::VPCLattice
|
|
781
774
|
# @return [String]
|
782
775
|
#
|
783
776
|
# @!attribute [rw] config
|
784
|
-
# The target group configuration.
|
785
|
-
# parameter doesn't apply.
|
777
|
+
# The target group configuration.
|
786
778
|
# @return [Types::TargetGroupConfig]
|
787
779
|
#
|
788
780
|
# @!attribute [rw] id
|
@@ -794,8 +786,8 @@ module Aws::VPCLattice
|
|
794
786
|
# @return [String]
|
795
787
|
#
|
796
788
|
# @!attribute [rw] status
|
797
|
-
# The
|
798
|
-
#
|
789
|
+
# The status. You can retry the operation if the status is
|
790
|
+
# `CREATE_FAILED`. However, if you retry it while the status is
|
799
791
|
# `CREATE_IN_PROGRESS`, there is no change in the status.
|
800
792
|
# @return [String]
|
801
793
|
#
|
@@ -948,8 +940,8 @@ module Aws::VPCLattice
|
|
948
940
|
# @return [String]
|
949
941
|
#
|
950
942
|
# @!attribute [rw] status
|
951
|
-
# The
|
952
|
-
#
|
943
|
+
# The status. You can retry the operation if the status is
|
944
|
+
# `DELETE_FAILED`. However, if you retry it when the status is
|
953
945
|
# `DELETE_IN_PROGRESS`, there is no change in the status.
|
954
946
|
# @return [String]
|
955
947
|
#
|
@@ -985,7 +977,7 @@ module Aws::VPCLattice
|
|
985
977
|
#
|
986
978
|
# @!attribute [rw] status
|
987
979
|
# The status. You can retry the operation if the status is
|
988
|
-
# `DELETE_FAILED`. However, if you retry it
|
980
|
+
# `DELETE_FAILED`. However, if you retry it while the status is
|
989
981
|
# `DELETE_IN_PROGRESS`, there is no change in the status.
|
990
982
|
# @return [String]
|
991
983
|
#
|
@@ -1129,7 +1121,7 @@ module Aws::VPCLattice
|
|
1129
1121
|
include Aws::Structure
|
1130
1122
|
end
|
1131
1123
|
|
1132
|
-
#
|
1124
|
+
# Describes an action that returns a custom HTTP response.
|
1133
1125
|
#
|
1134
1126
|
# @!attribute [rw] status_code
|
1135
1127
|
# The HTTP response code.
|
@@ -1156,8 +1148,8 @@ module Aws::VPCLattice
|
|
1156
1148
|
# traffic.
|
1157
1149
|
#
|
1158
1150
|
# The default value is 1. This means that if only one target group is
|
1159
|
-
# provided, there is no need to set the weight; 100% of traffic
|
1160
|
-
#
|
1151
|
+
# provided, there is no need to set the weight; 100% of the traffic
|
1152
|
+
# goes to that target group.
|
1161
1153
|
# @return [Array<Types::WeightedTargetGroup>]
|
1162
1154
|
#
|
1163
1155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ForwardAction AWS API Documentation
|
@@ -1253,12 +1245,12 @@ module Aws::VPCLattice
|
|
1253
1245
|
#
|
1254
1246
|
# @!attribute [rw] state
|
1255
1247
|
# The state of the auth policy. The auth policy is only active when
|
1256
|
-
# the auth type is set to `
|
1257
|
-
#
|
1258
|
-
#
|
1259
|
-
#
|
1260
|
-
#
|
1261
|
-
#
|
1248
|
+
# the auth type is set to `AWS_IAM`. If you provide a policy, then
|
1249
|
+
# authentication and authorization decisions are made based on this
|
1250
|
+
# policy and the client's IAM policy. If the auth type is `NONE`,
|
1251
|
+
# then any auth policy that you provide remains inactive. For more
|
1252
|
+
# information, see [Create a service network][1] in the *Amazon VPC
|
1253
|
+
# Lattice User Guide*.
|
1262
1254
|
#
|
1263
1255
|
#
|
1264
1256
|
#
|
@@ -1353,7 +1345,7 @@ module Aws::VPCLattice
|
|
1353
1345
|
end
|
1354
1346
|
|
1355
1347
|
# @!attribute [rw] resource_arn
|
1356
|
-
#
|
1348
|
+
# The Amazon Resource Name (ARN) of the service network or service.
|
1357
1349
|
# @return [String]
|
1358
1350
|
#
|
1359
1351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetResourcePolicyRequest AWS API Documentation
|
@@ -1365,7 +1357,7 @@ module Aws::VPCLattice
|
|
1365
1357
|
end
|
1366
1358
|
|
1367
1359
|
# @!attribute [rw] policy
|
1368
|
-
#
|
1360
|
+
# An IAM policy.
|
1369
1361
|
# @return [String]
|
1370
1362
|
#
|
1371
1363
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetResourcePolicyResponse AWS API Documentation
|
@@ -1856,7 +1848,7 @@ module Aws::VPCLattice
|
|
1856
1848
|
# action.
|
1857
1849
|
#
|
1858
1850
|
# @!attribute [rw] case_sensitive
|
1859
|
-
# Indicates whether the match is case sensitive.
|
1851
|
+
# Indicates whether the match is case sensitive.
|
1860
1852
|
# @return [Boolean]
|
1861
1853
|
#
|
1862
1854
|
# @!attribute [rw] match
|
@@ -1877,22 +1869,22 @@ module Aws::VPCLattice
|
|
1877
1869
|
include Aws::Structure
|
1878
1870
|
end
|
1879
1871
|
|
1880
|
-
# Describes a header match type.
|
1872
|
+
# Describes a header match type.
|
1881
1873
|
#
|
1882
1874
|
# @note HeaderMatchType is a union - when making an API calls you must set exactly one of the members.
|
1883
1875
|
#
|
1884
1876
|
# @note HeaderMatchType is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HeaderMatchType corresponding to the set member.
|
1885
1877
|
#
|
1886
1878
|
# @!attribute [rw] contains
|
1887
|
-
#
|
1879
|
+
# A contains type match.
|
1888
1880
|
# @return [String]
|
1889
1881
|
#
|
1890
1882
|
# @!attribute [rw] exact
|
1891
|
-
#
|
1883
|
+
# An exact type match.
|
1892
1884
|
# @return [String]
|
1893
1885
|
#
|
1894
1886
|
# @!attribute [rw] prefix
|
1895
|
-
#
|
1887
|
+
# A prefix type match. Matches the value with the prefix.
|
1896
1888
|
# @return [String]
|
1897
1889
|
#
|
1898
1890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/HeaderMatchType AWS API Documentation
|
@@ -1912,8 +1904,9 @@ module Aws::VPCLattice
|
|
1912
1904
|
class Unknown < HeaderMatchType; end
|
1913
1905
|
end
|
1914
1906
|
|
1915
|
-
#
|
1916
|
-
# configurations aren't used for
|
1907
|
+
# Describes the health check configuration of a target group. Health
|
1908
|
+
# check configurations aren't used for target groups of type `LAMBDA`
|
1909
|
+
# or `ALB`.
|
1917
1910
|
#
|
1918
1911
|
# @!attribute [rw] enabled
|
1919
1912
|
# Indicates whether health checking is enabled.
|
@@ -1938,7 +1931,7 @@ module Aws::VPCLattice
|
|
1938
1931
|
#
|
1939
1932
|
# @!attribute [rw] matcher
|
1940
1933
|
# The codes to use when checking for a successful response from a
|
1941
|
-
# target.
|
1934
|
+
# target.
|
1942
1935
|
# @return [Types::Matcher]
|
1943
1936
|
#
|
1944
1937
|
# @!attribute [rw] path
|
@@ -2053,7 +2046,7 @@ module Aws::VPCLattice
|
|
2053
2046
|
end
|
2054
2047
|
|
2055
2048
|
# @!attribute [rw] items
|
2056
|
-
#
|
2049
|
+
# Information about the access log subscriptions.
|
2057
2050
|
# @return [Array<Types::AccessLogSubscriptionSummary>]
|
2058
2051
|
#
|
2059
2052
|
# @!attribute [rw] next_token
|
@@ -2297,7 +2290,7 @@ module Aws::VPCLattice
|
|
2297
2290
|
end
|
2298
2291
|
|
2299
2292
|
# @!attribute [rw] items
|
2300
|
-
#
|
2293
|
+
# Information about the services.
|
2301
2294
|
# @return [Array<Types::ServiceSummary>]
|
2302
2295
|
#
|
2303
2296
|
# @!attribute [rw] next_token
|
@@ -2327,7 +2320,7 @@ module Aws::VPCLattice
|
|
2327
2320
|
end
|
2328
2321
|
|
2329
2322
|
# @!attribute [rw] tags
|
2330
|
-
#
|
2323
|
+
# Information about the tags.
|
2331
2324
|
# @return [Hash<String,String>]
|
2332
2325
|
#
|
2333
2326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListTagsForResourceResponse AWS API Documentation
|
@@ -2351,7 +2344,7 @@ module Aws::VPCLattice
|
|
2351
2344
|
# @return [String]
|
2352
2345
|
#
|
2353
2346
|
# @!attribute [rw] vpc_identifier
|
2354
|
-
# The ID or Amazon Resource Name (ARN) of the
|
2347
|
+
# The ID or Amazon Resource Name (ARN) of the VPC.
|
2355
2348
|
# @return [String]
|
2356
2349
|
#
|
2357
2350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListTargetGroupsRequest AWS API Documentation
|
@@ -2396,7 +2389,7 @@ module Aws::VPCLattice
|
|
2396
2389
|
# @return [String]
|
2397
2390
|
#
|
2398
2391
|
# @!attribute [rw] targets
|
2399
|
-
# The targets
|
2392
|
+
# The targets.
|
2400
2393
|
# @return [Array<Types::Target>]
|
2401
2394
|
#
|
2402
2395
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListTargetsRequest AWS API Documentation
|
@@ -2474,8 +2467,8 @@ module Aws::VPCLattice
|
|
2474
2467
|
include Aws::Structure
|
2475
2468
|
end
|
2476
2469
|
|
2477
|
-
#
|
2478
|
-
# for health checks.
|
2470
|
+
# Describes the codes to use when checking for a successful response
|
2471
|
+
# from a target for health checks.
|
2479
2472
|
#
|
2480
2473
|
# @note Matcher is a union - when making an API calls you must set exactly one of the members.
|
2481
2474
|
#
|
@@ -2503,7 +2496,7 @@ module Aws::VPCLattice
|
|
2503
2496
|
# incoming requests.
|
2504
2497
|
#
|
2505
2498
|
# @!attribute [rw] case_sensitive
|
2506
|
-
# Indicates whether the match is case sensitive.
|
2499
|
+
# Indicates whether the match is case sensitive.
|
2507
2500
|
# @return [Boolean]
|
2508
2501
|
#
|
2509
2502
|
# @!attribute [rw] match
|
@@ -2550,7 +2543,8 @@ module Aws::VPCLattice
|
|
2550
2543
|
end
|
2551
2544
|
|
2552
2545
|
# @!attribute [rw] policy
|
2553
|
-
# The auth policy.
|
2546
|
+
# The auth policy. The policy string in JSON must not contain newlines
|
2547
|
+
# or blank lines.
|
2554
2548
|
# @return [String]
|
2555
2549
|
#
|
2556
2550
|
# @!attribute [rw] resource_identifier
|
@@ -2568,17 +2562,18 @@ module Aws::VPCLattice
|
|
2568
2562
|
end
|
2569
2563
|
|
2570
2564
|
# @!attribute [rw] policy
|
2571
|
-
# The auth policy.
|
2565
|
+
# The auth policy. The policy string in JSON must not contain newlines
|
2566
|
+
# or blank lines.
|
2572
2567
|
# @return [String]
|
2573
2568
|
#
|
2574
2569
|
# @!attribute [rw] state
|
2575
2570
|
# The state of the auth policy. The auth policy is only active when
|
2576
|
-
# the auth type is set to `
|
2577
|
-
#
|
2578
|
-
#
|
2579
|
-
#
|
2580
|
-
#
|
2581
|
-
#
|
2571
|
+
# the auth type is set to `AWS_IAM`. If you provide a policy, then
|
2572
|
+
# authentication and authorization decisions are made based on this
|
2573
|
+
# policy and the client's IAM policy. If the Auth type is `NONE`,
|
2574
|
+
# then, any auth policy that you provide remains inactive. For more
|
2575
|
+
# information, see [Create a service network][1] in the *Amazon VPC
|
2576
|
+
# Lattice User Guide*.
|
2582
2577
|
#
|
2583
2578
|
#
|
2584
2579
|
#
|
@@ -2595,7 +2590,8 @@ module Aws::VPCLattice
|
|
2595
2590
|
end
|
2596
2591
|
|
2597
2592
|
# @!attribute [rw] policy
|
2598
|
-
# An IAM policy.
|
2593
|
+
# An IAM policy. The policy string in JSON must not contain newlines
|
2594
|
+
# or blank lines.
|
2599
2595
|
# @return [String]
|
2600
2596
|
#
|
2601
2597
|
# @!attribute [rw] resource_arn
|
@@ -2673,16 +2669,14 @@ module Aws::VPCLattice
|
|
2673
2669
|
include Aws::Structure
|
2674
2670
|
end
|
2675
2671
|
|
2676
|
-
# Describes the action for a rule.
|
2677
|
-
# the following types of actions: `forward `or `fixed-response`, and it
|
2678
|
-
# must be the last action to be performed.
|
2672
|
+
# Describes the action for a rule.
|
2679
2673
|
#
|
2680
2674
|
# @note RuleAction is a union - when making an API calls you must set exactly one of the members.
|
2681
2675
|
#
|
2682
2676
|
# @note RuleAction is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RuleAction corresponding to the set member.
|
2683
2677
|
#
|
2684
2678
|
# @!attribute [rw] fixed_response
|
2685
|
-
#
|
2679
|
+
# The fixed response action. The rule returns a custom HTTP response.
|
2686
2680
|
# @return [Types::FixedResponseAction]
|
2687
2681
|
#
|
2688
2682
|
# @!attribute [rw] forward
|
@@ -2744,9 +2738,7 @@ module Aws::VPCLattice
|
|
2744
2738
|
# @return [String]
|
2745
2739
|
#
|
2746
2740
|
# @!attribute [rw] is_default
|
2747
|
-
# Indicates whether this is the default rule.
|
2748
|
-
# created when you create a listener. Each listener has a default rule
|
2749
|
-
# for checking connection requests.
|
2741
|
+
# Indicates whether this is the default listener rule.
|
2750
2742
|
# @return [Boolean]
|
2751
2743
|
#
|
2752
2744
|
# @!attribute [rw] last_updated_at
|
@@ -2776,7 +2768,7 @@ module Aws::VPCLattice
|
|
2776
2768
|
include Aws::Structure
|
2777
2769
|
end
|
2778
2770
|
|
2779
|
-
#
|
2771
|
+
# Describes a rule update.
|
2780
2772
|
#
|
2781
2773
|
# @!attribute [rw] action
|
2782
2774
|
# The rule action.
|
@@ -2833,7 +2825,7 @@ module Aws::VPCLattice
|
|
2833
2825
|
# Describes a successful rule update.
|
2834
2826
|
#
|
2835
2827
|
# @!attribute [rw] action
|
2836
|
-
# The action for the
|
2828
|
+
# The action for the rule.
|
2837
2829
|
# @return [Types::RuleAction]
|
2838
2830
|
#
|
2839
2831
|
# @!attribute [rw] arn
|
@@ -2895,7 +2887,7 @@ module Aws::VPCLattice
|
|
2895
2887
|
# @return [String]
|
2896
2888
|
#
|
2897
2889
|
# @!attribute [rw] dns_entry
|
2898
|
-
# DNS information
|
2890
|
+
# The DNS information.
|
2899
2891
|
# @return [Types::DnsEntry]
|
2900
2892
|
#
|
2901
2893
|
# @!attribute [rw] id
|
@@ -3107,7 +3099,7 @@ module Aws::VPCLattice
|
|
3107
3099
|
# @return [String]
|
3108
3100
|
#
|
3109
3101
|
# @!attribute [rw] dns_entry
|
3110
|
-
# DNS information
|
3102
|
+
# The DNS information.
|
3111
3103
|
# @return [Types::DnsEntry]
|
3112
3104
|
#
|
3113
3105
|
# @!attribute [rw] id
|
@@ -3166,16 +3158,16 @@ module Aws::VPCLattice
|
|
3166
3158
|
# Describes a target.
|
3167
3159
|
#
|
3168
3160
|
# @!attribute [rw] id
|
3169
|
-
# The ID of the target. If the target type
|
3170
|
-
#
|
3171
|
-
#
|
3172
|
-
#
|
3173
|
-
#
|
3161
|
+
# The ID of the target. If the target group type is `INSTANCE`, this
|
3162
|
+
# is an instance ID. If the target group type is `IP`, this is an IP
|
3163
|
+
# address. If the target group type is `LAMBDA`, this is the ARN of a
|
3164
|
+
# Lambda function. If the target group type is `ALB`, this is the ARN
|
3165
|
+
# of an Application Load Balancer.
|
3174
3166
|
# @return [String]
|
3175
3167
|
#
|
3176
3168
|
# @!attribute [rw] port
|
3177
3169
|
# The port on which the target is listening. For HTTP, the default is
|
3178
|
-
#
|
3170
|
+
# 80. For HTTPS, the default is 443.
|
3179
3171
|
# @return [Integer]
|
3180
3172
|
#
|
3181
3173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/Target AWS API Documentation
|
@@ -3198,11 +3190,11 @@ module Aws::VPCLattice
|
|
3198
3190
|
# @return [String]
|
3199
3191
|
#
|
3200
3192
|
# @!attribute [rw] id
|
3201
|
-
# The ID of the target. If the target type
|
3202
|
-
#
|
3203
|
-
#
|
3204
|
-
#
|
3205
|
-
#
|
3193
|
+
# The ID of the target. If the target group type is `INSTANCE`, this
|
3194
|
+
# is an instance ID. If the target group type is `IP`, this is an IP
|
3195
|
+
# address. If the target group type is `LAMBDA`, this is the ARN of a
|
3196
|
+
# Lambda function. If the target group type is `ALB`, this is the ARN
|
3197
|
+
# of an Application Load Balancer.
|
3206
3198
|
# @return [String]
|
3207
3199
|
#
|
3208
3200
|
# @!attribute [rw] port
|
@@ -3221,39 +3213,51 @@ module Aws::VPCLattice
|
|
3221
3213
|
include Aws::Structure
|
3222
3214
|
end
|
3223
3215
|
|
3224
|
-
# Describes the configuration of a target group.
|
3225
|
-
#
|
3216
|
+
# Describes the configuration of a target group.
|
3217
|
+
#
|
3218
|
+
# For more information, see [Target groups][1] in the *Amazon VPC
|
3219
|
+
# Lattice User Guide*.
|
3220
|
+
#
|
3221
|
+
#
|
3222
|
+
#
|
3223
|
+
# [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/target-groups.html
|
3226
3224
|
#
|
3227
3225
|
# @!attribute [rw] health_check
|
3228
|
-
# The health check configuration.
|
3226
|
+
# The health check configuration. Not supported if the target group
|
3227
|
+
# type is `LAMBDA` or `ALB`.
|
3229
3228
|
# @return [Types::HealthCheckConfig]
|
3230
3229
|
#
|
3231
3230
|
# @!attribute [rw] ip_address_type
|
3232
|
-
# The type of IP address used for the target group.
|
3233
|
-
#
|
3234
|
-
# specified, the IP address type defaults to `ipv4`.
|
3231
|
+
# The type of IP address used for the target group. Supported only if
|
3232
|
+
# the target group type is `IP`. The default is `IPV4`.
|
3235
3233
|
# @return [String]
|
3236
3234
|
#
|
3237
3235
|
# @!attribute [rw] lambda_event_structure_version
|
3238
|
-
#
|
3236
|
+
# The version of the event structure that your Lambda function
|
3237
|
+
# receives. Supported only if the target group type is `LAMBDA`. The
|
3238
|
+
# default is `V1`.
|
3239
3239
|
# @return [String]
|
3240
3240
|
#
|
3241
3241
|
# @!attribute [rw] port
|
3242
3242
|
# The port on which the targets are listening. For HTTP, the default
|
3243
|
-
# is
|
3243
|
+
# is 80. For HTTPS, the default is 443. Not supported if the target
|
3244
|
+
# group type is `LAMBDA`.
|
3244
3245
|
# @return [Integer]
|
3245
3246
|
#
|
3246
3247
|
# @!attribute [rw] protocol
|
3247
|
-
# The protocol to use for routing traffic to the targets.
|
3248
|
-
# the protocol of
|
3248
|
+
# The protocol to use for routing traffic to the targets. The default
|
3249
|
+
# is the protocol of the target group. Not supported if the target
|
3250
|
+
# group type is `LAMBDA`.
|
3249
3251
|
# @return [String]
|
3250
3252
|
#
|
3251
3253
|
# @!attribute [rw] protocol_version
|
3252
|
-
# The protocol version.
|
3254
|
+
# The protocol version. The default is `HTTP1`. Not supported if the
|
3255
|
+
# target group type is `LAMBDA`.
|
3253
3256
|
# @return [String]
|
3254
3257
|
#
|
3255
3258
|
# @!attribute [rw] vpc_identifier
|
3256
|
-
# The ID of the VPC.
|
3259
|
+
# The ID of the VPC. Not supported if the target group type is
|
3260
|
+
# `LAMBDA`.
|
3257
3261
|
# @return [String]
|
3258
3262
|
#
|
3259
3263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/TargetGroupConfig AWS API Documentation
|
@@ -3272,6 +3276,13 @@ module Aws::VPCLattice
|
|
3272
3276
|
|
3273
3277
|
# Summary information about a target group.
|
3274
3278
|
#
|
3279
|
+
# For more information, see [Target groups][1] in the *Amazon VPC
|
3280
|
+
# Lattice User Guide*.
|
3281
|
+
#
|
3282
|
+
#
|
3283
|
+
#
|
3284
|
+
# [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/target-groups.html
|
3285
|
+
#
|
3275
3286
|
# @!attribute [rw] arn
|
3276
3287
|
# The ARN (Amazon Resource Name) of the target group.
|
3277
3288
|
# @return [String]
|
@@ -3287,12 +3298,13 @@ module Aws::VPCLattice
|
|
3287
3298
|
#
|
3288
3299
|
# @!attribute [rw] ip_address_type
|
3289
3300
|
# The type of IP address used for the target group. The possible
|
3290
|
-
# values are `
|
3291
|
-
# specified, the
|
3301
|
+
# values are `IPV4` and `IPV6`. This is an optional parameter. If not
|
3302
|
+
# specified, the default is `IPV4`.
|
3292
3303
|
# @return [String]
|
3293
3304
|
#
|
3294
3305
|
# @!attribute [rw] lambda_event_structure_version
|
3295
|
-
#
|
3306
|
+
# The version of the event structure that your Lambda function
|
3307
|
+
# receives. Supported only if the target group type is `LAMBDA`.
|
3296
3308
|
# @return [String]
|
3297
3309
|
#
|
3298
3310
|
# @!attribute [rw] last_updated_at
|
@@ -3313,7 +3325,7 @@ module Aws::VPCLattice
|
|
3313
3325
|
# @return [String]
|
3314
3326
|
#
|
3315
3327
|
# @!attribute [rw] service_arns
|
3316
|
-
# The
|
3328
|
+
# The Amazon Resource Names (ARNs) of the service.
|
3317
3329
|
# @return [Array<String>]
|
3318
3330
|
#
|
3319
3331
|
# @!attribute [rw] status
|
@@ -3351,11 +3363,11 @@ module Aws::VPCLattice
|
|
3351
3363
|
# Summary information about a target.
|
3352
3364
|
#
|
3353
3365
|
# @!attribute [rw] id
|
3354
|
-
# The ID of the target. If the target type
|
3355
|
-
#
|
3356
|
-
#
|
3357
|
-
#
|
3358
|
-
#
|
3366
|
+
# The ID of the target. If the target group type is `INSTANCE`, this
|
3367
|
+
# is an instance ID. If the target group type is `IP`, this is an IP
|
3368
|
+
# address. If the target group type is `LAMBDA`, this is the ARN of a
|
3369
|
+
# Lambda function. If the target type is `ALB`, this is the ARN of an
|
3370
|
+
# Application Load Balancer.
|
3359
3371
|
# @return [String]
|
3360
3372
|
#
|
3361
3373
|
# @!attribute [rw] port
|
@@ -3369,20 +3381,20 @@ module Aws::VPCLattice
|
|
3369
3381
|
# @!attribute [rw] status
|
3370
3382
|
# The status of the target.
|
3371
3383
|
#
|
3372
|
-
# * `
|
3373
|
-
#
|
3374
|
-
# drained.
|
3384
|
+
# * `DRAINING`: The target is being deregistered. No new connections
|
3385
|
+
# are sent to this target while current connections are being
|
3386
|
+
# drained. The default draining time is 5 minutes.
|
3375
3387
|
#
|
3376
|
-
# * `
|
3388
|
+
# * `UNAVAILABLE`: Health checks are unavailable for the target group.
|
3377
3389
|
#
|
3378
|
-
# * `
|
3390
|
+
# * `HEALTHY`: The target is healthy.
|
3379
3391
|
#
|
3380
|
-
# * `
|
3392
|
+
# * `UNHEALTHY`: The target is unhealthy.
|
3381
3393
|
#
|
3382
|
-
# * `
|
3394
|
+
# * `INITIAL`: Initial health checks on the target are being
|
3383
3395
|
# performed.
|
3384
3396
|
#
|
3385
|
-
# * `
|
3397
|
+
# * `UNUSED`: Target group is not used in a service.
|
3386
3398
|
# @return [String]
|
3387
3399
|
#
|
3388
3400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/TargetSummary AWS API Documentation
|
@@ -3694,8 +3706,7 @@ module Aws::VPCLattice
|
|
3694
3706
|
end
|
3695
3707
|
|
3696
3708
|
# @!attribute [rw] security_group_ids
|
3697
|
-
# The IDs of the security groups.
|
3698
|
-
# cannot be removed.
|
3709
|
+
# The IDs of the security groups.
|
3699
3710
|
# @return [Array<String>]
|
3700
3711
|
#
|
3701
3712
|
# @!attribute [rw] service_network_vpc_association_identifier
|
@@ -3891,7 +3902,7 @@ module Aws::VPCLattice
|
|
3891
3902
|
# Describes a validation failure.
|
3892
3903
|
#
|
3893
3904
|
# @!attribute [rw] message
|
3894
|
-
# Additional
|
3905
|
+
# Additional information about why the validation failed.
|
3895
3906
|
# @return [String]
|
3896
3907
|
#
|
3897
3908
|
# @!attribute [rw] name
|
@@ -3915,12 +3926,12 @@ module Aws::VPCLattice
|
|
3915
3926
|
#
|
3916
3927
|
# @!attribute [rw] weight
|
3917
3928
|
# Only required if you specify multiple target groups for a forward
|
3918
|
-
# action. The
|
3919
|
-
#
|
3920
|
-
#
|
3921
|
-
#
|
3922
|
-
#
|
3923
|
-
#
|
3929
|
+
# action. The weight determines how requests are distributed to the
|
3930
|
+
# target group. For example, if you specify two target groups, each
|
3931
|
+
# with a weight of 10, each target group receives half the requests.
|
3932
|
+
# If you specify two target groups, one with a weight of 10 and the
|
3933
|
+
# other with a weight of 20, the target group with a weight of 20
|
3934
|
+
# receives twice as many requests as the other target group. If
|
3924
3935
|
# there's only one target group specified, then the default value is
|
3925
3936
|
# 100.
|
3926
3937
|
# @return [Integer]
|
data/lib/aws-sdk-vpclattice.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -150,7 +150,7 @@ module Aws
|
|
150
150
|
def id: () -> ::String
|
151
151
|
def name: () -> ::String
|
152
152
|
def port: () -> ::Integer
|
153
|
-
def protocol: () -> ("HTTP" | "HTTPS")
|
153
|
+
def protocol: () -> ("HTTP" | "HTTPS" | "TLS_PASSTHROUGH")
|
154
154
|
def service_arn: () -> ::String
|
155
155
|
def service_id: () -> ::String
|
156
156
|
end
|
@@ -172,7 +172,7 @@ module Aws
|
|
172
172
|
},
|
173
173
|
name: ::String,
|
174
174
|
?port: ::Integer,
|
175
|
-
protocol: ("HTTP" | "HTTPS"),
|
175
|
+
protocol: ("HTTP" | "HTTPS" | "TLS_PASSTHROUGH"),
|
176
176
|
service_identifier: ::String,
|
177
177
|
?tags: Hash[::String, ::String]
|
178
178
|
) -> _CreateListenerResponseSuccess
|
@@ -331,14 +331,14 @@ module Aws
|
|
331
331
|
}?,
|
332
332
|
path: ::String?,
|
333
333
|
port: ::Integer?,
|
334
|
-
protocol: ("HTTP" | "HTTPS")?,
|
334
|
+
protocol: ("HTTP" | "HTTPS" | "TCP")?,
|
335
335
|
protocol_version: ("HTTP1" | "HTTP2")?,
|
336
336
|
unhealthy_threshold_count: ::Integer?
|
337
337
|
}?,
|
338
338
|
ip_address_type: ("IPV4" | "IPV6")?,
|
339
339
|
lambda_event_structure_version: ("V1" | "V2")?,
|
340
340
|
port: ::Integer?,
|
341
|
-
protocol: ("HTTP" | "HTTPS")?,
|
341
|
+
protocol: ("HTTP" | "HTTPS" | "TCP")?,
|
342
342
|
protocol_version: ("HTTP1" | "HTTP2" | "GRPC")?,
|
343
343
|
vpc_identifier: ::String?
|
344
344
|
},
|
@@ -509,7 +509,7 @@ module Aws
|
|
509
509
|
def last_updated_at: () -> ::Time
|
510
510
|
def name: () -> ::String
|
511
511
|
def port: () -> ::Integer
|
512
|
-
def protocol: () -> ("HTTP" | "HTTPS")
|
512
|
+
def protocol: () -> ("HTTP" | "HTTPS" | "TLS_PASSTHROUGH")
|
513
513
|
def service_arn: () -> ::String
|
514
514
|
def service_id: () -> ::String
|
515
515
|
end
|
@@ -870,7 +870,7 @@ module Aws
|
|
870
870
|
def id: () -> ::String
|
871
871
|
def name: () -> ::String
|
872
872
|
def port: () -> ::Integer
|
873
|
-
def protocol: () -> ("HTTP" | "HTTPS")
|
873
|
+
def protocol: () -> ("HTTP" | "HTTPS" | "TLS_PASSTHROUGH")
|
874
874
|
def service_arn: () -> ::String
|
875
875
|
def service_id: () -> ::String
|
876
876
|
end
|
@@ -1016,7 +1016,7 @@ module Aws
|
|
1016
1016
|
}?,
|
1017
1017
|
path: ::String?,
|
1018
1018
|
port: ::Integer?,
|
1019
|
-
protocol: ("HTTP" | "HTTPS")?,
|
1019
|
+
protocol: ("HTTP" | "HTTPS" | "TCP")?,
|
1020
1020
|
protocol_version: ("HTTP1" | "HTTP2")?,
|
1021
1021
|
unhealthy_threshold_count: ::Integer?
|
1022
1022
|
},
|
data/sig/types.rbs
CHANGED
@@ -66,7 +66,7 @@ module Aws::VPCLattice
|
|
66
66
|
attr_accessor default_action: Types::RuleAction
|
67
67
|
attr_accessor name: ::String
|
68
68
|
attr_accessor port: ::Integer
|
69
|
-
attr_accessor protocol: ("HTTP" | "HTTPS")
|
69
|
+
attr_accessor protocol: ("HTTP" | "HTTPS" | "TLS_PASSTHROUGH")
|
70
70
|
attr_accessor service_identifier: ::String
|
71
71
|
attr_accessor tags: ::Hash[::String, ::String]
|
72
72
|
SENSITIVE: []
|
@@ -78,7 +78,7 @@ module Aws::VPCLattice
|
|
78
78
|
attr_accessor id: ::String
|
79
79
|
attr_accessor name: ::String
|
80
80
|
attr_accessor port: ::Integer
|
81
|
-
attr_accessor protocol: ("HTTP" | "HTTPS")
|
81
|
+
attr_accessor protocol: ("HTTP" | "HTTPS" | "TLS_PASSTHROUGH")
|
82
82
|
attr_accessor service_arn: ::String
|
83
83
|
attr_accessor service_id: ::String
|
84
84
|
SENSITIVE: []
|
@@ -370,7 +370,7 @@ module Aws::VPCLattice
|
|
370
370
|
attr_accessor last_updated_at: ::Time
|
371
371
|
attr_accessor name: ::String
|
372
372
|
attr_accessor port: ::Integer
|
373
|
-
attr_accessor protocol: ("HTTP" | "HTTPS")
|
373
|
+
attr_accessor protocol: ("HTTP" | "HTTPS" | "TLS_PASSTHROUGH")
|
374
374
|
attr_accessor service_arn: ::String
|
375
375
|
attr_accessor service_id: ::String
|
376
376
|
SENSITIVE: []
|
@@ -542,7 +542,7 @@ module Aws::VPCLattice
|
|
542
542
|
attr_accessor matcher: Types::Matcher
|
543
543
|
attr_accessor path: ::String
|
544
544
|
attr_accessor port: ::Integer
|
545
|
-
attr_accessor protocol: ("HTTP" | "HTTPS")
|
545
|
+
attr_accessor protocol: ("HTTP" | "HTTPS" | "TCP")
|
546
546
|
attr_accessor protocol_version: ("HTTP1" | "HTTP2")
|
547
547
|
attr_accessor unhealthy_threshold_count: ::Integer
|
548
548
|
SENSITIVE: []
|
@@ -698,7 +698,7 @@ module Aws::VPCLattice
|
|
698
698
|
attr_accessor last_updated_at: ::Time
|
699
699
|
attr_accessor name: ::String
|
700
700
|
attr_accessor port: ::Integer
|
701
|
-
attr_accessor protocol: ("HTTP" | "HTTPS")
|
701
|
+
attr_accessor protocol: ("HTTP" | "HTTPS" | "TLS_PASSTHROUGH")
|
702
702
|
SENSITIVE: []
|
703
703
|
end
|
704
704
|
|
@@ -926,7 +926,7 @@ module Aws::VPCLattice
|
|
926
926
|
attr_accessor ip_address_type: ("IPV4" | "IPV6")
|
927
927
|
attr_accessor lambda_event_structure_version: ("V1" | "V2")
|
928
928
|
attr_accessor port: ::Integer
|
929
|
-
attr_accessor protocol: ("HTTP" | "HTTPS")
|
929
|
+
attr_accessor protocol: ("HTTP" | "HTTPS" | "TCP")
|
930
930
|
attr_accessor protocol_version: ("HTTP1" | "HTTP2" | "GRPC")
|
931
931
|
attr_accessor vpc_identifier: ::String
|
932
932
|
SENSITIVE: []
|
@@ -941,7 +941,7 @@ module Aws::VPCLattice
|
|
941
941
|
attr_accessor last_updated_at: ::Time
|
942
942
|
attr_accessor name: ::String
|
943
943
|
attr_accessor port: ::Integer
|
944
|
-
attr_accessor protocol: ("HTTP" | "HTTPS")
|
944
|
+
attr_accessor protocol: ("HTTP" | "HTTPS" | "TCP")
|
945
945
|
attr_accessor service_arns: ::Array[::String]
|
946
946
|
attr_accessor status: ("CREATE_IN_PROGRESS" | "ACTIVE" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_FAILED")
|
947
947
|
attr_accessor type: ("IP" | "LAMBDA" | "INSTANCE" | "ALB")
|
@@ -1002,7 +1002,7 @@ module Aws::VPCLattice
|
|
1002
1002
|
attr_accessor id: ::String
|
1003
1003
|
attr_accessor name: ::String
|
1004
1004
|
attr_accessor port: ::Integer
|
1005
|
-
attr_accessor protocol: ("HTTP" | "HTTPS")
|
1005
|
+
attr_accessor protocol: ("HTTP" | "HTTPS" | "TLS_PASSTHROUGH")
|
1006
1006
|
attr_accessor service_arn: ::String
|
1007
1007
|
attr_accessor service_id: ::String
|
1008
1008
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-vpclattice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.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: 2024-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|