aws-sdk-vpclattice 1.23.0 → 1.33.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.
@@ -7,34 +7,34 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
- require 'seahorse/client/plugins/content_length.rb'
11
- require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
- require 'aws-sdk-core/plugins/logging.rb'
13
- require 'aws-sdk-core/plugins/param_converter.rb'
14
- require 'aws-sdk-core/plugins/param_validator.rb'
15
- require 'aws-sdk-core/plugins/user_agent.rb'
16
- require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
- require 'aws-sdk-core/plugins/retry_errors.rb'
18
- require 'aws-sdk-core/plugins/global_configuration.rb'
19
- require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
- require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
- require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
- require 'aws-sdk-core/plugins/response_paging.rb'
23
- require 'aws-sdk-core/plugins/stub_responses.rb'
24
- require 'aws-sdk-core/plugins/idempotency_token.rb'
25
- require 'aws-sdk-core/plugins/invocation_id.rb'
26
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
27
- require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
28
- require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
29
- require 'aws-sdk-core/plugins/transfer_encoding.rb'
30
- require 'aws-sdk-core/plugins/http_checksum.rb'
31
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
- require 'aws-sdk-core/plugins/request_compression.rb'
33
- require 'aws-sdk-core/plugins/defaults_mode.rb'
34
- require 'aws-sdk-core/plugins/recursion_detection.rb'
35
- require 'aws-sdk-core/plugins/telemetry.rb'
36
- require 'aws-sdk-core/plugins/sign.rb'
37
- require 'aws-sdk-core/plugins/protocols/rest_json.rb'
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/rest_json'
38
38
 
39
39
  module Aws::VPCLattice
40
40
  # An API client for VPCLattice. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -95,7 +95,7 @@ module Aws::VPCLattice
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
98
+ # Your AWS credentials used for authentication. This can be an instance of any one of the
99
99
  # following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
@@ -128,18 +128,23 @@ module Aws::VPCLattice
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
+ #
131
132
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
133
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
134
+ #
135
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
136
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
137
+ #
135
138
  # * `~/.aws/credentials`
139
+ #
136
140
  # * `~/.aws/config`
141
+ #
137
142
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
143
  # are very aggressive. Construct and pass an instance of
139
144
  # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
145
  # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
146
+ # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
+ # to `true`.
143
148
  #
144
149
  # @option options [required, String] :region
145
150
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +172,11 @@ module Aws::VPCLattice
167
172
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
173
  # not retry instead of sleeping.
169
174
  #
175
+ # @option options [Array<String>] :auth_scheme_preference
176
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
177
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
178
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
179
+ #
170
180
  # @option options [Boolean] :client_side_monitoring (false)
171
181
  # When `true`, client-side metrics will be collected for all API requests from
172
182
  # this client.
@@ -200,8 +210,7 @@ module Aws::VPCLattice
200
210
  # accepted modes and the configuration defaults that are included.
201
211
  #
202
212
  # @option options [Boolean] :disable_host_prefix_injection (false)
203
- # Set to true to disable SDK automatically adding host prefix
204
- # to default service endpoint when available.
213
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
205
214
  #
206
215
  # @option options [Boolean] :disable_request_compression (false)
207
216
  # When set to 'true' the request body will not be compressed
@@ -254,14 +263,37 @@ module Aws::VPCLattice
254
263
  # 4 times. Used in `standard` and `adaptive` retry modes.
255
264
  #
256
265
  # @option options [String] :profile ("default")
257
- # Used when loading credentials from the shared credentials file
258
- # at HOME/.aws/credentials. When not specified, 'default' is used.
266
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
267
+ # When not specified, 'default' is used.
268
+ #
269
+ # @option options [String] :request_checksum_calculation ("when_supported")
270
+ # Determines when a checksum will be calculated for request payloads. Values are:
271
+ #
272
+ # * `when_supported` - (default) When set, a checksum will be
273
+ # calculated for all request payloads of operations modeled with the
274
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
275
+ # `requestAlgorithmMember` is modeled.
276
+ # * `when_required` - When set, a checksum will only be calculated for
277
+ # request payloads of operations modeled with the `httpChecksum` trait where
278
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
279
+ # is modeled and supplied.
259
280
  #
260
281
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
282
  # The minimum size in bytes that triggers compression for request
262
283
  # bodies. The value must be non-negative integer value between 0
263
284
  # and 10485780 bytes inclusive.
264
285
  #
286
+ # @option options [String] :response_checksum_validation ("when_supported")
287
+ # Determines when checksum validation will be performed on response payloads. Values are:
288
+ #
289
+ # * `when_supported` - (default) When set, checksum validation is performed on all
290
+ # response payloads of operations modeled with the `httpChecksum` trait where
291
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
292
+ # are supported.
293
+ # * `when_required` - When set, checksum validation is not performed on
294
+ # response payloads of operations unless the checksum algorithm is supported and
295
+ # the `requestValidationModeMember` member is set to `ENABLED`.
296
+ #
265
297
  # @option options [Proc] :retry_backoff
266
298
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
299
  # This option is only used in the `legacy` retry mode.
@@ -345,7 +377,7 @@ module Aws::VPCLattice
345
377
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
346
378
  #
347
379
  # @option options [Aws::TokenProvider] :token_provider
348
- # A Bearer Token Provider. This can be an instance of any one of the
380
+ # Your Bearer token used for authentication. This can be an instance of any one of the
349
381
  # following classes:
350
382
  #
351
383
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
@@ -461,13 +493,13 @@ module Aws::VPCLattice
461
493
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/security_iam_service-with-iam.html
462
494
  #
463
495
  # @option params [required, String] :listener_identifier
464
- # The ID or Amazon Resource Name (ARN) of the listener.
496
+ # The ID or ARN of the listener.
465
497
  #
466
498
  # @option params [required, Array<Types::RuleUpdate>] :rules
467
499
  # The rules for the specified listener.
468
500
  #
469
501
  # @option params [required, String] :service_identifier
470
- # The ID or Amazon Resource Name (ARN) of the service.
502
+ # The ID or ARN of the service.
471
503
  #
472
504
  # @return [Types::BatchUpdateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
473
505
  #
@@ -588,8 +620,11 @@ module Aws::VPCLattice
588
620
  # delivery streams, and Amazon S3 buckets.
589
621
  #
590
622
  # @option params [required, String] :resource_identifier
591
- # The ID or Amazon Resource Name (ARN) of the service network or
592
- # service.
623
+ # The ID or ARN of the service network or service.
624
+ #
625
+ # @option params [String] :service_network_log_type
626
+ # The type of log that monitors your Amazon VPC Lattice service
627
+ # networks.
593
628
  #
594
629
  # @option params [Hash<String,String>] :tags
595
630
  # The tags for the access log subscription.
@@ -601,6 +636,7 @@ module Aws::VPCLattice
601
636
  # * {Types::CreateAccessLogSubscriptionResponse#id #id} => String
602
637
  # * {Types::CreateAccessLogSubscriptionResponse#resource_arn #resource_arn} => String
603
638
  # * {Types::CreateAccessLogSubscriptionResponse#resource_id #resource_id} => String
639
+ # * {Types::CreateAccessLogSubscriptionResponse#service_network_log_type #service_network_log_type} => String
604
640
  #
605
641
  # @example Request syntax with placeholder values
606
642
  #
@@ -608,6 +644,7 @@ module Aws::VPCLattice
608
644
  # client_token: "ClientToken",
609
645
  # destination_arn: "AccessLogDestinationArn", # required
610
646
  # resource_identifier: "ResourceIdentifier", # required
647
+ # service_network_log_type: "SERVICE", # accepts SERVICE, RESOURCE
611
648
  # tags: {
612
649
  # "TagKey" => "TagValue",
613
650
  # },
@@ -620,6 +657,7 @@ module Aws::VPCLattice
620
657
  # resp.id #=> String
621
658
  # resp.resource_arn #=> String
622
659
  # resp.resource_id #=> String
660
+ # resp.service_network_log_type #=> String, one of "SERVICE", "RESOURCE"
623
661
  #
624
662
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateAccessLogSubscription AWS API Documentation
625
663
  #
@@ -668,7 +706,7 @@ module Aws::VPCLattice
668
706
  # The listener protocol.
669
707
  #
670
708
  # @option params [required, String] :service_identifier
671
- # The ID or Amazon Resource Name (ARN) of the service.
709
+ # The ID or ARN of the service.
672
710
  #
673
711
  # @option params [Hash<String,String>] :tags
674
712
  # The tags for the listener.
@@ -733,6 +771,219 @@ module Aws::VPCLattice
733
771
  req.send_request(options)
734
772
  end
735
773
 
774
+ # Creates a resource configuration. A resource configuration defines a
775
+ # specific resource. You can associate a resource configuration with a
776
+ # service network or a VPC endpoint.
777
+ #
778
+ # @option params [Boolean] :allow_association_to_shareable_service_network
779
+ # (SINGLE, GROUP, ARN) Specifies whether the resource configuration can
780
+ # be associated with a sharable service network. The default is false.
781
+ #
782
+ # @option params [String] :client_token
783
+ # A unique, case-sensitive identifier that you provide to ensure the
784
+ # idempotency of the request. If you retry a request that completed
785
+ # successfully using the same client token and parameters, the retry
786
+ # succeeds without performing any actions. If the parameters aren't
787
+ # identical, the retry fails.
788
+ #
789
+ # **A suitable default value is auto-generated.** You should normally
790
+ # not need to pass this option.**
791
+ #
792
+ # @option params [required, String] :name
793
+ # The name of the resource configuration. The name must be unique within
794
+ # the account. The valid characters are a-z, 0-9, and hyphens (-). You
795
+ # can't use a hyphen as the first or last character, or immediately
796
+ # after another hyphen.
797
+ #
798
+ # @option params [Array<String>] :port_ranges
799
+ # (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to
800
+ # access a resource configuration (for example: 1-65535). You can
801
+ # separate port ranges using commas (for example: 1,2,22-30).
802
+ #
803
+ # @option params [String] :protocol
804
+ # (SINGLE, GROUP) The protocol accepted by the resource configuration.
805
+ #
806
+ # @option params [Types::ResourceConfigurationDefinition] :resource_configuration_definition
807
+ # (SINGLE, CHILD, ARN) The resource configuration.
808
+ #
809
+ # @option params [String] :resource_configuration_group_identifier
810
+ # (CHILD) The ID or ARN of the parent resource configuration (type is
811
+ # `GROUP`). This is used to associate a child resource configuration
812
+ # with a group resource configuration.
813
+ #
814
+ # @option params [String] :resource_gateway_identifier
815
+ # (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to
816
+ # connect to the resource configuration. For a child resource
817
+ # configuration, this value is inherited from the parent resource
818
+ # configuration.
819
+ #
820
+ # @option params [Hash<String,String>] :tags
821
+ # The tags for the resource configuration.
822
+ #
823
+ # @option params [required, String] :type
824
+ # The type of resource configuration.
825
+ #
826
+ # * `SINGLE` - A single resource.
827
+ #
828
+ # * `GROUP` - A group of resources. You must create a group resource
829
+ # configuration before you create a child resource configuration.
830
+ #
831
+ # * `CHILD` - A single resource that is part of a group resource
832
+ # configuration.
833
+ #
834
+ # * `ARN` - An Amazon Web Services resource.
835
+ #
836
+ # @return [Types::CreateResourceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
837
+ #
838
+ # * {Types::CreateResourceConfigurationResponse#allow_association_to_shareable_service_network #allow_association_to_shareable_service_network} => Boolean
839
+ # * {Types::CreateResourceConfigurationResponse#arn #arn} => String
840
+ # * {Types::CreateResourceConfigurationResponse#created_at #created_at} => Time
841
+ # * {Types::CreateResourceConfigurationResponse#failure_reason #failure_reason} => String
842
+ # * {Types::CreateResourceConfigurationResponse#id #id} => String
843
+ # * {Types::CreateResourceConfigurationResponse#name #name} => String
844
+ # * {Types::CreateResourceConfigurationResponse#port_ranges #port_ranges} => Array&lt;String&gt;
845
+ # * {Types::CreateResourceConfigurationResponse#protocol #protocol} => String
846
+ # * {Types::CreateResourceConfigurationResponse#resource_configuration_definition #resource_configuration_definition} => Types::ResourceConfigurationDefinition
847
+ # * {Types::CreateResourceConfigurationResponse#resource_configuration_group_id #resource_configuration_group_id} => String
848
+ # * {Types::CreateResourceConfigurationResponse#resource_gateway_id #resource_gateway_id} => String
849
+ # * {Types::CreateResourceConfigurationResponse#status #status} => String
850
+ # * {Types::CreateResourceConfigurationResponse#type #type} => String
851
+ #
852
+ # @example Request syntax with placeholder values
853
+ #
854
+ # resp = client.create_resource_configuration({
855
+ # allow_association_to_shareable_service_network: false,
856
+ # client_token: "ClientToken",
857
+ # name: "ResourceConfigurationName", # required
858
+ # port_ranges: ["PortRange"],
859
+ # protocol: "TCP", # accepts TCP
860
+ # resource_configuration_definition: {
861
+ # arn_resource: {
862
+ # arn: "WildcardArn",
863
+ # },
864
+ # dns_resource: {
865
+ # domain_name: "DomainName",
866
+ # ip_address_type: "IPV4", # accepts IPV4, IPV6, DUALSTACK
867
+ # },
868
+ # ip_resource: {
869
+ # ip_address: "IpAddress",
870
+ # },
871
+ # },
872
+ # resource_configuration_group_identifier: "ResourceConfigurationIdentifier",
873
+ # resource_gateway_identifier: "ResourceGatewayIdentifier",
874
+ # tags: {
875
+ # "TagKey" => "TagValue",
876
+ # },
877
+ # type: "GROUP", # required, accepts GROUP, CHILD, SINGLE, ARN
878
+ # })
879
+ #
880
+ # @example Response structure
881
+ #
882
+ # resp.allow_association_to_shareable_service_network #=> Boolean
883
+ # resp.arn #=> String
884
+ # resp.created_at #=> Time
885
+ # resp.failure_reason #=> String
886
+ # resp.id #=> String
887
+ # resp.name #=> String
888
+ # resp.port_ranges #=> Array
889
+ # resp.port_ranges[0] #=> String
890
+ # resp.protocol #=> String, one of "TCP"
891
+ # resp.resource_configuration_definition.arn_resource.arn #=> String
892
+ # resp.resource_configuration_definition.dns_resource.domain_name #=> String
893
+ # resp.resource_configuration_definition.dns_resource.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
894
+ # resp.resource_configuration_definition.ip_resource.ip_address #=> String
895
+ # resp.resource_configuration_group_id #=> String
896
+ # resp.resource_gateway_id #=> String
897
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
898
+ # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
899
+ #
900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateResourceConfiguration AWS API Documentation
901
+ #
902
+ # @overload create_resource_configuration(params = {})
903
+ # @param [Hash] params ({})
904
+ def create_resource_configuration(params = {}, options = {})
905
+ req = build_request(:create_resource_configuration, params)
906
+ req.send_request(options)
907
+ end
908
+
909
+ # Creates a resource gateway.
910
+ #
911
+ # @option params [String] :client_token
912
+ # A unique, case-sensitive identifier that you provide to ensure the
913
+ # idempotency of the request. If you retry a request that completed
914
+ # successfully using the same client token and parameters, the retry
915
+ # succeeds without performing any actions. If the parameters aren't
916
+ # identical, the retry fails.
917
+ #
918
+ # **A suitable default value is auto-generated.** You should normally
919
+ # not need to pass this option.**
920
+ #
921
+ # @option params [String] :ip_address_type
922
+ # The type of IP address used by the resource gateway.
923
+ #
924
+ # @option params [required, String] :name
925
+ # The name of the resource gateway.
926
+ #
927
+ # @option params [Array<String>] :security_group_ids
928
+ # The IDs of the security groups to apply to the resource gateway. The
929
+ # security groups must be in the same VPC.
930
+ #
931
+ # @option params [required, Array<String>] :subnet_ids
932
+ # The IDs of the VPC subnets in which to create the resource gateway.
933
+ #
934
+ # @option params [Hash<String,String>] :tags
935
+ # The tags for the resource gateway.
936
+ #
937
+ # @option params [required, String] :vpc_identifier
938
+ # The ID of the VPC for the resource gateway.
939
+ #
940
+ # @return [Types::CreateResourceGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
941
+ #
942
+ # * {Types::CreateResourceGatewayResponse#arn #arn} => String
943
+ # * {Types::CreateResourceGatewayResponse#id #id} => String
944
+ # * {Types::CreateResourceGatewayResponse#ip_address_type #ip_address_type} => String
945
+ # * {Types::CreateResourceGatewayResponse#name #name} => String
946
+ # * {Types::CreateResourceGatewayResponse#security_group_ids #security_group_ids} => Array&lt;String&gt;
947
+ # * {Types::CreateResourceGatewayResponse#status #status} => String
948
+ # * {Types::CreateResourceGatewayResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
949
+ # * {Types::CreateResourceGatewayResponse#vpc_identifier #vpc_identifier} => String
950
+ #
951
+ # @example Request syntax with placeholder values
952
+ #
953
+ # resp = client.create_resource_gateway({
954
+ # client_token: "ClientToken",
955
+ # ip_address_type: "IPV4", # accepts IPV4, IPV6, DUALSTACK
956
+ # name: "ResourceGatewayName", # required
957
+ # security_group_ids: ["SecurityGroupId"],
958
+ # subnet_ids: ["SubnetId"], # required
959
+ # tags: {
960
+ # "TagKey" => "TagValue",
961
+ # },
962
+ # vpc_identifier: "VpcId", # required
963
+ # })
964
+ #
965
+ # @example Response structure
966
+ #
967
+ # resp.arn #=> String
968
+ # resp.id #=> String
969
+ # resp.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
970
+ # resp.name #=> String
971
+ # resp.security_group_ids #=> Array
972
+ # resp.security_group_ids[0] #=> String
973
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
974
+ # resp.subnet_ids #=> Array
975
+ # resp.subnet_ids[0] #=> String
976
+ # resp.vpc_identifier #=> String
977
+ #
978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateResourceGateway AWS API Documentation
979
+ #
980
+ # @overload create_resource_gateway(params = {})
981
+ # @param [Hash] params ({})
982
+ def create_resource_gateway(params = {}, options = {})
983
+ req = build_request(:create_resource_gateway, params)
984
+ req.send_request(options)
985
+ end
986
+
736
987
  # Creates a listener rule. Each listener has a default rule for checking
737
988
  # connection requests, but you can define additional rules. Each rule
738
989
  # consists of a priority, one or more actions, and one or more
@@ -757,7 +1008,7 @@ module Aws::VPCLattice
757
1008
  # not need to pass this option.**
758
1009
  #
759
1010
  # @option params [required, String] :listener_identifier
760
- # The ID or Amazon Resource Name (ARN) of the listener.
1011
+ # The ID or ARN of the listener.
761
1012
  #
762
1013
  # @option params [required, Types::RuleMatch] :match
763
1014
  # The rule match.
@@ -774,7 +1025,7 @@ module Aws::VPCLattice
774
1025
  # the priority.
775
1026
  #
776
1027
  # @option params [required, String] :service_identifier
777
- # The ID or Amazon Resource Name (ARN) of the service.
1028
+ # The ID or ARN of the service.
778
1029
  #
779
1030
  # @option params [Hash<String,String>] :tags
780
1031
  # The tags for the rule.
@@ -993,6 +1244,9 @@ module Aws::VPCLattice
993
1244
  # can't use a hyphen as the first or last character, or immediately
994
1245
  # after another hyphen.
995
1246
  #
1247
+ # @option params [Types::SharingConfig] :sharing_config
1248
+ # Specify if the service network should be enabled for sharing.
1249
+ #
996
1250
  # @option params [Hash<String,String>] :tags
997
1251
  # The tags for the service network.
998
1252
  #
@@ -1002,6 +1256,7 @@ module Aws::VPCLattice
1002
1256
  # * {Types::CreateServiceNetworkResponse#auth_type #auth_type} => String
1003
1257
  # * {Types::CreateServiceNetworkResponse#id #id} => String
1004
1258
  # * {Types::CreateServiceNetworkResponse#name #name} => String
1259
+ # * {Types::CreateServiceNetworkResponse#sharing_config #sharing_config} => Types::SharingConfig
1005
1260
  #
1006
1261
  # @example Request syntax with placeholder values
1007
1262
  #
@@ -1009,6 +1264,9 @@ module Aws::VPCLattice
1009
1264
  # auth_type: "NONE", # accepts NONE, AWS_IAM
1010
1265
  # client_token: "ClientToken",
1011
1266
  # name: "ServiceNetworkName", # required
1267
+ # sharing_config: {
1268
+ # enabled: false,
1269
+ # },
1012
1270
  # tags: {
1013
1271
  # "TagKey" => "TagValue",
1014
1272
  # },
@@ -1020,6 +1278,7 @@ module Aws::VPCLattice
1020
1278
  # resp.auth_type #=> String, one of "NONE", "AWS_IAM"
1021
1279
  # resp.id #=> String
1022
1280
  # resp.name #=> String
1281
+ # resp.sharing_config.enabled #=> Boolean
1023
1282
  #
1024
1283
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateServiceNetwork AWS API Documentation
1025
1284
  #
@@ -1030,9 +1289,69 @@ module Aws::VPCLattice
1030
1289
  req.send_request(options)
1031
1290
  end
1032
1291
 
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*.
1292
+ # Associates the specified service network with the specified resource
1293
+ # configuration. This allows the resource configuration to receive
1294
+ # connections through the service network, including through a service
1295
+ # network VPC endpoint.
1296
+ #
1297
+ # @option params [String] :client_token
1298
+ # A unique, case-sensitive identifier that you provide to ensure the
1299
+ # idempotency of the request. If you retry a request that completed
1300
+ # successfully using the same client token and parameters, the retry
1301
+ # succeeds without performing any actions. If the parameters aren't
1302
+ # identical, the retry fails.
1303
+ #
1304
+ # **A suitable default value is auto-generated.** You should normally
1305
+ # not need to pass this option.**
1306
+ #
1307
+ # @option params [required, String] :resource_configuration_identifier
1308
+ # The ID of the resource configuration to associate with the service
1309
+ # network.
1310
+ #
1311
+ # @option params [required, String] :service_network_identifier
1312
+ # The ID of the service network to associate with the resource
1313
+ # configuration.
1314
+ #
1315
+ # @option params [Hash<String,String>] :tags
1316
+ # The tags for the association.
1317
+ #
1318
+ # @return [Types::CreateServiceNetworkResourceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1319
+ #
1320
+ # * {Types::CreateServiceNetworkResourceAssociationResponse#arn #arn} => String
1321
+ # * {Types::CreateServiceNetworkResourceAssociationResponse#created_by #created_by} => String
1322
+ # * {Types::CreateServiceNetworkResourceAssociationResponse#id #id} => String
1323
+ # * {Types::CreateServiceNetworkResourceAssociationResponse#status #status} => String
1324
+ #
1325
+ # @example Request syntax with placeholder values
1326
+ #
1327
+ # resp = client.create_service_network_resource_association({
1328
+ # client_token: "ClientToken",
1329
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
1330
+ # service_network_identifier: "ServiceNetworkIdentifierWithoutRegex", # required
1331
+ # tags: {
1332
+ # "TagKey" => "TagValue",
1333
+ # },
1334
+ # })
1335
+ #
1336
+ # @example Response structure
1337
+ #
1338
+ # resp.arn #=> String
1339
+ # resp.created_by #=> String
1340
+ # resp.id #=> String
1341
+ # resp.status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "PARTIAL", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
1342
+ #
1343
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CreateServiceNetworkResourceAssociation AWS API Documentation
1344
+ #
1345
+ # @overload create_service_network_resource_association(params = {})
1346
+ # @param [Hash] params ({})
1347
+ def create_service_network_resource_association(params = {}, options = {})
1348
+ req = build_request(:create_service_network_resource_association, params)
1349
+ req.send_request(options)
1350
+ end
1351
+
1352
+ # Associates the specified service with the specified service network.
1353
+ # For more information, see [Manage service associations][1] in the
1354
+ # *Amazon VPC Lattice User Guide*.
1036
1355
  #
1037
1356
  # You can't use this operation if the service and service network are
1038
1357
  # already associated or if there is a disassociation or deletion in
@@ -1061,12 +1380,11 @@ module Aws::VPCLattice
1061
1380
  # not need to pass this option.**
1062
1381
  #
1063
1382
  # @option params [required, String] :service_identifier
1064
- # The ID or Amazon Resource Name (ARN) of the service.
1383
+ # The ID or ARN of the service.
1065
1384
  #
1066
1385
  # @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.
1386
+ # The ID or ARN of the service network. You must use an ARN if the
1387
+ # resources are in different accounts.
1070
1388
  #
1071
1389
  # @option params [Hash<String,String>] :tags
1072
1390
  # The tags for the association.
@@ -1155,9 +1473,8 @@ module Aws::VPCLattice
1155
1473
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
1156
1474
  #
1157
1475
  # @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.
1476
+ # The ID or ARN of the service network. You must use an ARN if the
1477
+ # resources are in different accounts.
1161
1478
  #
1162
1479
  # @option params [Hash<String,String>] :tags
1163
1480
  # The tags for the association.
@@ -1317,7 +1634,7 @@ module Aws::VPCLattice
1317
1634
  # Deletes the specified access log subscription.
1318
1635
  #
1319
1636
  # @option params [required, String] :access_log_subscription_identifier
1320
- # The ID or Amazon Resource Name (ARN) of the access log subscription.
1637
+ # The ID or ARN of the access log subscription.
1321
1638
  #
1322
1639
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1323
1640
  #
@@ -1343,7 +1660,7 @@ module Aws::VPCLattice
1343
1660
  # all requests are denied.
1344
1661
  #
1345
1662
  # @option params [required, String] :resource_identifier
1346
- # The ID or Amazon Resource Name (ARN) of the resource.
1663
+ # The ID or ARN of the resource.
1347
1664
  #
1348
1665
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1349
1666
  #
@@ -1365,10 +1682,10 @@ module Aws::VPCLattice
1365
1682
  # Deletes the specified listener.
1366
1683
  #
1367
1684
  # @option params [required, String] :listener_identifier
1368
- # The ID or Amazon Resource Name (ARN) of the listener.
1685
+ # The ID or ARN of the listener.
1369
1686
  #
1370
1687
  # @option params [required, String] :service_identifier
1371
- # The ID or Amazon Resource Name (ARN) of the service.
1688
+ # The ID or ARN of the service.
1372
1689
  #
1373
1690
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1374
1691
  #
@@ -1388,6 +1705,99 @@ module Aws::VPCLattice
1388
1705
  req.send_request(options)
1389
1706
  end
1390
1707
 
1708
+ # Deletes the specified resource configuration.
1709
+ #
1710
+ # @option params [required, String] :resource_configuration_identifier
1711
+ # The ID or ARN of the resource configuration.
1712
+ #
1713
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1714
+ #
1715
+ # @example Request syntax with placeholder values
1716
+ #
1717
+ # resp = client.delete_resource_configuration({
1718
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
1719
+ # })
1720
+ #
1721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/DeleteResourceConfiguration AWS API Documentation
1722
+ #
1723
+ # @overload delete_resource_configuration(params = {})
1724
+ # @param [Hash] params ({})
1725
+ def delete_resource_configuration(params = {}, options = {})
1726
+ req = build_request(:delete_resource_configuration, params)
1727
+ req.send_request(options)
1728
+ end
1729
+
1730
+ # Disassociates the resource configuration from the resource VPC
1731
+ # endpoint.
1732
+ #
1733
+ # @option params [required, String] :resource_endpoint_association_identifier
1734
+ # The ID or ARN of the association.
1735
+ #
1736
+ # @return [Types::DeleteResourceEndpointAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1737
+ #
1738
+ # * {Types::DeleteResourceEndpointAssociationResponse#arn #arn} => String
1739
+ # * {Types::DeleteResourceEndpointAssociationResponse#id #id} => String
1740
+ # * {Types::DeleteResourceEndpointAssociationResponse#resource_configuration_arn #resource_configuration_arn} => String
1741
+ # * {Types::DeleteResourceEndpointAssociationResponse#resource_configuration_id #resource_configuration_id} => String
1742
+ # * {Types::DeleteResourceEndpointAssociationResponse#vpc_endpoint_id #vpc_endpoint_id} => String
1743
+ #
1744
+ # @example Request syntax with placeholder values
1745
+ #
1746
+ # resp = client.delete_resource_endpoint_association({
1747
+ # resource_endpoint_association_identifier: "ResourceEndpointAssociationIdentifier", # required
1748
+ # })
1749
+ #
1750
+ # @example Response structure
1751
+ #
1752
+ # resp.arn #=> String
1753
+ # resp.id #=> String
1754
+ # resp.resource_configuration_arn #=> String
1755
+ # resp.resource_configuration_id #=> String
1756
+ # resp.vpc_endpoint_id #=> String
1757
+ #
1758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/DeleteResourceEndpointAssociation AWS API Documentation
1759
+ #
1760
+ # @overload delete_resource_endpoint_association(params = {})
1761
+ # @param [Hash] params ({})
1762
+ def delete_resource_endpoint_association(params = {}, options = {})
1763
+ req = build_request(:delete_resource_endpoint_association, params)
1764
+ req.send_request(options)
1765
+ end
1766
+
1767
+ # Deletes the specified resource gateway.
1768
+ #
1769
+ # @option params [required, String] :resource_gateway_identifier
1770
+ # The ID or ARN of the resource gateway.
1771
+ #
1772
+ # @return [Types::DeleteResourceGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1773
+ #
1774
+ # * {Types::DeleteResourceGatewayResponse#arn #arn} => String
1775
+ # * {Types::DeleteResourceGatewayResponse#id #id} => String
1776
+ # * {Types::DeleteResourceGatewayResponse#name #name} => String
1777
+ # * {Types::DeleteResourceGatewayResponse#status #status} => String
1778
+ #
1779
+ # @example Request syntax with placeholder values
1780
+ #
1781
+ # resp = client.delete_resource_gateway({
1782
+ # resource_gateway_identifier: "ResourceGatewayIdentifier", # required
1783
+ # })
1784
+ #
1785
+ # @example Response structure
1786
+ #
1787
+ # resp.arn #=> String
1788
+ # resp.id #=> String
1789
+ # resp.name #=> String
1790
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
1791
+ #
1792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/DeleteResourceGateway AWS API Documentation
1793
+ #
1794
+ # @overload delete_resource_gateway(params = {})
1795
+ # @param [Hash] params ({})
1796
+ def delete_resource_gateway(params = {}, options = {})
1797
+ req = build_request(:delete_resource_gateway, params)
1798
+ req.send_request(options)
1799
+ end
1800
+
1391
1801
  # Deletes the specified resource policy.
1392
1802
  #
1393
1803
  # @option params [required, String] :resource_arn
@@ -1424,13 +1834,13 @@ module Aws::VPCLattice
1424
1834
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules
1425
1835
  #
1426
1836
  # @option params [required, String] :listener_identifier
1427
- # The ID or Amazon Resource Name (ARN) of the listener.
1837
+ # The ID or ARN of the listener.
1428
1838
  #
1429
1839
  # @option params [required, String] :rule_identifier
1430
- # The ID or Amazon Resource Name (ARN) of the rule.
1840
+ # The ID or ARN of the rule.
1431
1841
  #
1432
1842
  # @option params [required, String] :service_identifier
1433
- # The ID or Amazon Resource Name (ARN) of the service.
1843
+ # The ID or ARN of the service.
1434
1844
  #
1435
1845
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1436
1846
  #
@@ -1463,7 +1873,7 @@ module Aws::VPCLattice
1463
1873
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/services.html#delete-service
1464
1874
  #
1465
1875
  # @option params [required, String] :service_identifier
1466
- # The ID or Amazon Resource Name (ARN) of the service.
1876
+ # The ID or ARN of the service.
1467
1877
  #
1468
1878
  # @return [Types::DeleteServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1469
1879
  #
@@ -1506,7 +1916,7 @@ module Aws::VPCLattice
1506
1916
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#delete-service-network
1507
1917
  #
1508
1918
  # @option params [required, String] :service_network_identifier
1509
- # The Amazon Resource Name (ARN) or ID of the service network.
1919
+ # The ID or ARN of the service network.
1510
1920
  #
1511
1921
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1512
1922
  #
@@ -1525,12 +1935,44 @@ module Aws::VPCLattice
1525
1935
  req.send_request(options)
1526
1936
  end
1527
1937
 
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.
1938
+ # Deletes the association between a service network and a resource
1939
+ # configuration.
1940
+ #
1941
+ # @option params [required, String] :service_network_resource_association_identifier
1942
+ # The ID of the association.
1943
+ #
1944
+ # @return [Types::DeleteServiceNetworkResourceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1945
+ #
1946
+ # * {Types::DeleteServiceNetworkResourceAssociationResponse#arn #arn} => String
1947
+ # * {Types::DeleteServiceNetworkResourceAssociationResponse#id #id} => String
1948
+ # * {Types::DeleteServiceNetworkResourceAssociationResponse#status #status} => String
1949
+ #
1950
+ # @example Request syntax with placeholder values
1951
+ #
1952
+ # resp = client.delete_service_network_resource_association({
1953
+ # service_network_resource_association_identifier: "ServiceNetworkResourceAssociationIdentifier", # required
1954
+ # })
1955
+ #
1956
+ # @example Response structure
1957
+ #
1958
+ # resp.arn #=> String
1959
+ # resp.id #=> String
1960
+ # resp.status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "PARTIAL", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
1961
+ #
1962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/DeleteServiceNetworkResourceAssociation AWS API Documentation
1963
+ #
1964
+ # @overload delete_service_network_resource_association(params = {})
1965
+ # @param [Hash] params ({})
1966
+ def delete_service_network_resource_association(params = {}, options = {})
1967
+ req = build_request(:delete_service_network_resource_association, params)
1968
+ req.send_request(options)
1969
+ end
1970
+
1971
+ # Deletes the association between a service and a service network. This
1972
+ # operation fails if an association is still in progress.
1531
1973
  #
1532
1974
  # @option params [required, String] :service_network_service_association_identifier
1533
- # The ID or Amazon Resource Name (ARN) of the association.
1975
+ # The ID or ARN of the association.
1534
1976
  #
1535
1977
  # @return [Types::DeleteServiceNetworkServiceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1536
1978
  #
@@ -1564,7 +2006,7 @@ module Aws::VPCLattice
1564
2006
  # progress.
1565
2007
  #
1566
2008
  # @option params [required, String] :service_network_vpc_association_identifier
1567
- # The ID or Amazon Resource Name (ARN) of the association.
2009
+ # The ID or ARN of the association.
1568
2010
  #
1569
2011
  # @return [Types::DeleteServiceNetworkVpcAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1570
2012
  #
@@ -1597,7 +2039,7 @@ module Aws::VPCLattice
1597
2039
  # in a listener rule or if the target group creation is in progress.
1598
2040
  #
1599
2041
  # @option params [required, String] :target_group_identifier
1600
- # The ID or Amazon Resource Name (ARN) of the target group.
2042
+ # The ID or ARN of the target group.
1601
2043
  #
1602
2044
  # @return [Types::DeleteTargetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1603
2045
  #
@@ -1629,7 +2071,7 @@ module Aws::VPCLattice
1629
2071
  # Deregisters the specified targets from the specified target group.
1630
2072
  #
1631
2073
  # @option params [required, String] :target_group_identifier
1632
- # The ID or Amazon Resource Name (ARN) of the target group.
2074
+ # The ID or ARN of the target group.
1633
2075
  #
1634
2076
  # @option params [required, Array<Types::Target>] :targets
1635
2077
  # The targets to deregister.
@@ -1674,7 +2116,7 @@ module Aws::VPCLattice
1674
2116
  # Retrieves information about the specified access log subscription.
1675
2117
  #
1676
2118
  # @option params [required, String] :access_log_subscription_identifier
1677
- # The ID or Amazon Resource Name (ARN) of the access log subscription.
2119
+ # The ID or ARN of the access log subscription.
1678
2120
  #
1679
2121
  # @return [Types::GetAccessLogSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1680
2122
  #
@@ -1685,6 +2127,7 @@ module Aws::VPCLattice
1685
2127
  # * {Types::GetAccessLogSubscriptionResponse#last_updated_at #last_updated_at} => Time
1686
2128
  # * {Types::GetAccessLogSubscriptionResponse#resource_arn #resource_arn} => String
1687
2129
  # * {Types::GetAccessLogSubscriptionResponse#resource_id #resource_id} => String
2130
+ # * {Types::GetAccessLogSubscriptionResponse#service_network_log_type #service_network_log_type} => String
1688
2131
  #
1689
2132
  # @example Request syntax with placeholder values
1690
2133
  #
@@ -1701,6 +2144,7 @@ module Aws::VPCLattice
1701
2144
  # resp.last_updated_at #=> Time
1702
2145
  # resp.resource_arn #=> String
1703
2146
  # resp.resource_id #=> String
2147
+ # resp.service_network_log_type #=> String, one of "SERVICE", "RESOURCE"
1704
2148
  #
1705
2149
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetAccessLogSubscription AWS API Documentation
1706
2150
  #
@@ -1715,8 +2159,7 @@ module Aws::VPCLattice
1715
2159
  # or service network.
1716
2160
  #
1717
2161
  # @option params [required, String] :resource_identifier
1718
- # The ID or Amazon Resource Name (ARN) of the service network or
1719
- # service.
2162
+ # The ID or ARN of the service network or service.
1720
2163
  #
1721
2164
  # @return [Types::GetAuthPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1722
2165
  #
@@ -1751,10 +2194,10 @@ module Aws::VPCLattice
1751
2194
  # service.
1752
2195
  #
1753
2196
  # @option params [required, String] :listener_identifier
1754
- # The ID or Amazon Resource Name (ARN) of the listener.
2197
+ # The ID or ARN of the listener.
1755
2198
  #
1756
2199
  # @option params [required, String] :service_identifier
1757
- # The ID or Amazon Resource Name (ARN) of the service.
2200
+ # The ID or ARN of the service.
1758
2201
  #
1759
2202
  # @return [Types::GetListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1760
2203
  #
@@ -1801,9 +2244,119 @@ module Aws::VPCLattice
1801
2244
  req.send_request(options)
1802
2245
  end
1803
2246
 
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.
2247
+ # Retrieves information about the specified resource configuration.
2248
+ #
2249
+ # @option params [required, String] :resource_configuration_identifier
2250
+ # The ID of the resource configuration.
2251
+ #
2252
+ # @return [Types::GetResourceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2253
+ #
2254
+ # * {Types::GetResourceConfigurationResponse#allow_association_to_shareable_service_network #allow_association_to_shareable_service_network} => Boolean
2255
+ # * {Types::GetResourceConfigurationResponse#amazon_managed #amazon_managed} => Boolean
2256
+ # * {Types::GetResourceConfigurationResponse#arn #arn} => String
2257
+ # * {Types::GetResourceConfigurationResponse#created_at #created_at} => Time
2258
+ # * {Types::GetResourceConfigurationResponse#custom_domain_name #custom_domain_name} => String
2259
+ # * {Types::GetResourceConfigurationResponse#failure_reason #failure_reason} => String
2260
+ # * {Types::GetResourceConfigurationResponse#id #id} => String
2261
+ # * {Types::GetResourceConfigurationResponse#last_updated_at #last_updated_at} => Time
2262
+ # * {Types::GetResourceConfigurationResponse#name #name} => String
2263
+ # * {Types::GetResourceConfigurationResponse#port_ranges #port_ranges} => Array&lt;String&gt;
2264
+ # * {Types::GetResourceConfigurationResponse#protocol #protocol} => String
2265
+ # * {Types::GetResourceConfigurationResponse#resource_configuration_definition #resource_configuration_definition} => Types::ResourceConfigurationDefinition
2266
+ # * {Types::GetResourceConfigurationResponse#resource_configuration_group_id #resource_configuration_group_id} => String
2267
+ # * {Types::GetResourceConfigurationResponse#resource_gateway_id #resource_gateway_id} => String
2268
+ # * {Types::GetResourceConfigurationResponse#status #status} => String
2269
+ # * {Types::GetResourceConfigurationResponse#type #type} => String
2270
+ #
2271
+ # @example Request syntax with placeholder values
2272
+ #
2273
+ # resp = client.get_resource_configuration({
2274
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
2275
+ # })
2276
+ #
2277
+ # @example Response structure
2278
+ #
2279
+ # resp.allow_association_to_shareable_service_network #=> Boolean
2280
+ # resp.amazon_managed #=> Boolean
2281
+ # resp.arn #=> String
2282
+ # resp.created_at #=> Time
2283
+ # resp.custom_domain_name #=> String
2284
+ # resp.failure_reason #=> String
2285
+ # resp.id #=> String
2286
+ # resp.last_updated_at #=> Time
2287
+ # resp.name #=> String
2288
+ # resp.port_ranges #=> Array
2289
+ # resp.port_ranges[0] #=> String
2290
+ # resp.protocol #=> String, one of "TCP"
2291
+ # resp.resource_configuration_definition.arn_resource.arn #=> String
2292
+ # resp.resource_configuration_definition.dns_resource.domain_name #=> String
2293
+ # resp.resource_configuration_definition.dns_resource.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
2294
+ # resp.resource_configuration_definition.ip_resource.ip_address #=> String
2295
+ # resp.resource_configuration_group_id #=> String
2296
+ # resp.resource_gateway_id #=> String
2297
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
2298
+ # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
2299
+ #
2300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetResourceConfiguration AWS API Documentation
2301
+ #
2302
+ # @overload get_resource_configuration(params = {})
2303
+ # @param [Hash] params ({})
2304
+ def get_resource_configuration(params = {}, options = {})
2305
+ req = build_request(:get_resource_configuration, params)
2306
+ req.send_request(options)
2307
+ end
2308
+
2309
+ # Retrieves information about the specified resource gateway.
2310
+ #
2311
+ # @option params [required, String] :resource_gateway_identifier
2312
+ # The ID of the resource gateway.
2313
+ #
2314
+ # @return [Types::GetResourceGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2315
+ #
2316
+ # * {Types::GetResourceGatewayResponse#arn #arn} => String
2317
+ # * {Types::GetResourceGatewayResponse#created_at #created_at} => Time
2318
+ # * {Types::GetResourceGatewayResponse#id #id} => String
2319
+ # * {Types::GetResourceGatewayResponse#ip_address_type #ip_address_type} => String
2320
+ # * {Types::GetResourceGatewayResponse#last_updated_at #last_updated_at} => Time
2321
+ # * {Types::GetResourceGatewayResponse#name #name} => String
2322
+ # * {Types::GetResourceGatewayResponse#security_group_ids #security_group_ids} => Array&lt;String&gt;
2323
+ # * {Types::GetResourceGatewayResponse#status #status} => String
2324
+ # * {Types::GetResourceGatewayResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
2325
+ # * {Types::GetResourceGatewayResponse#vpc_id #vpc_id} => String
2326
+ #
2327
+ # @example Request syntax with placeholder values
2328
+ #
2329
+ # resp = client.get_resource_gateway({
2330
+ # resource_gateway_identifier: "ResourceGatewayIdentifier", # required
2331
+ # })
2332
+ #
2333
+ # @example Response structure
2334
+ #
2335
+ # resp.arn #=> String
2336
+ # resp.created_at #=> Time
2337
+ # resp.id #=> String
2338
+ # resp.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
2339
+ # resp.last_updated_at #=> Time
2340
+ # resp.name #=> String
2341
+ # resp.security_group_ids #=> Array
2342
+ # resp.security_group_ids[0] #=> String
2343
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
2344
+ # resp.subnet_ids #=> Array
2345
+ # resp.subnet_ids[0] #=> String
2346
+ # resp.vpc_id #=> String
2347
+ #
2348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetResourceGateway AWS API Documentation
2349
+ #
2350
+ # @overload get_resource_gateway(params = {})
2351
+ # @param [Hash] params ({})
2352
+ def get_resource_gateway(params = {}, options = {})
2353
+ req = build_request(:get_resource_gateway, params)
2354
+ req.send_request(options)
2355
+ end
2356
+
2357
+ # Retrieves information about the specified resource policy. The
2358
+ # resource policy is an IAM policy created on behalf of the resource
2359
+ # owner when they share a resource.
1807
2360
  #
1808
2361
  # @option params [required, String] :resource_arn
1809
2362
  # The Amazon Resource Name (ARN) of the service network or service.
@@ -1831,22 +2384,23 @@ module Aws::VPCLattice
1831
2384
  req.send_request(options)
1832
2385
  end
1833
2386
 
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*.
2387
+ # Retrieves information about the specified listener rules. You can also
2388
+ # retrieve information about the default listener rule. For more
2389
+ # information, see [Listener rules][1] in the *Amazon VPC Lattice User
2390
+ # Guide*.
1837
2391
  #
1838
2392
  #
1839
2393
  #
1840
2394
  # [1]: https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules
1841
2395
  #
1842
2396
  # @option params [required, String] :listener_identifier
1843
- # The ID or Amazon Resource Name (ARN) of the listener.
2397
+ # The ID or ARN of the listener.
1844
2398
  #
1845
2399
  # @option params [required, String] :rule_identifier
1846
- # The ID or Amazon Resource Name (ARN) of the listener rule.
2400
+ # The ID or ARN of the listener rule.
1847
2401
  #
1848
2402
  # @option params [required, String] :service_identifier
1849
- # The ID or Amazon Resource Name (ARN) of the service.
2403
+ # The ID or ARN of the service.
1850
2404
  #
1851
2405
  # @return [Types::GetRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1852
2406
  #
@@ -1904,7 +2458,7 @@ module Aws::VPCLattice
1904
2458
  # Retrieves information about the specified service.
1905
2459
  #
1906
2460
  # @option params [required, String] :service_identifier
1907
- # The ID or Amazon Resource Name (ARN) of the service.
2461
+ # The ID or ARN of the service.
1908
2462
  #
1909
2463
  # @return [Types::GetServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1910
2464
  #
@@ -1955,7 +2509,7 @@ module Aws::VPCLattice
1955
2509
  # Retrieves information about the specified service network.
1956
2510
  #
1957
2511
  # @option params [required, String] :service_network_identifier
1958
- # The ID or Amazon Resource Name (ARN) of the service network.
2512
+ # The ID or ARN of the service network.
1959
2513
  #
1960
2514
  # @return [Types::GetServiceNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1961
2515
  #
@@ -1967,6 +2521,7 @@ module Aws::VPCLattice
1967
2521
  # * {Types::GetServiceNetworkResponse#name #name} => String
1968
2522
  # * {Types::GetServiceNetworkResponse#number_of_associated_services #number_of_associated_services} => Integer
1969
2523
  # * {Types::GetServiceNetworkResponse#number_of_associated_vp_cs #number_of_associated_vp_cs} => Integer
2524
+ # * {Types::GetServiceNetworkResponse#sharing_config #sharing_config} => Types::SharingConfig
1970
2525
  #
1971
2526
  # @example Request syntax with placeholder values
1972
2527
  #
@@ -1984,6 +2539,7 @@ module Aws::VPCLattice
1984
2539
  # resp.name #=> String
1985
2540
  # resp.number_of_associated_services #=> Integer
1986
2541
  # resp.number_of_associated_vp_cs #=> Integer
2542
+ # resp.sharing_config.enabled #=> Boolean
1987
2543
  #
1988
2544
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetServiceNetwork AWS API Documentation
1989
2545
  #
@@ -1994,11 +2550,74 @@ module Aws::VPCLattice
1994
2550
  req.send_request(options)
1995
2551
  end
1996
2552
 
2553
+ # Retrieves information about the specified association between a
2554
+ # service network and a resource configuration.
2555
+ #
2556
+ # @option params [required, String] :service_network_resource_association_identifier
2557
+ # The ID of the association.
2558
+ #
2559
+ # @return [Types::GetServiceNetworkResourceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2560
+ #
2561
+ # * {Types::GetServiceNetworkResourceAssociationResponse#arn #arn} => String
2562
+ # * {Types::GetServiceNetworkResourceAssociationResponse#created_at #created_at} => Time
2563
+ # * {Types::GetServiceNetworkResourceAssociationResponse#created_by #created_by} => String
2564
+ # * {Types::GetServiceNetworkResourceAssociationResponse#dns_entry #dns_entry} => Types::DnsEntry
2565
+ # * {Types::GetServiceNetworkResourceAssociationResponse#failure_code #failure_code} => String
2566
+ # * {Types::GetServiceNetworkResourceAssociationResponse#failure_reason #failure_reason} => String
2567
+ # * {Types::GetServiceNetworkResourceAssociationResponse#id #id} => String
2568
+ # * {Types::GetServiceNetworkResourceAssociationResponse#is_managed_association #is_managed_association} => Boolean
2569
+ # * {Types::GetServiceNetworkResourceAssociationResponse#last_updated_at #last_updated_at} => Time
2570
+ # * {Types::GetServiceNetworkResourceAssociationResponse#private_dns_entry #private_dns_entry} => Types::DnsEntry
2571
+ # * {Types::GetServiceNetworkResourceAssociationResponse#resource_configuration_arn #resource_configuration_arn} => String
2572
+ # * {Types::GetServiceNetworkResourceAssociationResponse#resource_configuration_id #resource_configuration_id} => String
2573
+ # * {Types::GetServiceNetworkResourceAssociationResponse#resource_configuration_name #resource_configuration_name} => String
2574
+ # * {Types::GetServiceNetworkResourceAssociationResponse#service_network_arn #service_network_arn} => String
2575
+ # * {Types::GetServiceNetworkResourceAssociationResponse#service_network_id #service_network_id} => String
2576
+ # * {Types::GetServiceNetworkResourceAssociationResponse#service_network_name #service_network_name} => String
2577
+ # * {Types::GetServiceNetworkResourceAssociationResponse#status #status} => String
2578
+ #
2579
+ # @example Request syntax with placeholder values
2580
+ #
2581
+ # resp = client.get_service_network_resource_association({
2582
+ # service_network_resource_association_identifier: "ServiceNetworkResourceAssociationIdentifier", # required
2583
+ # })
2584
+ #
2585
+ # @example Response structure
2586
+ #
2587
+ # resp.arn #=> String
2588
+ # resp.created_at #=> Time
2589
+ # resp.created_by #=> String
2590
+ # resp.dns_entry.domain_name #=> String
2591
+ # resp.dns_entry.hosted_zone_id #=> String
2592
+ # resp.failure_code #=> String
2593
+ # resp.failure_reason #=> String
2594
+ # resp.id #=> String
2595
+ # resp.is_managed_association #=> Boolean
2596
+ # resp.last_updated_at #=> Time
2597
+ # resp.private_dns_entry.domain_name #=> String
2598
+ # resp.private_dns_entry.hosted_zone_id #=> String
2599
+ # resp.resource_configuration_arn #=> String
2600
+ # resp.resource_configuration_id #=> String
2601
+ # resp.resource_configuration_name #=> String
2602
+ # resp.service_network_arn #=> String
2603
+ # resp.service_network_id #=> String
2604
+ # resp.service_network_name #=> String
2605
+ # resp.status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "PARTIAL", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
2606
+ #
2607
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetServiceNetworkResourceAssociation AWS API Documentation
2608
+ #
2609
+ # @overload get_service_network_resource_association(params = {})
2610
+ # @param [Hash] params ({})
2611
+ def get_service_network_resource_association(params = {}, options = {})
2612
+ req = build_request(:get_service_network_resource_association, params)
2613
+ req.send_request(options)
2614
+ end
2615
+
1997
2616
  # Retrieves information about the specified association between a
1998
2617
  # service network and a service.
1999
2618
  #
2000
2619
  # @option params [required, String] :service_network_service_association_identifier
2001
- # The ID or Amazon Resource Name (ARN) of the association.
2620
+ # The ID or ARN of the association.
2002
2621
  #
2003
2622
  # @return [Types::GetServiceNetworkServiceAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2004
2623
  #
@@ -2052,11 +2671,11 @@ module Aws::VPCLattice
2052
2671
  req.send_request(options)
2053
2672
  end
2054
2673
 
2055
- # Retrieves information about the association between a service network
2056
- # and a VPC.
2674
+ # Retrieves information about the specified association between a
2675
+ # service network and a VPC.
2057
2676
  #
2058
2677
  # @option params [required, String] :service_network_vpc_association_identifier
2059
- # The ID or Amazon Resource Name (ARN) of the association.
2678
+ # The ID or ARN of the association.
2060
2679
  #
2061
2680
  # @return [Types::GetServiceNetworkVpcAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2062
2681
  #
@@ -2109,7 +2728,7 @@ module Aws::VPCLattice
2109
2728
  # Retrieves information about the specified target group.
2110
2729
  #
2111
2730
  # @option params [required, String] :target_group_identifier
2112
- # The ID or Amazon Resource Name (ARN) of the target group.
2731
+ # The ID or ARN of the target group.
2113
2732
  #
2114
2733
  # @return [Types::GetTargetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2115
2734
  #
@@ -2170,7 +2789,7 @@ module Aws::VPCLattice
2170
2789
  req.send_request(options)
2171
2790
  end
2172
2791
 
2173
- # Lists all access log subscriptions for the specified service network
2792
+ # Lists the access log subscriptions for the specified service network
2174
2793
  # or service.
2175
2794
  #
2176
2795
  # @option params [Integer] :max_results
@@ -2180,8 +2799,7 @@ module Aws::VPCLattice
2180
2799
  # A pagination token for the next page of results.
2181
2800
  #
2182
2801
  # @option params [required, String] :resource_identifier
2183
- # The ID or Amazon Resource Name (ARN) of the service network or
2184
- # service.
2802
+ # The ID or ARN of the service network or service.
2185
2803
  #
2186
2804
  # @return [Types::ListAccessLogSubscriptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2187
2805
  #
@@ -2208,6 +2826,7 @@ module Aws::VPCLattice
2208
2826
  # resp.items[0].last_updated_at #=> Time
2209
2827
  # resp.items[0].resource_arn #=> String
2210
2828
  # resp.items[0].resource_id #=> String
2829
+ # resp.items[0].service_network_log_type #=> String, one of "SERVICE", "RESOURCE"
2211
2830
  # resp.next_token #=> String
2212
2831
  #
2213
2832
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListAccessLogSubscriptions AWS API Documentation
@@ -2228,7 +2847,7 @@ module Aws::VPCLattice
2228
2847
  # A pagination token for the next page of results.
2229
2848
  #
2230
2849
  # @option params [required, String] :service_identifier
2231
- # The ID or Amazon Resource Name (ARN) of the service.
2850
+ # The ID or ARN of the service.
2232
2851
  #
2233
2852
  # @return [Types::ListListenersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2234
2853
  #
@@ -2266,10 +2885,176 @@ module Aws::VPCLattice
2266
2885
  req.send_request(options)
2267
2886
  end
2268
2887
 
2269
- # Lists the rules for the listener.
2888
+ # Lists the resource configurations owned by or shared with this
2889
+ # account.
2890
+ #
2891
+ # @option params [Integer] :max_results
2892
+ # The maximum page size.
2893
+ #
2894
+ # @option params [String] :next_token
2895
+ # A pagination token for the next page of results.
2896
+ #
2897
+ # @option params [String] :resource_configuration_group_identifier
2898
+ # The ID of the group resource configuration.
2899
+ #
2900
+ # @option params [String] :resource_gateway_identifier
2901
+ # The ID of the resource gateway for the resource configuration.
2902
+ #
2903
+ # @return [Types::ListResourceConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2904
+ #
2905
+ # * {Types::ListResourceConfigurationsResponse#items #items} => Array&lt;Types::ResourceConfigurationSummary&gt;
2906
+ # * {Types::ListResourceConfigurationsResponse#next_token #next_token} => String
2907
+ #
2908
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2909
+ #
2910
+ # @example Request syntax with placeholder values
2911
+ #
2912
+ # resp = client.list_resource_configurations({
2913
+ # max_results: 1,
2914
+ # next_token: "NextToken",
2915
+ # resource_configuration_group_identifier: "ResourceConfigurationIdentifier",
2916
+ # resource_gateway_identifier: "ResourceGatewayIdentifier",
2917
+ # })
2918
+ #
2919
+ # @example Response structure
2920
+ #
2921
+ # resp.items #=> Array
2922
+ # resp.items[0].amazon_managed #=> Boolean
2923
+ # resp.items[0].arn #=> String
2924
+ # resp.items[0].created_at #=> Time
2925
+ # resp.items[0].id #=> String
2926
+ # resp.items[0].last_updated_at #=> Time
2927
+ # resp.items[0].name #=> String
2928
+ # resp.items[0].resource_configuration_group_id #=> String
2929
+ # resp.items[0].resource_gateway_id #=> String
2930
+ # resp.items[0].status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
2931
+ # resp.items[0].type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
2932
+ # resp.next_token #=> String
2933
+ #
2934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListResourceConfigurations AWS API Documentation
2935
+ #
2936
+ # @overload list_resource_configurations(params = {})
2937
+ # @param [Hash] params ({})
2938
+ def list_resource_configurations(params = {}, options = {})
2939
+ req = build_request(:list_resource_configurations, params)
2940
+ req.send_request(options)
2941
+ end
2942
+
2943
+ # Lists the associations for the specified VPC endpoint.
2944
+ #
2945
+ # @option params [Integer] :max_results
2946
+ # The maximum page size.
2947
+ #
2948
+ # @option params [String] :next_token
2949
+ # A pagination token for the next page of results.
2950
+ #
2951
+ # @option params [required, String] :resource_configuration_identifier
2952
+ # The ID for the resource configuration associated with the VPC
2953
+ # endpoint.
2954
+ #
2955
+ # @option params [String] :resource_endpoint_association_identifier
2956
+ # The ID of the association.
2957
+ #
2958
+ # @option params [String] :vpc_endpoint_id
2959
+ # The ID of the VPC endpoint in the association.
2960
+ #
2961
+ # @option params [String] :vpc_endpoint_owner
2962
+ # The owner of the VPC endpoint in the association.
2963
+ #
2964
+ # @return [Types::ListResourceEndpointAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2965
+ #
2966
+ # * {Types::ListResourceEndpointAssociationsResponse#items #items} => Array&lt;Types::ResourceEndpointAssociationSummary&gt;
2967
+ # * {Types::ListResourceEndpointAssociationsResponse#next_token #next_token} => String
2968
+ #
2969
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2970
+ #
2971
+ # @example Request syntax with placeholder values
2972
+ #
2973
+ # resp = client.list_resource_endpoint_associations({
2974
+ # max_results: 1,
2975
+ # next_token: "NextToken",
2976
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
2977
+ # resource_endpoint_association_identifier: "ResourceEndpointAssociationIdentifier",
2978
+ # vpc_endpoint_id: "VpcEndpointId",
2979
+ # vpc_endpoint_owner: "VpcEndpointOwner",
2980
+ # })
2981
+ #
2982
+ # @example Response structure
2983
+ #
2984
+ # resp.items #=> Array
2985
+ # resp.items[0].arn #=> String
2986
+ # resp.items[0].created_at #=> Time
2987
+ # resp.items[0].created_by #=> String
2988
+ # resp.items[0].id #=> String
2989
+ # resp.items[0].resource_configuration_arn #=> String
2990
+ # resp.items[0].resource_configuration_id #=> String
2991
+ # resp.items[0].resource_configuration_name #=> String
2992
+ # resp.items[0].vpc_endpoint_id #=> String
2993
+ # resp.items[0].vpc_endpoint_owner #=> String
2994
+ # resp.next_token #=> String
2995
+ #
2996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListResourceEndpointAssociations AWS API Documentation
2997
+ #
2998
+ # @overload list_resource_endpoint_associations(params = {})
2999
+ # @param [Hash] params ({})
3000
+ def list_resource_endpoint_associations(params = {}, options = {})
3001
+ req = build_request(:list_resource_endpoint_associations, params)
3002
+ req.send_request(options)
3003
+ end
3004
+
3005
+ # Lists the resource gateways that you own or that were shared with you.
3006
+ #
3007
+ # @option params [Integer] :max_results
3008
+ # The maximum page size.
3009
+ #
3010
+ # @option params [String] :next_token
3011
+ # If there are additional results, a pagination token for the next page
3012
+ # of results.
3013
+ #
3014
+ # @return [Types::ListResourceGatewaysResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3015
+ #
3016
+ # * {Types::ListResourceGatewaysResponse#items #items} => Array&lt;Types::ResourceGatewaySummary&gt;
3017
+ # * {Types::ListResourceGatewaysResponse#next_token #next_token} => String
3018
+ #
3019
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3020
+ #
3021
+ # @example Request syntax with placeholder values
3022
+ #
3023
+ # resp = client.list_resource_gateways({
3024
+ # max_results: 1,
3025
+ # next_token: "NextToken",
3026
+ # })
3027
+ #
3028
+ # @example Response structure
3029
+ #
3030
+ # resp.items #=> Array
3031
+ # resp.items[0].arn #=> String
3032
+ # resp.items[0].created_at #=> Time
3033
+ # resp.items[0].id #=> String
3034
+ # resp.items[0].ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
3035
+ # resp.items[0].last_updated_at #=> Time
3036
+ # resp.items[0].name #=> String
3037
+ # resp.items[0].security_group_ids #=> Array
3038
+ # resp.items[0].security_group_ids[0] #=> String
3039
+ # resp.items[0].status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
3040
+ # resp.items[0].subnet_ids #=> Array
3041
+ # resp.items[0].subnet_ids[0] #=> String
3042
+ # resp.items[0].vpc_identifier #=> String
3043
+ # resp.next_token #=> String
3044
+ #
3045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListResourceGateways AWS API Documentation
3046
+ #
3047
+ # @overload list_resource_gateways(params = {})
3048
+ # @param [Hash] params ({})
3049
+ def list_resource_gateways(params = {}, options = {})
3050
+ req = build_request(:list_resource_gateways, params)
3051
+ req.send_request(options)
3052
+ end
3053
+
3054
+ # Lists the rules for the specified listener.
2270
3055
  #
2271
3056
  # @option params [required, String] :listener_identifier
2272
- # The ID or Amazon Resource Name (ARN) of the listener.
3057
+ # The ID or ARN of the listener.
2273
3058
  #
2274
3059
  # @option params [Integer] :max_results
2275
3060
  # The maximum number of results to return.
@@ -2278,7 +3063,7 @@ module Aws::VPCLattice
2278
3063
  # A pagination token for the next page of results.
2279
3064
  #
2280
3065
  # @option params [required, String] :service_identifier
2281
- # The ID or Amazon Resource Name (ARN) of the service.
3066
+ # The ID or ARN of the service.
2282
3067
  #
2283
3068
  # @return [Types::ListRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2284
3069
  #
@@ -2317,17 +3102,79 @@ module Aws::VPCLattice
2317
3102
  req.send_request(options)
2318
3103
  end
2319
3104
 
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
3105
+ # Lists the associations between a service network and a resource
3106
+ # configuration.
3107
+ #
3108
+ # @option params [Integer] :max_results
3109
+ # The maximum page size.
3110
+ #
3111
+ # @option params [String] :next_token
3112
+ # If there are additional results, a pagination token for the next page
3113
+ # of results.
3114
+ #
3115
+ # @option params [String] :resource_configuration_identifier
3116
+ # The ID of the resource configurationk.
3117
+ #
3118
+ # @option params [String] :service_network_identifier
3119
+ # The ID of the service network.
3120
+ #
3121
+ # @return [Types::ListServiceNetworkResourceAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3122
+ #
3123
+ # * {Types::ListServiceNetworkResourceAssociationsResponse#items #items} => Array&lt;Types::ServiceNetworkResourceAssociationSummary&gt;
3124
+ # * {Types::ListServiceNetworkResourceAssociationsResponse#next_token #next_token} => String
3125
+ #
3126
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3127
+ #
3128
+ # @example Request syntax with placeholder values
3129
+ #
3130
+ # resp = client.list_service_network_resource_associations({
3131
+ # max_results: 1,
3132
+ # next_token: "NextToken",
3133
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier",
3134
+ # service_network_identifier: "ServiceNetworkIdentifier",
3135
+ # })
3136
+ #
3137
+ # @example Response structure
3138
+ #
3139
+ # resp.items #=> Array
3140
+ # resp.items[0].arn #=> String
3141
+ # resp.items[0].created_at #=> Time
3142
+ # resp.items[0].created_by #=> String
3143
+ # resp.items[0].dns_entry.domain_name #=> String
3144
+ # resp.items[0].dns_entry.hosted_zone_id #=> String
3145
+ # resp.items[0].failure_code #=> String
3146
+ # resp.items[0].id #=> String
3147
+ # resp.items[0].is_managed_association #=> Boolean
3148
+ # resp.items[0].private_dns_entry.domain_name #=> String
3149
+ # resp.items[0].private_dns_entry.hosted_zone_id #=> String
3150
+ # resp.items[0].resource_configuration_arn #=> String
3151
+ # resp.items[0].resource_configuration_id #=> String
3152
+ # resp.items[0].resource_configuration_name #=> String
3153
+ # resp.items[0].service_network_arn #=> String
3154
+ # resp.items[0].service_network_id #=> String
3155
+ # resp.items[0].service_network_name #=> String
3156
+ # resp.items[0].status #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "PARTIAL", "DELETE_IN_PROGRESS", "CREATE_FAILED", "DELETE_FAILED"
3157
+ # resp.next_token #=> String
3158
+ #
3159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListServiceNetworkResourceAssociations AWS API Documentation
3160
+ #
3161
+ # @overload list_service_network_resource_associations(params = {})
3162
+ # @param [Hash] params ({})
3163
+ def list_service_network_resource_associations(params = {}, options = {})
3164
+ req = build_request(:list_service_network_resource_associations, params)
3165
+ req.send_request(options)
3166
+ end
3167
+
3168
+ # Lists the associations between a service network and a service. You
3169
+ # can filter the list either by service or service network. You must
2322
3170
  # provide either the service network identifier or the service
2323
3171
  # identifier.
2324
3172
  #
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.
3173
+ # Every association in Amazon VPC Lattice has a unique Amazon Resource
3174
+ # Name (ARN), such as when a service network is associated with a VPC or
3175
+ # when a service is associated with a service network. If the
3176
+ # association is for a resource is shared with another account, the
3177
+ # association includes the local account ID as the prefix in the ARN.
2331
3178
  #
2332
3179
  # @option params [Integer] :max_results
2333
3180
  # The maximum number of results to return.
@@ -2336,10 +3183,10 @@ module Aws::VPCLattice
2336
3183
  # A pagination token for the next page of results.
2337
3184
  #
2338
3185
  # @option params [String] :service_identifier
2339
- # The ID or Amazon Resource Name (ARN) of the service.
3186
+ # The ID or ARN of the service.
2340
3187
  #
2341
3188
  # @option params [String] :service_network_identifier
2342
- # The ID or Amazon Resource Name (ARN) of the service network.
3189
+ # The ID or ARN of the service network.
2343
3190
  #
2344
3191
  # @return [Types::ListServiceNetworkServiceAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2345
3192
  #
@@ -2385,9 +3232,9 @@ module Aws::VPCLattice
2385
3232
  req.send_request(options)
2386
3233
  end
2387
3234
 
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.
3235
+ # Lists the associations between a service network and a VPC. You can
3236
+ # filter the list either by VPC or service network. You must provide
3237
+ # either the ID of the service network identifier or the ID of the VPC.
2391
3238
  #
2392
3239
  # @option params [Integer] :max_results
2393
3240
  # The maximum number of results to return.
@@ -2396,10 +3243,10 @@ module Aws::VPCLattice
2396
3243
  # A pagination token for the next page of results.
2397
3244
  #
2398
3245
  # @option params [String] :service_network_identifier
2399
- # The ID or Amazon Resource Name (ARN) of the service network.
3246
+ # The ID or ARN of the service network.
2400
3247
  #
2401
3248
  # @option params [String] :vpc_identifier
2402
- # The ID or Amazon Resource Name (ARN) of the VPC.
3249
+ # The ID or ARN of the VPC.
2403
3250
  #
2404
3251
  # @return [Types::ListServiceNetworkVpcAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2405
3252
  #
@@ -2441,9 +3288,56 @@ module Aws::VPCLattice
2441
3288
  req.send_request(options)
2442
3289
  end
2443
3290
 
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.
3291
+ # Lists the associations between a service network and a VPC endpoint.
3292
+ #
3293
+ # @option params [Integer] :max_results
3294
+ # The maximum page size.
3295
+ #
3296
+ # @option params [String] :next_token
3297
+ # If there are additional results, a pagination token for the next page
3298
+ # of results.
3299
+ #
3300
+ # @option params [required, String] :service_network_identifier
3301
+ # The ID of the service network associated with the VPC endpoint.
3302
+ #
3303
+ # @return [Types::ListServiceNetworkVpcEndpointAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3304
+ #
3305
+ # * {Types::ListServiceNetworkVpcEndpointAssociationsResponse#items #items} => Array&lt;Types::ServiceNetworkEndpointAssociation&gt;
3306
+ # * {Types::ListServiceNetworkVpcEndpointAssociationsResponse#next_token #next_token} => String
3307
+ #
3308
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3309
+ #
3310
+ # @example Request syntax with placeholder values
3311
+ #
3312
+ # resp = client.list_service_network_vpc_endpoint_associations({
3313
+ # max_results: 1,
3314
+ # next_token: "NextToken",
3315
+ # service_network_identifier: "ServiceNetworkIdentifier", # required
3316
+ # })
3317
+ #
3318
+ # @example Response structure
3319
+ #
3320
+ # resp.items #=> Array
3321
+ # resp.items[0].created_at #=> Time
3322
+ # resp.items[0].id #=> String
3323
+ # resp.items[0].service_network_arn #=> String
3324
+ # resp.items[0].state #=> String
3325
+ # resp.items[0].vpc_endpoint_id #=> String
3326
+ # resp.items[0].vpc_endpoint_owner_id #=> String
3327
+ # resp.items[0].vpc_id #=> String
3328
+ # resp.next_token #=> String
3329
+ #
3330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListServiceNetworkVpcEndpointAssociations AWS API Documentation
3331
+ #
3332
+ # @overload list_service_network_vpc_endpoint_associations(params = {})
3333
+ # @param [Hash] params ({})
3334
+ def list_service_network_vpc_endpoint_associations(params = {}, options = {})
3335
+ req = build_request(:list_service_network_vpc_endpoint_associations, params)
3336
+ req.send_request(options)
3337
+ end
3338
+
3339
+ # Lists the service networks owned by or shared with this account. The
3340
+ # account ID in the ARN shows which account owns the service network.
2447
3341
  #
2448
3342
  # @option params [Integer] :max_results
2449
3343
  # The maximum number of results to return.
@@ -2473,6 +3367,7 @@ module Aws::VPCLattice
2473
3367
  # resp.items[0].id #=> String
2474
3368
  # resp.items[0].last_updated_at #=> Time
2475
3369
  # resp.items[0].name #=> String
3370
+ # resp.items[0].number_of_associated_resource_configurations #=> Integer
2476
3371
  # resp.items[0].number_of_associated_services #=> Integer
2477
3372
  # resp.items[0].number_of_associated_vp_cs #=> Integer
2478
3373
  # resp.next_token #=> String
@@ -2574,7 +3469,7 @@ module Aws::VPCLattice
2574
3469
  # The target group type.
2575
3470
  #
2576
3471
  # @option params [String] :vpc_identifier
2577
- # The ID or Amazon Resource Name (ARN) of the VPC.
3472
+ # The ID or ARN of the VPC.
2578
3473
  #
2579
3474
  # @return [Types::ListTargetGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2580
3475
  #
@@ -2631,7 +3526,7 @@ module Aws::VPCLattice
2631
3526
  # A pagination token for the next page of results.
2632
3527
  #
2633
3528
  # @option params [required, String] :target_group_identifier
2634
- # The ID or Amazon Resource Name (ARN) of the target group.
3529
+ # The ID or ARN of the target group.
2635
3530
  #
2636
3531
  # @option params [Array<Types::Target>] :targets
2637
3532
  # The targets.
@@ -2690,8 +3585,8 @@ module Aws::VPCLattice
2690
3585
  # or blank lines.
2691
3586
  #
2692
3587
  # @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.
3588
+ # The ID or ARN of the service network or service for which the policy
3589
+ # is created.
2695
3590
  #
2696
3591
  # @return [Types::PutAuthPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2697
3592
  #
@@ -2729,8 +3624,8 @@ module Aws::VPCLattice
2729
3624
  # blank lines.
2730
3625
  #
2731
3626
  # @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.
3627
+ # The ID or ARN of the service network or service for which the policy
3628
+ # is created.
2734
3629
  #
2735
3630
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2736
3631
  #
@@ -2754,7 +3649,7 @@ module Aws::VPCLattice
2754
3649
  # you can only have one target in a target group.
2755
3650
  #
2756
3651
  # @option params [required, String] :target_group_identifier
2757
- # The ID or Amazon Resource Name (ARN) of the target group.
3652
+ # The ID or ARN of the target group.
2758
3653
  #
2759
3654
  # @option params [required, Array<Types::Target>] :targets
2760
3655
  # The targets.
@@ -2853,7 +3748,7 @@ module Aws::VPCLattice
2853
3748
  # Updates the specified access log subscription.
2854
3749
  #
2855
3750
  # @option params [required, String] :access_log_subscription_identifier
2856
- # The ID or Amazon Resource Name (ARN) of the access log subscription.
3751
+ # The ID or ARN of the access log subscription.
2857
3752
  #
2858
3753
  # @option params [required, String] :destination_arn
2859
3754
  # The Amazon Resource Name (ARN) of the access log destination.
@@ -2896,10 +3791,10 @@ module Aws::VPCLattice
2896
3791
  # The action for the default rule.
2897
3792
  #
2898
3793
  # @option params [required, String] :listener_identifier
2899
- # The ID or Amazon Resource Name (ARN) of the listener.
3794
+ # The ID or ARN of the listener.
2900
3795
  #
2901
3796
  # @option params [required, String] :service_identifier
2902
- # The ID or Amazon Resource Name (ARN) of the service.
3797
+ # The ID or ARN of the service.
2903
3798
  #
2904
3799
  # @return [Types::UpdateListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2905
3800
  #
@@ -2955,14 +3850,141 @@ module Aws::VPCLattice
2955
3850
  req.send_request(options)
2956
3851
  end
2957
3852
 
2958
- # Updates a rule for the listener. You can't modify a default listener
2959
- # rule. To modify a default listener rule, use `UpdateListener`.
3853
+ # Updates the specified resource configuration.
3854
+ #
3855
+ # @option params [Boolean] :allow_association_to_shareable_service_network
3856
+ # Indicates whether to add the resource configuration to service
3857
+ # networks that are shared with other accounts.
3858
+ #
3859
+ # @option params [Array<String>] :port_ranges
3860
+ # The TCP port ranges that a consumer can use to access a resource
3861
+ # configuration. You can separate port ranges with a comma. Example:
3862
+ # 1-65535 or 1,2,22-30
3863
+ #
3864
+ # @option params [Types::ResourceConfigurationDefinition] :resource_configuration_definition
3865
+ # The resource configuration.
3866
+ #
3867
+ # @option params [required, String] :resource_configuration_identifier
3868
+ # The ID of the resource configuration.
3869
+ #
3870
+ # @return [Types::UpdateResourceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3871
+ #
3872
+ # * {Types::UpdateResourceConfigurationResponse#allow_association_to_shareable_service_network #allow_association_to_shareable_service_network} => Boolean
3873
+ # * {Types::UpdateResourceConfigurationResponse#arn #arn} => String
3874
+ # * {Types::UpdateResourceConfigurationResponse#id #id} => String
3875
+ # * {Types::UpdateResourceConfigurationResponse#name #name} => String
3876
+ # * {Types::UpdateResourceConfigurationResponse#port_ranges #port_ranges} => Array&lt;String&gt;
3877
+ # * {Types::UpdateResourceConfigurationResponse#protocol #protocol} => String
3878
+ # * {Types::UpdateResourceConfigurationResponse#resource_configuration_definition #resource_configuration_definition} => Types::ResourceConfigurationDefinition
3879
+ # * {Types::UpdateResourceConfigurationResponse#resource_configuration_group_id #resource_configuration_group_id} => String
3880
+ # * {Types::UpdateResourceConfigurationResponse#resource_gateway_id #resource_gateway_id} => String
3881
+ # * {Types::UpdateResourceConfigurationResponse#status #status} => String
3882
+ # * {Types::UpdateResourceConfigurationResponse#type #type} => String
3883
+ #
3884
+ # @example Request syntax with placeholder values
3885
+ #
3886
+ # resp = client.update_resource_configuration({
3887
+ # allow_association_to_shareable_service_network: false,
3888
+ # port_ranges: ["PortRange"],
3889
+ # resource_configuration_definition: {
3890
+ # arn_resource: {
3891
+ # arn: "WildcardArn",
3892
+ # },
3893
+ # dns_resource: {
3894
+ # domain_name: "DomainName",
3895
+ # ip_address_type: "IPV4", # accepts IPV4, IPV6, DUALSTACK
3896
+ # },
3897
+ # ip_resource: {
3898
+ # ip_address: "IpAddress",
3899
+ # },
3900
+ # },
3901
+ # resource_configuration_identifier: "ResourceConfigurationIdentifier", # required
3902
+ # })
3903
+ #
3904
+ # @example Response structure
3905
+ #
3906
+ # resp.allow_association_to_shareable_service_network #=> Boolean
3907
+ # resp.arn #=> String
3908
+ # resp.id #=> String
3909
+ # resp.name #=> String
3910
+ # resp.port_ranges #=> Array
3911
+ # resp.port_ranges[0] #=> String
3912
+ # resp.protocol #=> String, one of "TCP"
3913
+ # resp.resource_configuration_definition.arn_resource.arn #=> String
3914
+ # resp.resource_configuration_definition.dns_resource.domain_name #=> String
3915
+ # resp.resource_configuration_definition.dns_resource.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
3916
+ # resp.resource_configuration_definition.ip_resource.ip_address #=> String
3917
+ # resp.resource_configuration_group_id #=> String
3918
+ # resp.resource_gateway_id #=> String
3919
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
3920
+ # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
3921
+ #
3922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/UpdateResourceConfiguration AWS API Documentation
3923
+ #
3924
+ # @overload update_resource_configuration(params = {})
3925
+ # @param [Hash] params ({})
3926
+ def update_resource_configuration(params = {}, options = {})
3927
+ req = build_request(:update_resource_configuration, params)
3928
+ req.send_request(options)
3929
+ end
3930
+
3931
+ # Updates the specified resource gateway.
3932
+ #
3933
+ # @option params [required, String] :resource_gateway_identifier
3934
+ # The ID or ARN of the resource gateway.
3935
+ #
3936
+ # @option params [Array<String>] :security_group_ids
3937
+ # The IDs of the security groups associated with the resource gateway.
3938
+ #
3939
+ # @return [Types::UpdateResourceGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3940
+ #
3941
+ # * {Types::UpdateResourceGatewayResponse#arn #arn} => String
3942
+ # * {Types::UpdateResourceGatewayResponse#id #id} => String
3943
+ # * {Types::UpdateResourceGatewayResponse#ip_address_type #ip_address_type} => String
3944
+ # * {Types::UpdateResourceGatewayResponse#name #name} => String
3945
+ # * {Types::UpdateResourceGatewayResponse#security_group_ids #security_group_ids} => Array&lt;String&gt;
3946
+ # * {Types::UpdateResourceGatewayResponse#status #status} => String
3947
+ # * {Types::UpdateResourceGatewayResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
3948
+ # * {Types::UpdateResourceGatewayResponse#vpc_id #vpc_id} => String
3949
+ #
3950
+ # @example Request syntax with placeholder values
3951
+ #
3952
+ # resp = client.update_resource_gateway({
3953
+ # resource_gateway_identifier: "ResourceGatewayIdentifier", # required
3954
+ # security_group_ids: ["SecurityGroupId"],
3955
+ # })
3956
+ #
3957
+ # @example Response structure
3958
+ #
3959
+ # resp.arn #=> String
3960
+ # resp.id #=> String
3961
+ # resp.ip_address_type #=> String, one of "IPV4", "IPV6"
3962
+ # resp.name #=> String
3963
+ # resp.security_group_ids #=> Array
3964
+ # resp.security_group_ids[0] #=> String
3965
+ # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
3966
+ # resp.subnet_ids #=> Array
3967
+ # resp.subnet_ids[0] #=> String
3968
+ # resp.vpc_id #=> String
3969
+ #
3970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/UpdateResourceGateway AWS API Documentation
3971
+ #
3972
+ # @overload update_resource_gateway(params = {})
3973
+ # @param [Hash] params ({})
3974
+ def update_resource_gateway(params = {}, options = {})
3975
+ req = build_request(:update_resource_gateway, params)
3976
+ req.send_request(options)
3977
+ end
3978
+
3979
+ # Updates a specified rule for the listener. You can't modify a default
3980
+ # listener rule. To modify a default listener rule, use
3981
+ # `UpdateListener`.
2960
3982
  #
2961
3983
  # @option params [Types::RuleAction] :action
2962
3984
  # Information about the action for the specified listener rule.
2963
3985
  #
2964
3986
  # @option params [required, String] :listener_identifier
2965
- # The ID or Amazon Resource Name (ARN) of the listener.
3987
+ # The ID or ARN of the listener.
2966
3988
  #
2967
3989
  # @option params [Types::RuleMatch] :match
2968
3990
  # The rule match.
@@ -2972,10 +3994,10 @@ module Aws::VPCLattice
2972
3994
  # priority.
2973
3995
  #
2974
3996
  # @option params [required, String] :rule_identifier
2975
- # The ID or Amazon Resource Name (ARN) of the rule.
3997
+ # The ID or ARN of the rule.
2976
3998
  #
2977
3999
  # @option params [required, String] :service_identifier
2978
- # The ID or Amazon Resource Name (ARN) of the service.
4000
+ # The ID or ARN of the service.
2979
4001
  #
2980
4002
  # @return [Types::UpdateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2981
4003
  #
@@ -3078,7 +4100,7 @@ module Aws::VPCLattice
3078
4100
  # The Amazon Resource Name (ARN) of the certificate.
3079
4101
  #
3080
4102
  # @option params [required, String] :service_identifier
3081
- # The ID or Amazon Resource Name (ARN) of the service.
4103
+ # The ID or ARN of the service.
3082
4104
  #
3083
4105
  # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3084
4106
  #
@@ -3127,7 +4149,7 @@ module Aws::VPCLattice
3127
4149
  # auth is enabled and an auth policy is required.
3128
4150
  #
3129
4151
  # @option params [required, String] :service_network_identifier
3130
- # The ID or Amazon Resource Name (ARN) of the service network.
4152
+ # The ID or ARN of the service network.
3131
4153
  #
3132
4154
  # @return [Types::UpdateServiceNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3133
4155
  #
@@ -3161,16 +4183,16 @@ module Aws::VPCLattice
3161
4183
 
3162
4184
  # Updates the service network and VPC association. If you add a security
3163
4185
  # 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
4186
+ # continue to have at least one security group. You can add or edit
4187
+ # security groups at any time. However, to remove all security groups,
4188
+ # you must first delete the association and then recreate it without
3167
4189
  # security groups.
3168
4190
  #
3169
4191
  # @option params [required, Array<String>] :security_group_ids
3170
4192
  # The IDs of the security groups.
3171
4193
  #
3172
4194
  # @option params [required, String] :service_network_vpc_association_identifier
3173
- # The ID or Amazon Resource Name (ARN) of the association.
4195
+ # The ID or ARN of the association.
3174
4196
  #
3175
4197
  # @return [Types::UpdateServiceNetworkVpcAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3176
4198
  #
@@ -3211,7 +4233,7 @@ module Aws::VPCLattice
3211
4233
  # The health check configuration.
3212
4234
  #
3213
4235
  # @option params [required, String] :target_group_identifier
3214
- # The ID or Amazon Resource Name (ARN) of the target group.
4236
+ # The ID or ARN of the target group.
3215
4237
  #
3216
4238
  # @return [Types::UpdateTargetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3217
4239
  #
@@ -3293,7 +4315,7 @@ module Aws::VPCLattice
3293
4315
  tracer: tracer
3294
4316
  )
3295
4317
  context[:gem_name] = 'aws-sdk-vpclattice'
3296
- context[:gem_version] = '1.23.0'
4318
+ context[:gem_version] = '1.33.0'
3297
4319
  Seahorse::Client::Request.new(handlers, context)
3298
4320
  end
3299
4321