Interface VpcLatticeAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Amazon VPC Lattice is a fully managed application networking service that you use to connect, secure, and monitor all of your services across multiple accounts and virtual private clouds (VPCs). Amazon VPC Lattice interconnects your microservices and legacy services within a logical boundary, so that you can discover and manage them more efficiently. For more information, see the Amazon VPC Lattice User Guide
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture
<BatchUpdateRuleResponse> batchUpdateRule
(Consumer<BatchUpdateRuleRequest.Builder> batchUpdateRuleRequest) Updates the listener rules in a batch.default CompletableFuture
<BatchUpdateRuleResponse> batchUpdateRule
(BatchUpdateRuleRequest batchUpdateRuleRequest) Updates the listener rules in a batch.static VpcLatticeAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aVpcLatticeAsyncClient
.static VpcLatticeAsyncClient
create()
Create aVpcLatticeAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createAccessLogSubscription
(Consumer<CreateAccessLogSubscriptionRequest.Builder> createAccessLogSubscriptionRequest) Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose.createAccessLogSubscription
(CreateAccessLogSubscriptionRequest createAccessLogSubscriptionRequest) Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose.default CompletableFuture
<CreateListenerResponse> createListener
(Consumer<CreateListenerRequest.Builder> createListenerRequest) Creates a listener for a service.default CompletableFuture
<CreateListenerResponse> createListener
(CreateListenerRequest createListenerRequest) Creates a listener for a service.createResourceConfiguration
(Consumer<CreateResourceConfigurationRequest.Builder> createResourceConfigurationRequest) Creates a resource configuration.createResourceConfiguration
(CreateResourceConfigurationRequest createResourceConfigurationRequest) Creates a resource configuration.createResourceGateway
(Consumer<CreateResourceGatewayRequest.Builder> createResourceGatewayRequest) Creates a resource gateway.createResourceGateway
(CreateResourceGatewayRequest createResourceGatewayRequest) Creates a resource gateway.default CompletableFuture
<CreateRuleResponse> createRule
(Consumer<CreateRuleRequest.Builder> createRuleRequest) Creates a listener rule.default CompletableFuture
<CreateRuleResponse> createRule
(CreateRuleRequest createRuleRequest) Creates a listener rule.default CompletableFuture
<CreateServiceResponse> createService
(Consumer<CreateServiceRequest.Builder> createServiceRequest) Creates a service.default CompletableFuture
<CreateServiceResponse> createService
(CreateServiceRequest createServiceRequest) Creates a service.createServiceNetwork
(Consumer<CreateServiceNetworkRequest.Builder> createServiceNetworkRequest) Creates a service network.createServiceNetwork
(CreateServiceNetworkRequest createServiceNetworkRequest) Creates a service network.createServiceNetworkResourceAssociation
(Consumer<CreateServiceNetworkResourceAssociationRequest.Builder> createServiceNetworkResourceAssociationRequest) Associates the specified service network with the specified resource configuration.createServiceNetworkResourceAssociation
(CreateServiceNetworkResourceAssociationRequest createServiceNetworkResourceAssociationRequest) Associates the specified service network with the specified resource configuration.createServiceNetworkServiceAssociation
(Consumer<CreateServiceNetworkServiceAssociationRequest.Builder> createServiceNetworkServiceAssociationRequest) Associates the specified service with the specified service network.createServiceNetworkServiceAssociation
(CreateServiceNetworkServiceAssociationRequest createServiceNetworkServiceAssociationRequest) Associates the specified service with the specified service network.createServiceNetworkVpcAssociation
(Consumer<CreateServiceNetworkVpcAssociationRequest.Builder> createServiceNetworkVpcAssociationRequest) Associates a VPC with a service network.createServiceNetworkVpcAssociation
(CreateServiceNetworkVpcAssociationRequest createServiceNetworkVpcAssociationRequest) Associates a VPC with a service network.createTargetGroup
(Consumer<CreateTargetGroupRequest.Builder> createTargetGroupRequest) Creates a target group.createTargetGroup
(CreateTargetGroupRequest createTargetGroupRequest) Creates a target group.deleteAccessLogSubscription
(Consumer<DeleteAccessLogSubscriptionRequest.Builder> deleteAccessLogSubscriptionRequest) Deletes the specified access log subscription.deleteAccessLogSubscription
(DeleteAccessLogSubscriptionRequest deleteAccessLogSubscriptionRequest) Deletes the specified access log subscription.deleteAuthPolicy
(Consumer<DeleteAuthPolicyRequest.Builder> deleteAuthPolicyRequest) Deletes the specified auth policy.deleteAuthPolicy
(DeleteAuthPolicyRequest deleteAuthPolicyRequest) Deletes the specified auth policy.default CompletableFuture
<DeleteListenerResponse> deleteListener
(Consumer<DeleteListenerRequest.Builder> deleteListenerRequest) Deletes the specified listener.default CompletableFuture
<DeleteListenerResponse> deleteListener
(DeleteListenerRequest deleteListenerRequest) Deletes the specified listener.deleteResourceConfiguration
(Consumer<DeleteResourceConfigurationRequest.Builder> deleteResourceConfigurationRequest) Deletes the specified resource configuration.deleteResourceConfiguration
(DeleteResourceConfigurationRequest deleteResourceConfigurationRequest) Deletes the specified resource configuration.deleteResourceEndpointAssociation
(Consumer<DeleteResourceEndpointAssociationRequest.Builder> deleteResourceEndpointAssociationRequest) Disassociates the resource configuration from the resource VPC endpoint.deleteResourceEndpointAssociation
(DeleteResourceEndpointAssociationRequest deleteResourceEndpointAssociationRequest) Disassociates the resource configuration from the resource VPC endpoint.deleteResourceGateway
(Consumer<DeleteResourceGatewayRequest.Builder> deleteResourceGatewayRequest) Deletes the specified resource gateway.deleteResourceGateway
(DeleteResourceGatewayRequest deleteResourceGatewayRequest) Deletes the specified resource gateway.deleteResourcePolicy
(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes the specified resource policy.deleteResourcePolicy
(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes the specified resource policy.default CompletableFuture
<DeleteRuleResponse> deleteRule
(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest) Deletes a listener rule.default CompletableFuture
<DeleteRuleResponse> deleteRule
(DeleteRuleRequest deleteRuleRequest) Deletes a listener rule.default CompletableFuture
<DeleteServiceResponse> deleteService
(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) Deletes a service.default CompletableFuture
<DeleteServiceResponse> deleteService
(DeleteServiceRequest deleteServiceRequest) Deletes a service.deleteServiceNetwork
(Consumer<DeleteServiceNetworkRequest.Builder> deleteServiceNetworkRequest) Deletes a service network.deleteServiceNetwork
(DeleteServiceNetworkRequest deleteServiceNetworkRequest) Deletes a service network.deleteServiceNetworkResourceAssociation
(Consumer<DeleteServiceNetworkResourceAssociationRequest.Builder> deleteServiceNetworkResourceAssociationRequest) Deletes the association between a service network and a resource configuration.deleteServiceNetworkResourceAssociation
(DeleteServiceNetworkResourceAssociationRequest deleteServiceNetworkResourceAssociationRequest) Deletes the association between a service network and a resource configuration.deleteServiceNetworkServiceAssociation
(Consumer<DeleteServiceNetworkServiceAssociationRequest.Builder> deleteServiceNetworkServiceAssociationRequest) Deletes the association between a service and a service network.deleteServiceNetworkServiceAssociation
(DeleteServiceNetworkServiceAssociationRequest deleteServiceNetworkServiceAssociationRequest) Deletes the association between a service and a service network.deleteServiceNetworkVpcAssociation
(Consumer<DeleteServiceNetworkVpcAssociationRequest.Builder> deleteServiceNetworkVpcAssociationRequest) Disassociates the VPC from the service network.deleteServiceNetworkVpcAssociation
(DeleteServiceNetworkVpcAssociationRequest deleteServiceNetworkVpcAssociationRequest) Disassociates the VPC from the service network.deleteTargetGroup
(Consumer<DeleteTargetGroupRequest.Builder> deleteTargetGroupRequest) Deletes a target group.deleteTargetGroup
(DeleteTargetGroupRequest deleteTargetGroupRequest) Deletes a target group.deregisterTargets
(Consumer<DeregisterTargetsRequest.Builder> deregisterTargetsRequest) Deregisters the specified targets from the specified target group.deregisterTargets
(DeregisterTargetsRequest deregisterTargetsRequest) Deregisters the specified targets from the specified target group.getAccessLogSubscription
(Consumer<GetAccessLogSubscriptionRequest.Builder> getAccessLogSubscriptionRequest) Retrieves information about the specified access log subscription.getAccessLogSubscription
(GetAccessLogSubscriptionRequest getAccessLogSubscriptionRequest) Retrieves information about the specified access log subscription.default CompletableFuture
<GetAuthPolicyResponse> getAuthPolicy
(Consumer<GetAuthPolicyRequest.Builder> getAuthPolicyRequest) Retrieves information about the auth policy for the specified service or service network.default CompletableFuture
<GetAuthPolicyResponse> getAuthPolicy
(GetAuthPolicyRequest getAuthPolicyRequest) Retrieves information about the auth policy for the specified service or service network.default CompletableFuture
<GetListenerResponse> getListener
(Consumer<GetListenerRequest.Builder> getListenerRequest) Retrieves information about the specified listener for the specified service.default CompletableFuture
<GetListenerResponse> getListener
(GetListenerRequest getListenerRequest) Retrieves information about the specified listener for the specified service.getResourceConfiguration
(Consumer<GetResourceConfigurationRequest.Builder> getResourceConfigurationRequest) Retrieves information about the specified resource configuration.getResourceConfiguration
(GetResourceConfigurationRequest getResourceConfigurationRequest) Retrieves information about the specified resource configuration.getResourceGateway
(Consumer<GetResourceGatewayRequest.Builder> getResourceGatewayRequest) Retrieves information about the specified resource gateway.getResourceGateway
(GetResourceGatewayRequest getResourceGatewayRequest) Retrieves information about the specified resource gateway.getResourcePolicy
(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves information about the specified resource policy.getResourcePolicy
(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves information about the specified resource policy.default CompletableFuture
<GetRuleResponse> getRule
(Consumer<GetRuleRequest.Builder> getRuleRequest) Retrieves information about the specified listener rules.default CompletableFuture
<GetRuleResponse> getRule
(GetRuleRequest getRuleRequest) Retrieves information about the specified listener rules.default CompletableFuture
<GetServiceResponse> getService
(Consumer<GetServiceRequest.Builder> getServiceRequest) Retrieves information about the specified service.default CompletableFuture
<GetServiceResponse> getService
(GetServiceRequest getServiceRequest) Retrieves information about the specified service.getServiceNetwork
(Consumer<GetServiceNetworkRequest.Builder> getServiceNetworkRequest) Retrieves information about the specified service network.getServiceNetwork
(GetServiceNetworkRequest getServiceNetworkRequest) Retrieves information about the specified service network.getServiceNetworkResourceAssociation
(Consumer<GetServiceNetworkResourceAssociationRequest.Builder> getServiceNetworkResourceAssociationRequest) Retrieves information about the specified association between a service network and a resource configuration.getServiceNetworkResourceAssociation
(GetServiceNetworkResourceAssociationRequest getServiceNetworkResourceAssociationRequest) Retrieves information about the specified association between a service network and a resource configuration.getServiceNetworkServiceAssociation
(Consumer<GetServiceNetworkServiceAssociationRequest.Builder> getServiceNetworkServiceAssociationRequest) Retrieves information about the specified association between a service network and a service.getServiceNetworkServiceAssociation
(GetServiceNetworkServiceAssociationRequest getServiceNetworkServiceAssociationRequest) Retrieves information about the specified association between a service network and a service.getServiceNetworkVpcAssociation
(Consumer<GetServiceNetworkVpcAssociationRequest.Builder> getServiceNetworkVpcAssociationRequest) Retrieves information about the specified association between a service network and a VPC.getServiceNetworkVpcAssociation
(GetServiceNetworkVpcAssociationRequest getServiceNetworkVpcAssociationRequest) Retrieves information about the specified association between a service network and a VPC.default CompletableFuture
<GetTargetGroupResponse> getTargetGroup
(Consumer<GetTargetGroupRequest.Builder> getTargetGroupRequest) Retrieves information about the specified target group.default CompletableFuture
<GetTargetGroupResponse> getTargetGroup
(GetTargetGroupRequest getTargetGroupRequest) Retrieves information about the specified target group.listAccessLogSubscriptions
(Consumer<ListAccessLogSubscriptionsRequest.Builder> listAccessLogSubscriptionsRequest) Lists the access log subscriptions for the specified service network or service.listAccessLogSubscriptions
(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest) Lists the access log subscriptions for the specified service network or service.listAccessLogSubscriptionsPaginator
(Consumer<ListAccessLogSubscriptionsRequest.Builder> listAccessLogSubscriptionsRequest) This is a variant oflistAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation.listAccessLogSubscriptionsPaginator
(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest) This is a variant oflistAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation.default CompletableFuture
<ListListenersResponse> listListeners
(Consumer<ListListenersRequest.Builder> listListenersRequest) Lists the listeners for the specified service.default CompletableFuture
<ListListenersResponse> listListeners
(ListListenersRequest listListenersRequest) Lists the listeners for the specified service.default ListListenersPublisher
listListenersPaginator
(Consumer<ListListenersRequest.Builder> listListenersRequest) This is a variant oflistListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest)
operation.default ListListenersPublisher
listListenersPaginator
(ListListenersRequest listListenersRequest) This is a variant oflistListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest)
operation.listResourceConfigurations
(Consumer<ListResourceConfigurationsRequest.Builder> listResourceConfigurationsRequest) Lists the resource configurations owned by or shared with this account.listResourceConfigurations
(ListResourceConfigurationsRequest listResourceConfigurationsRequest) Lists the resource configurations owned by or shared with this account.listResourceConfigurationsPaginator
(Consumer<ListResourceConfigurationsRequest.Builder> listResourceConfigurationsRequest) This is a variant oflistResourceConfigurations(software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsRequest)
operation.listResourceConfigurationsPaginator
(ListResourceConfigurationsRequest listResourceConfigurationsRequest) This is a variant oflistResourceConfigurations(software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsRequest)
operation.listResourceEndpointAssociations
(Consumer<ListResourceEndpointAssociationsRequest.Builder> listResourceEndpointAssociationsRequest) Lists the associations for the specified VPC endpoint.listResourceEndpointAssociations
(ListResourceEndpointAssociationsRequest listResourceEndpointAssociationsRequest) Lists the associations for the specified VPC endpoint.listResourceEndpointAssociationsPaginator
(Consumer<ListResourceEndpointAssociationsRequest.Builder> listResourceEndpointAssociationsRequest) This is a variant oflistResourceEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsRequest)
operation.listResourceEndpointAssociationsPaginator
(ListResourceEndpointAssociationsRequest listResourceEndpointAssociationsRequest) This is a variant oflistResourceEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsRequest)
operation.listResourceGateways
(Consumer<ListResourceGatewaysRequest.Builder> listResourceGatewaysRequest) Lists the resource gateways that you own or that were shared with you.listResourceGateways
(ListResourceGatewaysRequest listResourceGatewaysRequest) Lists the resource gateways that you own or that were shared with you.default ListResourceGatewaysPublisher
listResourceGatewaysPaginator
(Consumer<ListResourceGatewaysRequest.Builder> listResourceGatewaysRequest) This is a variant oflistResourceGateways(software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysRequest)
operation.default ListResourceGatewaysPublisher
listResourceGatewaysPaginator
(ListResourceGatewaysRequest listResourceGatewaysRequest) This is a variant oflistResourceGateways(software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysRequest)
operation.default CompletableFuture
<ListRulesResponse> listRules
(Consumer<ListRulesRequest.Builder> listRulesRequest) Lists the rules for the specified listener.default CompletableFuture
<ListRulesResponse> listRules
(ListRulesRequest listRulesRequest) Lists the rules for the specified listener.default ListRulesPublisher
listRulesPaginator
(Consumer<ListRulesRequest.Builder> listRulesRequest) This is a variant oflistRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest)
operation.default ListRulesPublisher
listRulesPaginator
(ListRulesRequest listRulesRequest) This is a variant oflistRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest)
operation.listServiceNetworkResourceAssociations
(Consumer<ListServiceNetworkResourceAssociationsRequest.Builder> listServiceNetworkResourceAssociationsRequest) Lists the associations between a service network and a resource configuration.listServiceNetworkResourceAssociations
(ListServiceNetworkResourceAssociationsRequest listServiceNetworkResourceAssociationsRequest) Lists the associations between a service network and a resource configuration.listServiceNetworkResourceAssociationsPaginator
(Consumer<ListServiceNetworkResourceAssociationsRequest.Builder> listServiceNetworkResourceAssociationsRequest) listServiceNetworkResourceAssociationsPaginator
(ListServiceNetworkResourceAssociationsRequest listServiceNetworkResourceAssociationsRequest) listServiceNetworks
(Consumer<ListServiceNetworksRequest.Builder> listServiceNetworksRequest) Lists the service networks owned by or shared with this account.listServiceNetworks
(ListServiceNetworksRequest listServiceNetworksRequest) Lists the service networks owned by or shared with this account.listServiceNetworkServiceAssociations
(Consumer<ListServiceNetworkServiceAssociationsRequest.Builder> listServiceNetworkServiceAssociationsRequest) Lists the associations between a service network and a service.listServiceNetworkServiceAssociations
(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest) Lists the associations between a service network and a service.listServiceNetworkServiceAssociationsPaginator
(Consumer<ListServiceNetworkServiceAssociationsRequest.Builder> listServiceNetworkServiceAssociationsRequest) listServiceNetworkServiceAssociationsPaginator
(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest) default ListServiceNetworksPublisher
listServiceNetworksPaginator
(Consumer<ListServiceNetworksRequest.Builder> listServiceNetworksRequest) This is a variant oflistServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation.default ListServiceNetworksPublisher
listServiceNetworksPaginator
(ListServiceNetworksRequest listServiceNetworksRequest) This is a variant oflistServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation.listServiceNetworkVpcAssociations
(Consumer<ListServiceNetworkVpcAssociationsRequest.Builder> listServiceNetworkVpcAssociationsRequest) Lists the associations between a service network and a VPC.listServiceNetworkVpcAssociations
(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest) Lists the associations between a service network and a VPC.listServiceNetworkVpcAssociationsPaginator
(Consumer<ListServiceNetworkVpcAssociationsRequest.Builder> listServiceNetworkVpcAssociationsRequest) This is a variant oflistServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation.listServiceNetworkVpcAssociationsPaginator
(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest) This is a variant oflistServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation.listServiceNetworkVpcEndpointAssociations
(Consumer<ListServiceNetworkVpcEndpointAssociationsRequest.Builder> listServiceNetworkVpcEndpointAssociationsRequest) Lists the associations between a service network and a VPC endpoint.listServiceNetworkVpcEndpointAssociations
(ListServiceNetworkVpcEndpointAssociationsRequest listServiceNetworkVpcEndpointAssociationsRequest) Lists the associations between a service network and a VPC endpoint.listServiceNetworkVpcEndpointAssociationsPaginator
(Consumer<ListServiceNetworkVpcEndpointAssociationsRequest.Builder> listServiceNetworkVpcEndpointAssociationsRequest) listServiceNetworkVpcEndpointAssociationsPaginator
(ListServiceNetworkVpcEndpointAssociationsRequest listServiceNetworkVpcEndpointAssociationsRequest) default CompletableFuture
<ListServicesResponse> listServices
(Consumer<ListServicesRequest.Builder> listServicesRequest) Lists the services owned by the caller account or shared with the caller account.default CompletableFuture
<ListServicesResponse> listServices
(ListServicesRequest listServicesRequest) Lists the services owned by the caller account or shared with the caller account.default ListServicesPublisher
listServicesPaginator
(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest)
operation.default ListServicesPublisher
listServicesPaginator
(ListServicesRequest listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for the specified resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for the specified resource.listTargetGroups
(Consumer<ListTargetGroupsRequest.Builder> listTargetGroupsRequest) Lists your target groups.listTargetGroups
(ListTargetGroupsRequest listTargetGroupsRequest) Lists your target groups.default ListTargetGroupsPublisher
listTargetGroupsPaginator
(Consumer<ListTargetGroupsRequest.Builder> listTargetGroupsRequest) This is a variant oflistTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest)
operation.default ListTargetGroupsPublisher
listTargetGroupsPaginator
(ListTargetGroupsRequest listTargetGroupsRequest) This is a variant oflistTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest)
operation.default CompletableFuture
<ListTargetsResponse> listTargets
(Consumer<ListTargetsRequest.Builder> listTargetsRequest) Lists the targets for the target group.default CompletableFuture
<ListTargetsResponse> listTargets
(ListTargetsRequest listTargetsRequest) Lists the targets for the target group.default ListTargetsPublisher
listTargetsPaginator
(Consumer<ListTargetsRequest.Builder> listTargetsRequest) This is a variant oflistTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest)
operation.default ListTargetsPublisher
listTargetsPaginator
(ListTargetsRequest listTargetsRequest) This is a variant oflistTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest)
operation.default CompletableFuture
<PutAuthPolicyResponse> putAuthPolicy
(Consumer<PutAuthPolicyRequest.Builder> putAuthPolicyRequest) Creates or updates the auth policy.default CompletableFuture
<PutAuthPolicyResponse> putAuthPolicy
(PutAuthPolicyRequest putAuthPolicyRequest) Creates or updates the auth policy.putResourcePolicy
(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Attaches a resource-based permission policy to a service or service network.putResourcePolicy
(PutResourcePolicyRequest putResourcePolicyRequest) Attaches a resource-based permission policy to a service or service network.default CompletableFuture
<RegisterTargetsResponse> registerTargets
(Consumer<RegisterTargetsRequest.Builder> registerTargetsRequest) Registers the targets with the target group.default CompletableFuture
<RegisterTargetsResponse> registerTargets
(RegisterTargetsRequest registerTargetsRequest) Registers the targets with the target group.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds the specified tags to the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes the specified tags from the specified resource.updateAccessLogSubscription
(Consumer<UpdateAccessLogSubscriptionRequest.Builder> updateAccessLogSubscriptionRequest) Updates the specified access log subscription.updateAccessLogSubscription
(UpdateAccessLogSubscriptionRequest updateAccessLogSubscriptionRequest) Updates the specified access log subscription.default CompletableFuture
<UpdateListenerResponse> updateListener
(Consumer<UpdateListenerRequest.Builder> updateListenerRequest) Updates the specified listener for the specified service.default CompletableFuture
<UpdateListenerResponse> updateListener
(UpdateListenerRequest updateListenerRequest) Updates the specified listener for the specified service.updateResourceConfiguration
(Consumer<UpdateResourceConfigurationRequest.Builder> updateResourceConfigurationRequest) Updates the specified resource configuration.updateResourceConfiguration
(UpdateResourceConfigurationRequest updateResourceConfigurationRequest) Updates the specified resource configuration.updateResourceGateway
(Consumer<UpdateResourceGatewayRequest.Builder> updateResourceGatewayRequest) Updates the specified resource gateway.updateResourceGateway
(UpdateResourceGatewayRequest updateResourceGatewayRequest) Updates the specified resource gateway.default CompletableFuture
<UpdateRuleResponse> updateRule
(Consumer<UpdateRuleRequest.Builder> updateRuleRequest) Updates a specified rule for the listener.default CompletableFuture
<UpdateRuleResponse> updateRule
(UpdateRuleRequest updateRuleRequest) Updates a specified rule for the listener.default CompletableFuture
<UpdateServiceResponse> updateService
(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) Updates the specified service.default CompletableFuture
<UpdateServiceResponse> updateService
(UpdateServiceRequest updateServiceRequest) Updates the specified service.updateServiceNetwork
(Consumer<UpdateServiceNetworkRequest.Builder> updateServiceNetworkRequest) Updates the specified service network.updateServiceNetwork
(UpdateServiceNetworkRequest updateServiceNetworkRequest) Updates the specified service network.updateServiceNetworkVpcAssociation
(Consumer<UpdateServiceNetworkVpcAssociationRequest.Builder> updateServiceNetworkVpcAssociationRequest) Updates the service network and VPC association.updateServiceNetworkVpcAssociation
(UpdateServiceNetworkVpcAssociationRequest updateServiceNetworkVpcAssociationRequest) Updates the service network and VPC association.updateTargetGroup
(Consumer<UpdateTargetGroupRequest.Builder> updateTargetGroupRequest) Updates the specified target group.updateTargetGroup
(UpdateTargetGroupRequest updateTargetGroupRequest) Updates the specified target group.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
batchUpdateRule
default CompletableFuture<BatchUpdateRuleResponse> batchUpdateRule(BatchUpdateRuleRequest batchUpdateRuleRequest) 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.
- Parameters:
batchUpdateRuleRequest
-- Returns:
- A Java Future containing the result of the BatchUpdateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchUpdateRule
default CompletableFuture<BatchUpdateRuleResponse> batchUpdateRule(Consumer<BatchUpdateRuleRequest.Builder> batchUpdateRuleRequest) 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.
This is a convenience which creates an instance of the
BatchUpdateRuleRequest.Builder
avoiding the need to create one manually viaBatchUpdateRuleRequest.builder()
- Parameters:
batchUpdateRuleRequest
- AConsumer
that will call methods onBatchUpdateRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchUpdateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAccessLogSubscription
default CompletableFuture<CreateAccessLogSubscriptionResponse> createAccessLogSubscription(CreateAccessLogSubscriptionRequest createAccessLogSubscriptionRequest) 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.
- Parameters:
createAccessLogSubscriptionRequest
-- Returns:
- A Java Future containing the result of the CreateAccessLogSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAccessLogSubscription
default CompletableFuture<CreateAccessLogSubscriptionResponse> createAccessLogSubscription(Consumer<CreateAccessLogSubscriptionRequest.Builder> createAccessLogSubscriptionRequest) 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.
This is a convenience which creates an instance of the
CreateAccessLogSubscriptionRequest.Builder
avoiding the need to create one manually viaCreateAccessLogSubscriptionRequest.builder()
- Parameters:
createAccessLogSubscriptionRequest
- AConsumer
that will call methods onCreateAccessLogSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAccessLogSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createListener
default CompletableFuture<CreateListenerResponse> createListener(CreateListenerRequest createListenerRequest) 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.
- Parameters:
createListenerRequest
-- Returns:
- A Java Future containing the result of the CreateListener operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createListener
default CompletableFuture<CreateListenerResponse> createListener(Consumer<CreateListenerRequest.Builder> createListenerRequest) 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.
This is a convenience which creates an instance of the
CreateListenerRequest.Builder
avoiding the need to create one manually viaCreateListenerRequest.builder()
- Parameters:
createListenerRequest
- AConsumer
that will call methods onCreateListenerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateListener operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResourceConfiguration
default CompletableFuture<CreateResourceConfigurationResponse> createResourceConfiguration(CreateResourceConfigurationRequest createResourceConfigurationRequest) 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.
- Parameters:
createResourceConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateResourceConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResourceConfiguration
default CompletableFuture<CreateResourceConfigurationResponse> createResourceConfiguration(Consumer<CreateResourceConfigurationRequest.Builder> createResourceConfigurationRequest) 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.
This is a convenience which creates an instance of the
CreateResourceConfigurationRequest.Builder
avoiding the need to create one manually viaCreateResourceConfigurationRequest.builder()
- Parameters:
createResourceConfigurationRequest
- AConsumer
that will call methods onCreateResourceConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResourceConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResourceGateway
default CompletableFuture<CreateResourceGatewayResponse> createResourceGateway(CreateResourceGatewayRequest createResourceGatewayRequest) Creates a resource gateway.
- Parameters:
createResourceGatewayRequest
-- Returns:
- A Java Future containing the result of the CreateResourceGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResourceGateway
default CompletableFuture<CreateResourceGatewayResponse> createResourceGateway(Consumer<CreateResourceGatewayRequest.Builder> createResourceGatewayRequest) Creates a resource gateway.
This is a convenience which creates an instance of the
CreateResourceGatewayRequest.Builder
avoiding the need to create one manually viaCreateResourceGatewayRequest.builder()
- Parameters:
createResourceGatewayRequest
- AConsumer
that will call methods onCreateResourceGatewayRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResourceGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRule
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.
- Parameters:
createRuleRequest
-- Returns:
- A Java Future containing the result of the CreateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRule
default CompletableFuture<CreateRuleResponse> createRule(Consumer<CreateRuleRequest.Builder> createRuleRequest) 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.
This is a convenience which creates an instance of the
CreateRuleRequest.Builder
avoiding the need to create one manually viaCreateRuleRequest.builder()
- Parameters:
createRuleRequest
- AConsumer
that will call methods onCreateRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createService
default CompletableFuture<CreateServiceResponse> createService(CreateServiceRequest createServiceRequest) 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.
- Parameters:
createServiceRequest
-- Returns:
- A Java Future containing the result of the CreateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createService
default CompletableFuture<CreateServiceResponse> createService(Consumer<CreateServiceRequest.Builder> createServiceRequest) 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.
This is a convenience which creates an instance of the
CreateServiceRequest.Builder
avoiding the need to create one manually viaCreateServiceRequest.builder()
- Parameters:
createServiceRequest
- AConsumer
that will call methods onCreateServiceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceNetwork
default CompletableFuture<CreateServiceNetworkResponse> createServiceNetwork(CreateServiceNetworkRequest createServiceNetworkRequest) 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.
- Parameters:
createServiceNetworkRequest
-- Returns:
- A Java Future containing the result of the CreateServiceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceNetwork
default CompletableFuture<CreateServiceNetworkResponse> createServiceNetwork(Consumer<CreateServiceNetworkRequest.Builder> createServiceNetworkRequest) 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.
This is a convenience which creates an instance of the
CreateServiceNetworkRequest.Builder
avoiding the need to create one manually viaCreateServiceNetworkRequest.builder()
- Parameters:
createServiceNetworkRequest
- AConsumer
that will call methods onCreateServiceNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateServiceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceNetworkResourceAssociation
default CompletableFuture<CreateServiceNetworkResourceAssociationResponse> createServiceNetworkResourceAssociation(CreateServiceNetworkResourceAssociationRequest createServiceNetworkResourceAssociationRequest) 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.
- Parameters:
createServiceNetworkResourceAssociationRequest
-- Returns:
- A Java Future containing the result of the CreateServiceNetworkResourceAssociation operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceNetworkResourceAssociation
default CompletableFuture<CreateServiceNetworkResourceAssociationResponse> createServiceNetworkResourceAssociation(Consumer<CreateServiceNetworkResourceAssociationRequest.Builder> createServiceNetworkResourceAssociationRequest) 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.
This is a convenience which creates an instance of the
CreateServiceNetworkResourceAssociationRequest.Builder
avoiding the need to create one manually viaCreateServiceNetworkResourceAssociationRequest.builder()
- Parameters:
createServiceNetworkResourceAssociationRequest
- AConsumer
that will call methods onCreateServiceNetworkResourceAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateServiceNetworkResourceAssociation operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceNetworkServiceAssociation
default CompletableFuture<CreateServiceNetworkServiceAssociationResponse> createServiceNetworkServiceAssociation(CreateServiceNetworkServiceAssociationRequest createServiceNetworkServiceAssociationRequest) 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.
- Parameters:
createServiceNetworkServiceAssociationRequest
-- Returns:
- A Java Future containing the result of the CreateServiceNetworkServiceAssociation operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceNetworkServiceAssociation
default CompletableFuture<CreateServiceNetworkServiceAssociationResponse> createServiceNetworkServiceAssociation(Consumer<CreateServiceNetworkServiceAssociationRequest.Builder> createServiceNetworkServiceAssociationRequest) 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.
This is a convenience which creates an instance of the
CreateServiceNetworkServiceAssociationRequest.Builder
avoiding the need to create one manually viaCreateServiceNetworkServiceAssociationRequest.builder()
- Parameters:
createServiceNetworkServiceAssociationRequest
- AConsumer
that will call methods onCreateServiceNetworkServiceAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateServiceNetworkServiceAssociation operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceNetworkVpcAssociation
default CompletableFuture<CreateServiceNetworkVpcAssociationResponse> createServiceNetworkVpcAssociation(CreateServiceNetworkVpcAssociationRequest createServiceNetworkVpcAssociationRequest) 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.
- Parameters:
createServiceNetworkVpcAssociationRequest
-- Returns:
- A Java Future containing the result of the CreateServiceNetworkVpcAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceNetworkVpcAssociation
default CompletableFuture<CreateServiceNetworkVpcAssociationResponse> createServiceNetworkVpcAssociation(Consumer<CreateServiceNetworkVpcAssociationRequest.Builder> createServiceNetworkVpcAssociationRequest) 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.
This is a convenience which creates an instance of the
CreateServiceNetworkVpcAssociationRequest.Builder
avoiding the need to create one manually viaCreateServiceNetworkVpcAssociationRequest.builder()
- Parameters:
createServiceNetworkVpcAssociationRequest
- AConsumer
that will call methods onCreateServiceNetworkVpcAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateServiceNetworkVpcAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTargetGroup
default CompletableFuture<CreateTargetGroupResponse> createTargetGroup(CreateTargetGroupRequest createTargetGroupRequest) 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.
- Parameters:
createTargetGroupRequest
-- Returns:
- A Java Future containing the result of the CreateTargetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTargetGroup
default CompletableFuture<CreateTargetGroupResponse> createTargetGroup(Consumer<CreateTargetGroupRequest.Builder> createTargetGroupRequest) 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.
This is a convenience which creates an instance of the
CreateTargetGroupRequest.Builder
avoiding the need to create one manually viaCreateTargetGroupRequest.builder()
- Parameters:
createTargetGroupRequest
- AConsumer
that will call methods onCreateTargetGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateTargetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccessLogSubscription
default CompletableFuture<DeleteAccessLogSubscriptionResponse> deleteAccessLogSubscription(DeleteAccessLogSubscriptionRequest deleteAccessLogSubscriptionRequest) Deletes the specified access log subscription.
- Parameters:
deleteAccessLogSubscriptionRequest
-- Returns:
- A Java Future containing the result of the DeleteAccessLogSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccessLogSubscription
default CompletableFuture<DeleteAccessLogSubscriptionResponse> deleteAccessLogSubscription(Consumer<DeleteAccessLogSubscriptionRequest.Builder> deleteAccessLogSubscriptionRequest) Deletes the specified access log subscription.
This is a convenience which creates an instance of the
DeleteAccessLogSubscriptionRequest.Builder
avoiding the need to create one manually viaDeleteAccessLogSubscriptionRequest.builder()
- Parameters:
deleteAccessLogSubscriptionRequest
- AConsumer
that will call methods onDeleteAccessLogSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAccessLogSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAuthPolicy
default CompletableFuture<DeleteAuthPolicyResponse> deleteAuthPolicy(DeleteAuthPolicyRequest deleteAuthPolicyRequest) 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 toNONE
. If auth is enabled on the resource, but no auth policy is set, all requests are denied.- Parameters:
deleteAuthPolicyRequest
-- Returns:
- A Java Future containing the result of the DeleteAuthPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAuthPolicy
default CompletableFuture<DeleteAuthPolicyResponse> deleteAuthPolicy(Consumer<DeleteAuthPolicyRequest.Builder> deleteAuthPolicyRequest) 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 toNONE
. If auth is enabled on the resource, but no auth policy is set, all requests are denied.
This is a convenience which creates an instance of the
DeleteAuthPolicyRequest.Builder
avoiding the need to create one manually viaDeleteAuthPolicyRequest.builder()
- Parameters:
deleteAuthPolicyRequest
- AConsumer
that will call methods onDeleteAuthPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAuthPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteListener
default CompletableFuture<DeleteListenerResponse> deleteListener(DeleteListenerRequest deleteListenerRequest) Deletes the specified listener.
- Parameters:
deleteListenerRequest
-- Returns:
- A Java Future containing the result of the DeleteListener operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteListener
default CompletableFuture<DeleteListenerResponse> deleteListener(Consumer<DeleteListenerRequest.Builder> deleteListenerRequest) Deletes the specified listener.
This is a convenience which creates an instance of the
DeleteListenerRequest.Builder
avoiding the need to create one manually viaDeleteListenerRequest.builder()
- Parameters:
deleteListenerRequest
- AConsumer
that will call methods onDeleteListenerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteListener operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceConfiguration
default CompletableFuture<DeleteResourceConfigurationResponse> deleteResourceConfiguration(DeleteResourceConfigurationRequest deleteResourceConfigurationRequest) Deletes the specified resource configuration.
- Parameters:
deleteResourceConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteResourceConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceConfiguration
default CompletableFuture<DeleteResourceConfigurationResponse> deleteResourceConfiguration(Consumer<DeleteResourceConfigurationRequest.Builder> deleteResourceConfigurationRequest) Deletes the specified resource configuration.
This is a convenience which creates an instance of the
DeleteResourceConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteResourceConfigurationRequest.builder()
- Parameters:
deleteResourceConfigurationRequest
- AConsumer
that will call methods onDeleteResourceConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourceConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceEndpointAssociation
default CompletableFuture<DeleteResourceEndpointAssociationResponse> deleteResourceEndpointAssociation(DeleteResourceEndpointAssociationRequest deleteResourceEndpointAssociationRequest) Disassociates the resource configuration from the resource VPC endpoint.
- Parameters:
deleteResourceEndpointAssociationRequest
-- Returns:
- A Java Future containing the result of the DeleteResourceEndpointAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceEndpointAssociation
default CompletableFuture<DeleteResourceEndpointAssociationResponse> deleteResourceEndpointAssociation(Consumer<DeleteResourceEndpointAssociationRequest.Builder> deleteResourceEndpointAssociationRequest) Disassociates the resource configuration from the resource VPC endpoint.
This is a convenience which creates an instance of the
DeleteResourceEndpointAssociationRequest.Builder
avoiding the need to create one manually viaDeleteResourceEndpointAssociationRequest.builder()
- Parameters:
deleteResourceEndpointAssociationRequest
- AConsumer
that will call methods onDeleteResourceEndpointAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourceEndpointAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceGateway
default CompletableFuture<DeleteResourceGatewayResponse> deleteResourceGateway(DeleteResourceGatewayRequest deleteResourceGatewayRequest) Deletes the specified resource gateway.
- Parameters:
deleteResourceGatewayRequest
-- Returns:
- A Java Future containing the result of the DeleteResourceGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourceGateway
default CompletableFuture<DeleteResourceGatewayResponse> deleteResourceGateway(Consumer<DeleteResourceGatewayRequest.Builder> deleteResourceGatewayRequest) Deletes the specified resource gateway.
This is a convenience which creates an instance of the
DeleteResourceGatewayRequest.Builder
avoiding the need to create one manually viaDeleteResourceGatewayRequest.builder()
- Parameters:
deleteResourceGatewayRequest
- AConsumer
that will call methods onDeleteResourceGatewayRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourceGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes the specified resource policy.
- Parameters:
deleteResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes the specified resource policy.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builder
avoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()
- Parameters:
deleteResourcePolicyRequest
- AConsumer
that will call methods onDeleteResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRule
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.
- Parameters:
deleteRuleRequest
-- Returns:
- A Java Future containing the result of the DeleteRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRule
default CompletableFuture<DeleteRuleResponse> deleteRule(Consumer<DeleteRuleRequest.Builder> deleteRuleRequest) 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.
This is a convenience which creates an instance of the
DeleteRuleRequest.Builder
avoiding the need to create one manually viaDeleteRuleRequest.builder()
- Parameters:
deleteRuleRequest
- AConsumer
that will call methods onDeleteRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteService
default CompletableFuture<DeleteServiceResponse> deleteService(DeleteServiceRequest deleteServiceRequest) 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.
- Parameters:
deleteServiceRequest
-- Returns:
- A Java Future containing the result of the DeleteService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteService
default CompletableFuture<DeleteServiceResponse> deleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) 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.
This is a convenience which creates an instance of the
DeleteServiceRequest.Builder
avoiding the need to create one manually viaDeleteServiceRequest.builder()
- Parameters:
deleteServiceRequest
- AConsumer
that will call methods onDeleteServiceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceNetwork
default CompletableFuture<DeleteServiceNetworkResponse> deleteServiceNetwork(DeleteServiceNetworkRequest deleteServiceNetworkRequest) 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.
- Parameters:
deleteServiceNetworkRequest
-- Returns:
- A Java Future containing the result of the DeleteServiceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceNetwork
default CompletableFuture<DeleteServiceNetworkResponse> deleteServiceNetwork(Consumer<DeleteServiceNetworkRequest.Builder> deleteServiceNetworkRequest) 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.
This is a convenience which creates an instance of the
DeleteServiceNetworkRequest.Builder
avoiding the need to create one manually viaDeleteServiceNetworkRequest.builder()
- Parameters:
deleteServiceNetworkRequest
- AConsumer
that will call methods onDeleteServiceNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteServiceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceNetworkResourceAssociation
default CompletableFuture<DeleteServiceNetworkResourceAssociationResponse> deleteServiceNetworkResourceAssociation(DeleteServiceNetworkResourceAssociationRequest deleteServiceNetworkResourceAssociationRequest) Deletes the association between a service network and a resource configuration.
- Parameters:
deleteServiceNetworkResourceAssociationRequest
-- Returns:
- A Java Future containing the result of the DeleteServiceNetworkResourceAssociation operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceNetworkResourceAssociation
default CompletableFuture<DeleteServiceNetworkResourceAssociationResponse> deleteServiceNetworkResourceAssociation(Consumer<DeleteServiceNetworkResourceAssociationRequest.Builder> deleteServiceNetworkResourceAssociationRequest) Deletes the association between a service network and a resource configuration.
This is a convenience which creates an instance of the
DeleteServiceNetworkResourceAssociationRequest.Builder
avoiding the need to create one manually viaDeleteServiceNetworkResourceAssociationRequest.builder()
- Parameters:
deleteServiceNetworkResourceAssociationRequest
- AConsumer
that will call methods onDeleteServiceNetworkResourceAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteServiceNetworkResourceAssociation operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceNetworkServiceAssociation
default CompletableFuture<DeleteServiceNetworkServiceAssociationResponse> deleteServiceNetworkServiceAssociation(DeleteServiceNetworkServiceAssociationRequest deleteServiceNetworkServiceAssociationRequest) Deletes the association between a service and a service network. This operation fails if an association is still in progress.
- Parameters:
deleteServiceNetworkServiceAssociationRequest
-- Returns:
- A Java Future containing the result of the DeleteServiceNetworkServiceAssociation operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceNetworkServiceAssociation
default CompletableFuture<DeleteServiceNetworkServiceAssociationResponse> deleteServiceNetworkServiceAssociation(Consumer<DeleteServiceNetworkServiceAssociationRequest.Builder> deleteServiceNetworkServiceAssociationRequest) Deletes the association between a service and a service network. This operation fails if an association is still in progress.
This is a convenience which creates an instance of the
DeleteServiceNetworkServiceAssociationRequest.Builder
avoiding the need to create one manually viaDeleteServiceNetworkServiceAssociationRequest.builder()
- Parameters:
deleteServiceNetworkServiceAssociationRequest
- AConsumer
that will call methods onDeleteServiceNetworkServiceAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteServiceNetworkServiceAssociation operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceNetworkVpcAssociation
default CompletableFuture<DeleteServiceNetworkVpcAssociationResponse> deleteServiceNetworkVpcAssociation(DeleteServiceNetworkVpcAssociationRequest deleteServiceNetworkVpcAssociationRequest) Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
- Parameters:
deleteServiceNetworkVpcAssociationRequest
-- Returns:
- A Java Future containing the result of the DeleteServiceNetworkVpcAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceNetworkVpcAssociation
default CompletableFuture<DeleteServiceNetworkVpcAssociationResponse> deleteServiceNetworkVpcAssociation(Consumer<DeleteServiceNetworkVpcAssociationRequest.Builder> deleteServiceNetworkVpcAssociationRequest) Disassociates the VPC from the service network. You can't disassociate the VPC if there is a create or update association in progress.
This is a convenience which creates an instance of the
DeleteServiceNetworkVpcAssociationRequest.Builder
avoiding the need to create one manually viaDeleteServiceNetworkVpcAssociationRequest.builder()
- Parameters:
deleteServiceNetworkVpcAssociationRequest
- AConsumer
that will call methods onDeleteServiceNetworkVpcAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteServiceNetworkVpcAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTargetGroup
default CompletableFuture<DeleteTargetGroupResponse> deleteTargetGroup(DeleteTargetGroupRequest deleteTargetGroupRequest) 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.
- Parameters:
deleteTargetGroupRequest
-- Returns:
- A Java Future containing the result of the DeleteTargetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTargetGroup
default CompletableFuture<DeleteTargetGroupResponse> deleteTargetGroup(Consumer<DeleteTargetGroupRequest.Builder> deleteTargetGroupRequest) 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.
This is a convenience which creates an instance of the
DeleteTargetGroupRequest.Builder
avoiding the need to create one manually viaDeleteTargetGroupRequest.builder()
- Parameters:
deleteTargetGroupRequest
- AConsumer
that will call methods onDeleteTargetGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteTargetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterTargets
default CompletableFuture<DeregisterTargetsResponse> deregisterTargets(DeregisterTargetsRequest deregisterTargetsRequest) Deregisters the specified targets from the specified target group.
- Parameters:
deregisterTargetsRequest
-- Returns:
- A Java Future containing the result of the DeregisterTargets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterTargets
default CompletableFuture<DeregisterTargetsResponse> deregisterTargets(Consumer<DeregisterTargetsRequest.Builder> deregisterTargetsRequest) Deregisters the specified targets from the specified target group.
This is a convenience which creates an instance of the
DeregisterTargetsRequest.Builder
avoiding the need to create one manually viaDeregisterTargetsRequest.builder()
- Parameters:
deregisterTargetsRequest
- AConsumer
that will call methods onDeregisterTargetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeregisterTargets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccessLogSubscription
default CompletableFuture<GetAccessLogSubscriptionResponse> getAccessLogSubscription(GetAccessLogSubscriptionRequest getAccessLogSubscriptionRequest) Retrieves information about the specified access log subscription.
- Parameters:
getAccessLogSubscriptionRequest
-- Returns:
- A Java Future containing the result of the GetAccessLogSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccessLogSubscription
default CompletableFuture<GetAccessLogSubscriptionResponse> getAccessLogSubscription(Consumer<GetAccessLogSubscriptionRequest.Builder> getAccessLogSubscriptionRequest) Retrieves information about the specified access log subscription.
This is a convenience which creates an instance of the
GetAccessLogSubscriptionRequest.Builder
avoiding the need to create one manually viaGetAccessLogSubscriptionRequest.builder()
- Parameters:
getAccessLogSubscriptionRequest
- AConsumer
that will call methods onGetAccessLogSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAccessLogSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAuthPolicy
default CompletableFuture<GetAuthPolicyResponse> getAuthPolicy(GetAuthPolicyRequest getAuthPolicyRequest) Retrieves information about the auth policy for the specified service or service network.
- Parameters:
getAuthPolicyRequest
-- Returns:
- A Java Future containing the result of the GetAuthPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAuthPolicy
default CompletableFuture<GetAuthPolicyResponse> getAuthPolicy(Consumer<GetAuthPolicyRequest.Builder> getAuthPolicyRequest) Retrieves information about the auth policy for the specified service or service network.
This is a convenience which creates an instance of the
GetAuthPolicyRequest.Builder
avoiding the need to create one manually viaGetAuthPolicyRequest.builder()
- Parameters:
getAuthPolicyRequest
- AConsumer
that will call methods onGetAuthPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAuthPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getListener
Retrieves information about the specified listener for the specified service.
- Parameters:
getListenerRequest
-- Returns:
- A Java Future containing the result of the GetListener operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getListener
default CompletableFuture<GetListenerResponse> getListener(Consumer<GetListenerRequest.Builder> getListenerRequest) Retrieves information about the specified listener for the specified service.
This is a convenience which creates an instance of the
GetListenerRequest.Builder
avoiding the need to create one manually viaGetListenerRequest.builder()
- Parameters:
getListenerRequest
- AConsumer
that will call methods onGetListenerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetListener operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceConfiguration
default CompletableFuture<GetResourceConfigurationResponse> getResourceConfiguration(GetResourceConfigurationRequest getResourceConfigurationRequest) Retrieves information about the specified resource configuration.
- Parameters:
getResourceConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetResourceConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceConfiguration
default CompletableFuture<GetResourceConfigurationResponse> getResourceConfiguration(Consumer<GetResourceConfigurationRequest.Builder> getResourceConfigurationRequest) Retrieves information about the specified resource configuration.
This is a convenience which creates an instance of the
GetResourceConfigurationRequest.Builder
avoiding the need to create one manually viaGetResourceConfigurationRequest.builder()
- Parameters:
getResourceConfigurationRequest
- AConsumer
that will call methods onGetResourceConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResourceConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceGateway
default CompletableFuture<GetResourceGatewayResponse> getResourceGateway(GetResourceGatewayRequest getResourceGatewayRequest) Retrieves information about the specified resource gateway.
- Parameters:
getResourceGatewayRequest
-- Returns:
- A Java Future containing the result of the GetResourceGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceGateway
default CompletableFuture<GetResourceGatewayResponse> getResourceGateway(Consumer<GetResourceGatewayRequest.Builder> getResourceGatewayRequest) Retrieves information about the specified resource gateway.
This is a convenience which creates an instance of the
GetResourceGatewayRequest.Builder
avoiding the need to create one manually viaGetResourceGatewayRequest.builder()
- Parameters:
getResourceGatewayRequest
- AConsumer
that will call methods onGetResourceGatewayRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResourceGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) 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.
- Parameters:
getResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) 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.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builder
avoiding the need to create one manually viaGetResourcePolicyRequest.builder()
- Parameters:
getResourcePolicyRequest
- AConsumer
that will call methods onGetResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRule
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.
- Parameters:
getRuleRequest
-- Returns:
- A Java Future containing the result of the GetRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRule
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.
This is a convenience which creates an instance of the
GetRuleRequest.Builder
avoiding the need to create one manually viaGetRuleRequest.builder()
- Parameters:
getRuleRequest
- AConsumer
that will call methods onGetRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getService
Retrieves information about the specified service.
- Parameters:
getServiceRequest
-- Returns:
- A Java Future containing the result of the GetService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getService
default CompletableFuture<GetServiceResponse> getService(Consumer<GetServiceRequest.Builder> getServiceRequest) Retrieves information about the specified service.
This is a convenience which creates an instance of the
GetServiceRequest.Builder
avoiding the need to create one manually viaGetServiceRequest.builder()
- Parameters:
getServiceRequest
- AConsumer
that will call methods onGetServiceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceNetwork
default CompletableFuture<GetServiceNetworkResponse> getServiceNetwork(GetServiceNetworkRequest getServiceNetworkRequest) Retrieves information about the specified service network.
- Parameters:
getServiceNetworkRequest
-- Returns:
- A Java Future containing the result of the GetServiceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceNetwork
default CompletableFuture<GetServiceNetworkResponse> getServiceNetwork(Consumer<GetServiceNetworkRequest.Builder> getServiceNetworkRequest) Retrieves information about the specified service network.
This is a convenience which creates an instance of the
GetServiceNetworkRequest.Builder
avoiding the need to create one manually viaGetServiceNetworkRequest.builder()
- Parameters:
getServiceNetworkRequest
- AConsumer
that will call methods onGetServiceNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetServiceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceNetworkResourceAssociation
default CompletableFuture<GetServiceNetworkResourceAssociationResponse> getServiceNetworkResourceAssociation(GetServiceNetworkResourceAssociationRequest getServiceNetworkResourceAssociationRequest) Retrieves information about the specified association between a service network and a resource configuration.
- Parameters:
getServiceNetworkResourceAssociationRequest
-- Returns:
- A Java Future containing the result of the GetServiceNetworkResourceAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceNetworkResourceAssociation
default CompletableFuture<GetServiceNetworkResourceAssociationResponse> getServiceNetworkResourceAssociation(Consumer<GetServiceNetworkResourceAssociationRequest.Builder> getServiceNetworkResourceAssociationRequest) Retrieves information about the specified association between a service network and a resource configuration.
This is a convenience which creates an instance of the
GetServiceNetworkResourceAssociationRequest.Builder
avoiding the need to create one manually viaGetServiceNetworkResourceAssociationRequest.builder()
- Parameters:
getServiceNetworkResourceAssociationRequest
- AConsumer
that will call methods onGetServiceNetworkResourceAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetServiceNetworkResourceAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceNetworkServiceAssociation
default CompletableFuture<GetServiceNetworkServiceAssociationResponse> getServiceNetworkServiceAssociation(GetServiceNetworkServiceAssociationRequest getServiceNetworkServiceAssociationRequest) Retrieves information about the specified association between a service network and a service.
- Parameters:
getServiceNetworkServiceAssociationRequest
-- Returns:
- A Java Future containing the result of the GetServiceNetworkServiceAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceNetworkServiceAssociation
default CompletableFuture<GetServiceNetworkServiceAssociationResponse> getServiceNetworkServiceAssociation(Consumer<GetServiceNetworkServiceAssociationRequest.Builder> getServiceNetworkServiceAssociationRequest) Retrieves information about the specified association between a service network and a service.
This is a convenience which creates an instance of the
GetServiceNetworkServiceAssociationRequest.Builder
avoiding the need to create one manually viaGetServiceNetworkServiceAssociationRequest.builder()
- Parameters:
getServiceNetworkServiceAssociationRequest
- AConsumer
that will call methods onGetServiceNetworkServiceAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetServiceNetworkServiceAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceNetworkVpcAssociation
default CompletableFuture<GetServiceNetworkVpcAssociationResponse> getServiceNetworkVpcAssociation(GetServiceNetworkVpcAssociationRequest getServiceNetworkVpcAssociationRequest) Retrieves information about the specified association between a service network and a VPC.
- Parameters:
getServiceNetworkVpcAssociationRequest
-- Returns:
- A Java Future containing the result of the GetServiceNetworkVpcAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceNetworkVpcAssociation
default CompletableFuture<GetServiceNetworkVpcAssociationResponse> getServiceNetworkVpcAssociation(Consumer<GetServiceNetworkVpcAssociationRequest.Builder> getServiceNetworkVpcAssociationRequest) Retrieves information about the specified association between a service network and a VPC.
This is a convenience which creates an instance of the
GetServiceNetworkVpcAssociationRequest.Builder
avoiding the need to create one manually viaGetServiceNetworkVpcAssociationRequest.builder()
- Parameters:
getServiceNetworkVpcAssociationRequest
- AConsumer
that will call methods onGetServiceNetworkVpcAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetServiceNetworkVpcAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTargetGroup
default CompletableFuture<GetTargetGroupResponse> getTargetGroup(GetTargetGroupRequest getTargetGroupRequest) Retrieves information about the specified target group.
- Parameters:
getTargetGroupRequest
-- Returns:
- A Java Future containing the result of the GetTargetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTargetGroup
default CompletableFuture<GetTargetGroupResponse> getTargetGroup(Consumer<GetTargetGroupRequest.Builder> getTargetGroupRequest) Retrieves information about the specified target group.
This is a convenience which creates an instance of the
GetTargetGroupRequest.Builder
avoiding the need to create one manually viaGetTargetGroupRequest.builder()
- Parameters:
getTargetGroupRequest
- AConsumer
that will call methods onGetTargetGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetTargetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessLogSubscriptions
default CompletableFuture<ListAccessLogSubscriptionsResponse> listAccessLogSubscriptions(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest) Lists the access log subscriptions for the specified service network or service.
- Parameters:
listAccessLogSubscriptionsRequest
-- Returns:
- A Java Future containing the result of the ListAccessLogSubscriptions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessLogSubscriptions
default CompletableFuture<ListAccessLogSubscriptionsResponse> listAccessLogSubscriptions(Consumer<ListAccessLogSubscriptionsRequest.Builder> listAccessLogSubscriptionsRequest) Lists the access log subscriptions for the specified service network or service.
This is a convenience which creates an instance of the
ListAccessLogSubscriptionsRequest.Builder
avoiding the need to create one manually viaListAccessLogSubscriptionsRequest.builder()
- Parameters:
listAccessLogSubscriptionsRequest
- AConsumer
that will call methods onListAccessLogSubscriptionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAccessLogSubscriptions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessLogSubscriptionsPaginator
default ListAccessLogSubscriptionsPublisher listAccessLogSubscriptionsPaginator(ListAccessLogSubscriptionsRequest listAccessLogSubscriptionsRequest) This is a variant of
listAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsPublisher publisher = client.listAccessLogSubscriptionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsPublisher publisher = client.listAccessLogSubscriptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation.- Parameters:
listAccessLogSubscriptionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccessLogSubscriptionsPaginator
default ListAccessLogSubscriptionsPublisher listAccessLogSubscriptionsPaginator(Consumer<ListAccessLogSubscriptionsRequest.Builder> listAccessLogSubscriptionsRequest) This is a variant of
listAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsPublisher publisher = client.listAccessLogSubscriptionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListAccessLogSubscriptionsPublisher publisher = client.listAccessLogSubscriptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessLogSubscriptions(software.amazon.awssdk.services.vpclattice.model.ListAccessLogSubscriptionsRequest)
operation.
This is a convenience which creates an instance of the
ListAccessLogSubscriptionsRequest.Builder
avoiding the need to create one manually viaListAccessLogSubscriptionsRequest.builder()
- Parameters:
listAccessLogSubscriptionsRequest
- AConsumer
that will call methods onListAccessLogSubscriptionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listListeners
default CompletableFuture<ListListenersResponse> listListeners(ListListenersRequest listListenersRequest) Lists the listeners for the specified service.
- Parameters:
listListenersRequest
-- Returns:
- A Java Future containing the result of the ListListeners operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listListeners
default CompletableFuture<ListListenersResponse> listListeners(Consumer<ListListenersRequest.Builder> listListenersRequest) Lists the listeners for the specified service.
This is a convenience which creates an instance of the
ListListenersRequest.Builder
avoiding the need to create one manually viaListListenersRequest.builder()
- Parameters:
listListenersRequest
- AConsumer
that will call methods onListListenersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListListeners operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listListenersPaginator
This is a variant of
listListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListListenersPublisher publisher = client.listListenersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListListenersPublisher publisher = client.listListenersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListListenersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListListenersResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest)
operation.- Parameters:
listListenersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listListenersPaginator
default ListListenersPublisher listListenersPaginator(Consumer<ListListenersRequest.Builder> listListenersRequest) This is a variant of
listListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListListenersPublisher publisher = client.listListenersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListListenersPublisher publisher = client.listListenersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListListenersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListListenersResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listListeners(software.amazon.awssdk.services.vpclattice.model.ListListenersRequest)
operation.
This is a convenience which creates an instance of the
ListListenersRequest.Builder
avoiding the need to create one manually viaListListenersRequest.builder()
- Parameters:
listListenersRequest
- AConsumer
that will call methods onListListenersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceConfigurations
default CompletableFuture<ListResourceConfigurationsResponse> listResourceConfigurations(ListResourceConfigurationsRequest listResourceConfigurationsRequest) Lists the resource configurations owned by or shared with this account.
- Parameters:
listResourceConfigurationsRequest
-- Returns:
- A Java Future containing the result of the ListResourceConfigurations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceConfigurations
default CompletableFuture<ListResourceConfigurationsResponse> listResourceConfigurations(Consumer<ListResourceConfigurationsRequest.Builder> listResourceConfigurationsRequest) Lists the resource configurations owned by or shared with this account.
This is a convenience which creates an instance of the
ListResourceConfigurationsRequest.Builder
avoiding the need to create one manually viaListResourceConfigurationsRequest.builder()
- Parameters:
listResourceConfigurationsRequest
- AConsumer
that will call methods onListResourceConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResourceConfigurations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceConfigurationsPaginator
default ListResourceConfigurationsPublisher listResourceConfigurationsPaginator(ListResourceConfigurationsRequest listResourceConfigurationsRequest) This is a variant of
listResourceConfigurations(software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListResourceConfigurationsPublisher publisher = client.listResourceConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListResourceConfigurationsPublisher publisher = client.listResourceConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceConfigurations(software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsRequest)
operation.- Parameters:
listResourceConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceConfigurationsPaginator
default ListResourceConfigurationsPublisher listResourceConfigurationsPaginator(Consumer<ListResourceConfigurationsRequest.Builder> listResourceConfigurationsRequest) This is a variant of
listResourceConfigurations(software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListResourceConfigurationsPublisher publisher = client.listResourceConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListResourceConfigurationsPublisher publisher = client.listResourceConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceConfigurations(software.amazon.awssdk.services.vpclattice.model.ListResourceConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListResourceConfigurationsRequest.Builder
avoiding the need to create one manually viaListResourceConfigurationsRequest.builder()
- Parameters:
listResourceConfigurationsRequest
- AConsumer
that will call methods onListResourceConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceEndpointAssociations
default CompletableFuture<ListResourceEndpointAssociationsResponse> listResourceEndpointAssociations(ListResourceEndpointAssociationsRequest listResourceEndpointAssociationsRequest) Lists the associations for the specified VPC endpoint.
- Parameters:
listResourceEndpointAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListResourceEndpointAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceEndpointAssociations
default CompletableFuture<ListResourceEndpointAssociationsResponse> listResourceEndpointAssociations(Consumer<ListResourceEndpointAssociationsRequest.Builder> listResourceEndpointAssociationsRequest) Lists the associations for the specified VPC endpoint.
This is a convenience which creates an instance of the
ListResourceEndpointAssociationsRequest.Builder
avoiding the need to create one manually viaListResourceEndpointAssociationsRequest.builder()
- Parameters:
listResourceEndpointAssociationsRequest
- AConsumer
that will call methods onListResourceEndpointAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResourceEndpointAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceEndpointAssociationsPaginator
default ListResourceEndpointAssociationsPublisher listResourceEndpointAssociationsPaginator(ListResourceEndpointAssociationsRequest listResourceEndpointAssociationsRequest) This is a variant of
listResourceEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListResourceEndpointAssociationsPublisher publisher = client.listResourceEndpointAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListResourceEndpointAssociationsPublisher publisher = client.listResourceEndpointAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsRequest)
operation.- Parameters:
listResourceEndpointAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceEndpointAssociationsPaginator
default ListResourceEndpointAssociationsPublisher listResourceEndpointAssociationsPaginator(Consumer<ListResourceEndpointAssociationsRequest.Builder> listResourceEndpointAssociationsRequest) This is a variant of
listResourceEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListResourceEndpointAssociationsPublisher publisher = client.listResourceEndpointAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListResourceEndpointAssociationsPublisher publisher = client.listResourceEndpointAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListResourceEndpointAssociationsRequest)
operation.
This is a convenience which creates an instance of the
ListResourceEndpointAssociationsRequest.Builder
avoiding the need to create one manually viaListResourceEndpointAssociationsRequest.builder()
- Parameters:
listResourceEndpointAssociationsRequest
- AConsumer
that will call methods onListResourceEndpointAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceGateways
default CompletableFuture<ListResourceGatewaysResponse> listResourceGateways(ListResourceGatewaysRequest listResourceGatewaysRequest) Lists the resource gateways that you own or that were shared with you.
- Parameters:
listResourceGatewaysRequest
-- Returns:
- A Java Future containing the result of the ListResourceGateways operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceGateways
default CompletableFuture<ListResourceGatewaysResponse> listResourceGateways(Consumer<ListResourceGatewaysRequest.Builder> listResourceGatewaysRequest) Lists the resource gateways that you own or that were shared with you.
This is a convenience which creates an instance of the
ListResourceGatewaysRequest.Builder
avoiding the need to create one manually viaListResourceGatewaysRequest.builder()
- Parameters:
listResourceGatewaysRequest
- AConsumer
that will call methods onListResourceGatewaysRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResourceGateways operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceGatewaysPaginator
default ListResourceGatewaysPublisher listResourceGatewaysPaginator(ListResourceGatewaysRequest listResourceGatewaysRequest) This is a variant of
listResourceGateways(software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListResourceGatewaysPublisher publisher = client.listResourceGatewaysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListResourceGatewaysPublisher publisher = client.listResourceGatewaysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceGateways(software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysRequest)
operation.- Parameters:
listResourceGatewaysRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceGatewaysPaginator
default ListResourceGatewaysPublisher listResourceGatewaysPaginator(Consumer<ListResourceGatewaysRequest.Builder> listResourceGatewaysRequest) This is a variant of
listResourceGateways(software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListResourceGatewaysPublisher publisher = client.listResourceGatewaysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListResourceGatewaysPublisher publisher = client.listResourceGatewaysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceGateways(software.amazon.awssdk.services.vpclattice.model.ListResourceGatewaysRequest)
operation.
This is a convenience which creates an instance of the
ListResourceGatewaysRequest.Builder
avoiding the need to create one manually viaListResourceGatewaysRequest.builder()
- Parameters:
listResourceGatewaysRequest
- AConsumer
that will call methods onListResourceGatewaysRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRules
Lists the rules for the specified listener.
- Parameters:
listRulesRequest
-- Returns:
- A Java Future containing the result of the ListRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRules
default CompletableFuture<ListRulesResponse> listRules(Consumer<ListRulesRequest.Builder> listRulesRequest) Lists the rules for the specified listener.
This is a convenience which creates an instance of the
ListRulesRequest.Builder
avoiding the need to create one manually viaListRulesRequest.builder()
- Parameters:
listRulesRequest
- AConsumer
that will call methods onListRulesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRulesPaginator
This is a variant of
listRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListRulesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest)
operation.- Parameters:
listRulesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRulesPaginator
This is a variant of
listRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListRulesPublisher publisher = client.listRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListRulesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRules(software.amazon.awssdk.services.vpclattice.model.ListRulesRequest)
operation.
This is a convenience which creates an instance of the
ListRulesRequest.Builder
avoiding the need to create one manually viaListRulesRequest.builder()
- Parameters:
listRulesRequest
- AConsumer
that will call methods onListRulesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkResourceAssociations
default CompletableFuture<ListServiceNetworkResourceAssociationsResponse> listServiceNetworkResourceAssociations(ListServiceNetworkResourceAssociationsRequest listServiceNetworkResourceAssociationsRequest) Lists the associations between a service network and a resource configuration.
- Parameters:
listServiceNetworkResourceAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListServiceNetworkResourceAssociations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkResourceAssociations
default CompletableFuture<ListServiceNetworkResourceAssociationsResponse> listServiceNetworkResourceAssociations(Consumer<ListServiceNetworkResourceAssociationsRequest.Builder> listServiceNetworkResourceAssociationsRequest) Lists the associations between a service network and a resource configuration.
This is a convenience which creates an instance of the
ListServiceNetworkResourceAssociationsRequest.Builder
avoiding the need to create one manually viaListServiceNetworkResourceAssociationsRequest.builder()
- Parameters:
listServiceNetworkResourceAssociationsRequest
- AConsumer
that will call methods onListServiceNetworkResourceAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListServiceNetworkResourceAssociations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkResourceAssociationsPaginator
default ListServiceNetworkResourceAssociationsPublisher listServiceNetworkResourceAssociationsPaginator(ListServiceNetworkResourceAssociationsRequest listServiceNetworkResourceAssociationsRequest) This is a variant of
listServiceNetworkResourceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkResourceAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkResourceAssociationsPublisher publisher = client.listServiceNetworkResourceAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkResourceAssociationsPublisher publisher = client.listServiceNetworkResourceAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkResourceAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkResourceAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkResourceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkResourceAssociationsRequest)
operation.- Parameters:
listServiceNetworkResourceAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkResourceAssociationsPaginator
default ListServiceNetworkResourceAssociationsPublisher listServiceNetworkResourceAssociationsPaginator(Consumer<ListServiceNetworkResourceAssociationsRequest.Builder> listServiceNetworkResourceAssociationsRequest) This is a variant of
listServiceNetworkResourceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkResourceAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkResourceAssociationsPublisher publisher = client.listServiceNetworkResourceAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkResourceAssociationsPublisher publisher = client.listServiceNetworkResourceAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkResourceAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkResourceAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkResourceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkResourceAssociationsRequest)
operation.
This is a convenience which creates an instance of the
ListServiceNetworkResourceAssociationsRequest.Builder
avoiding the need to create one manually viaListServiceNetworkResourceAssociationsRequest.builder()
- Parameters:
listServiceNetworkResourceAssociationsRequest
- AConsumer
that will call methods onListServiceNetworkResourceAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkServiceAssociations
default CompletableFuture<ListServiceNetworkServiceAssociationsResponse> listServiceNetworkServiceAssociations(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest) 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.
- Parameters:
listServiceNetworkServiceAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListServiceNetworkServiceAssociations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkServiceAssociations
default CompletableFuture<ListServiceNetworkServiceAssociationsResponse> listServiceNetworkServiceAssociations(Consumer<ListServiceNetworkServiceAssociationsRequest.Builder> listServiceNetworkServiceAssociationsRequest) 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.
This is a convenience which creates an instance of the
ListServiceNetworkServiceAssociationsRequest.Builder
avoiding the need to create one manually viaListServiceNetworkServiceAssociationsRequest.builder()
- Parameters:
listServiceNetworkServiceAssociationsRequest
- AConsumer
that will call methods onListServiceNetworkServiceAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListServiceNetworkServiceAssociations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkServiceAssociationsPaginator
default ListServiceNetworkServiceAssociationsPublisher listServiceNetworkServiceAssociationsPaginator(ListServiceNetworkServiceAssociationsRequest listServiceNetworkServiceAssociationsRequest) This is a variant of
listServiceNetworkServiceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsPublisher publisher = client.listServiceNetworkServiceAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsPublisher publisher = client.listServiceNetworkServiceAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkServiceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsRequest)
operation.- Parameters:
listServiceNetworkServiceAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkServiceAssociationsPaginator
default ListServiceNetworkServiceAssociationsPublisher listServiceNetworkServiceAssociationsPaginator(Consumer<ListServiceNetworkServiceAssociationsRequest.Builder> listServiceNetworkServiceAssociationsRequest) This is a variant of
listServiceNetworkServiceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsPublisher publisher = client.listServiceNetworkServiceAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkServiceAssociationsPublisher publisher = client.listServiceNetworkServiceAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkServiceAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkServiceAssociationsRequest)
operation.
This is a convenience which creates an instance of the
ListServiceNetworkServiceAssociationsRequest.Builder
avoiding the need to create one manually viaListServiceNetworkServiceAssociationsRequest.builder()
- Parameters:
listServiceNetworkServiceAssociationsRequest
- AConsumer
that will call methods onListServiceNetworkServiceAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkVpcAssociations
default CompletableFuture<ListServiceNetworkVpcAssociationsResponse> listServiceNetworkVpcAssociations(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest) 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.
- Parameters:
listServiceNetworkVpcAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListServiceNetworkVpcAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkVpcAssociations
default CompletableFuture<ListServiceNetworkVpcAssociationsResponse> listServiceNetworkVpcAssociations(Consumer<ListServiceNetworkVpcAssociationsRequest.Builder> listServiceNetworkVpcAssociationsRequest) 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.
This is a convenience which creates an instance of the
ListServiceNetworkVpcAssociationsRequest.Builder
avoiding the need to create one manually viaListServiceNetworkVpcAssociationsRequest.builder()
- Parameters:
listServiceNetworkVpcAssociationsRequest
- AConsumer
that will call methods onListServiceNetworkVpcAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListServiceNetworkVpcAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkVpcAssociationsPaginator
default ListServiceNetworkVpcAssociationsPublisher listServiceNetworkVpcAssociationsPaginator(ListServiceNetworkVpcAssociationsRequest listServiceNetworkVpcAssociationsRequest) This is a variant of
listServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsPublisher publisher = client.listServiceNetworkVpcAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsPublisher publisher = client.listServiceNetworkVpcAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation.- Parameters:
listServiceNetworkVpcAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkVpcAssociationsPaginator
default ListServiceNetworkVpcAssociationsPublisher listServiceNetworkVpcAssociationsPaginator(Consumer<ListServiceNetworkVpcAssociationsRequest.Builder> listServiceNetworkVpcAssociationsRequest) This is a variant of
listServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsPublisher publisher = client.listServiceNetworkVpcAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcAssociationsPublisher publisher = client.listServiceNetworkVpcAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkVpcAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcAssociationsRequest)
operation.
This is a convenience which creates an instance of the
ListServiceNetworkVpcAssociationsRequest.Builder
avoiding the need to create one manually viaListServiceNetworkVpcAssociationsRequest.builder()
- Parameters:
listServiceNetworkVpcAssociationsRequest
- AConsumer
that will call methods onListServiceNetworkVpcAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkVpcEndpointAssociations
default CompletableFuture<ListServiceNetworkVpcEndpointAssociationsResponse> listServiceNetworkVpcEndpointAssociations(ListServiceNetworkVpcEndpointAssociationsRequest listServiceNetworkVpcEndpointAssociationsRequest) Lists the associations between a service network and a VPC endpoint.
- Parameters:
listServiceNetworkVpcEndpointAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListServiceNetworkVpcEndpointAssociations operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkVpcEndpointAssociations
default CompletableFuture<ListServiceNetworkVpcEndpointAssociationsResponse> listServiceNetworkVpcEndpointAssociations(Consumer<ListServiceNetworkVpcEndpointAssociationsRequest.Builder> listServiceNetworkVpcEndpointAssociationsRequest) Lists the associations between a service network and a VPC endpoint.
This is a convenience which creates an instance of the
ListServiceNetworkVpcEndpointAssociationsRequest.Builder
avoiding the need to create one manually viaListServiceNetworkVpcEndpointAssociationsRequest.builder()
- Parameters:
listServiceNetworkVpcEndpointAssociationsRequest
- AConsumer
that will call methods onListServiceNetworkVpcEndpointAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListServiceNetworkVpcEndpointAssociations operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkVpcEndpointAssociationsPaginator
default ListServiceNetworkVpcEndpointAssociationsPublisher listServiceNetworkVpcEndpointAssociationsPaginator(ListServiceNetworkVpcEndpointAssociationsRequest listServiceNetworkVpcEndpointAssociationsRequest) This is a variant of
listServiceNetworkVpcEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcEndpointAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcEndpointAssociationsPublisher publisher = client.listServiceNetworkVpcEndpointAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcEndpointAssociationsPublisher publisher = client.listServiceNetworkVpcEndpointAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcEndpointAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcEndpointAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkVpcEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcEndpointAssociationsRequest)
operation.- Parameters:
listServiceNetworkVpcEndpointAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworkVpcEndpointAssociationsPaginator
default ListServiceNetworkVpcEndpointAssociationsPublisher listServiceNetworkVpcEndpointAssociationsPaginator(Consumer<ListServiceNetworkVpcEndpointAssociationsRequest.Builder> listServiceNetworkVpcEndpointAssociationsRequest) This is a variant of
listServiceNetworkVpcEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcEndpointAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcEndpointAssociationsPublisher publisher = client.listServiceNetworkVpcEndpointAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworkVpcEndpointAssociationsPublisher publisher = client.listServiceNetworkVpcEndpointAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcEndpointAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcEndpointAssociationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworkVpcEndpointAssociations(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworkVpcEndpointAssociationsRequest)
operation.
This is a convenience which creates an instance of the
ListServiceNetworkVpcEndpointAssociationsRequest.Builder
avoiding the need to create one manually viaListServiceNetworkVpcEndpointAssociationsRequest.builder()
- Parameters:
listServiceNetworkVpcEndpointAssociationsRequest
- AConsumer
that will call methods onListServiceNetworkVpcEndpointAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworks
default CompletableFuture<ListServiceNetworksResponse> listServiceNetworks(ListServiceNetworksRequest listServiceNetworksRequest) Lists the service networks owned by or shared with this account. The account ID in the ARN shows which account owns the service network.
- Parameters:
listServiceNetworksRequest
-- Returns:
- A Java Future containing the result of the ListServiceNetworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworks
default CompletableFuture<ListServiceNetworksResponse> listServiceNetworks(Consumer<ListServiceNetworksRequest.Builder> listServiceNetworksRequest) Lists the service networks owned by or shared with this account. The account ID in the ARN shows which account owns the service network.
This is a convenience which creates an instance of the
ListServiceNetworksRequest.Builder
avoiding the need to create one manually viaListServiceNetworksRequest.builder()
- Parameters:
listServiceNetworksRequest
- AConsumer
that will call methods onListServiceNetworksRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListServiceNetworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworksPaginator
default ListServiceNetworksPublisher listServiceNetworksPaginator(ListServiceNetworksRequest listServiceNetworksRequest) This is a variant of
listServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksPublisher publisher = client.listServiceNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksPublisher publisher = client.listServiceNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation.- Parameters:
listServiceNetworksRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceNetworksPaginator
default ListServiceNetworksPublisher listServiceNetworksPaginator(Consumer<ListServiceNetworksRequest.Builder> listServiceNetworksRequest) This is a variant of
listServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksPublisher publisher = client.listServiceNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServiceNetworksPublisher publisher = client.listServiceNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceNetworks(software.amazon.awssdk.services.vpclattice.model.ListServiceNetworksRequest)
operation.
This is a convenience which creates an instance of the
ListServiceNetworksRequest.Builder
avoiding the need to create one manually viaListServiceNetworksRequest.builder()
- Parameters:
listServiceNetworksRequest
- AConsumer
that will call methods onListServiceNetworksRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServices
default CompletableFuture<ListServicesResponse> listServices(ListServicesRequest listServicesRequest) Lists the services owned by the caller account or shared with the caller account.
- Parameters:
listServicesRequest
-- Returns:
- A Java Future containing the result of the ListServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServices
default CompletableFuture<ListServicesResponse> listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) Lists the services owned by the caller account or shared with the caller account.
This is a convenience which creates an instance of the
ListServicesRequest.Builder
avoiding the need to create one manually viaListServicesRequest.builder()
- Parameters:
listServicesRequest
- AConsumer
that will call methods onListServicesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicesPaginator
This is a variant of
listServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServicesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest)
operation.- Parameters:
listServicesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicesPaginator
default ListServicesPublisher listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant of
listServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListServicesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServices(software.amazon.awssdk.services.vpclattice.model.ListServicesRequest)
operation.
This is a convenience which creates an instance of the
ListServicesRequest.Builder
avoiding the need to create one manually viaListServicesRequest.builder()
- Parameters:
listServicesRequest
- AConsumer
that will call methods onListServicesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for the specified resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetGroups
default CompletableFuture<ListTargetGroupsResponse> listTargetGroups(ListTargetGroupsRequest listTargetGroupsRequest) Lists your target groups. You can narrow your search by using the filters below in your request.
- Parameters:
listTargetGroupsRequest
-- Returns:
- A Java Future containing the result of the ListTargetGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetGroups
default CompletableFuture<ListTargetGroupsResponse> listTargetGroups(Consumer<ListTargetGroupsRequest.Builder> listTargetGroupsRequest) Lists your target groups. You can narrow your search by using the filters below in your request.
This is a convenience which creates an instance of the
ListTargetGroupsRequest.Builder
avoiding the need to create one manually viaListTargetGroupsRequest.builder()
- Parameters:
listTargetGroupsRequest
- AConsumer
that will call methods onListTargetGroupsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTargetGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetGroupsPaginator
default ListTargetGroupsPublisher listTargetGroupsPaginator(ListTargetGroupsRequest listTargetGroupsRequest) This is a variant of
listTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsPublisher publisher = client.listTargetGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsPublisher publisher = client.listTargetGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest)
operation.- Parameters:
listTargetGroupsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetGroupsPaginator
default ListTargetGroupsPublisher listTargetGroupsPaginator(Consumer<ListTargetGroupsRequest.Builder> listTargetGroupsRequest) This is a variant of
listTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsPublisher publisher = client.listTargetGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListTargetGroupsPublisher publisher = client.listTargetGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetGroups(software.amazon.awssdk.services.vpclattice.model.ListTargetGroupsRequest)
operation.
This is a convenience which creates an instance of the
ListTargetGroupsRequest.Builder
avoiding the need to create one manually viaListTargetGroupsRequest.builder()
- Parameters:
listTargetGroupsRequest
- AConsumer
that will call methods onListTargetGroupsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargets
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.
- Parameters:
listTargetsRequest
-- Returns:
- A Java Future containing the result of the ListTargets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargets
default CompletableFuture<ListTargetsResponse> listTargets(Consumer<ListTargetsRequest.Builder> listTargetsRequest) 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.
This is a convenience which creates an instance of the
ListTargetsRequest.Builder
avoiding the need to create one manually viaListTargetsRequest.builder()
- Parameters:
listTargetsRequest
- AConsumer
that will call methods onListTargetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTargets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetsPaginator
This is a variant of
listTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListTargetsPublisher publisher = client.listTargetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListTargetsPublisher publisher = client.listTargetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListTargetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListTargetsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest)
operation.- Parameters:
listTargetsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTargetsPaginator
default ListTargetsPublisher listTargetsPaginator(Consumer<ListTargetsRequest.Builder> listTargetsRequest) This is a variant of
listTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.vpclattice.paginators.ListTargetsPublisher publisher = client.listTargetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.vpclattice.paginators.ListTargetsPublisher publisher = client.listTargetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.vpclattice.model.ListTargetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.vpclattice.model.ListTargetsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargets(software.amazon.awssdk.services.vpclattice.model.ListTargetsRequest)
operation.
This is a convenience which creates an instance of the
ListTargetsRequest.Builder
avoiding the need to create one manually viaListTargetsRequest.builder()
- Parameters:
listTargetsRequest
- AConsumer
that will call methods onListTargetsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putAuthPolicy
default CompletableFuture<PutAuthPolicyResponse> putAuthPolicy(PutAuthPolicyRequest putAuthPolicyRequest) 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.
- Parameters:
putAuthPolicyRequest
-- Returns:
- A Java Future containing the result of the PutAuthPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putAuthPolicy
default CompletableFuture<PutAuthPolicyResponse> putAuthPolicy(Consumer<PutAuthPolicyRequest.Builder> putAuthPolicyRequest) 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.
This is a convenience which creates an instance of the
PutAuthPolicyRequest.Builder
avoiding the need to create one manually viaPutAuthPolicyRequest.builder()
- Parameters:
putAuthPolicyRequest
- AConsumer
that will call methods onPutAuthPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutAuthPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) 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.
- Parameters:
putResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) 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.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builder
avoiding the need to create one manually viaPutResourcePolicyRequest.builder()
- Parameters:
putResourcePolicyRequest
- AConsumer
that will call methods onPutResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerTargets
default CompletableFuture<RegisterTargetsResponse> registerTargets(RegisterTargetsRequest registerTargetsRequest) Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
- Parameters:
registerTargetsRequest
-- Returns:
- A Java Future containing the result of the RegisterTargets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerTargets
default CompletableFuture<RegisterTargetsResponse> registerTargets(Consumer<RegisterTargetsRequest.Builder> registerTargetsRequest) Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.
This is a convenience which creates an instance of the
RegisterTargetsRequest.Builder
avoiding the need to create one manually viaRegisterTargetsRequest.builder()
- Parameters:
registerTargetsRequest
- AConsumer
that will call methods onRegisterTargetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RegisterTargets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds the specified tags to the specified resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the specified resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccessLogSubscription
default CompletableFuture<UpdateAccessLogSubscriptionResponse> updateAccessLogSubscription(UpdateAccessLogSubscriptionRequest updateAccessLogSubscriptionRequest) Updates the specified access log subscription.
- Parameters:
updateAccessLogSubscriptionRequest
-- Returns:
- A Java Future containing the result of the UpdateAccessLogSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccessLogSubscription
default CompletableFuture<UpdateAccessLogSubscriptionResponse> updateAccessLogSubscription(Consumer<UpdateAccessLogSubscriptionRequest.Builder> updateAccessLogSubscriptionRequest) Updates the specified access log subscription.
This is a convenience which creates an instance of the
UpdateAccessLogSubscriptionRequest.Builder
avoiding the need to create one manually viaUpdateAccessLogSubscriptionRequest.builder()
- Parameters:
updateAccessLogSubscriptionRequest
- AConsumer
that will call methods onUpdateAccessLogSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAccessLogSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateListener
default CompletableFuture<UpdateListenerResponse> updateListener(UpdateListenerRequest updateListenerRequest) Updates the specified listener for the specified service.
- Parameters:
updateListenerRequest
-- Returns:
- A Java Future containing the result of the UpdateListener operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateListener
default CompletableFuture<UpdateListenerResponse> updateListener(Consumer<UpdateListenerRequest.Builder> updateListenerRequest) Updates the specified listener for the specified service.
This is a convenience which creates an instance of the
UpdateListenerRequest.Builder
avoiding the need to create one manually viaUpdateListenerRequest.builder()
- Parameters:
updateListenerRequest
- AConsumer
that will call methods onUpdateListenerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateListener operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceConfiguration
default CompletableFuture<UpdateResourceConfigurationResponse> updateResourceConfiguration(UpdateResourceConfigurationRequest updateResourceConfigurationRequest) Updates the specified resource configuration.
- Parameters:
updateResourceConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateResourceConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceConfiguration
default CompletableFuture<UpdateResourceConfigurationResponse> updateResourceConfiguration(Consumer<UpdateResourceConfigurationRequest.Builder> updateResourceConfigurationRequest) Updates the specified resource configuration.
This is a convenience which creates an instance of the
UpdateResourceConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateResourceConfigurationRequest.builder()
- Parameters:
updateResourceConfigurationRequest
- AConsumer
that will call methods onUpdateResourceConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResourceConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceGateway
default CompletableFuture<UpdateResourceGatewayResponse> updateResourceGateway(UpdateResourceGatewayRequest updateResourceGatewayRequest) Updates the specified resource gateway.
- Parameters:
updateResourceGatewayRequest
-- Returns:
- A Java Future containing the result of the UpdateResourceGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceGateway
default CompletableFuture<UpdateResourceGatewayResponse> updateResourceGateway(Consumer<UpdateResourceGatewayRequest.Builder> updateResourceGatewayRequest) Updates the specified resource gateway.
This is a convenience which creates an instance of the
UpdateResourceGatewayRequest.Builder
avoiding the need to create one manually viaUpdateResourceGatewayRequest.builder()
- Parameters:
updateResourceGatewayRequest
- AConsumer
that will call methods onUpdateResourceGatewayRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResourceGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRule
Updates a specified rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
UpdateListener
.- Parameters:
updateRuleRequest
-- Returns:
- A Java Future containing the result of the UpdateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRule
default CompletableFuture<UpdateRuleResponse> updateRule(Consumer<UpdateRuleRequest.Builder> updateRuleRequest) Updates a specified rule for the listener. You can't modify a default listener rule. To modify a default listener rule, use
UpdateListener
.
This is a convenience which creates an instance of the
UpdateRuleRequest.Builder
avoiding the need to create one manually viaUpdateRuleRequest.builder()
- Parameters:
updateRuleRequest
- AConsumer
that will call methods onUpdateRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateService
default CompletableFuture<UpdateServiceResponse> updateService(UpdateServiceRequest updateServiceRequest) Updates the specified service.
- Parameters:
updateServiceRequest
-- Returns:
- A Java Future containing the result of the UpdateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateService
default CompletableFuture<UpdateServiceResponse> updateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) Updates the specified service.
This is a convenience which creates an instance of the
UpdateServiceRequest.Builder
avoiding the need to create one manually viaUpdateServiceRequest.builder()
- Parameters:
updateServiceRequest
- AConsumer
that will call methods onUpdateServiceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceNetwork
default CompletableFuture<UpdateServiceNetworkResponse> updateServiceNetwork(UpdateServiceNetworkRequest updateServiceNetworkRequest) Updates the specified service network.
- Parameters:
updateServiceNetworkRequest
-- Returns:
- A Java Future containing the result of the UpdateServiceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceNetwork
default CompletableFuture<UpdateServiceNetworkResponse> updateServiceNetwork(Consumer<UpdateServiceNetworkRequest.Builder> updateServiceNetworkRequest) Updates the specified service network.
This is a convenience which creates an instance of the
UpdateServiceNetworkRequest.Builder
avoiding the need to create one manually viaUpdateServiceNetworkRequest.builder()
- Parameters:
updateServiceNetworkRequest
- AConsumer
that will call methods onUpdateServiceNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateServiceNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceNetworkVpcAssociation
default CompletableFuture<UpdateServiceNetworkVpcAssociationResponse> updateServiceNetworkVpcAssociation(UpdateServiceNetworkVpcAssociationRequest updateServiceNetworkVpcAssociationRequest) 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.
- Parameters:
updateServiceNetworkVpcAssociationRequest
-- Returns:
- A Java Future containing the result of the UpdateServiceNetworkVpcAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceNetworkVpcAssociation
default CompletableFuture<UpdateServiceNetworkVpcAssociationResponse> updateServiceNetworkVpcAssociation(Consumer<UpdateServiceNetworkVpcAssociationRequest.Builder> updateServiceNetworkVpcAssociationRequest) 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.
This is a convenience which creates an instance of the
UpdateServiceNetworkVpcAssociationRequest.Builder
avoiding the need to create one manually viaUpdateServiceNetworkVpcAssociationRequest.builder()
- Parameters:
updateServiceNetworkVpcAssociationRequest
- AConsumer
that will call methods onUpdateServiceNetworkVpcAssociationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateServiceNetworkVpcAssociation operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTargetGroup
default CompletableFuture<UpdateTargetGroupResponse> updateTargetGroup(UpdateTargetGroupRequest updateTargetGroupRequest) Updates the specified target group.
- Parameters:
updateTargetGroupRequest
-- Returns:
- A Java Future containing the result of the UpdateTargetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTargetGroup
default CompletableFuture<UpdateTargetGroupResponse> updateTargetGroup(Consumer<UpdateTargetGroupRequest.Builder> updateTargetGroupRequest) Updates the specified target group.
This is a convenience which creates an instance of the
UpdateTargetGroupRequest.Builder
avoiding the need to create one manually viaUpdateTargetGroupRequest.builder()
- Parameters:
updateTargetGroupRequest
- AConsumer
that will call methods onUpdateTargetGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateTargetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The input does not satisfy the constraints specified by an Amazon Web Services service.
- AccessDeniedException The user does not have sufficient access to perform this action.
- ThrottlingException The limit on the number of requests per second was exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- ConflictException The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- InternalServerException An unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- VpcLatticeException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aVpcLatticeAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aVpcLatticeAsyncClient
.
-