Interface LambdaCoreAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface LambdaCoreAsyncClient extends AwsClient
Service client for accessing AWS Lambda Core asynchronously. This can be created using the static 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.

Lambda

Overview

Lambda Core is a set of APIs for managing shared infrastructure resources used by Lambda. The Lambda Core API provides operations for:

  1. Creating and managing network connectors that enable Lambda MicroVMs and Lambda Web Functions to access resources in your Amazon Virtual Private Cloud (Amazon VPC).

  2. Creating customer-managed runtimes which can be used with Lambda Event Functions.

Network connectors provision elastic network interfaces (ENIs) in your VPC subnets, providing a managed network path from Lambda compute environments to private resources such as Amazon RDS databases, Amazon ElastiCache clusters, and internal APIs. You create a network connector once and attach it to one or more Lambda MicroVMs or Lambda Web Functions at run time.

A customer-managed runtime is a Lambda runtime that you create and manage as a standalone resource. Lambda Event Functions can use your customer-managed runtime instead of using one of the built-in Lambda-managed runtimes. Customer-managed runtimes enable you to create customized runtimes for your workloads, and give you control over runtime updates and the deprecation lifecycle.

The Lambda Core API Reference provides information about each of the API methods, including details about the parameters in each API request and response.

You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see Tools for Amazon Web Services.

For a list of Region-specific endpoints that Lambda supports, see Lambda endpoints and quotas in the Amazon Web Services General Reference.

When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see Signature Version 4 signing process in the Amazon Web Services General Reference.

  • Field Details

  • Method Details

    • createNetworkConnector

      default CompletableFuture<CreateNetworkConnectorResponse> createNetworkConnector(CreateNetworkConnectorRequest createNetworkConnectorRequest)

      Creates a network connector that enables Lambda compute resources to route outbound traffic through your Amazon VPC. The network connector provisions elastic network interfaces (ENIs) in the subnets you specify, providing a managed network path to private resources such as databases, caches, and internal APIs.

      This operation is asynchronous. The network connector starts in PENDING state while ENIs are provisioned in your VPC (provisioning typically takes up to 10 minutes). Use GetNetworkConnector to poll the connector state until it reaches ACTIVE. Once active, you can attach the connector to supported Lambda compute resources — such as MicroVMs and WebFunctions — at run time. For how to attach a connector, see the documentation for the specific compute type.

      This operation is idempotent when you provide a ClientToken — if you retry a request that completed successfully using the same client token, the operation returns the existing connector without creating a duplicate.

      Parameters:
      createNetworkConnectorRequest -
      Returns:
      A Java Future containing the result of the CreateNetworkConnector 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • NetworkConnectorLimitExceededException The request would exceed a network connector limit. For CreateNetworkConnector, the account has reached the maximum number of network connectors allowed. For UpdateNetworkConnector, the connector has reached the maximum number of versions allowed.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createNetworkConnector

      default CompletableFuture<CreateNetworkConnectorResponse> createNetworkConnector(Consumer<CreateNetworkConnectorRequest.Builder> createNetworkConnectorRequest)

      Creates a network connector that enables Lambda compute resources to route outbound traffic through your Amazon VPC. The network connector provisions elastic network interfaces (ENIs) in the subnets you specify, providing a managed network path to private resources such as databases, caches, and internal APIs.

      This operation is asynchronous. The network connector starts in PENDING state while ENIs are provisioned in your VPC (provisioning typically takes up to 10 minutes). Use GetNetworkConnector to poll the connector state until it reaches ACTIVE. Once active, you can attach the connector to supported Lambda compute resources — such as MicroVMs and WebFunctions — at run time. For how to attach a connector, see the documentation for the specific compute type.

      This operation is idempotent when you provide a ClientToken — if you retry a request that completed successfully using the same client token, the operation returns the existing connector without creating a duplicate.


      This is a convenience which creates an instance of the CreateNetworkConnectorRequest.Builder avoiding the need to create one manually via CreateNetworkConnectorRequest.builder()

      Parameters:
      createNetworkConnectorRequest - A Consumer that will call methods on CreateNetworkConnectorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateNetworkConnector 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • NetworkConnectorLimitExceededException The request would exceed a network connector limit. For CreateNetworkConnector, the account has reached the maximum number of network connectors allowed. For UpdateNetworkConnector, the connector has reached the maximum number of versions allowed.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRuntime

      default CompletableFuture<CreateRuntimeResponse> createRuntime(CreateRuntimeRequest createRuntimeRequest)

      Creates a customer-managed runtime, a resource providing a centrally managed execution environment for your Lambda functions. The runtime resource is the parent of the runtime version and runtime alias child resources.

      Parameters:
      createRuntimeRequest -
      Returns:
      A Java Future containing the result of the CreateRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceQuotaExceededException The request would exceed a service quota for your account. Request a quota increase or reduce the number of resources in use, then retry the request.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRuntime

      default CompletableFuture<CreateRuntimeResponse> createRuntime(Consumer<CreateRuntimeRequest.Builder> createRuntimeRequest)

      Creates a customer-managed runtime, a resource providing a centrally managed execution environment for your Lambda functions. The runtime resource is the parent of the runtime version and runtime alias child resources.


      This is a convenience which creates an instance of the CreateRuntimeRequest.Builder avoiding the need to create one manually via CreateRuntimeRequest.builder()

      Parameters:
      createRuntimeRequest - A Consumer that will call methods on CreateRuntimeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceQuotaExceededException The request would exceed a service quota for your account. Request a quota increase or reduce the number of resources in use, then retry the request.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRuntimeAlias

      default CompletableFuture<CreateRuntimeAliasResponse> createRuntimeAlias(CreateRuntimeAliasRequest createRuntimeAliasRequest)

      Creates a new customer-managed runtime alias. The alias is a named pointer to a runtime version. Functions consume the customer-managed runtime through the runtime alias.

      Parameters:
      createRuntimeAliasRequest -
      Returns:
      A Java Future containing the result of the CreateRuntimeAlias 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceQuotaExceededException The request would exceed a service quota for your account. Request a quota increase or reduce the number of resources in use, then retry the request.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRuntimeAlias

      default CompletableFuture<CreateRuntimeAliasResponse> createRuntimeAlias(Consumer<CreateRuntimeAliasRequest.Builder> createRuntimeAliasRequest)

      Creates a new customer-managed runtime alias. The alias is a named pointer to a runtime version. Functions consume the customer-managed runtime through the runtime alias.


      This is a convenience which creates an instance of the CreateRuntimeAliasRequest.Builder avoiding the need to create one manually via CreateRuntimeAliasRequest.builder()

      Parameters:
      createRuntimeAliasRequest - A Consumer that will call methods on CreateRuntimeAliasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRuntimeAlias 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceQuotaExceededException The request would exceed a service quota for your account. Request a quota increase or reduce the number of resources in use, then retry the request.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRuntimeVersion

      default CompletableFuture<CreateRuntimeVersionResponse> createRuntimeVersion(CreateRuntimeVersionRequest createRuntimeVersionRequest)

      Creates a new runtime version. A runtime version defines the function execution environment by referencing a container image. Runtime versions are immutable. To update the runtime, create a new runtime version and migrate functions by updating the runtime aliases to point to the new runtime version.

      Parameters:
      createRuntimeVersionRequest -
      Returns:
      A Java Future containing the result of the CreateRuntimeVersion 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceQuotaExceededException The request would exceed a service quota for your account. Request a quota increase or reduce the number of resources in use, then retry the request.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRuntimeVersion

      default CompletableFuture<CreateRuntimeVersionResponse> createRuntimeVersion(Consumer<CreateRuntimeVersionRequest.Builder> createRuntimeVersionRequest)

      Creates a new runtime version. A runtime version defines the function execution environment by referencing a container image. Runtime versions are immutable. To update the runtime, create a new runtime version and migrate functions by updating the runtime aliases to point to the new runtime version.


      This is a convenience which creates an instance of the CreateRuntimeVersionRequest.Builder avoiding the need to create one manually via CreateRuntimeVersionRequest.builder()

      Parameters:
      createRuntimeVersionRequest - A Consumer that will call methods on CreateRuntimeVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRuntimeVersion 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceQuotaExceededException The request would exceed a service quota for your account. Request a quota increase or reduce the number of resources in use, then retry the request.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteNetworkConnector

      default CompletableFuture<DeleteNetworkConnectorResponse> deleteNetworkConnector(DeleteNetworkConnectorRequest deleteNetworkConnectorRequest)

      Initiates deletion of a network connector. The connector transitions to DELETING state while elastic network interfaces are cleaned up asynchronously. After deletion completes, subsequent calls to GetNetworkConnector return ResourceNotFoundException.

      This operation is idempotent — calling delete on a connector that is already deleting or has been deleted succeeds without error. You can delete connectors in ACTIVE or FAILED states. Before deleting a connector, ensure that no Lambda compute resources are using it, as they will lose VPC egress connectivity immediately.

      Deleting with an unqualified identifier removes the connector and all of its versions. To remove a single historical version, supply its version-qualified ARN; the connector and its remaining versions are unaffected. You can't delete the latest version on its own — delete the connector to remove it.

      Parameters:
      deleteNetworkConnectorRequest -
      Returns:
      A Java Future containing the result of the DeleteNetworkConnector 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteNetworkConnector

      default CompletableFuture<DeleteNetworkConnectorResponse> deleteNetworkConnector(Consumer<DeleteNetworkConnectorRequest.Builder> deleteNetworkConnectorRequest)

      Initiates deletion of a network connector. The connector transitions to DELETING state while elastic network interfaces are cleaned up asynchronously. After deletion completes, subsequent calls to GetNetworkConnector return ResourceNotFoundException.

      This operation is idempotent — calling delete on a connector that is already deleting or has been deleted succeeds without error. You can delete connectors in ACTIVE or FAILED states. Before deleting a connector, ensure that no Lambda compute resources are using it, as they will lose VPC egress connectivity immediately.

      Deleting with an unqualified identifier removes the connector and all of its versions. To remove a single historical version, supply its version-qualified ARN; the connector and its remaining versions are unaffected. You can't delete the latest version on its own — delete the connector to remove it.


      This is a convenience which creates an instance of the DeleteNetworkConnectorRequest.Builder avoiding the need to create one manually via DeleteNetworkConnectorRequest.builder()

      Parameters:
      deleteNetworkConnectorRequest - A Consumer that will call methods on DeleteNetworkConnectorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteNetworkConnector 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRuntime

      default CompletableFuture<DeleteRuntimeResponse> deleteRuntime(DeleteRuntimeRequest deleteRuntimeRequest)

      Schedules a customer-managed runtime to be deleted. Runtimes scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Runtime versions and aliases must be deleted or scheduled for deletion before deleting the runtime. Function invokes fail for functions using runtime versions or aliases that are deleted or pending deletion.

      Parameters:
      deleteRuntimeRequest -
      Returns:
      A Java Future containing the result of the DeleteRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRuntime

      default CompletableFuture<DeleteRuntimeResponse> deleteRuntime(Consumer<DeleteRuntimeRequest.Builder> deleteRuntimeRequest)

      Schedules a customer-managed runtime to be deleted. Runtimes scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Runtime versions and aliases must be deleted or scheduled for deletion before deleting the runtime. Function invokes fail for functions using runtime versions or aliases that are deleted or pending deletion.


      This is a convenience which creates an instance of the DeleteRuntimeRequest.Builder avoiding the need to create one manually via DeleteRuntimeRequest.builder()

      Parameters:
      deleteRuntimeRequest - A Consumer that will call methods on DeleteRuntimeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRuntimeAlias

      default CompletableFuture<DeleteRuntimeAliasResponse> deleteRuntimeAlias(DeleteRuntimeAliasRequest deleteRuntimeAliasRequest)

      Schedules a runtime alias to be deleted. Runtime aliases scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Function invokes fail for functions using runtime aliases that are deleted or pending deletion.

      Parameters:
      deleteRuntimeAliasRequest -
      Returns:
      A Java Future containing the result of the DeleteRuntimeAlias 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRuntimeAlias

      default CompletableFuture<DeleteRuntimeAliasResponse> deleteRuntimeAlias(Consumer<DeleteRuntimeAliasRequest.Builder> deleteRuntimeAliasRequest)

      Schedules a runtime alias to be deleted. Runtime aliases scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Function invokes fail for functions using runtime aliases that are deleted or pending deletion.


      This is a convenience which creates an instance of the DeleteRuntimeAliasRequest.Builder avoiding the need to create one manually via DeleteRuntimeAliasRequest.builder()

      Parameters:
      deleteRuntimeAliasRequest - A Consumer that will call methods on DeleteRuntimeAliasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRuntimeAlias 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRuntimeVersion

      default CompletableFuture<DeleteRuntimeVersionResponse> deleteRuntimeVersion(DeleteRuntimeVersionRequest deleteRuntimeVersionRequest)

      Schedules a runtime version to be deleted. Runtime versions scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Function invokes fail for functions using a runtime version that is deleted or pending deletion.

      Parameters:
      deleteRuntimeVersionRequest -
      Returns:
      A Java Future containing the result of the DeleteRuntimeVersion 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRuntimeVersion

      default CompletableFuture<DeleteRuntimeVersionResponse> deleteRuntimeVersion(Consumer<DeleteRuntimeVersionRequest.Builder> deleteRuntimeVersionRequest)

      Schedules a runtime version to be deleted. Runtime versions scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Function invokes fail for functions using a runtime version that is deleted or pending deletion.


      This is a convenience which creates an instance of the DeleteRuntimeVersionRequest.Builder avoiding the need to create one manually via DeleteRuntimeVersionRequest.builder()

      Parameters:
      deleteRuntimeVersionRequest - A Consumer that will call methods on DeleteRuntimeVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRuntimeVersion 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkConnector

      default CompletableFuture<GetNetworkConnectorResponse> getNetworkConnector(GetNetworkConnectorRequest getNetworkConnectorRequest)

      Retrieves the current configuration, state, and metadata of a network connector. The Identifier parameter accepts the connector ID, name, or full ARN. Use this operation to poll connector state after creation or update, or to inspect the current VPC configuration and any failure reasons.

      The response includes the full connector configuration, current state, and — if the connector has been updated — the LastUpdateStatus and LastUpdateStatusReasonCode fields that indicate whether the most recent update succeeded or failed.

      Parameters:
      getNetworkConnectorRequest -
      Returns:
      A Java Future containing the result of the GetNetworkConnector 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetworkConnector

      default CompletableFuture<GetNetworkConnectorResponse> getNetworkConnector(Consumer<GetNetworkConnectorRequest.Builder> getNetworkConnectorRequest)

      Retrieves the current configuration, state, and metadata of a network connector. The Identifier parameter accepts the connector ID, name, or full ARN. Use this operation to poll connector state after creation or update, or to inspect the current VPC configuration and any failure reasons.

      The response includes the full connector configuration, current state, and — if the connector has been updated — the LastUpdateStatus and LastUpdateStatusReasonCode fields that indicate whether the most recent update succeeded or failed.


      This is a convenience which creates an instance of the GetNetworkConnectorRequest.Builder avoiding the need to create one manually via GetNetworkConnectorRequest.builder()

      Parameters:
      getNetworkConnectorRequest - A Consumer that will call methods on GetNetworkConnectorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetNetworkConnector 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRuntime

      default CompletableFuture<GetRuntimeResponse> getRuntime(GetRuntimeRequest getRuntimeRequest)

      Retrieves the configuration and metadata of a runtime.

      Parameters:
      getRuntimeRequest -
      Returns:
      A Java Future containing the result of the GetRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRuntime

      default CompletableFuture<GetRuntimeResponse> getRuntime(Consumer<GetRuntimeRequest.Builder> getRuntimeRequest)

      Retrieves the configuration and metadata of a runtime.


      This is a convenience which creates an instance of the GetRuntimeRequest.Builder avoiding the need to create one manually via GetRuntimeRequest.builder()

      Parameters:
      getRuntimeRequest - A Consumer that will call methods on GetRuntimeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRuntimeAlias

      default CompletableFuture<GetRuntimeAliasResponse> getRuntimeAlias(GetRuntimeAliasRequest getRuntimeAliasRequest)

      Retrieves the configuration, state, and metadata of a runtime alias.

      Parameters:
      getRuntimeAliasRequest -
      Returns:
      A Java Future containing the result of the GetRuntimeAlias 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRuntimeAlias

      default CompletableFuture<GetRuntimeAliasResponse> getRuntimeAlias(Consumer<GetRuntimeAliasRequest.Builder> getRuntimeAliasRequest)

      Retrieves the configuration, state, and metadata of a runtime alias.


      This is a convenience which creates an instance of the GetRuntimeAliasRequest.Builder avoiding the need to create one manually via GetRuntimeAliasRequest.builder()

      Parameters:
      getRuntimeAliasRequest - A Consumer that will call methods on GetRuntimeAliasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRuntimeAlias 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRuntimeVersion

      default CompletableFuture<GetRuntimeVersionResponse> getRuntimeVersion(GetRuntimeVersionRequest getRuntimeVersionRequest)

      Retrieves the configuration, state, and metadata of a runtime version.

      Parameters:
      getRuntimeVersionRequest -
      Returns:
      A Java Future containing the result of the GetRuntimeVersion 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRuntimeVersion

      default CompletableFuture<GetRuntimeVersionResponse> getRuntimeVersion(Consumer<GetRuntimeVersionRequest.Builder> getRuntimeVersionRequest)

      Retrieves the configuration, state, and metadata of a runtime version.


      This is a convenience which creates an instance of the GetRuntimeVersionRequest.Builder avoiding the need to create one manually via GetRuntimeVersionRequest.builder()

      Parameters:
      getRuntimeVersionRequest - A Consumer that will call methods on GetRuntimeVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRuntimeVersion 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworkConnectorVersions

      default CompletableFuture<ListNetworkConnectorVersionsResponse> listNetworkConnectorVersions(ListNetworkConnectorVersionsRequest listNetworkConnectorVersionsRequest)

      Returns a paginated list of the versions of a network connector. Each configuration update creates a new immutable version; this operation lists those versions for the connector you specify. You can optionally filter results by version state. Use the Marker parameter from a previous response to retrieve the next page of results.

      Each item in the response includes the version-qualified ARN, version number, current state, and last modified timestamp for that version. To retrieve the current (latest) configuration of the connector, use GetNetworkConnector; to inspect a specific version, call GetNetworkConnector with a version-qualified identifier.

      Parameters:
      listNetworkConnectorVersionsRequest -
      Returns:
      A Java Future containing the result of the ListNetworkConnectorVersions 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworkConnectorVersions

      default CompletableFuture<ListNetworkConnectorVersionsResponse> listNetworkConnectorVersions(Consumer<ListNetworkConnectorVersionsRequest.Builder> listNetworkConnectorVersionsRequest)

      Returns a paginated list of the versions of a network connector. Each configuration update creates a new immutable version; this operation lists those versions for the connector you specify. You can optionally filter results by version state. Use the Marker parameter from a previous response to retrieve the next page of results.

      Each item in the response includes the version-qualified ARN, version number, current state, and last modified timestamp for that version. To retrieve the current (latest) configuration of the connector, use GetNetworkConnector; to inspect a specific version, call GetNetworkConnector with a version-qualified identifier.


      This is a convenience which creates an instance of the ListNetworkConnectorVersionsRequest.Builder avoiding the need to create one manually via ListNetworkConnectorVersionsRequest.builder()

      Parameters:
      listNetworkConnectorVersionsRequest - A Consumer that will call methods on ListNetworkConnectorVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListNetworkConnectorVersions 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworkConnectorVersionsPaginator

      default ListNetworkConnectorVersionsPublisher listNetworkConnectorVersionsPaginator(ListNetworkConnectorVersionsRequest listNetworkConnectorVersionsRequest)

      This is a variant of listNetworkConnectorVersions(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorVersionsRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListNetworkConnectorVersionsPublisher publisher = client.listNetworkConnectorVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListNetworkConnectorVersionsPublisher publisher = client.listNetworkConnectorVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxItems 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 listNetworkConnectorVersions(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorVersionsRequest) operation.

      Parameters:
      listNetworkConnectorVersionsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworkConnectorVersionsPaginator

      default ListNetworkConnectorVersionsPublisher listNetworkConnectorVersionsPaginator(Consumer<ListNetworkConnectorVersionsRequest.Builder> listNetworkConnectorVersionsRequest)

      This is a variant of listNetworkConnectorVersions(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorVersionsRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListNetworkConnectorVersionsPublisher publisher = client.listNetworkConnectorVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListNetworkConnectorVersionsPublisher publisher = client.listNetworkConnectorVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxItems 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 listNetworkConnectorVersions(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorVersionsRequest) operation.


      This is a convenience which creates an instance of the ListNetworkConnectorVersionsRequest.Builder avoiding the need to create one manually via ListNetworkConnectorVersionsRequest.builder()

      Parameters:
      listNetworkConnectorVersionsRequest - A Consumer that will call methods on ListNetworkConnectorVersionsRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworkConnectors

      default CompletableFuture<ListNetworkConnectorsResponse> listNetworkConnectors(ListNetworkConnectorsRequest listNetworkConnectorsRequest)

      Returns a paginated list of network connectors in your account for the current Region. You can optionally filter results by connector state. Use the Marker parameter from a previous response to retrieve the next page of results.

      Each item in the response includes the connector ARN, name, ID, type, current state, and last modified timestamp. To retrieve full configuration details for a specific connector, use GetNetworkConnector.

      Parameters:
      listNetworkConnectorsRequest -
      Returns:
      A Java Future containing the result of the ListNetworkConnectors 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworkConnectors

      default CompletableFuture<ListNetworkConnectorsResponse> listNetworkConnectors(Consumer<ListNetworkConnectorsRequest.Builder> listNetworkConnectorsRequest)

      Returns a paginated list of network connectors in your account for the current Region. You can optionally filter results by connector state. Use the Marker parameter from a previous response to retrieve the next page of results.

      Each item in the response includes the connector ARN, name, ID, type, current state, and last modified timestamp. To retrieve full configuration details for a specific connector, use GetNetworkConnector.


      This is a convenience which creates an instance of the ListNetworkConnectorsRequest.Builder avoiding the need to create one manually via ListNetworkConnectorsRequest.builder()

      Parameters:
      listNetworkConnectorsRequest - A Consumer that will call methods on ListNetworkConnectorsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListNetworkConnectors 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworkConnectorsPaginator

      default ListNetworkConnectorsPublisher listNetworkConnectorsPaginator(ListNetworkConnectorsRequest listNetworkConnectorsRequest)

      This is a variant of listNetworkConnectors(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorsRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListNetworkConnectorsPublisher publisher = client.listNetworkConnectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListNetworkConnectorsPublisher publisher = client.listNetworkConnectorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxItems 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 listNetworkConnectors(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorsRequest) operation.

      Parameters:
      listNetworkConnectorsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworkConnectorsPaginator

      default ListNetworkConnectorsPublisher listNetworkConnectorsPaginator(Consumer<ListNetworkConnectorsRequest.Builder> listNetworkConnectorsRequest)

      This is a variant of listNetworkConnectors(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorsRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListNetworkConnectorsPublisher publisher = client.listNetworkConnectorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListNetworkConnectorsPublisher publisher = client.listNetworkConnectorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxItems 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 listNetworkConnectors(software.amazon.awssdk.services.lambdacore.model.ListNetworkConnectorsRequest) operation.


      This is a convenience which creates an instance of the ListNetworkConnectorsRequest.Builder avoiding the need to create one manually via ListNetworkConnectorsRequest.builder()

      Parameters:
      listNetworkConnectorsRequest - A Consumer that will call methods on ListNetworkConnectorsRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimeAliases

      default CompletableFuture<ListRuntimeAliasesResponse> listRuntimeAliases(ListRuntimeAliasesRequest listRuntimeAliasesRequest)

      Returns a paginated list of aliases for the specified runtime.

      Parameters:
      listRuntimeAliasesRequest -
      Returns:
      A Java Future containing the result of the ListRuntimeAliases 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimeAliases

      default CompletableFuture<ListRuntimeAliasesResponse> listRuntimeAliases(Consumer<ListRuntimeAliasesRequest.Builder> listRuntimeAliasesRequest)

      Returns a paginated list of aliases for the specified runtime.


      This is a convenience which creates an instance of the ListRuntimeAliasesRequest.Builder avoiding the need to create one manually via ListRuntimeAliasesRequest.builder()

      Parameters:
      listRuntimeAliasesRequest - A Consumer that will call methods on ListRuntimeAliasesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRuntimeAliases 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimeAliasesPaginator

      default ListRuntimeAliasesPublisher listRuntimeAliasesPaginator(ListRuntimeAliasesRequest listRuntimeAliasesRequest)

      This is a variant of listRuntimeAliases(software.amazon.awssdk.services.lambdacore.model.ListRuntimeAliasesRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimeAliasesPublisher publisher = client.listRuntimeAliasesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimeAliasesPublisher publisher = client.listRuntimeAliasesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListRuntimeAliasesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListRuntimeAliasesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listRuntimeAliases(software.amazon.awssdk.services.lambdacore.model.ListRuntimeAliasesRequest) operation.

      Parameters:
      listRuntimeAliasesRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimeAliasesPaginator

      default ListRuntimeAliasesPublisher listRuntimeAliasesPaginator(Consumer<ListRuntimeAliasesRequest.Builder> listRuntimeAliasesRequest)

      This is a variant of listRuntimeAliases(software.amazon.awssdk.services.lambdacore.model.ListRuntimeAliasesRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimeAliasesPublisher publisher = client.listRuntimeAliasesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimeAliasesPublisher publisher = client.listRuntimeAliasesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListRuntimeAliasesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListRuntimeAliasesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listRuntimeAliases(software.amazon.awssdk.services.lambdacore.model.ListRuntimeAliasesRequest) operation.


      This is a convenience which creates an instance of the ListRuntimeAliasesRequest.Builder avoiding the need to create one manually via ListRuntimeAliasesRequest.builder()

      Parameters:
      listRuntimeAliasesRequest - A Consumer that will call methods on ListRuntimeAliasesRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimeVersions

      default CompletableFuture<ListRuntimeVersionsResponse> listRuntimeVersions(ListRuntimeVersionsRequest listRuntimeVersionsRequest)

      Returns a paginated list of versions for the specified runtime.

      Parameters:
      listRuntimeVersionsRequest -
      Returns:
      A Java Future containing the result of the ListRuntimeVersions 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimeVersions

      default CompletableFuture<ListRuntimeVersionsResponse> listRuntimeVersions(Consumer<ListRuntimeVersionsRequest.Builder> listRuntimeVersionsRequest)

      Returns a paginated list of versions for the specified runtime.


      This is a convenience which creates an instance of the ListRuntimeVersionsRequest.Builder avoiding the need to create one manually via ListRuntimeVersionsRequest.builder()

      Parameters:
      listRuntimeVersionsRequest - A Consumer that will call methods on ListRuntimeVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRuntimeVersions 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimeVersionsPaginator

      default ListRuntimeVersionsPublisher listRuntimeVersionsPaginator(ListRuntimeVersionsRequest listRuntimeVersionsRequest)

      This is a variant of listRuntimeVersions(software.amazon.awssdk.services.lambdacore.model.ListRuntimeVersionsRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimeVersionsPublisher publisher = client.listRuntimeVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimeVersionsPublisher publisher = client.listRuntimeVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListRuntimeVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListRuntimeVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listRuntimeVersions(software.amazon.awssdk.services.lambdacore.model.ListRuntimeVersionsRequest) operation.

      Parameters:
      listRuntimeVersionsRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimeVersionsPaginator

      default ListRuntimeVersionsPublisher listRuntimeVersionsPaginator(Consumer<ListRuntimeVersionsRequest.Builder> listRuntimeVersionsRequest)

      This is a variant of listRuntimeVersions(software.amazon.awssdk.services.lambdacore.model.ListRuntimeVersionsRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimeVersionsPublisher publisher = client.listRuntimeVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimeVersionsPublisher publisher = client.listRuntimeVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListRuntimeVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListRuntimeVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listRuntimeVersions(software.amazon.awssdk.services.lambdacore.model.ListRuntimeVersionsRequest) operation.


      This is a convenience which creates an instance of the ListRuntimeVersionsRequest.Builder avoiding the need to create one manually via ListRuntimeVersionsRequest.builder()

      Parameters:
      listRuntimeVersionsRequest - A Consumer that will call methods on ListRuntimeVersionsRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimes

      default CompletableFuture<ListRuntimesResponse> listRuntimes(ListRuntimesRequest listRuntimesRequest)

      Returns a paginated list of runtimes in your account for the current Region.

      Parameters:
      listRuntimesRequest -
      Returns:
      A Java Future containing the result of the ListRuntimes 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimes

      default CompletableFuture<ListRuntimesResponse> listRuntimes(Consumer<ListRuntimesRequest.Builder> listRuntimesRequest)

      Returns a paginated list of runtimes in your account for the current Region.


      This is a convenience which creates an instance of the ListRuntimesRequest.Builder avoiding the need to create one manually via ListRuntimesRequest.builder()

      Parameters:
      listRuntimesRequest - A Consumer that will call methods on ListRuntimesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRuntimes 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimesPaginator

      default ListRuntimesPublisher listRuntimesPaginator(ListRuntimesRequest listRuntimesRequest)

      This is a variant of listRuntimes(software.amazon.awssdk.services.lambdacore.model.ListRuntimesRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimesPublisher publisher = client.listRuntimesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimesPublisher publisher = client.listRuntimesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListRuntimesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListRuntimesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listRuntimes(software.amazon.awssdk.services.lambdacore.model.ListRuntimesRequest) operation.

      Parameters:
      listRuntimesRequest -
      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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRuntimesPaginator

      default ListRuntimesPublisher listRuntimesPaginator(Consumer<ListRuntimesRequest.Builder> listRuntimesRequest)

      This is a variant of listRuntimes(software.amazon.awssdk.services.lambdacore.model.ListRuntimesRequest) 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 new Subscription 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 method
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimesPublisher publisher = client.listRuntimesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lambdacore.paginators.ListRuntimesPublisher publisher = client.listRuntimesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lambdacore.model.ListRuntimesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lambdacore.model.ListRuntimesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listRuntimes(software.amazon.awssdk.services.lambdacore.model.ListRuntimesRequest) operation.


      This is a convenience which creates an instance of the ListRuntimesRequest.Builder avoiding the need to create one manually via ListRuntimesRequest.builder()

      Parameters:
      listRuntimesRequest - A Consumer that will call methods on ListRuntimesRequest.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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • restoreRuntime

      default CompletableFuture<RestoreRuntimeResponse> restoreRuntime(RestoreRuntimeRequest restoreRuntimeRequest)

      Cancels a pending scheduled deletion, returning the resource to the ACTIVE state. Scope is determined by the RuntimeName path parameter plus an optional, mutually exclusive RuntimeVersion or RuntimeAlias query parameter: with neither, the runtime itself is restored; with RuntimeVersion, the named runtime version; with RuntimeAlias, the named runtime alias. Restoring a resource that is already ACTIVE is a no-op success. Restore only works while the target is PENDING_DELETION; once the scheduled deletion has begun executing (DELETING) or has completed, the call fails.

      Parameters:
      restoreRuntimeRequest -
      Returns:
      A Java Future containing the result of the RestoreRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • restoreRuntime

      default CompletableFuture<RestoreRuntimeResponse> restoreRuntime(Consumer<RestoreRuntimeRequest.Builder> restoreRuntimeRequest)

      Cancels a pending scheduled deletion, returning the resource to the ACTIVE state. Scope is determined by the RuntimeName path parameter plus an optional, mutually exclusive RuntimeVersion or RuntimeAlias query parameter: with neither, the runtime itself is restored; with RuntimeVersion, the named runtime version; with RuntimeAlias, the named runtime alias. Restoring a resource that is already ACTIVE is a no-op success. Restore only works while the target is PENDING_DELETION; once the scheduled deletion has begun executing (DELETING) or has completed, the call fails.


      This is a convenience which creates an instance of the RestoreRuntimeRequest.Builder avoiding the need to create one manually via RestoreRuntimeRequest.builder()

      Parameters:
      restoreRuntimeRequest - A Consumer that will call methods on RestoreRuntimeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RestoreRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateNetworkConnector

      default CompletableFuture<UpdateNetworkConnectorResponse> updateNetworkConnector(UpdateNetworkConnectorRequest updateNetworkConnectorRequest)

      Updates the VPC configuration or operator role of an existing network connector. You can modify the subnet IDs, security group IDs, network protocol, or operator role. The connector must be in ACTIVE state to accept updates.

      This operation is asynchronous. The connector remains in ACTIVE state during the update — existing workloads that reference this connector are not disrupted. Use GetNetworkConnector to monitor the LastUpdateStatus field, which transitions through InProgress to Successful or Failed. If the update fails, the LastUpdateStatusReasonCode field provides a specific error code for troubleshooting. This operation is idempotent when you provide a ClientToken .

      Each successful configuration change creates a new immutable version. A connector can have a limited number of versions; once that limit is reached, further updates fail with NetworkConnectorLimitExceededException until you delete older versions.

      Parameters:
      updateNetworkConnectorRequest -
      Returns:
      A Java Future containing the result of the UpdateNetworkConnector 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • NetworkConnectorLimitExceededException The request would exceed a network connector limit. For CreateNetworkConnector, the account has reached the maximum number of network connectors allowed. For UpdateNetworkConnector, the connector has reached the maximum number of versions allowed.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateNetworkConnector

      default CompletableFuture<UpdateNetworkConnectorResponse> updateNetworkConnector(Consumer<UpdateNetworkConnectorRequest.Builder> updateNetworkConnectorRequest)

      Updates the VPC configuration or operator role of an existing network connector. You can modify the subnet IDs, security group IDs, network protocol, or operator role. The connector must be in ACTIVE state to accept updates.

      This operation is asynchronous. The connector remains in ACTIVE state during the update — existing workloads that reference this connector are not disrupted. Use GetNetworkConnector to monitor the LastUpdateStatus field, which transitions through InProgress to Successful or Failed. If the update fails, the LastUpdateStatusReasonCode field provides a specific error code for troubleshooting. This operation is idempotent when you provide a ClientToken .

      Each successful configuration change creates a new immutable version. A connector can have a limited number of versions; once that limit is reached, further updates fail with NetworkConnectorLimitExceededException until you delete older versions.


      This is a convenience which creates an instance of the UpdateNetworkConnectorRequest.Builder avoiding the need to create one manually via UpdateNetworkConnectorRequest.builder()

      Parameters:
      updateNetworkConnectorRequest - A Consumer that will call methods on UpdateNetworkConnectorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateNetworkConnector 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • NetworkConnectorLimitExceededException The request would exceed a network connector limit. For CreateNetworkConnector, the account has reached the maximum number of network connectors allowed. For UpdateNetworkConnector, the connector has reached the maximum number of versions allowed.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRuntime

      default CompletableFuture<UpdateRuntimeResponse> updateRuntime(UpdateRuntimeRequest updateRuntimeRequest)

      Updates the properties of an existing customer-managed runtime, such as its description, license information, or lifecycle information.

      Parameters:
      updateRuntimeRequest -
      Returns:
      A Java Future containing the result of the UpdateRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRuntime

      default CompletableFuture<UpdateRuntimeResponse> updateRuntime(Consumer<UpdateRuntimeRequest.Builder> updateRuntimeRequest)

      Updates the properties of an existing customer-managed runtime, such as its description, license information, or lifecycle information.


      This is a convenience which creates an instance of the UpdateRuntimeRequest.Builder avoiding the need to create one manually via UpdateRuntimeRequest.builder()

      Parameters:
      updateRuntimeRequest - A Consumer that will call methods on UpdateRuntimeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateRuntime 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRuntimeAlias

      default CompletableFuture<UpdateRuntimeAliasResponse> updateRuntimeAlias(UpdateRuntimeAliasRequest updateRuntimeAliasRequest)

      Updates an existing runtime alias to point to a different runtime version or to change its description or lifecycle information.

      Parameters:
      updateRuntimeAliasRequest -
      Returns:
      A Java Future containing the result of the UpdateRuntimeAlias 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRuntimeAlias

      default CompletableFuture<UpdateRuntimeAliasResponse> updateRuntimeAlias(Consumer<UpdateRuntimeAliasRequest.Builder> updateRuntimeAliasRequest)

      Updates an existing runtime alias to point to a different runtime version or to change its description or lifecycle information.


      This is a convenience which creates an instance of the UpdateRuntimeAliasRequest.Builder avoiding the need to create one manually via UpdateRuntimeAliasRequest.builder()

      Parameters:
      updateRuntimeAliasRequest - A Consumer that will call methods on UpdateRuntimeAliasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateRuntimeAlias 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRuntimeVersion

      default CompletableFuture<UpdateRuntimeVersionResponse> updateRuntimeVersion(UpdateRuntimeVersionRequest updateRuntimeVersionRequest)

      Updates the runtime version release notes. The runtime version must be in the ACTIVE state. The runtime version image is immutable. To change the runtime contents, create a new runtime version.

      Parameters:
      updateRuntimeVersionRequest -
      Returns:
      A Java Future containing the result of the UpdateRuntimeVersion 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRuntimeVersion

      default CompletableFuture<UpdateRuntimeVersionResponse> updateRuntimeVersion(Consumer<UpdateRuntimeVersionRequest.Builder> updateRuntimeVersionRequest)

      Updates the runtime version release notes. The runtime version must be in the ACTIVE state. The runtime version image is immutable. To change the runtime contents, create a new runtime version.


      This is a convenience which creates an instance of the UpdateRuntimeVersionRequest.Builder avoiding the need to create one manually via UpdateRuntimeVersionRequest.builder()

      Parameters:
      updateRuntimeVersionRequest - A Consumer that will call methods on UpdateRuntimeVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateRuntimeVersion 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 invoke Throwable.getCause() to retrieve the underlying exception.
      • InvalidParameterValueException One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
      • ResourceConflictException The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.
      • TooManyRequestsException The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
      • ServiceException An internal service error occurred. Retry the request with exponential backoff.
      • ResourceNotFoundException The specified resource does not exist. Verify the identifier and Region.
      • 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.
      • LambdaCoreException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      default LambdaCoreAsyncWaiter waiter()
      Create an instance of LambdaCoreAsyncWaiter using this client.

      Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

      Returns:
      an instance of LambdaCoreAsyncWaiter
    • serviceClientConfiguration

      default LambdaCoreServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static LambdaCoreAsyncClient create()
      Create a LambdaCoreAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static LambdaCoreAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a LambdaCoreAsyncClient.