Class: Aws::VPCLattice::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::VPCLattice::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb
Overview
An API client for VPCLattice. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::VPCLattice::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#batch_update_rule(params = {}) ⇒ Types::BatchUpdateRuleResponse
Updates the listener rules in a batch.
-
#create_access_log_subscription(params = {}) ⇒ Types::CreateAccessLogSubscriptionResponse
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose.
-
#create_listener(params = {}) ⇒ Types::CreateListenerResponse
Creates a listener for a service.
-
#create_rule(params = {}) ⇒ Types::CreateRuleResponse
Creates a listener rule.
-
#create_service(params = {}) ⇒ Types::CreateServiceResponse
Creates a service.
-
#create_service_network(params = {}) ⇒ Types::CreateServiceNetworkResponse
Creates a service network.
-
#create_service_network_service_association(params = {}) ⇒ Types::CreateServiceNetworkServiceAssociationResponse
Associates a service with a service network.
-
#create_service_network_vpc_association(params = {}) ⇒ Types::CreateServiceNetworkVpcAssociationResponse
Associates a VPC with a service network.
-
#create_target_group(params = {}) ⇒ Types::CreateTargetGroupResponse
Creates a target group.
-
#delete_access_log_subscription(params = {}) ⇒ Struct
Deletes the specified access log subscription.
-
#delete_auth_policy(params = {}) ⇒ Struct
Deletes the specified auth policy.
-
#delete_listener(params = {}) ⇒ Struct
Deletes the specified listener.
-
#delete_resource_policy(params = {}) ⇒ Struct
Deletes the specified resource policy.
-
#delete_rule(params = {}) ⇒ Struct
Deletes a listener rule.
-
#delete_service(params = {}) ⇒ Types::DeleteServiceResponse
Deletes a service.
-
#delete_service_network(params = {}) ⇒ Struct
Deletes a service network.
-
#delete_service_network_service_association(params = {}) ⇒ Types::DeleteServiceNetworkServiceAssociationResponse
Deletes the association between a specified service and the specific service network.
-
#delete_service_network_vpc_association(params = {}) ⇒ Types::DeleteServiceNetworkVpcAssociationResponse
Disassociates the VPC from the service network.
-
#delete_target_group(params = {}) ⇒ Types::DeleteTargetGroupResponse
Deletes a target group.
-
#deregister_targets(params = {}) ⇒ Types::DeregisterTargetsResponse
Deregisters the specified targets from the specified target group.
-
#get_access_log_subscription(params = {}) ⇒ Types::GetAccessLogSubscriptionResponse
Retrieves information about the specified access log subscription.
-
#get_auth_policy(params = {}) ⇒ Types::GetAuthPolicyResponse
Retrieves information about the auth policy for the specified service or service network.
-
#get_listener(params = {}) ⇒ Types::GetListenerResponse
Retrieves information about the specified listener for the specified service.
-
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Retrieves information about the resource policy.
-
#get_rule(params = {}) ⇒ Types::GetRuleResponse
Retrieves information about listener rules.
-
#get_service(params = {}) ⇒ Types::GetServiceResponse
Retrieves information about the specified service.
-
#get_service_network(params = {}) ⇒ Types::GetServiceNetworkResponse
Retrieves information about the specified service network.
-
#get_service_network_service_association(params = {}) ⇒ Types::GetServiceNetworkServiceAssociationResponse
Retrieves information about the specified association between a service network and a service.
-
#get_service_network_vpc_association(params = {}) ⇒ Types::GetServiceNetworkVpcAssociationResponse
Retrieves information about the association between a service network and a VPC.
-
#get_target_group(params = {}) ⇒ Types::GetTargetGroupResponse
Retrieves information about the specified target group.
-
#list_access_log_subscriptions(params = {}) ⇒ Types::ListAccessLogSubscriptionsResponse
Lists all access log subscriptions for the specified service network or service.
-
#list_listeners(params = {}) ⇒ Types::ListListenersResponse
Lists the listeners for the specified service.
-
#list_rules(params = {}) ⇒ Types::ListRulesResponse
Lists the rules for the listener.
-
#list_service_network_service_associations(params = {}) ⇒ Types::ListServiceNetworkServiceAssociationsResponse
Lists the associations between the service network and the service.
-
#list_service_network_vpc_associations(params = {}) ⇒ Types::ListServiceNetworkVpcAssociationsResponse
Lists the service network and VPC associations.
-
#list_service_networks(params = {}) ⇒ Types::ListServiceNetworksResponse
Lists the service networks owned by the caller account or shared with the caller account.
-
#list_services(params = {}) ⇒ Types::ListServicesResponse
Lists the services owned by the caller account or shared with the caller account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
-
#list_target_groups(params = {}) ⇒ Types::ListTargetGroupsResponse
Lists your target groups.
-
#list_targets(params = {}) ⇒ Types::ListTargetsResponse
Lists the targets for the target group.
-
#put_auth_policy(params = {}) ⇒ Types::PutAuthPolicyResponse
Creates or updates the auth policy.
-
#put_resource_policy(params = {}) ⇒ Struct
Attaches a resource-based permission policy to a service or service network.
-
#register_targets(params = {}) ⇒ Types::RegisterTargetsResponse
Registers the targets with the target group.
-
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
-
#update_access_log_subscription(params = {}) ⇒ Types::UpdateAccessLogSubscriptionResponse
Updates the specified access log subscription.
-
#update_listener(params = {}) ⇒ Types::UpdateListenerResponse
Updates the specified listener for the specified service.
-
#update_rule(params = {}) ⇒ Types::UpdateRuleResponse
Updates a rule for the listener.
-
#update_service(params = {}) ⇒ Types::UpdateServiceResponse
Updates the specified service.
-
#update_service_network(params = {}) ⇒ Types::UpdateServiceNetworkResponse
Updates the specified service network.
-
#update_service_network_vpc_association(params = {}) ⇒ Types::UpdateServiceNetworkVpcAssociationResponse
Updates the service network and VPC association.
-
#update_target_group(params = {}) ⇒ Types::UpdateTargetGroupResponse
Updates the specified target group.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
409 410 411 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 409 def initialize(*args) super end |
Instance Method Details
#batch_update_rule(params = {}) ⇒ Types::BatchUpdateRuleResponse
Updates the listener rules in a batch. You can use this operation to change the priority of listener rules. This can be useful when bulk updating or swapping rule priority.
513 514 515 516 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 513 def batch_update_rule(params = {}, = {}) req = build_request(:batch_update_rule, params) req.send_request() end |
#create_access_log_subscription(params = {}) ⇒ Types::CreateAccessLogSubscriptionResponse
Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner will only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. For more information, see Access logs in the Amazon VPC Lattice User Guide.
584 585 586 587 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 584 def create_access_log_subscription(params = {}, = {}) req = build_request(:create_access_log_subscription, params) req.send_request() end |
#create_listener(params = {}) ⇒ Types::CreateListenerResponse
Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services. For more information, see Listeners in the Amazon VPC Lattice User Guide.
691 692 693 694 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 691 def create_listener(params = {}, = {}) req = build_request(:create_listener, params) req.send_request() end |
#create_rule(params = {}) ⇒ Types::CreateRuleResponse
Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
825 826 827 828 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 825 def create_rule(params = {}, = {}) req = build_request(:create_rule, params) req.send_request() end |
#create_service(params = {}) ⇒ Types::CreateServiceResponse
Creates a service. A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
For more information, see Services in the Amazon VPC Lattice User Guide.
915 916 917 918 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 915 def create_service(params = {}, = {}) req = build_request(:create_service, params) req.send_request() end |
#create_service_network(params = {}) ⇒ Types::CreateServiceNetworkResponse
Creates a service network. A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.
For more information, see Service networks in the Amazon VPC Lattice User Guide.
988 989 990 991 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 988 def create_service_network(params = {}, = {}) req = build_request(:create_service_network, params) req.send_request() end |
#create_service_network_service_association(params = {}) ⇒ Types::CreateServiceNetworkServiceAssociationResponse
Associates a service with a service network.
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
1062 1063 1064 1065 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1062 def create_service_network_service_association(params = {}, = {}) req = build_request(:create_service_network_service_association, params) req.send_request() end |
#create_service_network_vpc_association(params = {}) ⇒ Types::CreateServiceNetworkVpcAssociationResponse
Associates a VPC with a service network. When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide.
You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.
As a result of this operation, the association gets created in the service network account and the VPC owner account.
Once a security group is added to the VPC association it cannot be removed. You can add or update the security groups being used for the VPC association once a security group is attached. To remove all security groups you must reassociate the VPC.
1154 1155 1156 1157 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1154 def create_service_network_vpc_association(params = {}, = {}) req = build_request(:create_service_network_vpc_association, params) req.send_request() end |
#create_target_group(params = {}) ⇒ Types::CreateTargetGroupResponse
Creates a target group. A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.
For more information, see Target groups in the Amazon VPC Lattice User Guide.
1266 1267 1268 1269 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1266 def create_target_group(params = {}, = {}) req = build_request(:create_target_group, params) req.send_request() end |
#delete_access_log_subscription(params = {}) ⇒ Struct
Deletes the specified access log subscription.
1288 1289 1290 1291 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1288 def delete_access_log_subscription(params = {}, = {}) req = build_request(:delete_access_log_subscription, params) req.send_request() end |
#delete_auth_policy(params = {}) ⇒ Struct
Deletes the specified auth policy. If an auth is set to Amazon Web
Services_IAM
and the auth policy is deleted, all requests will be
denied by default. If you are trying to remove the auth policy
completely, you must set the auth_type to NONE
. If auth is enabled
on the resource, but no auth policy is set, all requests will be
denied.
1315 1316 1317 1318 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1315 def delete_auth_policy(params = {}, = {}) req = build_request(:delete_auth_policy, params) req.send_request() end |
#delete_listener(params = {}) ⇒ Struct
Deletes the specified listener.
1341 1342 1343 1344 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1341 def delete_listener(params = {}, = {}) req = build_request(:delete_listener, params) req.send_request() end |
#delete_resource_policy(params = {}) ⇒ Struct
Deletes the specified resource policy.
1363 1364 1365 1366 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1363 def delete_resource_policy(params = {}, = {}) req = build_request(:delete_resource_policy, params) req.send_request() end |
#delete_rule(params = {}) ⇒ Struct
Deletes a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. You can delete additional listener rules, but you cannot delete the default rule.
For more information, see Listener rules in the Amazon VPC Lattice User Guide.
1404 1405 1406 1407 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1404 def delete_rule(params = {}, = {}) req = build_request(:delete_rule, params) req.send_request() end |
#delete_service(params = {}) ⇒ Types::DeleteServiceResponse
Deletes a service. A service can't be deleted if it's associated with a service network. If you delete a service, all resources related to the service, such as the resource policy, auth policy, listeners, listener rules, and access log subscriptions, are also deleted. For more information, see Delete a service in the Amazon VPC Lattice User Guide.
1447 1448 1449 1450 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1447 def delete_service(params = {}, = {}) req = build_request(:delete_service, params) req.send_request() end |
#delete_service_network(params = {}) ⇒ Struct
Deletes a service network. You can only delete the service network if there is no service or VPC associated with it. If you delete a service network, all resources related to the service network, such as the resource policy, auth policy, and access log subscriptions, are also deleted. For more information, see Delete a service network in the Amazon VPC Lattice User Guide.
1478 1479 1480 1481 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1478 def delete_service_network(params = {}, = {}) req = build_request(:delete_service_network, params) req.send_request() end |
#delete_service_network_service_association(params = {}) ⇒ Types::DeleteServiceNetworkServiceAssociationResponse
Deletes the association between a specified service and the specific service network. This request will fail if an association is still in progress.
1512 1513 1514 1515 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1512 def delete_service_network_service_association(params = {}, = {}) req = build_request(:delete_service_network_service_association, params) req.send_request() end |
#delete_service_network_vpc_association(params = {}) ⇒ Types::DeleteServiceNetworkVpcAssociationResponse
Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
1546 1547 1548 1549 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1546 def delete_service_network_vpc_association(params = {}, = {}) req = build_request(:delete_service_network_vpc_association, params) req.send_request() end |
#delete_target_group(params = {}) ⇒ Types::DeleteTargetGroupResponse
Deletes a target group. You can't delete a target group if it is used in a listener rule or if the target group creation is in progress.
1579 1580 1581 1582 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1579 def delete_target_group(params = {}, = {}) req = build_request(:delete_target_group, params) req.send_request() end |
#deregister_targets(params = {}) ⇒ Types::DeregisterTargetsResponse
Deregisters the specified targets from the specified target group.
1624 1625 1626 1627 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1624 def deregister_targets(params = {}, = {}) req = build_request(:deregister_targets, params) req.send_request() end |
#get_access_log_subscription(params = {}) ⇒ Types::GetAccessLogSubscriptionResponse
Retrieves information about the specified access log subscription.
1664 1665 1666 1667 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1664 def get_access_log_subscription(params = {}, = {}) req = build_request(:get_access_log_subscription, params) req.send_request() end |
#get_auth_policy(params = {}) ⇒ Types::GetAuthPolicyResponse
Retrieves information about the auth policy for the specified service or service network.
1700 1701 1702 1703 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1700 def get_auth_policy(params = {}, = {}) req = build_request(:get_auth_policy, params) req.send_request() end |
#get_listener(params = {}) ⇒ Types::GetListenerResponse
Retrieves information about the specified listener for the specified service.
1754 1755 1756 1757 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1754 def get_listener(params = {}, = {}) req = build_request(:get_listener, params) req.send_request() end |
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Retrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM on behalf of the resource owner when they share a resource.
1784 1785 1786 1787 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1784 def get_resource_policy(params = {}, = {}) req = build_request(:get_resource_policy, params) req.send_request() end |
#get_rule(params = {}) ⇒ Types::GetRuleResponse
Retrieves information about listener rules. You can also retrieve information about the default listener rule. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
1854 1855 1856 1857 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1854 def get_rule(params = {}, = {}) req = build_request(:get_rule, params) req.send_request() end |
#get_service(params = {}) ⇒ Types::GetServiceResponse
Retrieves information about the specified service.
1905 1906 1907 1908 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1905 def get_service(params = {}, = {}) req = build_request(:get_service, params) req.send_request() end |
#get_service_network(params = {}) ⇒ Types::GetServiceNetworkResponse
Retrieves information about the specified service network.
1947 1948 1949 1950 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1947 def get_service_network(params = {}, = {}) req = build_request(:get_service_network, params) req.send_request() end |
#get_service_network_service_association(params = {}) ⇒ Types::GetServiceNetworkServiceAssociationResponse
Retrieves information about the specified association between a service network and a service.
2005 2006 2007 2008 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2005 def get_service_network_service_association(params = {}, = {}) req = build_request(:get_service_network_service_association, params) req.send_request() end |
#get_service_network_vpc_association(params = {}) ⇒ Types::GetServiceNetworkVpcAssociationResponse
Retrieves information about the association between a service network and a VPC.
2059 2060 2061 2062 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2059 def get_service_network_vpc_association(params = {}, = {}) req = build_request(:get_service_network_vpc_association, params) req.send_request() end |
#get_target_group(params = {}) ⇒ Types::GetTargetGroupResponse
Retrieves information about the specified target group.
2123 2124 2125 2126 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2123 def get_target_group(params = {}, = {}) req = build_request(:get_target_group, params) req.send_request() end |
#list_access_log_subscriptions(params = {}) ⇒ Types::ListAccessLogSubscriptionsResponse
Lists all access log subscriptions for the specified service network or service.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2172 2173 2174 2175 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2172 def list_access_log_subscriptions(params = {}, = {}) req = build_request(:list_access_log_subscriptions, params) req.send_request() end |
#list_listeners(params = {}) ⇒ Types::ListListenersResponse
Lists the listeners for the specified service.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2219 2220 2221 2222 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2219 def list_listeners(params = {}, = {}) req = build_request(:list_listeners, params) req.send_request() end |
#list_rules(params = {}) ⇒ Types::ListRulesResponse
Lists the rules for the listener.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2270 2271 2272 2273 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2270 def list_rules(params = {}, = {}) req = build_request(:list_rules, params) req.send_request() end |
#list_service_network_service_associations(params = {}) ⇒ Types::ListServiceNetworkServiceAssociationsResponse
Lists the associations between the service network and the service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.
Every association in Amazon VPC Lattice is given a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource that is shared with another account, the association will include the local account ID as the prefix in the ARN for each account the resource is shared with.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2338 2339 2340 2341 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2338 def list_service_network_service_associations(params = {}, = {}) req = build_request(:list_service_network_service_associations, params) req.send_request() end |
#list_service_network_vpc_associations(params = {}) ⇒ Types::ListServiceNetworkVpcAssociationsResponse
Lists the service network and VPC associations. You can filter the list either by VPC or service network. You must provide either the service network identifier or the VPC identifier.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2394 2395 2396 2397 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2394 def list_service_network_vpc_associations(params = {}, = {}) req = build_request(:list_service_network_vpc_associations, params) req.send_request() end |
#list_service_networks(params = {}) ⇒ Types::ListServiceNetworksResponse
Lists the service networks owned by the caller account or shared with the caller account. Also includes the account ID in the ARN to show which account owns the service network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2439 2440 2441 2442 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2439 def list_service_networks(params = {}, = {}) req = build_request(:list_service_networks, params) req.send_request() end |
#list_services(params = {}) ⇒ Types::ListServicesResponse
Lists the services owned by the caller account or shared with the caller account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2485 2486 2487 2488 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2485 def list_services(params = {}, = {}) req = build_request(:list_services, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
2514 2515 2516 2517 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2514 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_target_groups(params = {}) ⇒ Types::ListTargetGroupsResponse
Lists your target groups. You can narrow your search by using the filters below in your request.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2573 2574 2575 2576 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2573 def list_target_groups(params = {}, = {}) req = build_request(:list_target_groups, params) req.send_request() end |
#list_targets(params = {}) ⇒ Types::ListTargetsResponse
Lists the targets for the target group. By default, all targets are included. You can use this API to check the health status of targets. You can also filter the results by target.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2628 2629 2630 2631 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2628 def list_targets(params = {}, = {}) req = build_request(:list_targets, params) req.send_request() end |
#put_auth_policy(params = {}) ⇒ Types::PutAuthPolicyResponse
Creates or updates the auth policy.
2663 2664 2665 2666 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2663 def put_auth_policy(params = {}, = {}) req = build_request(:put_auth_policy, params) req.send_request() end |
#put_resource_policy(params = {}) ⇒ Struct
Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks.
2693 2694 2695 2696 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2693 def put_resource_policy(params = {}, = {}) req = build_request(:put_resource_policy, params) req.send_request() end |
#register_targets(params = {}) ⇒ Types::RegisterTargetsResponse
Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
2739 2740 2741 2742 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2739 def register_targets(params = {}, = {}) req = build_request(:register_targets, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the specified resource.
2767 2768 2769 2770 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2767 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
2793 2794 2795 2796 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2793 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_access_log_subscription(params = {}) ⇒ Types::UpdateAccessLogSubscriptionResponse
Updates the specified access log subscription.
2833 2834 2835 2836 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2833 def update_access_log_subscription(params = {}, = {}) req = build_request(:update_access_log_subscription, params) req.send_request() end |
#update_listener(params = {}) ⇒ Types::UpdateListenerResponse
Updates the specified listener for the specified service.
2898 2899 2900 2901 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2898 def update_listener(params = {}, = {}) req = build_request(:update_listener, params) req.send_request() end |
#update_rule(params = {}) ⇒ Types::UpdateRuleResponse
Updates a rule for the listener. You can't modify a default listener
rule. To modify a default listener rule, use UpdateListener
.
3006 3007 3008 3009 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3006 def update_rule(params = {}, = {}) req = build_request(:update_rule, params) req.send_request() end |
#update_service(params = {}) ⇒ Types::UpdateServiceResponse
Updates the specified service.
3058 3059 3060 3061 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3058 def update_service(params = {}, = {}) req = build_request(:update_service, params) req.send_request() end |
#update_service_network(params = {}) ⇒ Types::UpdateServiceNetworkResponse
Updates the specified service network.
3102 3103 3104 3105 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3102 def update_service_network(params = {}, = {}) req = build_request(:update_service_network, params) req.send_request() end |
#update_service_network_vpc_association(params = {}) ⇒ Types::UpdateServiceNetworkVpcAssociationResponse
Updates the service network and VPC association. Once you add a security group, it cannot be removed.
3145 3146 3147 3148 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3145 def update_service_network_vpc_association(params = {}, = {}) req = build_request(:update_service_network_vpc_association, params) req.send_request() end |
#update_target_group(params = {}) ⇒ Types::UpdateTargetGroupResponse
Updates the specified target group.
3215 3216 3217 3218 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3215 def update_target_group(params = {}, = {}) req = build_request(:update_target_group, params) req.send_request() end |