aws-sdk-vpclattice 1.24.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -257,11 +257,34 @@ module Aws::VPCLattice
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -461,13 +484,13 @@ module Aws::VPCLattice
461
484
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/security_iam_service-with-iam.html
462
485
  #
463
486
  # @option params [required, String] :listener_identifier
464
- # The ID or Amazon Resource Name (ARN) of the listener.
487
+ # The ID or ARN of the listener.
465
488
  #
466
489
  # @option params [required, Array<Types::RuleUpdate>] :rules
467
490
  # The rules for the specified listener.
468
491
  #
469
492
  # @option params [required, String] :service_identifier
470
- # The ID or Amazon Resource Name (ARN) of the service.
493
+ # The ID or ARN of the service.
471
494
  #
472
495
  # @return [Types::BatchUpdateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
473
496
  #
@@ -588,8 +611,11 @@ module Aws::VPCLattice
588
611
  # delivery streams, and Amazon S3 buckets.
589
612
  #
590
613
  # @option params [required, String] :resource_identifier
591
- # The ID or Amazon Resource Name (ARN) of the service network or
592
- # service.
614
+ # The ID or ARN of the service network or service.
615
+ #
616
+ # @option params [String] :service_network_log_type
617
+ # The type of log that monitors your Amazon VPC Lattice service
618
+ # networks.
593
619
  #
594
620
  # @option params [Hash<String,String>] :tags
595
621
  # The tags for the access log subscription.
@@ -601,6 +627,7 @@ module Aws::VPCLattice
601
627
  # * {Types::CreateAccessLogSubscriptionResponse#id #id} => String
602
628
  # * {Types::CreateAccessLogSubscriptionResponse#resource_arn #resource_arn} => String
603
629
  # * {Types::CreateAccessLogSubscriptionResponse#resource_id #resource_id} => String
630
+ # * {Types::CreateAccessLogSubscriptionResponse#service_network_log_type #service_network_log_type} => String
604
631
  #
605
632
  # @example Request syntax with placeholder values
606
633
  #
@@ -608,6 +635,7 @@ module Aws::VPCLattice
608
635
  # client_token: "ClientToken",
609
636
  # destination_arn: "AccessLogDestinationArn", # required
610
637
  # resource_identifier: "ResourceIdentifier", # required
638
+ # service_network_log_type: "SERVICE", # accepts SERVICE, RESOURCE
611
639
  # tags: {
612
640
  # "TagKey" => "TagValue",
613
641
  # },
@@ -620,6 +648,7 @@ module Aws::VPCLattice
620
648
  # resp.id #=> String
621
649
  # resp.resource_arn #=> String
622
650
  # resp.resource_id #=> String
651
+ # resp.service_network_log_type #=> String, one of "SERVICE", "RESOURCE"
623
652
  #
624
653
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateAccessLogSubscription AWS API Documentation
625
654
  #
@@ -668,7 +697,7 @@ module Aws::VPCLattice
668
697
  # The listener protocol.
669
698
  #
670
699
  # @option params [required, String] :service_identifier
671
- # The ID or Amazon Resource Name (ARN) of the service.
700
+ # The ID or ARN of the service.
672
701
  #
673
702
  # @option params [Hash<String,String>] :tags
674
703
  # The tags for the listener.
@@ -733,6 +762,219 @@ module Aws::VPCLattice
733
762
  req.send_request(options)
734
763
  end
735
764
 
765
+ # Creates a resource configuration. A resource configuration defines a
766
+ # specific resource. You can associate a resource configuration with a
767
+ # service network or a VPC endpoint.
768
+ #
769
+ # @option params [Boolean] :allow_association_to_shareable_service_network
770
+ # (SINGLE, GROUP, ARN) Specifies whether the resource configuration can
771
+ # be associated with a sharable service network. The default is false.
772
+ #
773
+ # @option params [String] :client_token
774
+ # A unique, case-sensitive identifier that you provide to ensure the
775
+ # idempotency of the request. If you retry a request that completed
776
+ # successfully using the same client token and parameters, the retry
777
+ # succeeds without performing any actions. If the parameters aren't
778
+ # identical, the retry fails.
779
+ #
780
+ # **A suitable default value is auto-generated.** You should normally
781
+ # not need to pass this option.**
782
+ #
783
+ # @option params [required, String] :name
784
+ # The name of the resource configuration. The name must be unique within
785
+ # the account. The valid characters are a-z, 0-9, and hyphens (-). You
786
+ # can't use a hyphen as the first or last character, or immediately
787
+ # after another hyphen.
788
+ #
789
+ # @option params [Array<String>] :port_ranges
790
+ # (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to
791
+ # access a resource configuration (for example: 1-65535). You can
792
+ # separate port ranges using commas (for example: 1,2,22-30).
793
+ #
794
+ # @option params [String] :protocol
795
+ # (SINGLE, GROUP) The protocol accepted by the resource configuration.
796
+ #
797
+ # @option params [Types::ResourceConfigurationDefinition] :resource_configuration_definition
798
+ # (SINGLE, CHILD, ARN) The resource configuration.
799
+ #
800
+ # @option params [String] :resource_configuration_group_identifier
801
+ # (CHILD) The ID or ARN of the parent resource configuration (type is
802
+ # `GROUP`). This is used to associate a child resource configuration
803
+ # with a group resource configuration.
804
+ #
805
+ # @option params [String] :resource_gateway_identifier
806
+ # (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to
807
+ # connect to the resource configuration. For a child resource
808
+ # configuration, this value is inherited from the parent resource
809
+ # configuration.
810
+ #
811
+ # @option params [Hash<String,String>] :tags
812
+ # The tags for the resource configuration.
813
+ #
814
+ # @option params [required, String] :type
815
+ # The type of resource configuration.
816
+ #
817
+ # * `SINGLE` - A single resource.
818
+ #
819
+ # * `GROUP` - A group of resources. You must create a group resource
820
+ # configuration before you create a child resource configuration.
821
+ #
822
+ # * `CHILD` - A single resource that is part of a group resource
823
+ # configuration.
824
+ #
825
+ # * `ARN` - An Amazon Web Services resource.
826
+ #
827
+ # @return [Types::CreateResourceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
828
+ #
829
+ # * {Types::CreateResourceConfigurationResponse#allow_association_to_shareable_service_network #allow_association_to_shareable_service_network} => Boolean
830
+ # * {Types::CreateResourceConfigurationResponse#arn #arn} => String
831
+ # * {Types::CreateResourceConfigurationResponse#created_at #created_at} => Time
832
+ # * {Types::CreateResourceConfigurationResponse#failure_reason #failure_reason} => String
833
+ # * {Types::CreateResourceConfigurationResponse#id #id} => String
834
+ # * {Types::CreateResourceConfigurationResponse#name #name} => String
835
+ # * {Types::CreateResourceConfigurationResponse#port_ranges #port_ranges} => Array&lt;String&gt;
836
+ # * {Types::CreateResourceConfigurationResponse#protocol #protocol} => String
837
+ # * {Types::CreateResourceConfigurationResponse#resource_configuration_definition #resource_configuration_definition} => Types::ResourceConfigurationDefinition
838
+ # * {Types::CreateResourceConfigurationResponse#resource_configuration_group_id #resource_configuration_group_id} => String
839
+ # * {Types::CreateResourceConfigurationResponse#resource_gateway_id #resource_gateway_id} => String
840
+ # * {Types::CreateResourceConfigurationResponse#status #status} => String
841
+ # * {Types::CreateResourceConfigurationResponse#type #type} => String
842
+ #
843
+ # @example Request syntax with placeholder values
844
+ #
845
+ # resp = client.create_resource_configuration({
846
+ # allow_association_to_shareable_service_network: false,
847
+ # client_token: "ClientToken",
848
+ # name: "ResourceConfigurationName", # required
849
+ # port_ranges: ["PortRange"],
850
+ # protocol: "TCP", # accepts TCP
851
+ # resource_configuration_definition: {
852
+ # arn_resource: {
853
+ # arn: "WildcardArn",
854
+ # },
855
+ # dns_resource: {
856
+ # domain_name: "DomainName",
857
+ # ip_address_type: "IPV4", # accepts IPV4, IPV6, DUALSTACK
858
+ # },
859
+ # ip_resource: {
860
+ # ip_address: "IpAddress",
861
+ # },
862
+ # },
863
+ # resource_configuration_group_identifier: "ResourceConfigurationIdentifier",
864
+ # resource_gateway_identifier: "ResourceGatewayIdentifier",
865
+ # tags: {
866
+ # "TagKey" => "TagValue",
867
+ # },
868
+ # type: "GROUP", # required, accepts GROUP, CHILD, SINGLE, ARN
869
+ # })
870
+ #
871
+ # @example Response structure
872
+ #
873
+ # resp.allow_association_to_shareable_service_network #=> Boolean
874
+ # resp.arn #=> String
875
+ # resp.created_at #=> Time
876
+ # resp.failure_reason #=> String
877
+ # resp.id #=> String
878
+ # resp.name #=> String
879
+ # resp.port_ranges #=> Array
880
+ # resp.port_ranges[0] #=> String
881
+ # resp.protocol #=> String, one of "TCP"
882
+ # resp.resource_configuration_definition.arn_resource.arn #=> String
883
+ # resp.resource_configuration_definition.dns_resource.domain_name #=> String
884
+ # resp.resource_configuration_definition.dns_resource.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
885
+ # resp.resource_configuration_definition.ip_resource.ip_address #=> String
886
+ # resp.resource_configuration_group_id #=> String
887
+ # resp.resource_gateway_id #=> String
888
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
889
+ # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
890
+ #
891
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateResourceConfiguration AWS API Documentation
892
+ #
893
+ # @overload create_resource_configuration(params = {})
894
+ # @param [Hash] params ({})
895
+ def create_resource_configuration(params = {}, options = {})
896
+ req = build_request(:create_resource_configuration, params)
897
+ req.send_request(options)
898
+ end
899
+
900
+ # Creates a resource gateway.
901
+ #
902
+ # @option params [String] :client_token
903
+ # A unique, case-sensitive identifier that you provide to ensure the
904
+ # idempotency of the request. If you retry a request that completed
905
+ # successfully using the same client token and parameters, the retry
906
+ # succeeds without performing any actions. If the parameters aren't
907
+ # identical, the retry fails.
908
+ #
909
+ # **A suitable default value is auto-generated.** You should normally
910
+ # not need to pass this option.**
911
+ #
912
+ # @option params [String] :ip_address_type
913
+ # The type of IP address used by the resource gateway.
914
+ #
915
+ # @option params [required, String] :name
916
+ # The name of the resource gateway.
917
+ #
918
+ # @option params [Array<String>] :security_group_ids
919
+ # The IDs of the security groups to apply to the resource gateway. The
920
+ # security groups must be in the same VPC.
921
+ #
922
+ # @option params [required, Array<String>] :subnet_ids
923
+ # The IDs of the VPC subnets in which to create the resource gateway.
924
+ #
925
+ # @option params [Hash<String,String>] :tags
926
+ # The tags for the resource gateway.
927
+ #
928
+ # @option params [required, String] :vpc_identifier
929
+ # The ID of the VPC for the resource gateway.
930
+ #
931
+ # @return [Types::CreateResourceGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
932
+ #
933
+ # * {Types::CreateResourceGatewayResponse#arn #arn} => String
934
+ # * {Types::CreateResourceGatewayResponse#id #id} => String
935
+ # * {Types::CreateResourceGatewayResponse#ip_address_type #ip_address_type} => String
936
+ # * {Types::CreateResourceGatewayResponse#name #name} => String
937
+ # * {Types::CreateResourceGatewayResponse#security_group_ids #security_group_ids} => Array&lt;String&gt;
938
+ # * {Types::CreateResourceGatewayResponse#status #status} => String
939
+ # * {Types::CreateResourceGatewayResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
940
+ # * {Types::CreateResourceGatewayResponse#vpc_identifier #vpc_identifier} => String
941
+ #
942
+ # @example Request syntax with placeholder values
943
+ #
944
+ # resp = client.create_resource_gateway({
945
+ # client_token: "ClientToken",
946
+ # ip_address_type: "IPV4", # accepts IPV4, IPV6, DUALSTACK
947
+ # name: "ResourceGatewayName", # required
948
+ # security_group_ids: ["SecurityGroupId"],
949
+ # subnet_ids: ["SubnetId"], # required
950
+ # tags: {
951
+ # "TagKey" => "TagValue",
952
+ # },
953
+ # vpc_identifier: "VpcId", # required
954
+ # })
955
+ #
956
+ # @example Response structure
957
+ #
958
+ # resp.arn #=> String
959
+ # resp.id #=> String
960
+ # resp.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
961
+ # resp.name #=> String
962
+ # resp.security_group_ids #=> Array
963
+ # resp.security_group_ids[0] #=> String
964
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
965
+ # resp.subnet_ids #=> Array
966
+ # resp.subnet_ids[0] #=> String
967
+ # resp.vpc_identifier #=> String
968
+ #
969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateResourceGateway AWS API Documentation
970
+ #
971
+ # @overload create_resource_gateway(params = {})
972
+ # @param [Hash] params ({})
973
+ def create_resource_gateway(params = {}, options = {})
974
+ req = build_request(:create_resource_gateway, params)
975
+ req.send_request(options)
976
+ end
977
+
736
978
  # Creates a listener rule. Each listener has a default rule for checking
737
979
  # connection requests, but you can define additional rules. Each rule
738
980
  # consists of a priority, one or more actions, and one or more
@@ -757,7 +999,7 @@ module Aws::VPCLattice
757
999
  # not need to pass this option.**
758
1000
  #
759
1001
  # @option params [required, String] :listener_identifier
760
- # The ID or Amazon Resource Name (ARN) of the listener.
1002
+ # The ID or ARN of the listener.
761
1003
  #
762
1004
  # @option params [required, Types::RuleMatch] :match
763
1005
  # The rule match.
@@ -774,7 +1016,7 @@ module Aws::VPCLattice
774
1016
  # the priority.
775
1017
  #
776
1018
  # @option params [required, String] :service_identifier
777
- # The ID or Amazon Resource Name (ARN) of the service.
1019
+ # The ID or ARN of the service.
778
1020
  #
779
1021
  # @option params [Hash<String,String>] :tags
780
1022
  # The tags for the rule.
@@ -993,6 +1235,9 @@ module Aws::VPCLattice
993
1235
  # can't use a hyphen as the first or last character, or immediately
994
1236
  # after another hyphen.
995
1237
  #
1238
+ # @option params [Types::SharingConfig] :sharing_config
1239
+ # Specify if the service network should be enabled for sharing.
1240
+ #
996
1241
  # @option params [Hash<String,String>] :tags
997
1242
  # The tags for the service network.
998
1243
  #
@@ -1002,6 +1247,7 @@ module Aws::VPCLattice
1002
1247
  # * {Types::CreateServiceNetworkResponse#auth_type #auth_type} => String
1003
1248
  # * {Types::CreateServiceNetworkResponse#id #id} => String
1004
1249
  # * {Types::CreateServiceNetworkResponse#name #name} => String
1250
+ # * {Types::CreateServiceNetworkResponse#sharing_config #sharing_config} => Types::SharingConfig
1005
1251
  #
1006
1252
  # @example Request syntax with placeholder values
1007
1253
  #
@@ -1009,6 +1255,9 @@ module Aws::VPCLattice
1009
1255
  # auth_type: "NONE", # accepts NONE, AWS_IAM
1010
1256
  # client_token: "ClientToken",
1011
1257
  # name: "ServiceNetworkName", # required
1258
+ # sharing_config: {
1259
+ # enabled: false,
1260
+ # },
1012
1261
  # tags: {
1013
1262
  # "TagKey" => "TagValue",
1014
1263
  # },
@@ -1020,6 +1269,7 @@ module Aws::VPCLattice
1020
1269
  # resp.auth_type #=> String, one of "NONE", "AWS_IAM"
1021
1270
  # resp.id #=> String
1022
1271
  # resp.name #=> String
1272
+ # resp.sharing_config.enabled #=> Boolean
1023
1273
  #
1024
1274
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateServiceNetwork AWS API Documentation
1025
1275
  #
@@ -1030,9 +1280,69 @@ module Aws::VPCLattice
1030
1280
  req.send_request(options)
1031
1281
  end
1032
1282
 
1033
- # Associates a service with a service network. For more information, see
1034
- # [Manage service associations][1] in the *Amazon VPC Lattice User
1035
- # Guide*.
1283
+ # Associates the specified service network with the specified resource
1284
+ # configuration. This allows the resource configuration to receive
1285
+ # connections through the service network, including through a service
1286
+ # network VPC endpoint.
1287
+ #
1288
+ # @option params [String] :client_token
1289
+ # A unique, case-sensitive identifier that you provide to ensure the
1290
+ # idempotency of the request. If you retry a request that completed
1291
+ # successfully using the same client token and parameters, the retry
1292
+ # succeeds without performing any actions. If the parameters aren't
1293
+ # identical, the retry fails.
1294
+ #
1295
+ # **A suitable default value is auto-generated.** You should normally
1296
+ # not need to pass this option.**
1297
+ #
1298
+ # @option params [required, String] :resource_configuration_identifier
1299
+ # The ID of the resource configuration to associate with the service
1300
+ # network.
1301
+ #
1302
+ # @option params [required, String] :service_network_identifier
1303
+ # The ID of the service network to associate with the resource
1304
+ # configuration.
1305
+ #
1306
+ # @option params [Hash<String,String>] :tags
1307
+ # The tags for the association.
1308
+ #
1309
+ # @return [Types::CreateServiceNetworkResourceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1310
+ #
1311
+ # * {Types::CreateServiceNetworkResourceAssociationResponse#arn #arn} => String
1312
+ # * {Types::CreateServiceNetworkResourceAssociationResponse#created_by #created_by} => String
1313
+ # * {Types::CreateServiceNetworkResourceAssociationResponse#id #id} => String
1314
+ # * {Types::CreateServiceNetworkResourceAssociationResponse#status #status} => String
1315
+ #
1316
+ # @example Request syntax with placeholder values
1317
+ #
1318
+ # resp = client.create_service_network_resource_association({
1319
+ # client_token: "ClientToken",
1320
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
1321
+ # service_network_identifier: "ServiceNetworkIdentifierWithoutRegex", # required
1322
+ # tags: {
1323
+ # "TagKey" => "TagValue",
1324
+ # },
1325
+ # })
1326
+ #
1327
+ # @example Response structure
1328
+ #
1329
+ # resp.arn #=> String
1330
+ # resp.created_by #=> String
1331
+ # resp.id #=> String
1332
+ # resp.status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "PARTIAL", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
1333
+ #
1334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateServiceNetworkResourceAssociation AWS API Documentation
1335
+ #
1336
+ # @overload create_service_network_resource_association(params = {})
1337
+ # @param [Hash] params ({})
1338
+ def create_service_network_resource_association(params = {}, options = {})
1339
+ req = build_request(:create_service_network_resource_association, params)
1340
+ req.send_request(options)
1341
+ end
1342
+
1343
+ # Associates the specified service with the specified service network.
1344
+ # For more information, see [Manage service associations][1] in the
1345
+ # *Amazon VPC Lattice User Guide*.
1036
1346
  #
1037
1347
  # You can't use this operation if the service and service network are
1038
1348
  # already associated or if there is a disassociation or deletion in
@@ -1061,12 +1371,11 @@ module Aws::VPCLattice
1061
1371
  # not need to pass this option.**
1062
1372
  #
1063
1373
  # @option params [required, String] :service_identifier
1064
- # The ID or Amazon Resource Name (ARN) of the service.
1374
+ # The ID or ARN of the service.
1065
1375
  #
1066
1376
  # @option params [required, String] :service_network_identifier
1067
- # The ID or Amazon Resource Name (ARN) of the service network. You must
1068
- # use the ARN if the resources specified in the operation are in
1069
- # different accounts.
1377
+ # The ID or ARN of the service network. You must use an ARN if the
1378
+ # resources are in different accounts.
1070
1379
  #
1071
1380
  # @option params [Hash<String,String>] :tags
1072
1381
  # The tags for the association.
@@ -1155,9 +1464,8 @@ module Aws::VPCLattice
1155
1464
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
1156
1465
  #
1157
1466
  # @option params [required, String] :service_network_identifier
1158
- # The ID or Amazon Resource Name (ARN) of the service network. You must
1159
- # use the ARN when the resources specified in the operation are in
1160
- # different accounts.
1467
+ # The ID or ARN of the service network. You must use an ARN if the
1468
+ # resources are in different accounts.
1161
1469
  #
1162
1470
  # @option params [Hash<String,String>] :tags
1163
1471
  # The tags for the association.
@@ -1317,7 +1625,7 @@ module Aws::VPCLattice
1317
1625
  # Deletes the specified access log subscription.
1318
1626
  #
1319
1627
  # @option params [required, String] :access_log_subscription_identifier
1320
- # The ID or Amazon Resource Name (ARN) of the access log subscription.
1628
+ # The ID or ARN of the access log subscription.
1321
1629
  #
1322
1630
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1323
1631
  #
@@ -1343,7 +1651,7 @@ module Aws::VPCLattice
1343
1651
  # all requests are denied.
1344
1652
  #
1345
1653
  # @option params [required, String] :resource_identifier
1346
- # The ID or Amazon Resource Name (ARN) of the resource.
1654
+ # The ID or ARN of the resource.
1347
1655
  #
1348
1656
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1349
1657
  #
@@ -1365,10 +1673,10 @@ module Aws::VPCLattice
1365
1673
  # Deletes the specified listener.
1366
1674
  #
1367
1675
  # @option params [required, String] :listener_identifier
1368
- # The ID or Amazon Resource Name (ARN) of the listener.
1676
+ # The ID or ARN of the listener.
1369
1677
  #
1370
1678
  # @option params [required, String] :service_identifier
1371
- # The ID or Amazon Resource Name (ARN) of the service.
1679
+ # The ID or ARN of the service.
1372
1680
  #
1373
1681
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1374
1682
  #
@@ -1388,6 +1696,99 @@ module Aws::VPCLattice
1388
1696
  req.send_request(options)
1389
1697
  end
1390
1698
 
1699
+ # Deletes the specified resource configuration.
1700
+ #
1701
+ # @option params [required, String] :resource_configuration_identifier
1702
+ # The ID or ARN of the resource configuration.
1703
+ #
1704
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1705
+ #
1706
+ # @example Request syntax with placeholder values
1707
+ #
1708
+ # resp = client.delete_resource_configuration({
1709
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
1710
+ # })
1711
+ #
1712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/DeleteResourceConfiguration AWS API Documentation
1713
+ #
1714
+ # @overload delete_resource_configuration(params = {})
1715
+ # @param [Hash] params ({})
1716
+ def delete_resource_configuration(params = {}, options = {})
1717
+ req = build_request(:delete_resource_configuration, params)
1718
+ req.send_request(options)
1719
+ end
1720
+
1721
+ # Disassociates the resource configuration from the resource VPC
1722
+ # endpoint.
1723
+ #
1724
+ # @option params [required, String] :resource_endpoint_association_identifier
1725
+ # The ID or ARN of the association.
1726
+ #
1727
+ # @return [Types::DeleteResourceEndpointAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1728
+ #
1729
+ # * {Types::DeleteResourceEndpointAssociationResponse#arn #arn} => String
1730
+ # * {Types::DeleteResourceEndpointAssociationResponse#id #id} => String
1731
+ # * {Types::DeleteResourceEndpointAssociationResponse#resource_configuration_arn #resource_configuration_arn} => String
1732
+ # * {Types::DeleteResourceEndpointAssociationResponse#resource_configuration_id #resource_configuration_id} => String
1733
+ # * {Types::DeleteResourceEndpointAssociationResponse#vpc_endpoint_id #vpc_endpoint_id} => String
1734
+ #
1735
+ # @example Request syntax with placeholder values
1736
+ #
1737
+ # resp = client.delete_resource_endpoint_association({
1738
+ # resource_endpoint_association_identifier: "ResourceEndpointAssociationIdentifier", # required
1739
+ # })
1740
+ #
1741
+ # @example Response structure
1742
+ #
1743
+ # resp.arn #=> String
1744
+ # resp.id #=> String
1745
+ # resp.resource_configuration_arn #=> String
1746
+ # resp.resource_configuration_id #=> String
1747
+ # resp.vpc_endpoint_id #=> String
1748
+ #
1749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/DeleteResourceEndpointAssociation AWS API Documentation
1750
+ #
1751
+ # @overload delete_resource_endpoint_association(params = {})
1752
+ # @param [Hash] params ({})
1753
+ def delete_resource_endpoint_association(params = {}, options = {})
1754
+ req = build_request(:delete_resource_endpoint_association, params)
1755
+ req.send_request(options)
1756
+ end
1757
+
1758
+ # Deletes the specified resource gateway.
1759
+ #
1760
+ # @option params [required, String] :resource_gateway_identifier
1761
+ # The ID or ARN of the resource gateway.
1762
+ #
1763
+ # @return [Types::DeleteResourceGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1764
+ #
1765
+ # * {Types::DeleteResourceGatewayResponse#arn #arn} => String
1766
+ # * {Types::DeleteResourceGatewayResponse#id #id} => String
1767
+ # * {Types::DeleteResourceGatewayResponse#name #name} => String
1768
+ # * {Types::DeleteResourceGatewayResponse#status #status} => String
1769
+ #
1770
+ # @example Request syntax with placeholder values
1771
+ #
1772
+ # resp = client.delete_resource_gateway({
1773
+ # resource_gateway_identifier: "ResourceGatewayIdentifier", # required
1774
+ # })
1775
+ #
1776
+ # @example Response structure
1777
+ #
1778
+ # resp.arn #=> String
1779
+ # resp.id #=> String
1780
+ # resp.name #=> String
1781
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
1782
+ #
1783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/DeleteResourceGateway AWS API Documentation
1784
+ #
1785
+ # @overload delete_resource_gateway(params = {})
1786
+ # @param [Hash] params ({})
1787
+ def delete_resource_gateway(params = {}, options = {})
1788
+ req = build_request(:delete_resource_gateway, params)
1789
+ req.send_request(options)
1790
+ end
1791
+
1391
1792
  # Deletes the specified resource policy.
1392
1793
  #
1393
1794
  # @option params [required, String] :resource_arn
@@ -1424,13 +1825,13 @@ module Aws::VPCLattice
1424
1825
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules
1425
1826
  #
1426
1827
  # @option params [required, String] :listener_identifier
1427
- # The ID or Amazon Resource Name (ARN) of the listener.
1828
+ # The ID or ARN of the listener.
1428
1829
  #
1429
1830
  # @option params [required, String] :rule_identifier
1430
- # The ID or Amazon Resource Name (ARN) of the rule.
1831
+ # The ID or ARN of the rule.
1431
1832
  #
1432
1833
  # @option params [required, String] :service_identifier
1433
- # The ID or Amazon Resource Name (ARN) of the service.
1834
+ # The ID or ARN of the service.
1434
1835
  #
1435
1836
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1436
1837
  #
@@ -1463,7 +1864,7 @@ module Aws::VPCLattice
1463
1864
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/services.html#delete-service
1464
1865
  #
1465
1866
  # @option params [required, String] :service_identifier
1466
- # The ID or Amazon Resource Name (ARN) of the service.
1867
+ # The ID or ARN of the service.
1467
1868
  #
1468
1869
  # @return [Types::DeleteServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1469
1870
  #
@@ -1506,7 +1907,7 @@ module Aws::VPCLattice
1506
1907
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#delete-service-network
1507
1908
  #
1508
1909
  # @option params [required, String] :service_network_identifier
1509
- # The Amazon Resource Name (ARN) or ID of the service network.
1910
+ # The ID or ARN of the service network.
1510
1911
  #
1511
1912
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1512
1913
  #
@@ -1525,12 +1926,44 @@ module Aws::VPCLattice
1525
1926
  req.send_request(options)
1526
1927
  end
1527
1928
 
1528
- # Deletes the association between a specified service and the specific
1529
- # service network. This operation fails if an association is still in
1530
- # progress.
1929
+ # Deletes the association between a service network and a resource
1930
+ # configuration.
1931
+ #
1932
+ # @option params [required, String] :service_network_resource_association_identifier
1933
+ # The ID of the association.
1934
+ #
1935
+ # @return [Types::DeleteServiceNetworkResourceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1936
+ #
1937
+ # * {Types::DeleteServiceNetworkResourceAssociationResponse#arn #arn} => String
1938
+ # * {Types::DeleteServiceNetworkResourceAssociationResponse#id #id} => String
1939
+ # * {Types::DeleteServiceNetworkResourceAssociationResponse#status #status} => String
1940
+ #
1941
+ # @example Request syntax with placeholder values
1942
+ #
1943
+ # resp = client.delete_service_network_resource_association({
1944
+ # service_network_resource_association_identifier: "ServiceNetworkResourceAssociationIdentifier", # required
1945
+ # })
1946
+ #
1947
+ # @example Response structure
1948
+ #
1949
+ # resp.arn #=> String
1950
+ # resp.id #=> String
1951
+ # resp.status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "PARTIAL", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
1952
+ #
1953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/DeleteServiceNetworkResourceAssociation AWS API Documentation
1954
+ #
1955
+ # @overload delete_service_network_resource_association(params = {})
1956
+ # @param [Hash] params ({})
1957
+ def delete_service_network_resource_association(params = {}, options = {})
1958
+ req = build_request(:delete_service_network_resource_association, params)
1959
+ req.send_request(options)
1960
+ end
1961
+
1962
+ # Deletes the association between a service and a service network. This
1963
+ # operation fails if an association is still in progress.
1531
1964
  #
1532
1965
  # @option params [required, String] :service_network_service_association_identifier
1533
- # The ID or Amazon Resource Name (ARN) of the association.
1966
+ # The ID or ARN of the association.
1534
1967
  #
1535
1968
  # @return [Types::DeleteServiceNetworkServiceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1536
1969
  #
@@ -1564,7 +1997,7 @@ module Aws::VPCLattice
1564
1997
  # progress.
1565
1998
  #
1566
1999
  # @option params [required, String] :service_network_vpc_association_identifier
1567
- # The ID or Amazon Resource Name (ARN) of the association.
2000
+ # The ID or ARN of the association.
1568
2001
  #
1569
2002
  # @return [Types::DeleteServiceNetworkVpcAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1570
2003
  #
@@ -1597,7 +2030,7 @@ module Aws::VPCLattice
1597
2030
  # in a listener rule or if the target group creation is in progress.
1598
2031
  #
1599
2032
  # @option params [required, String] :target_group_identifier
1600
- # The ID or Amazon Resource Name (ARN) of the target group.
2033
+ # The ID or ARN of the target group.
1601
2034
  #
1602
2035
  # @return [Types::DeleteTargetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1603
2036
  #
@@ -1629,7 +2062,7 @@ module Aws::VPCLattice
1629
2062
  # Deregisters the specified targets from the specified target group.
1630
2063
  #
1631
2064
  # @option params [required, String] :target_group_identifier
1632
- # The ID or Amazon Resource Name (ARN) of the target group.
2065
+ # The ID or ARN of the target group.
1633
2066
  #
1634
2067
  # @option params [required, Array<Types::Target>] :targets
1635
2068
  # The targets to deregister.
@@ -1674,7 +2107,7 @@ module Aws::VPCLattice
1674
2107
  # Retrieves information about the specified access log subscription.
1675
2108
  #
1676
2109
  # @option params [required, String] :access_log_subscription_identifier
1677
- # The ID or Amazon Resource Name (ARN) of the access log subscription.
2110
+ # The ID or ARN of the access log subscription.
1678
2111
  #
1679
2112
  # @return [Types::GetAccessLogSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1680
2113
  #
@@ -1685,6 +2118,7 @@ module Aws::VPCLattice
1685
2118
  # * {Types::GetAccessLogSubscriptionResponse#last_updated_at #last_updated_at} => Time
1686
2119
  # * {Types::GetAccessLogSubscriptionResponse#resource_arn #resource_arn} => String
1687
2120
  # * {Types::GetAccessLogSubscriptionResponse#resource_id #resource_id} => String
2121
+ # * {Types::GetAccessLogSubscriptionResponse#service_network_log_type #service_network_log_type} => String
1688
2122
  #
1689
2123
  # @example Request syntax with placeholder values
1690
2124
  #
@@ -1701,6 +2135,7 @@ module Aws::VPCLattice
1701
2135
  # resp.last_updated_at #=> Time
1702
2136
  # resp.resource_arn #=> String
1703
2137
  # resp.resource_id #=> String
2138
+ # resp.service_network_log_type #=> String, one of "SERVICE", "RESOURCE"
1704
2139
  #
1705
2140
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetAccessLogSubscription AWS API Documentation
1706
2141
  #
@@ -1715,8 +2150,7 @@ module Aws::VPCLattice
1715
2150
  # or service network.
1716
2151
  #
1717
2152
  # @option params [required, String] :resource_identifier
1718
- # The ID or Amazon Resource Name (ARN) of the service network or
1719
- # service.
2153
+ # The ID or ARN of the service network or service.
1720
2154
  #
1721
2155
  # @return [Types::GetAuthPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1722
2156
  #
@@ -1751,10 +2185,10 @@ module Aws::VPCLattice
1751
2185
  # service.
1752
2186
  #
1753
2187
  # @option params [required, String] :listener_identifier
1754
- # The ID or Amazon Resource Name (ARN) of the listener.
2188
+ # The ID or ARN of the listener.
1755
2189
  #
1756
2190
  # @option params [required, String] :service_identifier
1757
- # The ID or Amazon Resource Name (ARN) of the service.
2191
+ # The ID or ARN of the service.
1758
2192
  #
1759
2193
  # @return [Types::GetListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1760
2194
  #
@@ -1801,9 +2235,119 @@ module Aws::VPCLattice
1801
2235
  req.send_request(options)
1802
2236
  end
1803
2237
 
1804
- # Retrieves information about the resource policy. The resource policy
1805
- # is an IAM policy created on behalf of the resource owner when they
1806
- # share a resource.
2238
+ # Retrieves information about the specified resource configuration.
2239
+ #
2240
+ # @option params [required, String] :resource_configuration_identifier
2241
+ # The ID of the resource configuration.
2242
+ #
2243
+ # @return [Types::GetResourceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2244
+ #
2245
+ # * {Types::GetResourceConfigurationResponse#allow_association_to_shareable_service_network #allow_association_to_shareable_service_network} => Boolean
2246
+ # * {Types::GetResourceConfigurationResponse#amazon_managed #amazon_managed} => Boolean
2247
+ # * {Types::GetResourceConfigurationResponse#arn #arn} => String
2248
+ # * {Types::GetResourceConfigurationResponse#created_at #created_at} => Time
2249
+ # * {Types::GetResourceConfigurationResponse#custom_domain_name #custom_domain_name} => String
2250
+ # * {Types::GetResourceConfigurationResponse#failure_reason #failure_reason} => String
2251
+ # * {Types::GetResourceConfigurationResponse#id #id} => String
2252
+ # * {Types::GetResourceConfigurationResponse#last_updated_at #last_updated_at} => Time
2253
+ # * {Types::GetResourceConfigurationResponse#name #name} => String
2254
+ # * {Types::GetResourceConfigurationResponse#port_ranges #port_ranges} => Array&lt;String&gt;
2255
+ # * {Types::GetResourceConfigurationResponse#protocol #protocol} => String
2256
+ # * {Types::GetResourceConfigurationResponse#resource_configuration_definition #resource_configuration_definition} => Types::ResourceConfigurationDefinition
2257
+ # * {Types::GetResourceConfigurationResponse#resource_configuration_group_id #resource_configuration_group_id} => String
2258
+ # * {Types::GetResourceConfigurationResponse#resource_gateway_id #resource_gateway_id} => String
2259
+ # * {Types::GetResourceConfigurationResponse#status #status} => String
2260
+ # * {Types::GetResourceConfigurationResponse#type #type} => String
2261
+ #
2262
+ # @example Request syntax with placeholder values
2263
+ #
2264
+ # resp = client.get_resource_configuration({
2265
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
2266
+ # })
2267
+ #
2268
+ # @example Response structure
2269
+ #
2270
+ # resp.allow_association_to_shareable_service_network #=> Boolean
2271
+ # resp.amazon_managed #=> Boolean
2272
+ # resp.arn #=> String
2273
+ # resp.created_at #=> Time
2274
+ # resp.custom_domain_name #=> String
2275
+ # resp.failure_reason #=> String
2276
+ # resp.id #=> String
2277
+ # resp.last_updated_at #=> Time
2278
+ # resp.name #=> String
2279
+ # resp.port_ranges #=> Array
2280
+ # resp.port_ranges[0] #=> String
2281
+ # resp.protocol #=> String, one of "TCP"
2282
+ # resp.resource_configuration_definition.arn_resource.arn #=> String
2283
+ # resp.resource_configuration_definition.dns_resource.domain_name #=> String
2284
+ # resp.resource_configuration_definition.dns_resource.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
2285
+ # resp.resource_configuration_definition.ip_resource.ip_address #=> String
2286
+ # resp.resource_configuration_group_id #=> String
2287
+ # resp.resource_gateway_id #=> String
2288
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
2289
+ # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
2290
+ #
2291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetResourceConfiguration AWS API Documentation
2292
+ #
2293
+ # @overload get_resource_configuration(params = {})
2294
+ # @param [Hash] params ({})
2295
+ def get_resource_configuration(params = {}, options = {})
2296
+ req = build_request(:get_resource_configuration, params)
2297
+ req.send_request(options)
2298
+ end
2299
+
2300
+ # Retrieves information about the specified resource gateway.
2301
+ #
2302
+ # @option params [required, String] :resource_gateway_identifier
2303
+ # The ID of the resource gateway.
2304
+ #
2305
+ # @return [Types::GetResourceGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2306
+ #
2307
+ # * {Types::GetResourceGatewayResponse#arn #arn} => String
2308
+ # * {Types::GetResourceGatewayResponse#created_at #created_at} => Time
2309
+ # * {Types::GetResourceGatewayResponse#id #id} => String
2310
+ # * {Types::GetResourceGatewayResponse#ip_address_type #ip_address_type} => String
2311
+ # * {Types::GetResourceGatewayResponse#last_updated_at #last_updated_at} => Time
2312
+ # * {Types::GetResourceGatewayResponse#name #name} => String
2313
+ # * {Types::GetResourceGatewayResponse#security_group_ids #security_group_ids} => Array&lt;String&gt;
2314
+ # * {Types::GetResourceGatewayResponse#status #status} => String
2315
+ # * {Types::GetResourceGatewayResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
2316
+ # * {Types::GetResourceGatewayResponse#vpc_id #vpc_id} => String
2317
+ #
2318
+ # @example Request syntax with placeholder values
2319
+ #
2320
+ # resp = client.get_resource_gateway({
2321
+ # resource_gateway_identifier: "ResourceGatewayIdentifier", # required
2322
+ # })
2323
+ #
2324
+ # @example Response structure
2325
+ #
2326
+ # resp.arn #=> String
2327
+ # resp.created_at #=> Time
2328
+ # resp.id #=> String
2329
+ # resp.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
2330
+ # resp.last_updated_at #=> Time
2331
+ # resp.name #=> String
2332
+ # resp.security_group_ids #=> Array
2333
+ # resp.security_group_ids[0] #=> String
2334
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
2335
+ # resp.subnet_ids #=> Array
2336
+ # resp.subnet_ids[0] #=> String
2337
+ # resp.vpc_id #=> String
2338
+ #
2339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetResourceGateway AWS API Documentation
2340
+ #
2341
+ # @overload get_resource_gateway(params = {})
2342
+ # @param [Hash] params ({})
2343
+ def get_resource_gateway(params = {}, options = {})
2344
+ req = build_request(:get_resource_gateway, params)
2345
+ req.send_request(options)
2346
+ end
2347
+
2348
+ # Retrieves information about the specified resource policy. The
2349
+ # resource policy is an IAM policy created on behalf of the resource
2350
+ # owner when they share a resource.
1807
2351
  #
1808
2352
  # @option params [required, String] :resource_arn
1809
2353
  # The Amazon Resource Name (ARN) of the service network or service.
@@ -1831,22 +2375,23 @@ module Aws::VPCLattice
1831
2375
  req.send_request(options)
1832
2376
  end
1833
2377
 
1834
- # Retrieves information about listener rules. You can also retrieve
1835
- # information about the default listener rule. For more information, see
1836
- # [Listener rules][1] in the *Amazon VPC Lattice User Guide*.
2378
+ # Retrieves information about the specified listener rules. You can also
2379
+ # retrieve information about the default listener rule. For more
2380
+ # information, see [Listener rules][1] in the *Amazon VPC Lattice User
2381
+ # Guide*.
1837
2382
  #
1838
2383
  #
1839
2384
  #
1840
2385
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules
1841
2386
  #
1842
2387
  # @option params [required, String] :listener_identifier
1843
- # The ID or Amazon Resource Name (ARN) of the listener.
2388
+ # The ID or ARN of the listener.
1844
2389
  #
1845
2390
  # @option params [required, String] :rule_identifier
1846
- # The ID or Amazon Resource Name (ARN) of the listener rule.
2391
+ # The ID or ARN of the listener rule.
1847
2392
  #
1848
2393
  # @option params [required, String] :service_identifier
1849
- # The ID or Amazon Resource Name (ARN) of the service.
2394
+ # The ID or ARN of the service.
1850
2395
  #
1851
2396
  # @return [Types::GetRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1852
2397
  #
@@ -1904,7 +2449,7 @@ module Aws::VPCLattice
1904
2449
  # Retrieves information about the specified service.
1905
2450
  #
1906
2451
  # @option params [required, String] :service_identifier
1907
- # The ID or Amazon Resource Name (ARN) of the service.
2452
+ # The ID or ARN of the service.
1908
2453
  #
1909
2454
  # @return [Types::GetServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1910
2455
  #
@@ -1955,7 +2500,7 @@ module Aws::VPCLattice
1955
2500
  # Retrieves information about the specified service network.
1956
2501
  #
1957
2502
  # @option params [required, String] :service_network_identifier
1958
- # The ID or Amazon Resource Name (ARN) of the service network.
2503
+ # The ID or ARN of the service network.
1959
2504
  #
1960
2505
  # @return [Types::GetServiceNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1961
2506
  #
@@ -1967,6 +2512,7 @@ module Aws::VPCLattice
1967
2512
  # * {Types::GetServiceNetworkResponse#name #name} => String
1968
2513
  # * {Types::GetServiceNetworkResponse#number_of_associated_services #number_of_associated_services} => Integer
1969
2514
  # * {Types::GetServiceNetworkResponse#number_of_associated_vp_cs #number_of_associated_vp_cs} => Integer
2515
+ # * {Types::GetServiceNetworkResponse#sharing_config #sharing_config} => Types::SharingConfig
1970
2516
  #
1971
2517
  # @example Request syntax with placeholder values
1972
2518
  #
@@ -1984,6 +2530,7 @@ module Aws::VPCLattice
1984
2530
  # resp.name #=> String
1985
2531
  # resp.number_of_associated_services #=> Integer
1986
2532
  # resp.number_of_associated_vp_cs #=> Integer
2533
+ # resp.sharing_config.enabled #=> Boolean
1987
2534
  #
1988
2535
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetServiceNetwork AWS API Documentation
1989
2536
  #
@@ -1994,11 +2541,74 @@ module Aws::VPCLattice
1994
2541
  req.send_request(options)
1995
2542
  end
1996
2543
 
2544
+ # Retrieves information about the specified association between a
2545
+ # service network and a resource configuration.
2546
+ #
2547
+ # @option params [required, String] :service_network_resource_association_identifier
2548
+ # The ID of the association.
2549
+ #
2550
+ # @return [Types::GetServiceNetworkResourceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2551
+ #
2552
+ # * {Types::GetServiceNetworkResourceAssociationResponse#arn #arn} => String
2553
+ # * {Types::GetServiceNetworkResourceAssociationResponse#created_at #created_at} => Time
2554
+ # * {Types::GetServiceNetworkResourceAssociationResponse#created_by #created_by} => String
2555
+ # * {Types::GetServiceNetworkResourceAssociationResponse#dns_entry #dns_entry} => Types::DnsEntry
2556
+ # * {Types::GetServiceNetworkResourceAssociationResponse#failure_code #failure_code} => String
2557
+ # * {Types::GetServiceNetworkResourceAssociationResponse#failure_reason #failure_reason} => String
2558
+ # * {Types::GetServiceNetworkResourceAssociationResponse#id #id} => String
2559
+ # * {Types::GetServiceNetworkResourceAssociationResponse#is_managed_association #is_managed_association} => Boolean
2560
+ # * {Types::GetServiceNetworkResourceAssociationResponse#last_updated_at #last_updated_at} => Time
2561
+ # * {Types::GetServiceNetworkResourceAssociationResponse#private_dns_entry #private_dns_entry} => Types::DnsEntry
2562
+ # * {Types::GetServiceNetworkResourceAssociationResponse#resource_configuration_arn #resource_configuration_arn} => String
2563
+ # * {Types::GetServiceNetworkResourceAssociationResponse#resource_configuration_id #resource_configuration_id} => String
2564
+ # * {Types::GetServiceNetworkResourceAssociationResponse#resource_configuration_name #resource_configuration_name} => String
2565
+ # * {Types::GetServiceNetworkResourceAssociationResponse#service_network_arn #service_network_arn} => String
2566
+ # * {Types::GetServiceNetworkResourceAssociationResponse#service_network_id #service_network_id} => String
2567
+ # * {Types::GetServiceNetworkResourceAssociationResponse#service_network_name #service_network_name} => String
2568
+ # * {Types::GetServiceNetworkResourceAssociationResponse#status #status} => String
2569
+ #
2570
+ # @example Request syntax with placeholder values
2571
+ #
2572
+ # resp = client.get_service_network_resource_association({
2573
+ # service_network_resource_association_identifier: "ServiceNetworkResourceAssociationIdentifier", # required
2574
+ # })
2575
+ #
2576
+ # @example Response structure
2577
+ #
2578
+ # resp.arn #=> String
2579
+ # resp.created_at #=> Time
2580
+ # resp.created_by #=> String
2581
+ # resp.dns_entry.domain_name #=> String
2582
+ # resp.dns_entry.hosted_zone_id #=> String
2583
+ # resp.failure_code #=> String
2584
+ # resp.failure_reason #=> String
2585
+ # resp.id #=> String
2586
+ # resp.is_managed_association #=> Boolean
2587
+ # resp.last_updated_at #=> Time
2588
+ # resp.private_dns_entry.domain_name #=> String
2589
+ # resp.private_dns_entry.hosted_zone_id #=> String
2590
+ # resp.resource_configuration_arn #=> String
2591
+ # resp.resource_configuration_id #=> String
2592
+ # resp.resource_configuration_name #=> String
2593
+ # resp.service_network_arn #=> String
2594
+ # resp.service_network_id #=> String
2595
+ # resp.service_network_name #=> String
2596
+ # resp.status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "PARTIAL", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
2597
+ #
2598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetServiceNetworkResourceAssociation AWS API Documentation
2599
+ #
2600
+ # @overload get_service_network_resource_association(params = {})
2601
+ # @param [Hash] params ({})
2602
+ def get_service_network_resource_association(params = {}, options = {})
2603
+ req = build_request(:get_service_network_resource_association, params)
2604
+ req.send_request(options)
2605
+ end
2606
+
1997
2607
  # Retrieves information about the specified association between a
1998
2608
  # service network and a service.
1999
2609
  #
2000
2610
  # @option params [required, String] :service_network_service_association_identifier
2001
- # The ID or Amazon Resource Name (ARN) of the association.
2611
+ # The ID or ARN of the association.
2002
2612
  #
2003
2613
  # @return [Types::GetServiceNetworkServiceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2004
2614
  #
@@ -2052,11 +2662,11 @@ module Aws::VPCLattice
2052
2662
  req.send_request(options)
2053
2663
  end
2054
2664
 
2055
- # Retrieves information about the association between a service network
2056
- # and a VPC.
2665
+ # Retrieves information about the specified association between a
2666
+ # service network and a VPC.
2057
2667
  #
2058
2668
  # @option params [required, String] :service_network_vpc_association_identifier
2059
- # The ID or Amazon Resource Name (ARN) of the association.
2669
+ # The ID or ARN of the association.
2060
2670
  #
2061
2671
  # @return [Types::GetServiceNetworkVpcAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2062
2672
  #
@@ -2109,7 +2719,7 @@ module Aws::VPCLattice
2109
2719
  # Retrieves information about the specified target group.
2110
2720
  #
2111
2721
  # @option params [required, String] :target_group_identifier
2112
- # The ID or Amazon Resource Name (ARN) of the target group.
2722
+ # The ID or ARN of the target group.
2113
2723
  #
2114
2724
  # @return [Types::GetTargetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2115
2725
  #
@@ -2170,7 +2780,7 @@ module Aws::VPCLattice
2170
2780
  req.send_request(options)
2171
2781
  end
2172
2782
 
2173
- # Lists all access log subscriptions for the specified service network
2783
+ # Lists the access log subscriptions for the specified service network
2174
2784
  # or service.
2175
2785
  #
2176
2786
  # @option params [Integer] :max_results
@@ -2180,8 +2790,7 @@ module Aws::VPCLattice
2180
2790
  # A pagination token for the next page of results.
2181
2791
  #
2182
2792
  # @option params [required, String] :resource_identifier
2183
- # The ID or Amazon Resource Name (ARN) of the service network or
2184
- # service.
2793
+ # The ID or ARN of the service network or service.
2185
2794
  #
2186
2795
  # @return [Types::ListAccessLogSubscriptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2187
2796
  #
@@ -2208,6 +2817,7 @@ module Aws::VPCLattice
2208
2817
  # resp.items[0].last_updated_at #=> Time
2209
2818
  # resp.items[0].resource_arn #=> String
2210
2819
  # resp.items[0].resource_id #=> String
2820
+ # resp.items[0].service_network_log_type #=> String, one of "SERVICE", "RESOURCE"
2211
2821
  # resp.next_token #=> String
2212
2822
  #
2213
2823
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListAccessLogSubscriptions AWS API Documentation
@@ -2228,7 +2838,7 @@ module Aws::VPCLattice
2228
2838
  # A pagination token for the next page of results.
2229
2839
  #
2230
2840
  # @option params [required, String] :service_identifier
2231
- # The ID or Amazon Resource Name (ARN) of the service.
2841
+ # The ID or ARN of the service.
2232
2842
  #
2233
2843
  # @return [Types::ListListenersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2234
2844
  #
@@ -2266,10 +2876,176 @@ module Aws::VPCLattice
2266
2876
  req.send_request(options)
2267
2877
  end
2268
2878
 
2269
- # Lists the rules for the listener.
2879
+ # Lists the resource configurations owned by or shared with this
2880
+ # account.
2881
+ #
2882
+ # @option params [Integer] :max_results
2883
+ # The maximum page size.
2884
+ #
2885
+ # @option params [String] :next_token
2886
+ # A pagination token for the next page of results.
2887
+ #
2888
+ # @option params [String] :resource_configuration_group_identifier
2889
+ # The ID of the group resource configuration.
2890
+ #
2891
+ # @option params [String] :resource_gateway_identifier
2892
+ # The ID of the resource gateway for the resource configuration.
2893
+ #
2894
+ # @return [Types::ListResourceConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2895
+ #
2896
+ # * {Types::ListResourceConfigurationsResponse#items #items} => Array&lt;Types::ResourceConfigurationSummary&gt;
2897
+ # * {Types::ListResourceConfigurationsResponse#next_token #next_token} => String
2898
+ #
2899
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2900
+ #
2901
+ # @example Request syntax with placeholder values
2902
+ #
2903
+ # resp = client.list_resource_configurations({
2904
+ # max_results: 1,
2905
+ # next_token: "NextToken",
2906
+ # resource_configuration_group_identifier: "ResourceConfigurationIdentifier",
2907
+ # resource_gateway_identifier: "ResourceGatewayIdentifier",
2908
+ # })
2909
+ #
2910
+ # @example Response structure
2911
+ #
2912
+ # resp.items #=> Array
2913
+ # resp.items[0].amazon_managed #=> Boolean
2914
+ # resp.items[0].arn #=> String
2915
+ # resp.items[0].created_at #=> Time
2916
+ # resp.items[0].id #=> String
2917
+ # resp.items[0].last_updated_at #=> Time
2918
+ # resp.items[0].name #=> String
2919
+ # resp.items[0].resource_configuration_group_id #=> String
2920
+ # resp.items[0].resource_gateway_id #=> String
2921
+ # resp.items[0].status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
2922
+ # resp.items[0].type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
2923
+ # resp.next_token #=> String
2924
+ #
2925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListResourceConfigurations AWS API Documentation
2926
+ #
2927
+ # @overload list_resource_configurations(params = {})
2928
+ # @param [Hash] params ({})
2929
+ def list_resource_configurations(params = {}, options = {})
2930
+ req = build_request(:list_resource_configurations, params)
2931
+ req.send_request(options)
2932
+ end
2933
+
2934
+ # Lists the associations for the specified VPC endpoint.
2935
+ #
2936
+ # @option params [Integer] :max_results
2937
+ # The maximum page size.
2938
+ #
2939
+ # @option params [String] :next_token
2940
+ # A pagination token for the next page of results.
2941
+ #
2942
+ # @option params [required, String] :resource_configuration_identifier
2943
+ # The ID for the resource configuration associated with the VPC
2944
+ # endpoint.
2945
+ #
2946
+ # @option params [String] :resource_endpoint_association_identifier
2947
+ # The ID of the association.
2948
+ #
2949
+ # @option params [String] :vpc_endpoint_id
2950
+ # The ID of the VPC endpoint in the association.
2951
+ #
2952
+ # @option params [String] :vpc_endpoint_owner
2953
+ # The owner of the VPC endpoint in the association.
2954
+ #
2955
+ # @return [Types::ListResourceEndpointAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2956
+ #
2957
+ # * {Types::ListResourceEndpointAssociationsResponse#items #items} => Array&lt;Types::ResourceEndpointAssociationSummary&gt;
2958
+ # * {Types::ListResourceEndpointAssociationsResponse#next_token #next_token} => String
2959
+ #
2960
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2961
+ #
2962
+ # @example Request syntax with placeholder values
2963
+ #
2964
+ # resp = client.list_resource_endpoint_associations({
2965
+ # max_results: 1,
2966
+ # next_token: "NextToken",
2967
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
2968
+ # resource_endpoint_association_identifier: "ResourceEndpointAssociationIdentifier",
2969
+ # vpc_endpoint_id: "VpcEndpointId",
2970
+ # vpc_endpoint_owner: "VpcEndpointOwner",
2971
+ # })
2972
+ #
2973
+ # @example Response structure
2974
+ #
2975
+ # resp.items #=> Array
2976
+ # resp.items[0].arn #=> String
2977
+ # resp.items[0].created_at #=> Time
2978
+ # resp.items[0].created_by #=> String
2979
+ # resp.items[0].id #=> String
2980
+ # resp.items[0].resource_configuration_arn #=> String
2981
+ # resp.items[0].resource_configuration_id #=> String
2982
+ # resp.items[0].resource_configuration_name #=> String
2983
+ # resp.items[0].vpc_endpoint_id #=> String
2984
+ # resp.items[0].vpc_endpoint_owner #=> String
2985
+ # resp.next_token #=> String
2986
+ #
2987
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListResourceEndpointAssociations AWS API Documentation
2988
+ #
2989
+ # @overload list_resource_endpoint_associations(params = {})
2990
+ # @param [Hash] params ({})
2991
+ def list_resource_endpoint_associations(params = {}, options = {})
2992
+ req = build_request(:list_resource_endpoint_associations, params)
2993
+ req.send_request(options)
2994
+ end
2995
+
2996
+ # Lists the resource gateways that you own or that were shared with you.
2997
+ #
2998
+ # @option params [Integer] :max_results
2999
+ # The maximum page size.
3000
+ #
3001
+ # @option params [String] :next_token
3002
+ # If there are additional results, a pagination token for the next page
3003
+ # of results.
3004
+ #
3005
+ # @return [Types::ListResourceGatewaysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3006
+ #
3007
+ # * {Types::ListResourceGatewaysResponse#items #items} => Array&lt;Types::ResourceGatewaySummary&gt;
3008
+ # * {Types::ListResourceGatewaysResponse#next_token #next_token} => String
3009
+ #
3010
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3011
+ #
3012
+ # @example Request syntax with placeholder values
3013
+ #
3014
+ # resp = client.list_resource_gateways({
3015
+ # max_results: 1,
3016
+ # next_token: "NextToken",
3017
+ # })
3018
+ #
3019
+ # @example Response structure
3020
+ #
3021
+ # resp.items #=> Array
3022
+ # resp.items[0].arn #=> String
3023
+ # resp.items[0].created_at #=> Time
3024
+ # resp.items[0].id #=> String
3025
+ # resp.items[0].ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
3026
+ # resp.items[0].last_updated_at #=> Time
3027
+ # resp.items[0].name #=> String
3028
+ # resp.items[0].security_group_ids #=> Array
3029
+ # resp.items[0].security_group_ids[0] #=> String
3030
+ # resp.items[0].status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
3031
+ # resp.items[0].subnet_ids #=> Array
3032
+ # resp.items[0].subnet_ids[0] #=> String
3033
+ # resp.items[0].vpc_identifier #=> String
3034
+ # resp.next_token #=> String
3035
+ #
3036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListResourceGateways AWS API Documentation
3037
+ #
3038
+ # @overload list_resource_gateways(params = {})
3039
+ # @param [Hash] params ({})
3040
+ def list_resource_gateways(params = {}, options = {})
3041
+ req = build_request(:list_resource_gateways, params)
3042
+ req.send_request(options)
3043
+ end
3044
+
3045
+ # Lists the rules for the specified listener.
2270
3046
  #
2271
3047
  # @option params [required, String] :listener_identifier
2272
- # The ID or Amazon Resource Name (ARN) of the listener.
3048
+ # The ID or ARN of the listener.
2273
3049
  #
2274
3050
  # @option params [Integer] :max_results
2275
3051
  # The maximum number of results to return.
@@ -2278,7 +3054,7 @@ module Aws::VPCLattice
2278
3054
  # A pagination token for the next page of results.
2279
3055
  #
2280
3056
  # @option params [required, String] :service_identifier
2281
- # The ID or Amazon Resource Name (ARN) of the service.
3057
+ # The ID or ARN of the service.
2282
3058
  #
2283
3059
  # @return [Types::ListRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2284
3060
  #
@@ -2317,17 +3093,79 @@ module Aws::VPCLattice
2317
3093
  req.send_request(options)
2318
3094
  end
2319
3095
 
2320
- # Lists the associations between the service network and the service.
2321
- # You can filter the list either by service or service network. You must
3096
+ # Lists the associations between a service network and a resource
3097
+ # configuration.
3098
+ #
3099
+ # @option params [Integer] :max_results
3100
+ # The maximum page size.
3101
+ #
3102
+ # @option params [String] :next_token
3103
+ # If there are additional results, a pagination token for the next page
3104
+ # of results.
3105
+ #
3106
+ # @option params [String] :resource_configuration_identifier
3107
+ # The ID of the resource configurationk.
3108
+ #
3109
+ # @option params [String] :service_network_identifier
3110
+ # The ID of the service network.
3111
+ #
3112
+ # @return [Types::ListServiceNetworkResourceAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3113
+ #
3114
+ # * {Types::ListServiceNetworkResourceAssociationsResponse#items #items} => Array&lt;Types::ServiceNetworkResourceAssociationSummary&gt;
3115
+ # * {Types::ListServiceNetworkResourceAssociationsResponse#next_token #next_token} => String
3116
+ #
3117
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3118
+ #
3119
+ # @example Request syntax with placeholder values
3120
+ #
3121
+ # resp = client.list_service_network_resource_associations({
3122
+ # max_results: 1,
3123
+ # next_token: "NextToken",
3124
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier",
3125
+ # service_network_identifier: "ServiceNetworkIdentifier",
3126
+ # })
3127
+ #
3128
+ # @example Response structure
3129
+ #
3130
+ # resp.items #=> Array
3131
+ # resp.items[0].arn #=> String
3132
+ # resp.items[0].created_at #=> Time
3133
+ # resp.items[0].created_by #=> String
3134
+ # resp.items[0].dns_entry.domain_name #=> String
3135
+ # resp.items[0].dns_entry.hosted_zone_id #=> String
3136
+ # resp.items[0].failure_code #=> String
3137
+ # resp.items[0].id #=> String
3138
+ # resp.items[0].is_managed_association #=> Boolean
3139
+ # resp.items[0].private_dns_entry.domain_name #=> String
3140
+ # resp.items[0].private_dns_entry.hosted_zone_id #=> String
3141
+ # resp.items[0].resource_configuration_arn #=> String
3142
+ # resp.items[0].resource_configuration_id #=> String
3143
+ # resp.items[0].resource_configuration_name #=> String
3144
+ # resp.items[0].service_network_arn #=> String
3145
+ # resp.items[0].service_network_id #=> String
3146
+ # resp.items[0].service_network_name #=> String
3147
+ # resp.items[0].status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "PARTIAL", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
3148
+ # resp.next_token #=> String
3149
+ #
3150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListServiceNetworkResourceAssociations AWS API Documentation
3151
+ #
3152
+ # @overload list_service_network_resource_associations(params = {})
3153
+ # @param [Hash] params ({})
3154
+ def list_service_network_resource_associations(params = {}, options = {})
3155
+ req = build_request(:list_service_network_resource_associations, params)
3156
+ req.send_request(options)
3157
+ end
3158
+
3159
+ # Lists the associations between a service network and a service. You
3160
+ # can filter the list either by service or service network. You must
2322
3161
  # provide either the service network identifier or the service
2323
3162
  # identifier.
2324
3163
  #
2325
- # Every association in Amazon VPC Lattice is given a unique Amazon
2326
- # Resource Name (ARN), such as when a service network is associated with
2327
- # a VPC or when a service is associated with a service network. If the
2328
- # association is for a resource that is shared with another account, the
2329
- # association includes the local account ID as the prefix in the ARN for
2330
- # each account the resource is shared with.
3164
+ # Every association in Amazon VPC Lattice has a unique Amazon Resource
3165
+ # Name (ARN), such as when a service network is associated with a VPC or
3166
+ # when a service is associated with a service network. If the
3167
+ # association is for a resource is shared with another account, the
3168
+ # association includes the local account ID as the prefix in the ARN.
2331
3169
  #
2332
3170
  # @option params [Integer] :max_results
2333
3171
  # The maximum number of results to return.
@@ -2336,10 +3174,10 @@ module Aws::VPCLattice
2336
3174
  # A pagination token for the next page of results.
2337
3175
  #
2338
3176
  # @option params [String] :service_identifier
2339
- # The ID or Amazon Resource Name (ARN) of the service.
3177
+ # The ID or ARN of the service.
2340
3178
  #
2341
3179
  # @option params [String] :service_network_identifier
2342
- # The ID or Amazon Resource Name (ARN) of the service network.
3180
+ # The ID or ARN of the service network.
2343
3181
  #
2344
3182
  # @return [Types::ListServiceNetworkServiceAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2345
3183
  #
@@ -2385,9 +3223,9 @@ module Aws::VPCLattice
2385
3223
  req.send_request(options)
2386
3224
  end
2387
3225
 
2388
- # Lists the service network and VPC associations. You can filter the
2389
- # list either by VPC or service network. You must provide either the
2390
- # service network identifier or the VPC identifier.
3226
+ # Lists the associations between a service network and a VPC. You can
3227
+ # filter the list either by VPC or service network. You must provide
3228
+ # either the ID of the service network identifier or the ID of the VPC.
2391
3229
  #
2392
3230
  # @option params [Integer] :max_results
2393
3231
  # The maximum number of results to return.
@@ -2396,10 +3234,10 @@ module Aws::VPCLattice
2396
3234
  # A pagination token for the next page of results.
2397
3235
  #
2398
3236
  # @option params [String] :service_network_identifier
2399
- # The ID or Amazon Resource Name (ARN) of the service network.
3237
+ # The ID or ARN of the service network.
2400
3238
  #
2401
3239
  # @option params [String] :vpc_identifier
2402
- # The ID or Amazon Resource Name (ARN) of the VPC.
3240
+ # The ID or ARN of the VPC.
2403
3241
  #
2404
3242
  # @return [Types::ListServiceNetworkVpcAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2405
3243
  #
@@ -2441,9 +3279,56 @@ module Aws::VPCLattice
2441
3279
  req.send_request(options)
2442
3280
  end
2443
3281
 
2444
- # Lists the service networks owned by the caller account or shared with
2445
- # the caller account. Also includes the account ID in the ARN to show
2446
- # which account owns the service network.
3282
+ # Lists the associations between a service network and a VPC endpoint.
3283
+ #
3284
+ # @option params [Integer] :max_results
3285
+ # The maximum page size.
3286
+ #
3287
+ # @option params [String] :next_token
3288
+ # If there are additional results, a pagination token for the next page
3289
+ # of results.
3290
+ #
3291
+ # @option params [required, String] :service_network_identifier
3292
+ # The ID of the service network associated with the VPC endpoint.
3293
+ #
3294
+ # @return [Types::ListServiceNetworkVpcEndpointAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3295
+ #
3296
+ # * {Types::ListServiceNetworkVpcEndpointAssociationsResponse#items #items} => Array&lt;Types::ServiceNetworkEndpointAssociation&gt;
3297
+ # * {Types::ListServiceNetworkVpcEndpointAssociationsResponse#next_token #next_token} => String
3298
+ #
3299
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3300
+ #
3301
+ # @example Request syntax with placeholder values
3302
+ #
3303
+ # resp = client.list_service_network_vpc_endpoint_associations({
3304
+ # max_results: 1,
3305
+ # next_token: "NextToken",
3306
+ # service_network_identifier: "ServiceNetworkIdentifier", # required
3307
+ # })
3308
+ #
3309
+ # @example Response structure
3310
+ #
3311
+ # resp.items #=> Array
3312
+ # resp.items[0].created_at #=> Time
3313
+ # resp.items[0].id #=> String
3314
+ # resp.items[0].service_network_arn #=> String
3315
+ # resp.items[0].state #=> String
3316
+ # resp.items[0].vpc_endpoint_id #=> String
3317
+ # resp.items[0].vpc_endpoint_owner_id #=> String
3318
+ # resp.items[0].vpc_id #=> String
3319
+ # resp.next_token #=> String
3320
+ #
3321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListServiceNetworkVpcEndpointAssociations AWS API Documentation
3322
+ #
3323
+ # @overload list_service_network_vpc_endpoint_associations(params = {})
3324
+ # @param [Hash] params ({})
3325
+ def list_service_network_vpc_endpoint_associations(params = {}, options = {})
3326
+ req = build_request(:list_service_network_vpc_endpoint_associations, params)
3327
+ req.send_request(options)
3328
+ end
3329
+
3330
+ # Lists the service networks owned by or shared with this account. The
3331
+ # account ID in the ARN shows which account owns the service network.
2447
3332
  #
2448
3333
  # @option params [Integer] :max_results
2449
3334
  # The maximum number of results to return.
@@ -2473,6 +3358,7 @@ module Aws::VPCLattice
2473
3358
  # resp.items[0].id #=> String
2474
3359
  # resp.items[0].last_updated_at #=> Time
2475
3360
  # resp.items[0].name #=> String
3361
+ # resp.items[0].number_of_associated_resource_configurations #=> Integer
2476
3362
  # resp.items[0].number_of_associated_services #=> Integer
2477
3363
  # resp.items[0].number_of_associated_vp_cs #=> Integer
2478
3364
  # resp.next_token #=> String
@@ -2574,7 +3460,7 @@ module Aws::VPCLattice
2574
3460
  # The target group type.
2575
3461
  #
2576
3462
  # @option params [String] :vpc_identifier
2577
- # The ID or Amazon Resource Name (ARN) of the VPC.
3463
+ # The ID or ARN of the VPC.
2578
3464
  #
2579
3465
  # @return [Types::ListTargetGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2580
3466
  #
@@ -2631,7 +3517,7 @@ module Aws::VPCLattice
2631
3517
  # A pagination token for the next page of results.
2632
3518
  #
2633
3519
  # @option params [required, String] :target_group_identifier
2634
- # The ID or Amazon Resource Name (ARN) of the target group.
3520
+ # The ID or ARN of the target group.
2635
3521
  #
2636
3522
  # @option params [Array<Types::Target>] :targets
2637
3523
  # The targets.
@@ -2690,8 +3576,8 @@ module Aws::VPCLattice
2690
3576
  # or blank lines.
2691
3577
  #
2692
3578
  # @option params [required, String] :resource_identifier
2693
- # The ID or Amazon Resource Name (ARN) of the service network or service
2694
- # for which the policy is created.
3579
+ # The ID or ARN of the service network or service for which the policy
3580
+ # is created.
2695
3581
  #
2696
3582
  # @return [Types::PutAuthPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2697
3583
  #
@@ -2729,8 +3615,8 @@ module Aws::VPCLattice
2729
3615
  # blank lines.
2730
3616
  #
2731
3617
  # @option params [required, String] :resource_arn
2732
- # The ID or Amazon Resource Name (ARN) of the service network or service
2733
- # for which the policy is created.
3618
+ # The ID or ARN of the service network or service for which the policy
3619
+ # is created.
2734
3620
  #
2735
3621
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2736
3622
  #
@@ -2754,7 +3640,7 @@ module Aws::VPCLattice
2754
3640
  # you can only have one target in a target group.
2755
3641
  #
2756
3642
  # @option params [required, String] :target_group_identifier
2757
- # The ID or Amazon Resource Name (ARN) of the target group.
3643
+ # The ID or ARN of the target group.
2758
3644
  #
2759
3645
  # @option params [required, Array<Types::Target>] :targets
2760
3646
  # The targets.
@@ -2853,7 +3739,7 @@ module Aws::VPCLattice
2853
3739
  # Updates the specified access log subscription.
2854
3740
  #
2855
3741
  # @option params [required, String] :access_log_subscription_identifier
2856
- # The ID or Amazon Resource Name (ARN) of the access log subscription.
3742
+ # The ID or ARN of the access log subscription.
2857
3743
  #
2858
3744
  # @option params [required, String] :destination_arn
2859
3745
  # The Amazon Resource Name (ARN) of the access log destination.
@@ -2896,10 +3782,10 @@ module Aws::VPCLattice
2896
3782
  # The action for the default rule.
2897
3783
  #
2898
3784
  # @option params [required, String] :listener_identifier
2899
- # The ID or Amazon Resource Name (ARN) of the listener.
3785
+ # The ID or ARN of the listener.
2900
3786
  #
2901
3787
  # @option params [required, String] :service_identifier
2902
- # The ID or Amazon Resource Name (ARN) of the service.
3788
+ # The ID or ARN of the service.
2903
3789
  #
2904
3790
  # @return [Types::UpdateListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2905
3791
  #
@@ -2955,14 +3841,141 @@ module Aws::VPCLattice
2955
3841
  req.send_request(options)
2956
3842
  end
2957
3843
 
2958
- # Updates a rule for the listener. You can't modify a default listener
2959
- # rule. To modify a default listener rule, use `UpdateListener`.
3844
+ # Updates the specified resource configuration.
3845
+ #
3846
+ # @option params [Boolean] :allow_association_to_shareable_service_network
3847
+ # Indicates whether to add the resource configuration to service
3848
+ # networks that are shared with other accounts.
3849
+ #
3850
+ # @option params [Array<String>] :port_ranges
3851
+ # The TCP port ranges that a consumer can use to access a resource
3852
+ # configuration. You can separate port ranges with a comma. Example:
3853
+ # 1-65535 or 1,2,22-30
3854
+ #
3855
+ # @option params [Types::ResourceConfigurationDefinition] :resource_configuration_definition
3856
+ # The resource configuration.
3857
+ #
3858
+ # @option params [required, String] :resource_configuration_identifier
3859
+ # The ID of the resource configuration.
3860
+ #
3861
+ # @return [Types::UpdateResourceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3862
+ #
3863
+ # * {Types::UpdateResourceConfigurationResponse#allow_association_to_shareable_service_network #allow_association_to_shareable_service_network} => Boolean
3864
+ # * {Types::UpdateResourceConfigurationResponse#arn #arn} => String
3865
+ # * {Types::UpdateResourceConfigurationResponse#id #id} => String
3866
+ # * {Types::UpdateResourceConfigurationResponse#name #name} => String
3867
+ # * {Types::UpdateResourceConfigurationResponse#port_ranges #port_ranges} => Array&lt;String&gt;
3868
+ # * {Types::UpdateResourceConfigurationResponse#protocol #protocol} => String
3869
+ # * {Types::UpdateResourceConfigurationResponse#resource_configuration_definition #resource_configuration_definition} => Types::ResourceConfigurationDefinition
3870
+ # * {Types::UpdateResourceConfigurationResponse#resource_configuration_group_id #resource_configuration_group_id} => String
3871
+ # * {Types::UpdateResourceConfigurationResponse#resource_gateway_id #resource_gateway_id} => String
3872
+ # * {Types::UpdateResourceConfigurationResponse#status #status} => String
3873
+ # * {Types::UpdateResourceConfigurationResponse#type #type} => String
3874
+ #
3875
+ # @example Request syntax with placeholder values
3876
+ #
3877
+ # resp = client.update_resource_configuration({
3878
+ # allow_association_to_shareable_service_network: false,
3879
+ # port_ranges: ["PortRange"],
3880
+ # resource_configuration_definition: {
3881
+ # arn_resource: {
3882
+ # arn: "WildcardArn",
3883
+ # },
3884
+ # dns_resource: {
3885
+ # domain_name: "DomainName",
3886
+ # ip_address_type: "IPV4", # accepts IPV4, IPV6, DUALSTACK
3887
+ # },
3888
+ # ip_resource: {
3889
+ # ip_address: "IpAddress",
3890
+ # },
3891
+ # },
3892
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
3893
+ # })
3894
+ #
3895
+ # @example Response structure
3896
+ #
3897
+ # resp.allow_association_to_shareable_service_network #=> Boolean
3898
+ # resp.arn #=> String
3899
+ # resp.id #=> String
3900
+ # resp.name #=> String
3901
+ # resp.port_ranges #=> Array
3902
+ # resp.port_ranges[0] #=> String
3903
+ # resp.protocol #=> String, one of "TCP"
3904
+ # resp.resource_configuration_definition.arn_resource.arn #=> String
3905
+ # resp.resource_configuration_definition.dns_resource.domain_name #=> String
3906
+ # resp.resource_configuration_definition.dns_resource.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
3907
+ # resp.resource_configuration_definition.ip_resource.ip_address #=> String
3908
+ # resp.resource_configuration_group_id #=> String
3909
+ # resp.resource_gateway_id #=> String
3910
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
3911
+ # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
3912
+ #
3913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/UpdateResourceConfiguration AWS API Documentation
3914
+ #
3915
+ # @overload update_resource_configuration(params = {})
3916
+ # @param [Hash] params ({})
3917
+ def update_resource_configuration(params = {}, options = {})
3918
+ req = build_request(:update_resource_configuration, params)
3919
+ req.send_request(options)
3920
+ end
3921
+
3922
+ # Updates the specified resource gateway.
3923
+ #
3924
+ # @option params [required, String] :resource_gateway_identifier
3925
+ # The ID or ARN of the resource gateway.
3926
+ #
3927
+ # @option params [Array<String>] :security_group_ids
3928
+ # The IDs of the security groups associated with the resource gateway.
3929
+ #
3930
+ # @return [Types::UpdateResourceGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3931
+ #
3932
+ # * {Types::UpdateResourceGatewayResponse#arn #arn} => String
3933
+ # * {Types::UpdateResourceGatewayResponse#id #id} => String
3934
+ # * {Types::UpdateResourceGatewayResponse#ip_address_type #ip_address_type} => String
3935
+ # * {Types::UpdateResourceGatewayResponse#name #name} => String
3936
+ # * {Types::UpdateResourceGatewayResponse#security_group_ids #security_group_ids} => Array&lt;String&gt;
3937
+ # * {Types::UpdateResourceGatewayResponse#status #status} => String
3938
+ # * {Types::UpdateResourceGatewayResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
3939
+ # * {Types::UpdateResourceGatewayResponse#vpc_id #vpc_id} => String
3940
+ #
3941
+ # @example Request syntax with placeholder values
3942
+ #
3943
+ # resp = client.update_resource_gateway({
3944
+ # resource_gateway_identifier: "ResourceGatewayIdentifier", # required
3945
+ # security_group_ids: ["SecurityGroupId"],
3946
+ # })
3947
+ #
3948
+ # @example Response structure
3949
+ #
3950
+ # resp.arn #=> String
3951
+ # resp.id #=> String
3952
+ # resp.ip_address_type #=> String, one of "IPV4", "IPV6"
3953
+ # resp.name #=> String
3954
+ # resp.security_group_ids #=> Array
3955
+ # resp.security_group_ids[0] #=> String
3956
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
3957
+ # resp.subnet_ids #=> Array
3958
+ # resp.subnet_ids[0] #=> String
3959
+ # resp.vpc_id #=> String
3960
+ #
3961
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/UpdateResourceGateway AWS API Documentation
3962
+ #
3963
+ # @overload update_resource_gateway(params = {})
3964
+ # @param [Hash] params ({})
3965
+ def update_resource_gateway(params = {}, options = {})
3966
+ req = build_request(:update_resource_gateway, params)
3967
+ req.send_request(options)
3968
+ end
3969
+
3970
+ # Updates a specified rule for the listener. You can't modify a default
3971
+ # listener rule. To modify a default listener rule, use
3972
+ # `UpdateListener`.
2960
3973
  #
2961
3974
  # @option params [Types::RuleAction] :action
2962
3975
  # Information about the action for the specified listener rule.
2963
3976
  #
2964
3977
  # @option params [required, String] :listener_identifier
2965
- # The ID or Amazon Resource Name (ARN) of the listener.
3978
+ # The ID or ARN of the listener.
2966
3979
  #
2967
3980
  # @option params [Types::RuleMatch] :match
2968
3981
  # The rule match.
@@ -2972,10 +3985,10 @@ module Aws::VPCLattice
2972
3985
  # priority.
2973
3986
  #
2974
3987
  # @option params [required, String] :rule_identifier
2975
- # The ID or Amazon Resource Name (ARN) of the rule.
3988
+ # The ID or ARN of the rule.
2976
3989
  #
2977
3990
  # @option params [required, String] :service_identifier
2978
- # The ID or Amazon Resource Name (ARN) of the service.
3991
+ # The ID or ARN of the service.
2979
3992
  #
2980
3993
  # @return [Types::UpdateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2981
3994
  #
@@ -3078,7 +4091,7 @@ module Aws::VPCLattice
3078
4091
  # The Amazon Resource Name (ARN) of the certificate.
3079
4092
  #
3080
4093
  # @option params [required, String] :service_identifier
3081
- # The ID or Amazon Resource Name (ARN) of the service.
4094
+ # The ID or ARN of the service.
3082
4095
  #
3083
4096
  # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3084
4097
  #
@@ -3127,7 +4140,7 @@ module Aws::VPCLattice
3127
4140
  # auth is enabled and an auth policy is required.
3128
4141
  #
3129
4142
  # @option params [required, String] :service_network_identifier
3130
- # The ID or Amazon Resource Name (ARN) of the service network.
4143
+ # The ID or ARN of the service network.
3131
4144
  #
3132
4145
  # @return [Types::UpdateServiceNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3133
4146
  #
@@ -3161,16 +4174,16 @@ module Aws::VPCLattice
3161
4174
 
3162
4175
  # Updates the service network and VPC association. If you add a security
3163
4176
  # group to the service network and VPC association, the association must
3164
- # continue to always have at least one security group. You can add or
3165
- # edit security groups at any time. However, to remove all security
3166
- # groups, you must first delete the association and recreate it without
4177
+ # continue to have at least one security group. You can add or edit
4178
+ # security groups at any time. However, to remove all security groups,
4179
+ # you must first delete the association and then recreate it without
3167
4180
  # security groups.
3168
4181
  #
3169
4182
  # @option params [required, Array<String>] :security_group_ids
3170
4183
  # The IDs of the security groups.
3171
4184
  #
3172
4185
  # @option params [required, String] :service_network_vpc_association_identifier
3173
- # The ID or Amazon Resource Name (ARN) of the association.
4186
+ # The ID or ARN of the association.
3174
4187
  #
3175
4188
  # @return [Types::UpdateServiceNetworkVpcAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3176
4189
  #
@@ -3211,7 +4224,7 @@ module Aws::VPCLattice
3211
4224
  # The health check configuration.
3212
4225
  #
3213
4226
  # @option params [required, String] :target_group_identifier
3214
- # The ID or Amazon Resource Name (ARN) of the target group.
4227
+ # The ID or ARN of the target group.
3215
4228
  #
3216
4229
  # @return [Types::UpdateTargetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3217
4230
  #
@@ -3293,7 +4306,7 @@ module Aws::VPCLattice
3293
4306
  tracer: tracer
3294
4307
  )
3295
4308
  context[:gem_name] = 'aws-sdk-vpclattice'
3296
- context[:gem_version] = '1.24.0'
4309
+ context[:gem_version] = '1.26.0'
3297
4310
  Seahorse::Client::Request.new(handlers, context)
3298
4311
  end
3299
4312