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_resource_configuration(params = {}) ⇒ Types::CreateResourceConfigurationResponse
Creates a resource configuration.
-
#create_resource_gateway(params = {}) ⇒ Types::CreateResourceGatewayResponse
Creates a resource gateway.
-
#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_resource_association(params = {}) ⇒ Types::CreateServiceNetworkResourceAssociationResponse
Associates the specified service network with the specified resource configuration.
-
#create_service_network_service_association(params = {}) ⇒ Types::CreateServiceNetworkServiceAssociationResponse
Associates the specified service with the specified 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_configuration(params = {}) ⇒ Struct
Deletes the specified resource configuration.
-
#delete_resource_endpoint_association(params = {}) ⇒ Types::DeleteResourceEndpointAssociationResponse
Disassociates the resource configuration from the resource VPC endpoint.
-
#delete_resource_gateway(params = {}) ⇒ Types::DeleteResourceGatewayResponse
Deletes the specified resource gateway.
-
#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_resource_association(params = {}) ⇒ Types::DeleteServiceNetworkResourceAssociationResponse
Deletes the association between a service network and a resource configuration.
-
#delete_service_network_service_association(params = {}) ⇒ Types::DeleteServiceNetworkServiceAssociationResponse
Deletes the association between a service and a 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_configuration(params = {}) ⇒ Types::GetResourceConfigurationResponse
Retrieves information about the specified resource configuration.
-
#get_resource_gateway(params = {}) ⇒ Types::GetResourceGatewayResponse
Retrieves information about the specified resource gateway.
-
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Retrieves information about the specified resource policy.
-
#get_rule(params = {}) ⇒ Types::GetRuleResponse
Retrieves information about the specified 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_resource_association(params = {}) ⇒ Types::GetServiceNetworkResourceAssociationResponse
Retrieves information about the specified association between a service network and a resource configuration.
-
#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 specified 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 the access log subscriptions for the specified service network or service.
-
#list_listeners(params = {}) ⇒ Types::ListListenersResponse
Lists the listeners for the specified service.
-
#list_resource_configurations(params = {}) ⇒ Types::ListResourceConfigurationsResponse
Lists the resource configurations owned by or shared with this account.
-
#list_resource_endpoint_associations(params = {}) ⇒ Types::ListResourceEndpointAssociationsResponse
Lists the associations for the specified VPC endpoint.
-
#list_resource_gateways(params = {}) ⇒ Types::ListResourceGatewaysResponse
Lists the resource gateways that you own or that were shared with you.
-
#list_rules(params = {}) ⇒ Types::ListRulesResponse
Lists the rules for the specified listener.
-
#list_service_network_resource_associations(params = {}) ⇒ Types::ListServiceNetworkResourceAssociationsResponse
Lists the associations between a service network and a resource configuration.
-
#list_service_network_service_associations(params = {}) ⇒ Types::ListServiceNetworkServiceAssociationsResponse
Lists the associations between a service network and a service.
-
#list_service_network_vpc_associations(params = {}) ⇒ Types::ListServiceNetworkVpcAssociationsResponse
Lists the associations between a service network and a VPC.
-
#list_service_network_vpc_endpoint_associations(params = {}) ⇒ Types::ListServiceNetworkVpcEndpointAssociationsResponse
Lists the associations between a service network and a VPC endpoint.
-
#list_service_networks(params = {}) ⇒ Types::ListServiceNetworksResponse
Lists the service networks owned by or shared with this 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_resource_configuration(params = {}) ⇒ Types::UpdateResourceConfigurationResponse
Updates the specified resource configuration.
-
#update_resource_gateway(params = {}) ⇒ Types::UpdateResourceGatewayResponse
Updates the specified resource gateway.
-
#update_rule(params = {}) ⇒ Types::UpdateRuleResponse
Updates a specified 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.
467 468 469 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 467 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.
Required permissions: vpc-lattice:UpdateRule
For more information, see How Amazon VPC Lattice works with IAM in the Amazon VPC Lattice User Guide.
580 581 582 583 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 580 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 can 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.
657 658 659 660 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 657 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.
760 761 762 763 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 760 def create_listener(params = {}, = {}) req = build_request(:create_listener, params) req.send_request() end |
#create_resource_configuration(params = {}) ⇒ Types::CreateResourceConfigurationResponse
Creates a resource configuration. A resource configuration defines a specific resource. You can associate a resource configuration with a service network or a VPC endpoint.
895 896 897 898 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 895 def create_resource_configuration(params = {}, = {}) req = build_request(:create_resource_configuration, params) req.send_request() end |
#create_resource_gateway(params = {}) ⇒ Types::CreateResourceGatewayResponse
Creates a resource gateway.
973 974 975 976 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 973 def create_resource_gateway(params = {}, = {}) req = build_request(:create_resource_gateway, 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.
1107 1108 1109 1110 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1107 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.
1197 1198 1199 1200 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1197 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.
1278 1279 1280 1281 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1278 def create_service_network(params = {}, = {}) req = build_request(:create_service_network, params) req.send_request() end |
#create_service_network_resource_association(params = {}) ⇒ Types::CreateServiceNetworkResourceAssociationResponse
Associates the specified service network with the specified resource configuration. This allows the resource configuration to receive connections through the service network, including through a service network VPC endpoint.
1338 1339 1340 1341 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1338 def create_service_network_resource_association(params = {}, = {}) req = build_request(:create_service_network_resource_association, params) req.send_request() end |
#create_service_network_service_association(params = {}) ⇒ Types::CreateServiceNetworkServiceAssociationResponse
Associates the specified service with the specified service network. For more information, see Manage service associations in the Amazon VPC Lattice User Guide.
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.
1417 1418 1419 1420 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1417 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.
If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.
1509 1510 1511 1512 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1509 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.
1620 1621 1622 1623 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1620 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.
1642 1643 1644 1645 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1642 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 AWS_IAM
and
the auth policy is deleted, all requests are denied. 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 are denied.
1668 1669 1670 1671 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1668 def delete_auth_policy(params = {}, = {}) req = build_request(:delete_auth_policy, params) req.send_request() end |
#delete_listener(params = {}) ⇒ Struct
Deletes the specified listener.
1694 1695 1696 1697 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1694 def delete_listener(params = {}, = {}) req = build_request(:delete_listener, params) req.send_request() end |
#delete_resource_configuration(params = {}) ⇒ Struct
Deletes the specified resource configuration.
1716 1717 1718 1719 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1716 def delete_resource_configuration(params = {}, = {}) req = build_request(:delete_resource_configuration, params) req.send_request() end |
#delete_resource_endpoint_association(params = {}) ⇒ Types::DeleteResourceEndpointAssociationResponse
Disassociates the resource configuration from the resource VPC endpoint.
1753 1754 1755 1756 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1753 def delete_resource_endpoint_association(params = {}, = {}) req = build_request(:delete_resource_endpoint_association, params) req.send_request() end |
#delete_resource_gateway(params = {}) ⇒ Types::DeleteResourceGatewayResponse
Deletes the specified resource gateway.
1787 1788 1789 1790 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1787 def delete_resource_gateway(params = {}, = {}) req = build_request(:delete_resource_gateway, params) req.send_request() end |
#delete_resource_policy(params = {}) ⇒ Struct
Deletes the specified resource policy.
1809 1810 1811 1812 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1809 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.
1850 1851 1852 1853 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1850 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.
1893 1894 1895 1896 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1893 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.
1924 1925 1926 1927 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1924 def delete_service_network(params = {}, = {}) req = build_request(:delete_service_network, params) req.send_request() end |
#delete_service_network_resource_association(params = {}) ⇒ Types::DeleteServiceNetworkResourceAssociationResponse
Deletes the association between a service network and a resource configuration.
1957 1958 1959 1960 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1957 def delete_service_network_resource_association(params = {}, = {}) req = build_request(:delete_service_network_resource_association, params) req.send_request() end |
#delete_service_network_service_association(params = {}) ⇒ Types::DeleteServiceNetworkServiceAssociationResponse
Deletes the association between a service and a service network. This operation fails if an association is still in progress.
1990 1991 1992 1993 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 1990 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.
2024 2025 2026 2027 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2024 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.
2057 2058 2059 2060 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2057 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.
2102 2103 2104 2105 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2102 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.
2144 2145 2146 2147 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2144 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.
2179 2180 2181 2182 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2179 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.
2233 2234 2235 2236 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2233 def get_listener(params = {}, = {}) req = build_request(:get_listener, params) req.send_request() end |
#get_resource_configuration(params = {}) ⇒ Types::GetResourceConfigurationResponse
Retrieves information about the specified resource configuration.
2295 2296 2297 2298 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2295 def get_resource_configuration(params = {}, = {}) req = build_request(:get_resource_configuration, params) req.send_request() end |
#get_resource_gateway(params = {}) ⇒ Types::GetResourceGatewayResponse
Retrieves information about the specified resource gateway.
2343 2344 2345 2346 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2343 def get_resource_gateway(params = {}, = {}) req = build_request(:get_resource_gateway, params) req.send_request() end |
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Retrieves information about the specified resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.
2373 2374 2375 2376 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2373 def get_resource_policy(params = {}, = {}) req = build_request(:get_resource_policy, params) req.send_request() end |
#get_rule(params = {}) ⇒ Types::GetRuleResponse
Retrieves information about the specified 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.
2444 2445 2446 2447 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2444 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.
2495 2496 2497 2498 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2495 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.
2539 2540 2541 2542 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2539 def get_service_network(params = {}, = {}) req = build_request(:get_service_network, params) req.send_request() end |
#get_service_network_resource_association(params = {}) ⇒ Types::GetServiceNetworkResourceAssociationResponse
Retrieves information about the specified association between a service network and a resource configuration.
2602 2603 2604 2605 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2602 def get_service_network_resource_association(params = {}, = {}) req = build_request(:get_service_network_resource_association, 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.
2660 2661 2662 2663 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2660 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 specified association between a service network and a VPC.
2714 2715 2716 2717 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2714 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.
2778 2779 2780 2781 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2778 def get_target_group(params = {}, = {}) req = build_request(:get_target_group, params) req.send_request() end |
#list_access_log_subscriptions(params = {}) ⇒ Types::ListAccessLogSubscriptionsResponse
Lists the 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.
2827 2828 2829 2830 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2827 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.
2874 2875 2876 2877 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2874 def list_listeners(params = {}, = {}) req = build_request(:list_listeners, params) req.send_request() end |
#list_resource_configurations(params = {}) ⇒ Types::ListResourceConfigurationsResponse
Lists the resource configurations owned by or shared with this account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2929 2930 2931 2932 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2929 def list_resource_configurations(params = {}, = {}) req = build_request(:list_resource_configurations, params) req.send_request() end |
#list_resource_endpoint_associations(params = {}) ⇒ Types::ListResourceEndpointAssociationsResponse
Lists the associations for the specified VPC endpoint.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2991 2992 2993 2994 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 2991 def list_resource_endpoint_associations(params = {}, = {}) req = build_request(:list_resource_endpoint_associations, params) req.send_request() end |
#list_resource_gateways(params = {}) ⇒ Types::ListResourceGatewaysResponse
Lists the resource gateways that you own or that were shared with you.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3040 3041 3042 3043 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3040 def list_resource_gateways(params = {}, = {}) req = build_request(:list_resource_gateways, params) req.send_request() end |
#list_rules(params = {}) ⇒ Types::ListRulesResponse
Lists the rules for the specified listener.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3091 3092 3093 3094 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3091 def list_rules(params = {}, = {}) req = build_request(:list_rules, params) req.send_request() end |
#list_service_network_resource_associations(params = {}) ⇒ Types::ListServiceNetworkResourceAssociationsResponse
Lists the associations between a service network and a resource configuration.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3154 3155 3156 3157 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3154 def list_service_network_resource_associations(params = {}, = {}) req = build_request(:list_service_network_resource_associations, params) req.send_request() end |
#list_service_network_service_associations(params = {}) ⇒ Types::ListServiceNetworkServiceAssociationsResponse
Lists the associations between a service network and a 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 has 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 is shared with another account, the association includes the local account ID as the prefix in the ARN.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3221 3222 3223 3224 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3221 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 associations between a service network and a VPC. You can filter the list either by VPC or service network. You must provide either the ID of the service network identifier or the ID of the VPC.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3277 3278 3279 3280 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3277 def list_service_network_vpc_associations(params = {}, = {}) req = build_request(:list_service_network_vpc_associations, params) req.send_request() end |
#list_service_network_vpc_endpoint_associations(params = {}) ⇒ Types::ListServiceNetworkVpcEndpointAssociationsResponse
Lists the associations between a service network and a VPC endpoint.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3325 3326 3327 3328 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3325 def list_service_network_vpc_endpoint_associations(params = {}, = {}) req = build_request(:list_service_network_vpc_endpoint_associations, params) req.send_request() end |
#list_service_networks(params = {}) ⇒ Types::ListServiceNetworksResponse
Lists the service networks owned by or shared with this account. The account ID in the ARN shows which account owns the service network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3370 3371 3372 3373 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3370 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.
3416 3417 3418 3419 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3416 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.
3445 3446 3447 3448 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3445 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.
3504 3505 3506 3507 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3504 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.
3559 3560 3561 3562 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3559 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. The policy string in JSON must not contain newlines or blank lines.
For more information, see Auth policies in the Amazon VPC Lattice User Guide.
3603 3604 3605 3606 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3603 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.
3634 3635 3636 3637 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3634 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.
3680 3681 3682 3683 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3680 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.
3708 3709 3710 3711 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3708 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.
3734 3735 3736 3737 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3734 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.
3774 3775 3776 3777 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3774 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.
3839 3840 3841 3842 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3839 def update_listener(params = {}, = {}) req = build_request(:update_listener, params) req.send_request() end |
#update_resource_configuration(params = {}) ⇒ Types::UpdateResourceConfigurationResponse
Updates the specified resource configuration.
3917 3918 3919 3920 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3917 def update_resource_configuration(params = {}, = {}) req = build_request(:update_resource_configuration, params) req.send_request() end |
#update_resource_gateway(params = {}) ⇒ Types::UpdateResourceGatewayResponse
Updates the specified resource gateway.
3965 3966 3967 3968 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 3965 def update_resource_gateway(params = {}, = {}) req = build_request(:update_resource_gateway, params) req.send_request() end |
#update_rule(params = {}) ⇒ Types::UpdateRuleResponse
Updates a specified rule for the listener. You can't modify a default
listener rule. To modify a default listener rule, use
UpdateListener
.
4074 4075 4076 4077 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 4074 def update_rule(params = {}, = {}) req = build_request(:update_rule, params) req.send_request() end |
#update_service(params = {}) ⇒ Types::UpdateServiceResponse
Updates the specified service.
4126 4127 4128 4129 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 4126 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.
4170 4171 4172 4173 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 4170 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. If you add a security group to the service network and VPC association, the association must continue to have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and then recreate it without security groups.
4216 4217 4218 4219 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 4216 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.
4286 4287 4288 4289 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb', line 4286 def update_target_group(params = {}, = {}) req = build_request(:update_target_group, params) req.send_request() end |