aws-sdk-vpclattice 1.11.0 → 1.13.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-vpclattice/client.rb +149 -101
- 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 +4 -4
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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.13.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds TLS Passthrough support. It also increases max number of target group per rule to 10.
|
8
|
+
|
9
|
+
1.12.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.11.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::VPCLattice
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::VPCLattice
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -292,8 +301,9 @@ module Aws::VPCLattice
|
|
292
301
|
#
|
293
302
|
# @option options [String] :sdk_ua_app_id
|
294
303
|
# A unique and opaque application ID that is appended to the
|
295
|
-
# User-Agent header as app
|
296
|
-
# 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.
|
297
307
|
#
|
298
308
|
# @option options [String] :secret_access_key
|
299
309
|
#
|
@@ -337,50 +347,65 @@ module Aws::VPCLattice
|
|
337
347
|
# @option options [Aws::VPCLattice::EndpointProvider] :endpoint_provider
|
338
348
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::VPCLattice::EndpointParameters`
|
339
349
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
350
|
+
# @option options [Float] :http_continue_timeout (1)
|
351
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
352
|
+
# request body. This option has no effect unless the request has "Expect"
|
353
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
354
|
+
# behaviour. This value can safely be set per request on the session.
|
355
|
+
#
|
356
|
+
# @option options [Float] :http_idle_timeout (5)
|
357
|
+
# The number of seconds a connection is allowed to sit idle before it
|
358
|
+
# is considered stale. Stale connections are closed and removed from the
|
359
|
+
# pool before making a request.
|
360
|
+
#
|
361
|
+
# @option options [Float] :http_open_timeout (15)
|
362
|
+
# The default number of seconds to wait for response data.
|
363
|
+
# This value can safely be set per-request on the session.
|
364
|
+
#
|
365
|
+
# @option options [URI::HTTP,String] :http_proxy
|
366
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
367
|
+
#
|
368
|
+
# @option options [Float] :http_read_timeout (60)
|
369
|
+
# The default number of seconds to wait for response data.
|
370
|
+
# This value can safely be set per-request on the session.
|
371
|
+
#
|
372
|
+
# @option options [Boolean] :http_wire_trace (false)
|
373
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
374
|
+
#
|
375
|
+
# @option options [Proc] :on_chunk_received
|
376
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
377
|
+
# of the response body is received. It provides three arguments: the chunk,
|
378
|
+
# the number of bytes received, and the total number of
|
379
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
380
|
+
#
|
381
|
+
# @option options [Proc] :on_chunk_sent
|
382
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
383
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
384
|
+
# the number of bytes read from the body, and the total number of
|
385
|
+
# bytes in the body.
|
386
|
+
#
|
387
|
+
# @option options [Boolean] :raise_response_errors (true)
|
388
|
+
# When `true`, response errors are raised.
|
389
|
+
#
|
390
|
+
# @option options [String] :ssl_ca_bundle
|
391
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
392
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
393
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
394
|
+
#
|
395
|
+
# @option options [String] :ssl_ca_directory
|
396
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
397
|
+
# authority files for verifying peer certificates. If you do
|
398
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
399
|
+
# default will be used if available.
|
368
400
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
401
|
+
# @option options [String] :ssl_ca_store
|
402
|
+
# Sets the X509::Store to verify peer certificate.
|
372
403
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
404
|
+
# @option options [Float] :ssl_timeout
|
405
|
+
# Sets the SSL timeout in seconds
|
378
406
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
407
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
408
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
409
|
#
|
385
410
|
def initialize(*args)
|
386
411
|
super
|
@@ -392,6 +417,15 @@ module Aws::VPCLattice
|
|
392
417
|
# change the priority of listener rules. This can be useful when bulk
|
393
418
|
# updating or swapping rule priority.
|
394
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
|
+
#
|
395
429
|
# @option params [required, String] :listener_identifier
|
396
430
|
# The ID or Amazon Resource Name (ARN) of the listener.
|
397
431
|
#
|
@@ -494,7 +528,7 @@ module Aws::VPCLattice
|
|
494
528
|
# Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and
|
495
529
|
# Amazon Kinesis Data Firehose. The service network owner can use the
|
496
530
|
# access logs to audit the services in the network. The service network
|
497
|
-
# owner
|
531
|
+
# owner can only see access logs from clients and services that are
|
498
532
|
# associated with their service network. Access log entries represent
|
499
533
|
# traffic originated from VPCs associated with that network. For more
|
500
534
|
# information, see [Access logs][1] in the *Amazon VPC Lattice User
|
@@ -583,12 +617,8 @@ module Aws::VPCLattice
|
|
583
617
|
# not need to pass this option.**
|
584
618
|
#
|
585
619
|
# @option params [required, Types::RuleAction] :default_action
|
586
|
-
# The action for the default rule. Each listener has a default rule.
|
587
|
-
#
|
588
|
-
# conditions. The default rule is the rule that's used if no other
|
589
|
-
# rules match. Each rule must include exactly one of the following types
|
590
|
-
# of actions: `forward `or `fixed-response`, and it must be the last
|
591
|
-
# 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.
|
592
622
|
#
|
593
623
|
# @option params [required, String] :name
|
594
624
|
# The name of the listener. A listener name must be unique within a
|
@@ -597,11 +627,11 @@ module Aws::VPCLattice
|
|
597
627
|
# after another hyphen.
|
598
628
|
#
|
599
629
|
# @option params [Integer] :port
|
600
|
-
# The listener port. You can specify a value from
|
601
|
-
#
|
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.
|
602
632
|
#
|
603
633
|
# @option params [required, String] :protocol
|
604
|
-
# The listener protocol
|
634
|
+
# The listener protocol.
|
605
635
|
#
|
606
636
|
# @option params [required, String] :service_identifier
|
607
637
|
# The ID or Amazon Resource Name (ARN) of the service.
|
@@ -639,7 +669,7 @@ module Aws::VPCLattice
|
|
639
669
|
# },
|
640
670
|
# name: "ListenerName", # required
|
641
671
|
# port: 1,
|
642
|
-
# protocol: "HTTP", # required, accepts HTTP, HTTPS
|
672
|
+
# protocol: "HTTP", # required, accepts HTTP, HTTPS, TLS_PASSTHROUGH
|
643
673
|
# service_identifier: "ServiceIdentifier", # required
|
644
674
|
# tags: {
|
645
675
|
# "TagKey" => "TagValue",
|
@@ -656,7 +686,7 @@ module Aws::VPCLattice
|
|
656
686
|
# resp.id #=> String
|
657
687
|
# resp.name #=> String
|
658
688
|
# resp.port #=> Integer
|
659
|
-
# resp.protocol #=> String, one of "HTTP", "HTTPS"
|
689
|
+
# resp.protocol #=> String, one of "HTTP", "HTTPS", "TLS_PASSTHROUGH"
|
660
690
|
# resp.service_arn #=> String
|
661
691
|
# resp.service_id #=> String
|
662
692
|
#
|
@@ -966,7 +996,9 @@ module Aws::VPCLattice
|
|
966
996
|
req.send_request(options)
|
967
997
|
end
|
968
998
|
|
969
|
-
# 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*.
|
970
1002
|
#
|
971
1003
|
# You can't use this operation if the service and service network are
|
972
1004
|
# already associated or if there is a disassociation or deletion in
|
@@ -980,6 +1012,10 @@ module Aws::VPCLattice
|
|
980
1012
|
# As a result of this operation, the association is created in the
|
981
1013
|
# service network account and the association owner account.
|
982
1014
|
#
|
1015
|
+
#
|
1016
|
+
#
|
1017
|
+
# [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-network-associations.html#service-network-service-associations
|
1018
|
+
#
|
983
1019
|
# @option params [String] :client_token
|
984
1020
|
# A unique, case-sensitive identifier that you provide to ensure the
|
985
1021
|
# idempotency of the request. If you retry a request that completed
|
@@ -1053,10 +1089,11 @@ module Aws::VPCLattice
|
|
1053
1089
|
# As a result of this operation, the association gets created in the
|
1054
1090
|
# service network account and the VPC owner account.
|
1055
1091
|
#
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
#
|
1059
|
-
# 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.
|
1060
1097
|
#
|
1061
1098
|
#
|
1062
1099
|
#
|
@@ -1154,8 +1191,7 @@ module Aws::VPCLattice
|
|
1154
1191
|
# not need to pass this option.**
|
1155
1192
|
#
|
1156
1193
|
# @option params [Types::TargetGroupConfig] :config
|
1157
|
-
# The target group configuration.
|
1158
|
-
# parameter doesn't apply.
|
1194
|
+
# The target group configuration.
|
1159
1195
|
#
|
1160
1196
|
# @option params [required, String] :name
|
1161
1197
|
# The name of the target group. The name must be unique within the
|
@@ -1193,14 +1229,14 @@ module Aws::VPCLattice
|
|
1193
1229
|
# },
|
1194
1230
|
# path: "HealthCheckPath",
|
1195
1231
|
# port: 1,
|
1196
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS
|
1232
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP
|
1197
1233
|
# protocol_version: "HTTP1", # accepts HTTP1, HTTP2
|
1198
1234
|
# unhealthy_threshold_count: 1,
|
1199
1235
|
# },
|
1200
1236
|
# ip_address_type: "IPV4", # accepts IPV4, IPV6
|
1201
1237
|
# lambda_event_structure_version: "V1", # accepts V1, V2
|
1202
1238
|
# port: 1,
|
1203
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS
|
1239
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP
|
1204
1240
|
# protocol_version: "HTTP1", # accepts HTTP1, HTTP2, GRPC
|
1205
1241
|
# vpc_identifier: "VpcId",
|
1206
1242
|
# },
|
@@ -1221,13 +1257,13 @@ module Aws::VPCLattice
|
|
1221
1257
|
# resp.config.health_check.matcher.http_code #=> String
|
1222
1258
|
# resp.config.health_check.path #=> String
|
1223
1259
|
# resp.config.health_check.port #=> Integer
|
1224
|
-
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS"
|
1260
|
+
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
1225
1261
|
# resp.config.health_check.protocol_version #=> String, one of "HTTP1", "HTTP2"
|
1226
1262
|
# resp.config.health_check.unhealthy_threshold_count #=> Integer
|
1227
1263
|
# resp.config.ip_address_type #=> String, one of "IPV4", "IPV6"
|
1228
1264
|
# resp.config.lambda_event_structure_version #=> String, one of "V1", "V2"
|
1229
1265
|
# resp.config.port #=> Integer
|
1230
|
-
# resp.config.protocol #=> String, one of "HTTP", "HTTPS"
|
1266
|
+
# resp.config.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
1231
1267
|
# resp.config.protocol_version #=> String, one of "HTTP1", "HTTP2", "GRPC"
|
1232
1268
|
# resp.config.vpc_identifier #=> String
|
1233
1269
|
# resp.id #=> String
|
@@ -1266,12 +1302,11 @@ module Aws::VPCLattice
|
|
1266
1302
|
req.send_request(options)
|
1267
1303
|
end
|
1268
1304
|
|
1269
|
-
# Deletes the specified auth policy. If an auth is set to `
|
1270
|
-
#
|
1271
|
-
#
|
1272
|
-
#
|
1273
|
-
#
|
1274
|
-
# 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.
|
1275
1310
|
#
|
1276
1311
|
# @option params [required, String] :resource_identifier
|
1277
1312
|
# The ID or Amazon Resource Name (ARN) of the resource.
|
@@ -1457,7 +1492,7 @@ module Aws::VPCLattice
|
|
1457
1492
|
end
|
1458
1493
|
|
1459
1494
|
# Deletes the association between a specified service and the specific
|
1460
|
-
# service network. This
|
1495
|
+
# service network. This operation fails if an association is still in
|
1461
1496
|
# progress.
|
1462
1497
|
#
|
1463
1498
|
# @option params [required, String] :service_network_service_association_identifier
|
@@ -1719,7 +1754,7 @@ module Aws::VPCLattice
|
|
1719
1754
|
# resp.last_updated_at #=> Time
|
1720
1755
|
# resp.name #=> String
|
1721
1756
|
# resp.port #=> Integer
|
1722
|
-
# resp.protocol #=> String, one of "HTTP", "HTTPS"
|
1757
|
+
# resp.protocol #=> String, one of "HTTP", "HTTPS", "TLS_PASSTHROUGH"
|
1723
1758
|
# resp.service_arn #=> String
|
1724
1759
|
# resp.service_id #=> String
|
1725
1760
|
#
|
@@ -1733,11 +1768,11 @@ module Aws::VPCLattice
|
|
1733
1768
|
end
|
1734
1769
|
|
1735
1770
|
# Retrieves information about the resource policy. The resource policy
|
1736
|
-
# is an IAM policy created
|
1737
|
-
#
|
1771
|
+
# is an IAM policy created on behalf of the resource owner when they
|
1772
|
+
# share a resource.
|
1738
1773
|
#
|
1739
1774
|
# @option params [required, String] :resource_arn
|
1740
|
-
#
|
1775
|
+
# The Amazon Resource Name (ARN) of the service network or service.
|
1741
1776
|
#
|
1742
1777
|
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1743
1778
|
#
|
@@ -2072,13 +2107,13 @@ module Aws::VPCLattice
|
|
2072
2107
|
# resp.config.health_check.matcher.http_code #=> String
|
2073
2108
|
# resp.config.health_check.path #=> String
|
2074
2109
|
# resp.config.health_check.port #=> Integer
|
2075
|
-
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS"
|
2110
|
+
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
2076
2111
|
# resp.config.health_check.protocol_version #=> String, one of "HTTP1", "HTTP2"
|
2077
2112
|
# resp.config.health_check.unhealthy_threshold_count #=> Integer
|
2078
2113
|
# resp.config.ip_address_type #=> String, one of "IPV4", "IPV6"
|
2079
2114
|
# resp.config.lambda_event_structure_version #=> String, one of "V1", "V2"
|
2080
2115
|
# resp.config.port #=> Integer
|
2081
|
-
# resp.config.protocol #=> String, one of "HTTP", "HTTPS"
|
2116
|
+
# resp.config.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
2082
2117
|
# resp.config.protocol_version #=> String, one of "HTTP1", "HTTP2", "GRPC"
|
2083
2118
|
# resp.config.vpc_identifier #=> String
|
2084
2119
|
# resp.created_at #=> Time
|
@@ -2185,7 +2220,7 @@ module Aws::VPCLattice
|
|
2185
2220
|
# resp.items[0].last_updated_at #=> Time
|
2186
2221
|
# resp.items[0].name #=> String
|
2187
2222
|
# resp.items[0].port #=> Integer
|
2188
|
-
# resp.items[0].protocol #=> String, one of "HTTP", "HTTPS"
|
2223
|
+
# resp.items[0].protocol #=> String, one of "HTTP", "HTTPS", "TLS_PASSTHROUGH"
|
2189
2224
|
# resp.next_token #=> String
|
2190
2225
|
#
|
2191
2226
|
# @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListListeners AWS API Documentation
|
@@ -2257,8 +2292,8 @@ module Aws::VPCLattice
|
|
2257
2292
|
# Resource Name (ARN), such as when a service network is associated with
|
2258
2293
|
# a VPC or when a service is associated with a service network. If the
|
2259
2294
|
# association is for a resource that is shared with another account, the
|
2260
|
-
# association
|
2261
|
-
#
|
2295
|
+
# association includes the local account ID as the prefix in the ARN for
|
2296
|
+
# each account the resource is shared with.
|
2262
2297
|
#
|
2263
2298
|
# @option params [Integer] :max_results
|
2264
2299
|
# The maximum number of results to return.
|
@@ -2505,7 +2540,7 @@ module Aws::VPCLattice
|
|
2505
2540
|
# The target group type.
|
2506
2541
|
#
|
2507
2542
|
# @option params [String] :vpc_identifier
|
2508
|
-
# The ID or Amazon Resource Name (ARN) of the
|
2543
|
+
# The ID or Amazon Resource Name (ARN) of the VPC.
|
2509
2544
|
#
|
2510
2545
|
# @return [Types::ListTargetGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2511
2546
|
#
|
@@ -2534,7 +2569,7 @@ module Aws::VPCLattice
|
|
2534
2569
|
# resp.items[0].last_updated_at #=> Time
|
2535
2570
|
# resp.items[0].name #=> String
|
2536
2571
|
# resp.items[0].port #=> Integer
|
2537
|
-
# resp.items[0].protocol #=> String, one of "HTTP", "HTTPS"
|
2572
|
+
# resp.items[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
2538
2573
|
# resp.items[0].service_arns #=> Array
|
2539
2574
|
# resp.items[0].service_arns[0] #=> String
|
2540
2575
|
# resp.items[0].status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
|
@@ -2565,7 +2600,7 @@ module Aws::VPCLattice
|
|
2565
2600
|
# The ID or Amazon Resource Name (ARN) of the target group.
|
2566
2601
|
#
|
2567
2602
|
# @option params [Array<Types::Target>] :targets
|
2568
|
-
# The targets
|
2603
|
+
# The targets.
|
2569
2604
|
#
|
2570
2605
|
# @return [Types::ListTargetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2571
2606
|
#
|
@@ -2606,10 +2641,19 @@ module Aws::VPCLattice
|
|
2606
2641
|
req.send_request(options)
|
2607
2642
|
end
|
2608
2643
|
|
2609
|
-
# 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
|
2610
2653
|
#
|
2611
2654
|
# @option params [required, String] :policy
|
2612
|
-
# The auth policy.
|
2655
|
+
# The auth policy. The policy string in JSON must not contain newlines
|
2656
|
+
# or blank lines.
|
2613
2657
|
#
|
2614
2658
|
# @option params [required, String] :resource_identifier
|
2615
2659
|
# The ID or Amazon Resource Name (ARN) of the service network or service
|
@@ -2647,7 +2691,8 @@ module Aws::VPCLattice
|
|
2647
2691
|
# permission for sharing services and service networks.
|
2648
2692
|
#
|
2649
2693
|
# @option params [required, String] :policy
|
2650
|
-
# An IAM policy.
|
2694
|
+
# An IAM policy. The policy string in JSON must not contain newlines or
|
2695
|
+
# blank lines.
|
2651
2696
|
#
|
2652
2697
|
# @option params [required, String] :resource_arn
|
2653
2698
|
# The ID or Amazon Resource Name (ARN) of the service network or service
|
@@ -2863,7 +2908,7 @@ module Aws::VPCLattice
|
|
2863
2908
|
# resp.id #=> String
|
2864
2909
|
# resp.name #=> String
|
2865
2910
|
# resp.port #=> Integer
|
2866
|
-
# resp.protocol #=> String, one of "HTTP", "HTTPS"
|
2911
|
+
# resp.protocol #=> String, one of "HTTP", "HTTPS", "TLS_PASSTHROUGH"
|
2867
2912
|
# resp.service_arn #=> String
|
2868
2913
|
# resp.service_id #=> String
|
2869
2914
|
#
|
@@ -3080,12 +3125,15 @@ module Aws::VPCLattice
|
|
3080
3125
|
req.send_request(options)
|
3081
3126
|
end
|
3082
3127
|
|
3083
|
-
# Updates the service network and VPC association.
|
3084
|
-
#
|
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.
|
3085
3134
|
#
|
3086
3135
|
# @option params [required, Array<String>] :security_group_ids
|
3087
|
-
# The IDs of the security groups.
|
3088
|
-
# cannot be removed.
|
3136
|
+
# The IDs of the security groups.
|
3089
3137
|
#
|
3090
3138
|
# @option params [required, String] :service_network_vpc_association_identifier
|
3091
3139
|
# The ID or Amazon Resource Name (ARN) of the association.
|
@@ -3153,7 +3201,7 @@ module Aws::VPCLattice
|
|
3153
3201
|
# },
|
3154
3202
|
# path: "HealthCheckPath",
|
3155
3203
|
# port: 1,
|
3156
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS
|
3204
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP
|
3157
3205
|
# protocol_version: "HTTP1", # accepts HTTP1, HTTP2
|
3158
3206
|
# unhealthy_threshold_count: 1,
|
3159
3207
|
# },
|
@@ -3170,13 +3218,13 @@ module Aws::VPCLattice
|
|
3170
3218
|
# resp.config.health_check.matcher.http_code #=> String
|
3171
3219
|
# resp.config.health_check.path #=> String
|
3172
3220
|
# resp.config.health_check.port #=> Integer
|
3173
|
-
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS"
|
3221
|
+
# resp.config.health_check.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
3174
3222
|
# resp.config.health_check.protocol_version #=> String, one of "HTTP1", "HTTP2"
|
3175
3223
|
# resp.config.health_check.unhealthy_threshold_count #=> Integer
|
3176
3224
|
# resp.config.ip_address_type #=> String, one of "IPV4", "IPV6"
|
3177
3225
|
# resp.config.lambda_event_structure_version #=> String, one of "V1", "V2"
|
3178
3226
|
# resp.config.port #=> Integer
|
3179
|
-
# resp.config.protocol #=> String, one of "HTTP", "HTTPS"
|
3227
|
+
# resp.config.protocol #=> String, one of "HTTP", "HTTPS", "TCP"
|
3180
3228
|
# resp.config.protocol_version #=> String, one of "HTTP1", "HTTP2", "GRPC"
|
3181
3229
|
# resp.config.vpc_identifier #=> String
|
3182
3230
|
# resp.id #=> String
|
@@ -3206,7 +3254,7 @@ module Aws::VPCLattice
|
|
3206
3254
|
params: params,
|
3207
3255
|
config: config)
|
3208
3256
|
context[:gem_name] = 'aws-sdk-vpclattice'
|
3209
|
-
context[:gem_version] = '1.
|
3257
|
+
context[:gem_version] = '1.13.0'
|
3210
3258
|
Seahorse::Client::Request.new(handlers, context)
|
3211
3259
|
end
|
3212
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"
|