Interface GreengrassAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface GreengrassAsyncClient
    extends AwsClient
    Service client for accessing AWS Greengrass 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. AWS IoT Greengrass seamlessly extends AWS onto physical devices so they can act locally on the data they generate, while still using the cloud for management, analytics, and durable storage. AWS IoT Greengrass ensures your devices can respond quickly to local events and operate with intermittent connectivity. AWS IoT Greengrass minimizes the cost of transmitting data to the cloud by allowing you to author AWS Lambda functions that execute locally.
    • Method Detail

      • associateRoleToGroup

        default CompletableFuture<AssociateRoleToGroupResponse> associateRoleToGroup​(AssociateRoleToGroupRequest associateRoleToGroupRequest)
        Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.
        Parameters:
        associateRoleToGroupRequest -
        Returns:
        A Java Future containing the result of the AssociateRoleToGroup 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • associateRoleToGroup

        default CompletableFuture<AssociateRoleToGroupResponse> associateRoleToGroup​(Consumer<AssociateRoleToGroupRequest.Builder> associateRoleToGroupRequest)
        Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.

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

        Parameters:
        associateRoleToGroupRequest - A Consumer that will call methods on AssociateRoleToGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AssociateRoleToGroup 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • associateServiceRoleToAccount

        default CompletableFuture<AssociateServiceRoleToAccountResponse> associateServiceRoleToAccount​(AssociateServiceRoleToAccountRequest associateServiceRoleToAccountRequest)
        Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.
        Parameters:
        associateServiceRoleToAccountRequest -
        Returns:
        A Java Future containing the result of the AssociateServiceRoleToAccount 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • associateServiceRoleToAccount

        default CompletableFuture<AssociateServiceRoleToAccountResponse> associateServiceRoleToAccount​(Consumer<AssociateServiceRoleToAccountRequest.Builder> associateServiceRoleToAccountRequest)
        Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.

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

        Parameters:
        associateServiceRoleToAccountRequest - A Consumer that will call methods on AssociateServiceRoleToAccountRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AssociateServiceRoleToAccount 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createConnectorDefinition

        default CompletableFuture<CreateConnectorDefinitionResponse> createConnectorDefinition​(CreateConnectorDefinitionRequest createConnectorDefinitionRequest)
        Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.
        Parameters:
        createConnectorDefinitionRequest -
        Returns:
        A Java Future containing the result of the CreateConnectorDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createConnectorDefinition

        default CompletableFuture<CreateConnectorDefinitionResponse> createConnectorDefinition​(Consumer<CreateConnectorDefinitionRequest.Builder> createConnectorDefinitionRequest)
        Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.

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

        Parameters:
        createConnectorDefinitionRequest - A Consumer that will call methods on CreateConnectorDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateConnectorDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createConnectorDefinitionVersion

        default CompletableFuture<CreateConnectorDefinitionVersionResponse> createConnectorDefinitionVersion​(CreateConnectorDefinitionVersionRequest createConnectorDefinitionVersionRequest)
        Creates a version of a connector definition which has already been defined.
        Parameters:
        createConnectorDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the CreateConnectorDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createCoreDefinition

        default CompletableFuture<CreateCoreDefinitionResponse> createCoreDefinition​(CreateCoreDefinitionRequest createCoreDefinitionRequest)
        Creates a core definition. You may provide the initial version of the core definition now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass groups must each contain exactly one Greengrass core.
        Parameters:
        createCoreDefinitionRequest - Information needed to create a core definition.
        Returns:
        A Java Future containing the result of the CreateCoreDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createCoreDefinition

        default CompletableFuture<CreateCoreDefinitionResponse> createCoreDefinition​(Consumer<CreateCoreDefinitionRequest.Builder> createCoreDefinitionRequest)
        Creates a core definition. You may provide the initial version of the core definition now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass groups must each contain exactly one Greengrass core.

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

        Parameters:
        createCoreDefinitionRequest - A Consumer that will call methods on CreateCoreDefinitionRequest.Builder to create a request. Information needed to create a core definition.
        Returns:
        A Java Future containing the result of the CreateCoreDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createCoreDefinitionVersion

        default CompletableFuture<CreateCoreDefinitionVersionResponse> createCoreDefinitionVersion​(CreateCoreDefinitionVersionRequest createCoreDefinitionVersionRequest)
        Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.
        Parameters:
        createCoreDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the CreateCoreDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createCoreDefinitionVersion

        default CompletableFuture<CreateCoreDefinitionVersionResponse> createCoreDefinitionVersion​(Consumer<CreateCoreDefinitionVersionRequest.Builder> createCoreDefinitionVersionRequest)
        Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.

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

        Parameters:
        createCoreDefinitionVersionRequest - A Consumer that will call methods on CreateCoreDefinitionVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateCoreDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDeployment

        default CompletableFuture<CreateDeploymentResponse> createDeployment​(CreateDeploymentRequest createDeploymentRequest)
        Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.
        Parameters:
        createDeploymentRequest -
        Returns:
        A Java Future containing the result of the CreateDeployment 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDeployment

        default CompletableFuture<CreateDeploymentResponse> createDeployment​(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest)
        Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.

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

        Parameters:
        createDeploymentRequest - A Consumer that will call methods on CreateDeploymentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateDeployment 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDeviceDefinition

        default CompletableFuture<CreateDeviceDefinitionResponse> createDeviceDefinition​(CreateDeviceDefinitionRequest createDeviceDefinitionRequest)
        Creates a device definition. You may provide the initial version of the device definition now or use ''CreateDeviceDefinitionVersion'' at a later time.
        Parameters:
        createDeviceDefinitionRequest -
        Returns:
        A Java Future containing the result of the CreateDeviceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDeviceDefinition

        default CompletableFuture<CreateDeviceDefinitionResponse> createDeviceDefinition​(Consumer<CreateDeviceDefinitionRequest.Builder> createDeviceDefinitionRequest)
        Creates a device definition. You may provide the initial version of the device definition now or use ''CreateDeviceDefinitionVersion'' at a later time.

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

        Parameters:
        createDeviceDefinitionRequest - A Consumer that will call methods on CreateDeviceDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateDeviceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDeviceDefinitionVersion

        default CompletableFuture<CreateDeviceDefinitionVersionResponse> createDeviceDefinitionVersion​(CreateDeviceDefinitionVersionRequest createDeviceDefinitionVersionRequest)
        Creates a version of a device definition that has already been defined.
        Parameters:
        createDeviceDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the CreateDeviceDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDeviceDefinitionVersion

        default CompletableFuture<CreateDeviceDefinitionVersionResponse> createDeviceDefinitionVersion​(Consumer<CreateDeviceDefinitionVersionRequest.Builder> createDeviceDefinitionVersionRequest)
        Creates a version of a device definition that has already been defined.

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

        Parameters:
        createDeviceDefinitionVersionRequest - A Consumer that will call methods on CreateDeviceDefinitionVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateDeviceDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFunctionDefinition

        default CompletableFuture<CreateFunctionDefinitionResponse> createFunctionDefinition​(CreateFunctionDefinitionRequest createFunctionDefinitionRequest)
        Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.
        Parameters:
        createFunctionDefinitionRequest -
        Returns:
        A Java Future containing the result of the CreateFunctionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFunctionDefinition

        default CompletableFuture<CreateFunctionDefinitionResponse> createFunctionDefinition​(Consumer<CreateFunctionDefinitionRequest.Builder> createFunctionDefinitionRequest)
        Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.

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

        Parameters:
        createFunctionDefinitionRequest - A Consumer that will call methods on CreateFunctionDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateFunctionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFunctionDefinitionVersion

        default CompletableFuture<CreateFunctionDefinitionVersionResponse> createFunctionDefinitionVersion​(CreateFunctionDefinitionVersionRequest createFunctionDefinitionVersionRequest)
        Creates a version of a Lambda function definition that has already been defined.
        Parameters:
        createFunctionDefinitionVersionRequest - Information needed to create a function definition version.
        Returns:
        A Java Future containing the result of the CreateFunctionDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFunctionDefinitionVersion

        default CompletableFuture<CreateFunctionDefinitionVersionResponse> createFunctionDefinitionVersion​(Consumer<CreateFunctionDefinitionVersionRequest.Builder> createFunctionDefinitionVersionRequest)
        Creates a version of a Lambda function definition that has already been defined.

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

        Parameters:
        createFunctionDefinitionVersionRequest - A Consumer that will call methods on CreateFunctionDefinitionVersionRequest.Builder to create a request. Information needed to create a function definition version.
        Returns:
        A Java Future containing the result of the CreateFunctionDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createGroup

        default CompletableFuture<CreateGroupResponse> createGroup​(CreateGroupRequest createGroupRequest)
        Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.
        Parameters:
        createGroupRequest -
        Returns:
        A Java Future containing the result of the CreateGroup 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createGroup

        default CompletableFuture<CreateGroupResponse> createGroup​(Consumer<CreateGroupRequest.Builder> createGroupRequest)
        Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.

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

        Parameters:
        createGroupRequest - A Consumer that will call methods on CreateGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateGroup 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createGroupCertificateAuthority

        default CompletableFuture<CreateGroupCertificateAuthorityResponse> createGroupCertificateAuthority​(CreateGroupCertificateAuthorityRequest createGroupCertificateAuthorityRequest)
        Creates a CA for the group. If a CA already exists, it will rotate the existing CA.
        Parameters:
        createGroupCertificateAuthorityRequest -
        Returns:
        A Java Future containing the result of the CreateGroupCertificateAuthority 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createGroupCertificateAuthority

        default CompletableFuture<CreateGroupCertificateAuthorityResponse> createGroupCertificateAuthority​(Consumer<CreateGroupCertificateAuthorityRequest.Builder> createGroupCertificateAuthorityRequest)
        Creates a CA for the group. If a CA already exists, it will rotate the existing CA.

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

        Parameters:
        createGroupCertificateAuthorityRequest - A Consumer that will call methods on CreateGroupCertificateAuthorityRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateGroupCertificateAuthority 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createGroupVersion

        default CompletableFuture<CreateGroupVersionResponse> createGroupVersion​(CreateGroupVersionRequest createGroupVersionRequest)
        Creates a version of a group which has already been defined.
        Parameters:
        createGroupVersionRequest -
        Returns:
        A Java Future containing the result of the CreateGroupVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createGroupVersion

        default CompletableFuture<CreateGroupVersionResponse> createGroupVersion​(Consumer<CreateGroupVersionRequest.Builder> createGroupVersionRequest)
        Creates a version of a group which has already been defined.

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

        Parameters:
        createGroupVersionRequest - A Consumer that will call methods on CreateGroupVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateGroupVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createLoggerDefinition

        default CompletableFuture<CreateLoggerDefinitionResponse> createLoggerDefinition​(CreateLoggerDefinitionRequest createLoggerDefinitionRequest)
        Creates a logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.
        Parameters:
        createLoggerDefinitionRequest -
        Returns:
        A Java Future containing the result of the CreateLoggerDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createLoggerDefinition

        default CompletableFuture<CreateLoggerDefinitionResponse> createLoggerDefinition​(Consumer<CreateLoggerDefinitionRequest.Builder> createLoggerDefinitionRequest)
        Creates a logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.

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

        Parameters:
        createLoggerDefinitionRequest - A Consumer that will call methods on CreateLoggerDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateLoggerDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createLoggerDefinitionVersion

        default CompletableFuture<CreateLoggerDefinitionVersionResponse> createLoggerDefinitionVersion​(CreateLoggerDefinitionVersionRequest createLoggerDefinitionVersionRequest)
        Creates a version of a logger definition that has already been defined.
        Parameters:
        createLoggerDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the CreateLoggerDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createLoggerDefinitionVersion

        default CompletableFuture<CreateLoggerDefinitionVersionResponse> createLoggerDefinitionVersion​(Consumer<CreateLoggerDefinitionVersionRequest.Builder> createLoggerDefinitionVersionRequest)
        Creates a version of a logger definition that has already been defined.

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

        Parameters:
        createLoggerDefinitionVersionRequest - A Consumer that will call methods on CreateLoggerDefinitionVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateLoggerDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createResourceDefinition

        default CompletableFuture<CreateResourceDefinitionResponse> createResourceDefinition​(CreateResourceDefinitionRequest createResourceDefinitionRequest)
        Creates a resource definition which contains a list of resources to be used in a group. You can create an initial version of the definition by providing a list of resources now, or use ''CreateResourceDefinitionVersion'' later.
        Parameters:
        createResourceDefinitionRequest -
        Returns:
        A Java Future containing the result of the CreateResourceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createResourceDefinition

        default CompletableFuture<CreateResourceDefinitionResponse> createResourceDefinition​(Consumer<CreateResourceDefinitionRequest.Builder> createResourceDefinitionRequest)
        Creates a resource definition which contains a list of resources to be used in a group. You can create an initial version of the definition by providing a list of resources now, or use ''CreateResourceDefinitionVersion'' later.

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

        Parameters:
        createResourceDefinitionRequest - A Consumer that will call methods on CreateResourceDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateResourceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createResourceDefinitionVersion

        default CompletableFuture<CreateResourceDefinitionVersionResponse> createResourceDefinitionVersion​(CreateResourceDefinitionVersionRequest createResourceDefinitionVersionRequest)
        Creates a version of a resource definition that has already been defined.
        Parameters:
        createResourceDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the CreateResourceDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSoftwareUpdateJob

        default CompletableFuture<CreateSoftwareUpdateJobResponse> createSoftwareUpdateJob​(CreateSoftwareUpdateJobRequest createSoftwareUpdateJobRequest)
        Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.
        Parameters:
        createSoftwareUpdateJobRequest -
        Returns:
        A Java Future containing the result of the CreateSoftwareUpdateJob 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSoftwareUpdateJob

        default CompletableFuture<CreateSoftwareUpdateJobResponse> createSoftwareUpdateJob​(Consumer<CreateSoftwareUpdateJobRequest.Builder> createSoftwareUpdateJobRequest)
        Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.

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

        Parameters:
        createSoftwareUpdateJobRequest - A Consumer that will call methods on CreateSoftwareUpdateJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateSoftwareUpdateJob 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSubscriptionDefinition

        default CompletableFuture<CreateSubscriptionDefinitionResponse> createSubscriptionDefinition​(CreateSubscriptionDefinitionRequest createSubscriptionDefinitionRequest)
        Creates a subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time.
        Parameters:
        createSubscriptionDefinitionRequest -
        Returns:
        A Java Future containing the result of the CreateSubscriptionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSubscriptionDefinition

        default CompletableFuture<CreateSubscriptionDefinitionResponse> createSubscriptionDefinition​(Consumer<CreateSubscriptionDefinitionRequest.Builder> createSubscriptionDefinitionRequest)
        Creates a subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time.

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

        Parameters:
        createSubscriptionDefinitionRequest - A Consumer that will call methods on CreateSubscriptionDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateSubscriptionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSubscriptionDefinitionVersion

        default CompletableFuture<CreateSubscriptionDefinitionVersionResponse> createSubscriptionDefinitionVersion​(CreateSubscriptionDefinitionVersionRequest createSubscriptionDefinitionVersionRequest)
        Creates a version of a subscription definition which has already been defined.
        Parameters:
        createSubscriptionDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the CreateSubscriptionDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteConnectorDefinition

        default CompletableFuture<DeleteConnectorDefinitionResponse> deleteConnectorDefinition​(DeleteConnectorDefinitionRequest deleteConnectorDefinitionRequest)
        Deletes a connector definition.
        Parameters:
        deleteConnectorDefinitionRequest -
        Returns:
        A Java Future containing the result of the DeleteConnectorDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteConnectorDefinition

        default CompletableFuture<DeleteConnectorDefinitionResponse> deleteConnectorDefinition​(Consumer<DeleteConnectorDefinitionRequest.Builder> deleteConnectorDefinitionRequest)
        Deletes a connector definition.

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

        Parameters:
        deleteConnectorDefinitionRequest - A Consumer that will call methods on DeleteConnectorDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteConnectorDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCoreDefinition

        default CompletableFuture<DeleteCoreDefinitionResponse> deleteCoreDefinition​(DeleteCoreDefinitionRequest deleteCoreDefinitionRequest)
        Deletes a core definition.
        Parameters:
        deleteCoreDefinitionRequest -
        Returns:
        A Java Future containing the result of the DeleteCoreDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCoreDefinition

        default CompletableFuture<DeleteCoreDefinitionResponse> deleteCoreDefinition​(Consumer<DeleteCoreDefinitionRequest.Builder> deleteCoreDefinitionRequest)
        Deletes a core definition.

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

        Parameters:
        deleteCoreDefinitionRequest - A Consumer that will call methods on DeleteCoreDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteCoreDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDeviceDefinition

        default CompletableFuture<DeleteDeviceDefinitionResponse> deleteDeviceDefinition​(DeleteDeviceDefinitionRequest deleteDeviceDefinitionRequest)
        Deletes a device definition.
        Parameters:
        deleteDeviceDefinitionRequest -
        Returns:
        A Java Future containing the result of the DeleteDeviceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDeviceDefinition

        default CompletableFuture<DeleteDeviceDefinitionResponse> deleteDeviceDefinition​(Consumer<DeleteDeviceDefinitionRequest.Builder> deleteDeviceDefinitionRequest)
        Deletes a device definition.

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

        Parameters:
        deleteDeviceDefinitionRequest - A Consumer that will call methods on DeleteDeviceDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteDeviceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFunctionDefinition

        default CompletableFuture<DeleteFunctionDefinitionResponse> deleteFunctionDefinition​(DeleteFunctionDefinitionRequest deleteFunctionDefinitionRequest)
        Deletes a Lambda function definition.
        Parameters:
        deleteFunctionDefinitionRequest -
        Returns:
        A Java Future containing the result of the DeleteFunctionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFunctionDefinition

        default CompletableFuture<DeleteFunctionDefinitionResponse> deleteFunctionDefinition​(Consumer<DeleteFunctionDefinitionRequest.Builder> deleteFunctionDefinitionRequest)
        Deletes a Lambda function definition.

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

        Parameters:
        deleteFunctionDefinitionRequest - A Consumer that will call methods on DeleteFunctionDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteFunctionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteGroup

        default CompletableFuture<DeleteGroupResponse> deleteGroup​(DeleteGroupRequest deleteGroupRequest)
        Deletes a group.
        Parameters:
        deleteGroupRequest -
        Returns:
        A Java Future containing the result of the DeleteGroup 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteGroup

        default CompletableFuture<DeleteGroupResponse> deleteGroup​(Consumer<DeleteGroupRequest.Builder> deleteGroupRequest)
        Deletes a group.

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

        Parameters:
        deleteGroupRequest - A Consumer that will call methods on DeleteGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteGroup 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteLoggerDefinition

        default CompletableFuture<DeleteLoggerDefinitionResponse> deleteLoggerDefinition​(DeleteLoggerDefinitionRequest deleteLoggerDefinitionRequest)
        Deletes a logger definition.
        Parameters:
        deleteLoggerDefinitionRequest -
        Returns:
        A Java Future containing the result of the DeleteLoggerDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteLoggerDefinition

        default CompletableFuture<DeleteLoggerDefinitionResponse> deleteLoggerDefinition​(Consumer<DeleteLoggerDefinitionRequest.Builder> deleteLoggerDefinitionRequest)
        Deletes a logger definition.

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

        Parameters:
        deleteLoggerDefinitionRequest - A Consumer that will call methods on DeleteLoggerDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteLoggerDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteResourceDefinition

        default CompletableFuture<DeleteResourceDefinitionResponse> deleteResourceDefinition​(DeleteResourceDefinitionRequest deleteResourceDefinitionRequest)
        Deletes a resource definition.
        Parameters:
        deleteResourceDefinitionRequest -
        Returns:
        A Java Future containing the result of the DeleteResourceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteResourceDefinition

        default CompletableFuture<DeleteResourceDefinitionResponse> deleteResourceDefinition​(Consumer<DeleteResourceDefinitionRequest.Builder> deleteResourceDefinitionRequest)
        Deletes a resource definition.

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

        Parameters:
        deleteResourceDefinitionRequest - A Consumer that will call methods on DeleteResourceDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteResourceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteSubscriptionDefinition

        default CompletableFuture<DeleteSubscriptionDefinitionResponse> deleteSubscriptionDefinition​(DeleteSubscriptionDefinitionRequest deleteSubscriptionDefinitionRequest)
        Deletes a subscription definition.
        Parameters:
        deleteSubscriptionDefinitionRequest -
        Returns:
        A Java Future containing the result of the DeleteSubscriptionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateRoleFromGroup

        default CompletableFuture<DisassociateRoleFromGroupResponse> disassociateRoleFromGroup​(DisassociateRoleFromGroupRequest disassociateRoleFromGroupRequest)
        Disassociates the role from a group.
        Parameters:
        disassociateRoleFromGroupRequest -
        Returns:
        A Java Future containing the result of the DisassociateRoleFromGroup 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateRoleFromGroup

        default CompletableFuture<DisassociateRoleFromGroupResponse> disassociateRoleFromGroup​(Consumer<DisassociateRoleFromGroupRequest.Builder> disassociateRoleFromGroupRequest)
        Disassociates the role from a group.

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

        Parameters:
        disassociateRoleFromGroupRequest - A Consumer that will call methods on DisassociateRoleFromGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisassociateRoleFromGroup 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateServiceRoleFromAccount

        default CompletableFuture<DisassociateServiceRoleFromAccountResponse> disassociateServiceRoleFromAccount​(DisassociateServiceRoleFromAccountRequest disassociateServiceRoleFromAccountRequest)
        Disassociates the service role from your account. Without a service role, deployments will not work.
        Parameters:
        disassociateServiceRoleFromAccountRequest -
        Returns:
        A Java Future containing the result of the DisassociateServiceRoleFromAccount 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.
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateServiceRoleFromAccount

        default CompletableFuture<DisassociateServiceRoleFromAccountResponse> disassociateServiceRoleFromAccount()
        Disassociates the service role from your account. Without a service role, deployments will not work.
        Returns:
        A Java Future containing the result of the DisassociateServiceRoleFromAccount 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.
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAssociatedRole

        default CompletableFuture<GetAssociatedRoleResponse> getAssociatedRole​(GetAssociatedRoleRequest getAssociatedRoleRequest)
        Retrieves the role associated with a particular group.
        Parameters:
        getAssociatedRoleRequest -
        Returns:
        A Java Future containing the result of the GetAssociatedRole 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAssociatedRole

        default CompletableFuture<GetAssociatedRoleResponse> getAssociatedRole​(Consumer<GetAssociatedRoleRequest.Builder> getAssociatedRoleRequest)
        Retrieves the role associated with a particular group.

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

        Parameters:
        getAssociatedRoleRequest - A Consumer that will call methods on GetAssociatedRoleRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetAssociatedRole 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getBulkDeploymentStatus

        default CompletableFuture<GetBulkDeploymentStatusResponse> getBulkDeploymentStatus​(GetBulkDeploymentStatusRequest getBulkDeploymentStatusRequest)
        Returns the status of a bulk deployment.
        Parameters:
        getBulkDeploymentStatusRequest -
        Returns:
        A Java Future containing the result of the GetBulkDeploymentStatus 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getBulkDeploymentStatus

        default CompletableFuture<GetBulkDeploymentStatusResponse> getBulkDeploymentStatus​(Consumer<GetBulkDeploymentStatusRequest.Builder> getBulkDeploymentStatusRequest)
        Returns the status of a bulk deployment.

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

        Parameters:
        getBulkDeploymentStatusRequest - A Consumer that will call methods on GetBulkDeploymentStatusRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetBulkDeploymentStatus 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getConnectivityInfo

        default CompletableFuture<GetConnectivityInfoResponse> getConnectivityInfo​(GetConnectivityInfoRequest getConnectivityInfoRequest)
        Retrieves the connectivity information for a core.
        Parameters:
        getConnectivityInfoRequest -
        Returns:
        A Java Future containing the result of the GetConnectivityInfo 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getConnectivityInfo

        default CompletableFuture<GetConnectivityInfoResponse> getConnectivityInfo​(Consumer<GetConnectivityInfoRequest.Builder> getConnectivityInfoRequest)
        Retrieves the connectivity information for a core.

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

        Parameters:
        getConnectivityInfoRequest - A Consumer that will call methods on GetConnectivityInfoRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetConnectivityInfo 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getConnectorDefinition

        default CompletableFuture<GetConnectorDefinitionResponse> getConnectorDefinition​(GetConnectorDefinitionRequest getConnectorDefinitionRequest)
        Retrieves information about a connector definition.
        Parameters:
        getConnectorDefinitionRequest -
        Returns:
        A Java Future containing the result of the GetConnectorDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getConnectorDefinition

        default CompletableFuture<GetConnectorDefinitionResponse> getConnectorDefinition​(Consumer<GetConnectorDefinitionRequest.Builder> getConnectorDefinitionRequest)
        Retrieves information about a connector definition.

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

        Parameters:
        getConnectorDefinitionRequest - A Consumer that will call methods on GetConnectorDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetConnectorDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getConnectorDefinitionVersion

        default CompletableFuture<GetConnectorDefinitionVersionResponse> getConnectorDefinitionVersion​(GetConnectorDefinitionVersionRequest getConnectorDefinitionVersionRequest)
        Retrieves information about a connector definition version, including the connectors that the version contains. Connectors are prebuilt modules that interact with local infrastructure, device protocols, AWS, and other cloud services.
        Parameters:
        getConnectorDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the GetConnectorDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getConnectorDefinitionVersion

        default CompletableFuture<GetConnectorDefinitionVersionResponse> getConnectorDefinitionVersion​(Consumer<GetConnectorDefinitionVersionRequest.Builder> getConnectorDefinitionVersionRequest)
        Retrieves information about a connector definition version, including the connectors that the version contains. Connectors are prebuilt modules that interact with local infrastructure, device protocols, AWS, and other cloud services.

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

        Parameters:
        getConnectorDefinitionVersionRequest - A Consumer that will call methods on GetConnectorDefinitionVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetConnectorDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCoreDefinition

        default CompletableFuture<GetCoreDefinitionResponse> getCoreDefinition​(GetCoreDefinitionRequest getCoreDefinitionRequest)
        Retrieves information about a core definition version.
        Parameters:
        getCoreDefinitionRequest -
        Returns:
        A Java Future containing the result of the GetCoreDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCoreDefinition

        default CompletableFuture<GetCoreDefinitionResponse> getCoreDefinition​(Consumer<GetCoreDefinitionRequest.Builder> getCoreDefinitionRequest)
        Retrieves information about a core definition version.

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

        Parameters:
        getCoreDefinitionRequest - A Consumer that will call methods on GetCoreDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetCoreDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCoreDefinitionVersion

        default CompletableFuture<GetCoreDefinitionVersionResponse> getCoreDefinitionVersion​(GetCoreDefinitionVersionRequest getCoreDefinitionVersionRequest)
        Retrieves information about a core definition version.
        Parameters:
        getCoreDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the GetCoreDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCoreDefinitionVersion

        default CompletableFuture<GetCoreDefinitionVersionResponse> getCoreDefinitionVersion​(Consumer<GetCoreDefinitionVersionRequest.Builder> getCoreDefinitionVersionRequest)
        Retrieves information about a core definition version.

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

        Parameters:
        getCoreDefinitionVersionRequest - A Consumer that will call methods on GetCoreDefinitionVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetCoreDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDeploymentStatus

        default CompletableFuture<GetDeploymentStatusResponse> getDeploymentStatus​(GetDeploymentStatusRequest getDeploymentStatusRequest)
        Returns the status of a deployment.
        Parameters:
        getDeploymentStatusRequest -
        Returns:
        A Java Future containing the result of the GetDeploymentStatus 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDeploymentStatus

        default CompletableFuture<GetDeploymentStatusResponse> getDeploymentStatus​(Consumer<GetDeploymentStatusRequest.Builder> getDeploymentStatusRequest)
        Returns the status of a deployment.

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

        Parameters:
        getDeploymentStatusRequest - A Consumer that will call methods on GetDeploymentStatusRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetDeploymentStatus 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDeviceDefinition

        default CompletableFuture<GetDeviceDefinitionResponse> getDeviceDefinition​(GetDeviceDefinitionRequest getDeviceDefinitionRequest)
        Retrieves information about a device definition.
        Parameters:
        getDeviceDefinitionRequest -
        Returns:
        A Java Future containing the result of the GetDeviceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDeviceDefinition

        default CompletableFuture<GetDeviceDefinitionResponse> getDeviceDefinition​(Consumer<GetDeviceDefinitionRequest.Builder> getDeviceDefinitionRequest)
        Retrieves information about a device definition.

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

        Parameters:
        getDeviceDefinitionRequest - A Consumer that will call methods on GetDeviceDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetDeviceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDeviceDefinitionVersion

        default CompletableFuture<GetDeviceDefinitionVersionResponse> getDeviceDefinitionVersion​(GetDeviceDefinitionVersionRequest getDeviceDefinitionVersionRequest)
        Retrieves information about a device definition version.
        Parameters:
        getDeviceDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the GetDeviceDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDeviceDefinitionVersion

        default CompletableFuture<GetDeviceDefinitionVersionResponse> getDeviceDefinitionVersion​(Consumer<GetDeviceDefinitionVersionRequest.Builder> getDeviceDefinitionVersionRequest)
        Retrieves information about a device definition version.

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

        Parameters:
        getDeviceDefinitionVersionRequest - A Consumer that will call methods on GetDeviceDefinitionVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetDeviceDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFunctionDefinition

        default CompletableFuture<GetFunctionDefinitionResponse> getFunctionDefinition​(GetFunctionDefinitionRequest getFunctionDefinitionRequest)
        Retrieves information about a Lambda function definition, including its creation time and latest version.
        Parameters:
        getFunctionDefinitionRequest -
        Returns:
        A Java Future containing the result of the GetFunctionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFunctionDefinition

        default CompletableFuture<GetFunctionDefinitionResponse> getFunctionDefinition​(Consumer<GetFunctionDefinitionRequest.Builder> getFunctionDefinitionRequest)
        Retrieves information about a Lambda function definition, including its creation time and latest version.

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

        Parameters:
        getFunctionDefinitionRequest - A Consumer that will call methods on GetFunctionDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetFunctionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFunctionDefinitionVersion

        default CompletableFuture<GetFunctionDefinitionVersionResponse> getFunctionDefinitionVersion​(GetFunctionDefinitionVersionRequest getFunctionDefinitionVersionRequest)
        Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
        Parameters:
        getFunctionDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the GetFunctionDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFunctionDefinitionVersion

        default CompletableFuture<GetFunctionDefinitionVersionResponse> getFunctionDefinitionVersion​(Consumer<GetFunctionDefinitionVersionRequest.Builder> getFunctionDefinitionVersionRequest)
        Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.

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

        Parameters:
        getFunctionDefinitionVersionRequest - A Consumer that will call methods on GetFunctionDefinitionVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetFunctionDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getGroup

        default CompletableFuture<GetGroupResponse> getGroup​(GetGroupRequest getGroupRequest)
        Retrieves information about a group.
        Parameters:
        getGroupRequest -
        Returns:
        A Java Future containing the result of the GetGroup 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getGroup

        default CompletableFuture<GetGroupResponse> getGroup​(Consumer<GetGroupRequest.Builder> getGroupRequest)
        Retrieves information about a group.

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

        Parameters:
        getGroupRequest - A Consumer that will call methods on GetGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetGroup 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getGroupCertificateAuthority

        default CompletableFuture<GetGroupCertificateAuthorityResponse> getGroupCertificateAuthority​(GetGroupCertificateAuthorityRequest getGroupCertificateAuthorityRequest)
        Retreives the CA associated with a group. Returns the public key of the CA.
        Parameters:
        getGroupCertificateAuthorityRequest -
        Returns:
        A Java Future containing the result of the GetGroupCertificateAuthority 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getGroupCertificateAuthority

        default CompletableFuture<GetGroupCertificateAuthorityResponse> getGroupCertificateAuthority​(Consumer<GetGroupCertificateAuthorityRequest.Builder> getGroupCertificateAuthorityRequest)
        Retreives the CA associated with a group. Returns the public key of the CA.

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

        Parameters:
        getGroupCertificateAuthorityRequest - A Consumer that will call methods on GetGroupCertificateAuthorityRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetGroupCertificateAuthority 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getGroupCertificateConfiguration

        default CompletableFuture<GetGroupCertificateConfigurationResponse> getGroupCertificateConfiguration​(GetGroupCertificateConfigurationRequest getGroupCertificateConfigurationRequest)
        Retrieves the current configuration for the CA used by the group.
        Parameters:
        getGroupCertificateConfigurationRequest -
        Returns:
        A Java Future containing the result of the GetGroupCertificateConfiguration 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getGroupVersion

        default CompletableFuture<GetGroupVersionResponse> getGroupVersion​(GetGroupVersionRequest getGroupVersionRequest)
        Retrieves information about a group version.
        Parameters:
        getGroupVersionRequest -
        Returns:
        A Java Future containing the result of the GetGroupVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getGroupVersion

        default CompletableFuture<GetGroupVersionResponse> getGroupVersion​(Consumer<GetGroupVersionRequest.Builder> getGroupVersionRequest)
        Retrieves information about a group version.

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

        Parameters:
        getGroupVersionRequest - A Consumer that will call methods on GetGroupVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetGroupVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getLoggerDefinition

        default CompletableFuture<GetLoggerDefinitionResponse> getLoggerDefinition​(GetLoggerDefinitionRequest getLoggerDefinitionRequest)
        Retrieves information about a logger definition.
        Parameters:
        getLoggerDefinitionRequest -
        Returns:
        A Java Future containing the result of the GetLoggerDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getLoggerDefinition

        default CompletableFuture<GetLoggerDefinitionResponse> getLoggerDefinition​(Consumer<GetLoggerDefinitionRequest.Builder> getLoggerDefinitionRequest)
        Retrieves information about a logger definition.

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

        Parameters:
        getLoggerDefinitionRequest - A Consumer that will call methods on GetLoggerDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetLoggerDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getLoggerDefinitionVersion

        default CompletableFuture<GetLoggerDefinitionVersionResponse> getLoggerDefinitionVersion​(GetLoggerDefinitionVersionRequest getLoggerDefinitionVersionRequest)
        Retrieves information about a logger definition version.
        Parameters:
        getLoggerDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the GetLoggerDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getLoggerDefinitionVersion

        default CompletableFuture<GetLoggerDefinitionVersionResponse> getLoggerDefinitionVersion​(Consumer<GetLoggerDefinitionVersionRequest.Builder> getLoggerDefinitionVersionRequest)
        Retrieves information about a logger definition version.

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

        Parameters:
        getLoggerDefinitionVersionRequest - A Consumer that will call methods on GetLoggerDefinitionVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetLoggerDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourceDefinition

        default CompletableFuture<GetResourceDefinitionResponse> getResourceDefinition​(GetResourceDefinitionRequest getResourceDefinitionRequest)
        Retrieves information about a resource definition, including its creation time and latest version.
        Parameters:
        getResourceDefinitionRequest -
        Returns:
        A Java Future containing the result of the GetResourceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourceDefinition

        default CompletableFuture<GetResourceDefinitionResponse> getResourceDefinition​(Consumer<GetResourceDefinitionRequest.Builder> getResourceDefinitionRequest)
        Retrieves information about a resource definition, including its creation time and latest version.

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

        Parameters:
        getResourceDefinitionRequest - A Consumer that will call methods on GetResourceDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetResourceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourceDefinitionVersion

        default CompletableFuture<GetResourceDefinitionVersionResponse> getResourceDefinitionVersion​(GetResourceDefinitionVersionRequest getResourceDefinitionVersionRequest)
        Retrieves information about a resource definition version, including which resources are included in the version.
        Parameters:
        getResourceDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the GetResourceDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourceDefinitionVersion

        default CompletableFuture<GetResourceDefinitionVersionResponse> getResourceDefinitionVersion​(Consumer<GetResourceDefinitionVersionRequest.Builder> getResourceDefinitionVersionRequest)
        Retrieves information about a resource definition version, including which resources are included in the version.

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

        Parameters:
        getResourceDefinitionVersionRequest - A Consumer that will call methods on GetResourceDefinitionVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetResourceDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getServiceRoleForAccount

        default CompletableFuture<GetServiceRoleForAccountResponse> getServiceRoleForAccount​(GetServiceRoleForAccountRequest getServiceRoleForAccountRequest)
        Retrieves the service role that is attached to your account.
        Parameters:
        getServiceRoleForAccountRequest -
        Returns:
        A Java Future containing the result of the GetServiceRoleForAccount 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.
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getServiceRoleForAccount

        default CompletableFuture<GetServiceRoleForAccountResponse> getServiceRoleForAccount​(Consumer<GetServiceRoleForAccountRequest.Builder> getServiceRoleForAccountRequest)
        Retrieves the service role that is attached to your account.

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

        Parameters:
        getServiceRoleForAccountRequest - A Consumer that will call methods on GetServiceRoleForAccountRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetServiceRoleForAccount 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.
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getServiceRoleForAccount

        default CompletableFuture<GetServiceRoleForAccountResponse> getServiceRoleForAccount()
        Retrieves the service role that is attached to your account.
        Returns:
        A Java Future containing the result of the GetServiceRoleForAccount 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.
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSubscriptionDefinition

        default CompletableFuture<GetSubscriptionDefinitionResponse> getSubscriptionDefinition​(GetSubscriptionDefinitionRequest getSubscriptionDefinitionRequest)
        Retrieves information about a subscription definition.
        Parameters:
        getSubscriptionDefinitionRequest -
        Returns:
        A Java Future containing the result of the GetSubscriptionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSubscriptionDefinition

        default CompletableFuture<GetSubscriptionDefinitionResponse> getSubscriptionDefinition​(Consumer<GetSubscriptionDefinitionRequest.Builder> getSubscriptionDefinitionRequest)
        Retrieves information about a subscription definition.

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

        Parameters:
        getSubscriptionDefinitionRequest - A Consumer that will call methods on GetSubscriptionDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetSubscriptionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSubscriptionDefinitionVersion

        default CompletableFuture<GetSubscriptionDefinitionVersionResponse> getSubscriptionDefinitionVersion​(GetSubscriptionDefinitionVersionRequest getSubscriptionDefinitionVersionRequest)
        Retrieves information about a subscription definition version.
        Parameters:
        getSubscriptionDefinitionVersionRequest -
        Returns:
        A Java Future containing the result of the GetSubscriptionDefinitionVersion 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getThingRuntimeConfiguration

        default CompletableFuture<GetThingRuntimeConfigurationResponse> getThingRuntimeConfiguration​(GetThingRuntimeConfigurationRequest getThingRuntimeConfigurationRequest)
        Get the runtime configuration of a thing.
        Parameters:
        getThingRuntimeConfigurationRequest -
        Returns:
        A Java Future containing the result of the GetThingRuntimeConfiguration 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getThingRuntimeConfiguration

        default CompletableFuture<GetThingRuntimeConfigurationResponse> getThingRuntimeConfiguration​(Consumer<GetThingRuntimeConfigurationRequest.Builder> getThingRuntimeConfigurationRequest)
        Get the runtime configuration of a thing.

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

        Parameters:
        getThingRuntimeConfigurationRequest - A Consumer that will call methods on GetThingRuntimeConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetThingRuntimeConfiguration 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listBulkDeploymentDetailedReports

        default CompletableFuture<ListBulkDeploymentDetailedReportsResponse> listBulkDeploymentDetailedReports​(ListBulkDeploymentDetailedReportsRequest listBulkDeploymentDetailedReportsRequest)
        Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.
        Parameters:
        listBulkDeploymentDetailedReportsRequest -
        Returns:
        A Java Future containing the result of the ListBulkDeploymentDetailedReports 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listBulkDeploymentDetailedReports

        default CompletableFuture<ListBulkDeploymentDetailedReportsResponse> listBulkDeploymentDetailedReports​(Consumer<ListBulkDeploymentDetailedReportsRequest.Builder> listBulkDeploymentDetailedReportsRequest)
        Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.

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

        Parameters:
        listBulkDeploymentDetailedReportsRequest - A Consumer that will call methods on ListBulkDeploymentDetailedReportsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListBulkDeploymentDetailedReports 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listBulkDeployments

        default CompletableFuture<ListBulkDeploymentsResponse> listBulkDeployments​(ListBulkDeploymentsRequest listBulkDeploymentsRequest)
        Returns a list of bulk deployments.
        Parameters:
        listBulkDeploymentsRequest -
        Returns:
        A Java Future containing the result of the ListBulkDeployments 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listBulkDeployments

        default CompletableFuture<ListBulkDeploymentsResponse> listBulkDeployments​(Consumer<ListBulkDeploymentsRequest.Builder> listBulkDeploymentsRequest)
        Returns a list of bulk deployments.

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

        Parameters:
        listBulkDeploymentsRequest - A Consumer that will call methods on ListBulkDeploymentsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListBulkDeployments 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listBulkDeployments

        default CompletableFuture<ListBulkDeploymentsResponse> listBulkDeployments()
        Returns a list of bulk deployments.
        Returns:
        A Java Future containing the result of the ListBulkDeployments 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listConnectorDefinitionVersions

        default CompletableFuture<ListConnectorDefinitionVersionsResponse> listConnectorDefinitionVersions​(ListConnectorDefinitionVersionsRequest listConnectorDefinitionVersionsRequest)
        Lists the versions of a connector definition, which are containers for connectors. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.
        Parameters:
        listConnectorDefinitionVersionsRequest -
        Returns:
        A Java Future containing the result of the ListConnectorDefinitionVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listConnectorDefinitionVersions

        default CompletableFuture<ListConnectorDefinitionVersionsResponse> listConnectorDefinitionVersions​(Consumer<ListConnectorDefinitionVersionsRequest.Builder> listConnectorDefinitionVersionsRequest)
        Lists the versions of a connector definition, which are containers for connectors. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.

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

        Parameters:
        listConnectorDefinitionVersionsRequest - A Consumer that will call methods on ListConnectorDefinitionVersionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListConnectorDefinitionVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listConnectorDefinitions

        default CompletableFuture<ListConnectorDefinitionsResponse> listConnectorDefinitions​(ListConnectorDefinitionsRequest listConnectorDefinitionsRequest)
        Retrieves a list of connector definitions.
        Parameters:
        listConnectorDefinitionsRequest -
        Returns:
        A Java Future containing the result of the ListConnectorDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listConnectorDefinitions

        default CompletableFuture<ListConnectorDefinitionsResponse> listConnectorDefinitions​(Consumer<ListConnectorDefinitionsRequest.Builder> listConnectorDefinitionsRequest)
        Retrieves a list of connector definitions.

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

        Parameters:
        listConnectorDefinitionsRequest - A Consumer that will call methods on ListConnectorDefinitionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListConnectorDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listConnectorDefinitions

        default CompletableFuture<ListConnectorDefinitionsResponse> listConnectorDefinitions()
        Retrieves a list of connector definitions.
        Returns:
        A Java Future containing the result of the ListConnectorDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCoreDefinitionVersions

        default CompletableFuture<ListCoreDefinitionVersionsResponse> listCoreDefinitionVersions​(ListCoreDefinitionVersionsRequest listCoreDefinitionVersionsRequest)
        Lists the versions of a core definition.
        Parameters:
        listCoreDefinitionVersionsRequest -
        Returns:
        A Java Future containing the result of the ListCoreDefinitionVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCoreDefinitionVersions

        default CompletableFuture<ListCoreDefinitionVersionsResponse> listCoreDefinitionVersions​(Consumer<ListCoreDefinitionVersionsRequest.Builder> listCoreDefinitionVersionsRequest)
        Lists the versions of a core definition.

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

        Parameters:
        listCoreDefinitionVersionsRequest - A Consumer that will call methods on ListCoreDefinitionVersionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListCoreDefinitionVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCoreDefinitions

        default CompletableFuture<ListCoreDefinitionsResponse> listCoreDefinitions​(ListCoreDefinitionsRequest listCoreDefinitionsRequest)
        Retrieves a list of core definitions.
        Parameters:
        listCoreDefinitionsRequest -
        Returns:
        A Java Future containing the result of the ListCoreDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCoreDefinitions

        default CompletableFuture<ListCoreDefinitionsResponse> listCoreDefinitions​(Consumer<ListCoreDefinitionsRequest.Builder> listCoreDefinitionsRequest)
        Retrieves a list of core definitions.

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

        Parameters:
        listCoreDefinitionsRequest - A Consumer that will call methods on ListCoreDefinitionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListCoreDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCoreDefinitions

        default CompletableFuture<ListCoreDefinitionsResponse> listCoreDefinitions()
        Retrieves a list of core definitions.
        Returns:
        A Java Future containing the result of the ListCoreDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDeployments

        default CompletableFuture<ListDeploymentsResponse> listDeployments​(ListDeploymentsRequest listDeploymentsRequest)
        Returns a history of deployments for the group.
        Parameters:
        listDeploymentsRequest -
        Returns:
        A Java Future containing the result of the ListDeployments 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDeployments

        default CompletableFuture<ListDeploymentsResponse> listDeployments​(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)
        Returns a history of deployments for the group.

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

        Parameters:
        listDeploymentsRequest - A Consumer that will call methods on ListDeploymentsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListDeployments 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDeviceDefinitionVersions

        default CompletableFuture<ListDeviceDefinitionVersionsResponse> listDeviceDefinitionVersions​(ListDeviceDefinitionVersionsRequest listDeviceDefinitionVersionsRequest)
        Lists the versions of a device definition.
        Parameters:
        listDeviceDefinitionVersionsRequest -
        Returns:
        A Java Future containing the result of the ListDeviceDefinitionVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDeviceDefinitions

        default CompletableFuture<ListDeviceDefinitionsResponse> listDeviceDefinitions​(ListDeviceDefinitionsRequest listDeviceDefinitionsRequest)
        Retrieves a list of device definitions.
        Parameters:
        listDeviceDefinitionsRequest -
        Returns:
        A Java Future containing the result of the ListDeviceDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDeviceDefinitions

        default CompletableFuture<ListDeviceDefinitionsResponse> listDeviceDefinitions​(Consumer<ListDeviceDefinitionsRequest.Builder> listDeviceDefinitionsRequest)
        Retrieves a list of device definitions.

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

        Parameters:
        listDeviceDefinitionsRequest - A Consumer that will call methods on ListDeviceDefinitionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListDeviceDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDeviceDefinitions

        default CompletableFuture<ListDeviceDefinitionsResponse> listDeviceDefinitions()
        Retrieves a list of device definitions.
        Returns:
        A Java Future containing the result of the ListDeviceDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFunctionDefinitionVersions

        default CompletableFuture<ListFunctionDefinitionVersionsResponse> listFunctionDefinitionVersions​(ListFunctionDefinitionVersionsRequest listFunctionDefinitionVersionsRequest)
        Lists the versions of a Lambda function definition.
        Parameters:
        listFunctionDefinitionVersionsRequest -
        Returns:
        A Java Future containing the result of the ListFunctionDefinitionVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFunctionDefinitions

        default CompletableFuture<ListFunctionDefinitionsResponse> listFunctionDefinitions​(ListFunctionDefinitionsRequest listFunctionDefinitionsRequest)
        Retrieves a list of Lambda function definitions.
        Parameters:
        listFunctionDefinitionsRequest -
        Returns:
        A Java Future containing the result of the ListFunctionDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFunctionDefinitions

        default CompletableFuture<ListFunctionDefinitionsResponse> listFunctionDefinitions​(Consumer<ListFunctionDefinitionsRequest.Builder> listFunctionDefinitionsRequest)
        Retrieves a list of Lambda function definitions.

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

        Parameters:
        listFunctionDefinitionsRequest - A Consumer that will call methods on ListFunctionDefinitionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListFunctionDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFunctionDefinitions

        default CompletableFuture<ListFunctionDefinitionsResponse> listFunctionDefinitions()
        Retrieves a list of Lambda function definitions.
        Returns:
        A Java Future containing the result of the ListFunctionDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listGroupCertificateAuthorities

        default CompletableFuture<ListGroupCertificateAuthoritiesResponse> listGroupCertificateAuthorities​(ListGroupCertificateAuthoritiesRequest listGroupCertificateAuthoritiesRequest)
        Retrieves the current CAs for a group.
        Parameters:
        listGroupCertificateAuthoritiesRequest -
        Returns:
        A Java Future containing the result of the ListGroupCertificateAuthorities 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listGroupVersions

        default CompletableFuture<ListGroupVersionsResponse> listGroupVersions​(ListGroupVersionsRequest listGroupVersionsRequest)
        Lists the versions of a group.
        Parameters:
        listGroupVersionsRequest -
        Returns:
        A Java Future containing the result of the ListGroupVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listGroupVersions

        default CompletableFuture<ListGroupVersionsResponse> listGroupVersions​(Consumer<ListGroupVersionsRequest.Builder> listGroupVersionsRequest)
        Lists the versions of a group.

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

        Parameters:
        listGroupVersionsRequest - A Consumer that will call methods on ListGroupVersionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListGroupVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listGroups

        default CompletableFuture<ListGroupsResponse> listGroups​(ListGroupsRequest listGroupsRequest)
        Retrieves a list of groups.
        Parameters:
        listGroupsRequest -
        Returns:
        A Java Future containing the result of the ListGroups 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listGroups

        default CompletableFuture<ListGroupsResponse> listGroups​(Consumer<ListGroupsRequest.Builder> listGroupsRequest)
        Retrieves a list of groups.

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

        Parameters:
        listGroupsRequest - A Consumer that will call methods on ListGroupsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListGroups 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listGroups

        default CompletableFuture<ListGroupsResponse> listGroups()
        Retrieves a list of groups.
        Returns:
        A Java Future containing the result of the ListGroups 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLoggerDefinitionVersions

        default CompletableFuture<ListLoggerDefinitionVersionsResponse> listLoggerDefinitionVersions​(ListLoggerDefinitionVersionsRequest listLoggerDefinitionVersionsRequest)
        Lists the versions of a logger definition.
        Parameters:
        listLoggerDefinitionVersionsRequest -
        Returns:
        A Java Future containing the result of the ListLoggerDefinitionVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLoggerDefinitions

        default CompletableFuture<ListLoggerDefinitionsResponse> listLoggerDefinitions​(ListLoggerDefinitionsRequest listLoggerDefinitionsRequest)
        Retrieves a list of logger definitions.
        Parameters:
        listLoggerDefinitionsRequest -
        Returns:
        A Java Future containing the result of the ListLoggerDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLoggerDefinitions

        default CompletableFuture<ListLoggerDefinitionsResponse> listLoggerDefinitions​(Consumer<ListLoggerDefinitionsRequest.Builder> listLoggerDefinitionsRequest)
        Retrieves a list of logger definitions.

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

        Parameters:
        listLoggerDefinitionsRequest - A Consumer that will call methods on ListLoggerDefinitionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListLoggerDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listLoggerDefinitions

        default CompletableFuture<ListLoggerDefinitionsResponse> listLoggerDefinitions()
        Retrieves a list of logger definitions.
        Returns:
        A Java Future containing the result of the ListLoggerDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceDefinitionVersions

        default CompletableFuture<ListResourceDefinitionVersionsResponse> listResourceDefinitionVersions​(ListResourceDefinitionVersionsRequest listResourceDefinitionVersionsRequest)
        Lists the versions of a resource definition.
        Parameters:
        listResourceDefinitionVersionsRequest -
        Returns:
        A Java Future containing the result of the ListResourceDefinitionVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceDefinitions

        default CompletableFuture<ListResourceDefinitionsResponse> listResourceDefinitions​(ListResourceDefinitionsRequest listResourceDefinitionsRequest)
        Retrieves a list of resource definitions.
        Parameters:
        listResourceDefinitionsRequest -
        Returns:
        A Java Future containing the result of the ListResourceDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceDefinitions

        default CompletableFuture<ListResourceDefinitionsResponse> listResourceDefinitions​(Consumer<ListResourceDefinitionsRequest.Builder> listResourceDefinitionsRequest)
        Retrieves a list of resource definitions.

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

        Parameters:
        listResourceDefinitionsRequest - A Consumer that will call methods on ListResourceDefinitionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListResourceDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceDefinitions

        default CompletableFuture<ListResourceDefinitionsResponse> listResourceDefinitions()
        Retrieves a list of resource definitions.
        Returns:
        A Java Future containing the result of the ListResourceDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSubscriptionDefinitionVersions

        default CompletableFuture<ListSubscriptionDefinitionVersionsResponse> listSubscriptionDefinitionVersions​(ListSubscriptionDefinitionVersionsRequest listSubscriptionDefinitionVersionsRequest)
        Lists the versions of a subscription definition.
        Parameters:
        listSubscriptionDefinitionVersionsRequest -
        Returns:
        A Java Future containing the result of the ListSubscriptionDefinitionVersions 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSubscriptionDefinitions

        default CompletableFuture<ListSubscriptionDefinitionsResponse> listSubscriptionDefinitions​(ListSubscriptionDefinitionsRequest listSubscriptionDefinitionsRequest)
        Retrieves a list of subscription definitions.
        Parameters:
        listSubscriptionDefinitionsRequest -
        Returns:
        A Java Future containing the result of the ListSubscriptionDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSubscriptionDefinitions

        default CompletableFuture<ListSubscriptionDefinitionsResponse> listSubscriptionDefinitions()
        Retrieves a list of subscription definitions.
        Returns:
        A Java Future containing the result of the ListSubscriptionDefinitions 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.
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)
        Retrieves a list of resource tags for a resource arn.
        Parameters:
        listTagsForResourceRequest -
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
        Retrieves a list of resource tags for a resource arn.

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

        Parameters:
        listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • resetDeployments

        default CompletableFuture<ResetDeploymentsResponse> resetDeployments​(ResetDeploymentsRequest resetDeploymentsRequest)
        Resets a group's deployments.
        Parameters:
        resetDeploymentsRequest - Information needed to reset deployments.
        Returns:
        A Java Future containing the result of the ResetDeployments 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • resetDeployments

        default CompletableFuture<ResetDeploymentsResponse> resetDeployments​(Consumer<ResetDeploymentsRequest.Builder> resetDeploymentsRequest)
        Resets a group's deployments.

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

        Parameters:
        resetDeploymentsRequest - A Consumer that will call methods on ResetDeploymentsRequest.Builder to create a request. Information needed to reset deployments.
        Returns:
        A Java Future containing the result of the ResetDeployments 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startBulkDeployment

        default CompletableFuture<StartBulkDeploymentResponse> startBulkDeployment​(StartBulkDeploymentRequest startBulkDeploymentRequest)
        Deploys multiple groups in one operation. This action starts the bulk deployment of a specified set of group versions. Each group version deployment will be triggered with an adaptive rate that has a fixed upper limit. We recommend that you include an ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment'' request. These requests are idempotent with respect to the token and the request parameters.
        Parameters:
        startBulkDeploymentRequest -
        Returns:
        A Java Future containing the result of the StartBulkDeployment 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startBulkDeployment

        default CompletableFuture<StartBulkDeploymentResponse> startBulkDeployment​(Consumer<StartBulkDeploymentRequest.Builder> startBulkDeploymentRequest)
        Deploys multiple groups in one operation. This action starts the bulk deployment of a specified set of group versions. Each group version deployment will be triggered with an adaptive rate that has a fixed upper limit. We recommend that you include an ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment'' request. These requests are idempotent with respect to the token and the request parameters.

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

        Parameters:
        startBulkDeploymentRequest - A Consumer that will call methods on StartBulkDeploymentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartBulkDeployment 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopBulkDeployment

        default CompletableFuture<StopBulkDeploymentResponse> stopBulkDeployment​(StopBulkDeploymentRequest stopBulkDeploymentRequest)
        Stops the execution of a bulk deployment. This action returns a status of ''Stopping'' until the deployment is stopped. You cannot start a new bulk deployment while a previous deployment is in the ''Stopping'' state. This action doesn't rollback completed deployments or cancel pending deployments.
        Parameters:
        stopBulkDeploymentRequest -
        Returns:
        A Java Future containing the result of the StopBulkDeployment 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopBulkDeployment

        default CompletableFuture<StopBulkDeploymentResponse> stopBulkDeployment​(Consumer<StopBulkDeploymentRequest.Builder> stopBulkDeploymentRequest)
        Stops the execution of a bulk deployment. This action returns a status of ''Stopping'' until the deployment is stopped. You cannot start a new bulk deployment while a previous deployment is in the ''Stopping'' state. This action doesn't rollback completed deployments or cancel pending deployments.

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

        Parameters:
        stopBulkDeploymentRequest - A Consumer that will call methods on StopBulkDeploymentRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StopBulkDeployment 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)
        Adds tags to a Greengrass resource. Valid resources are 'Group', 'ConnectorDefinition', 'CoreDefinition', 'DeviceDefinition', 'FunctionDefinition', 'LoggerDefinition', 'SubscriptionDefinition', 'ResourceDefinition', and 'BulkDeployment'.
        Parameters:
        tagResourceRequest - A map of the key-value pairs for the resource tag.
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)
        Adds tags to a Greengrass resource. Valid resources are 'Group', 'ConnectorDefinition', 'CoreDefinition', 'DeviceDefinition', 'FunctionDefinition', 'LoggerDefinition', 'SubscriptionDefinition', 'ResourceDefinition', and 'BulkDeployment'.

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

        Parameters:
        tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request. A map of the key-value pairs for the resource tag.
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)
        Remove resource tags from a Greengrass Resource.
        Parameters:
        untagResourceRequest -
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
        Remove resource tags from a Greengrass Resource.

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

        Parameters:
        untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateConnectivityInfo

        default CompletableFuture<UpdateConnectivityInfoResponse> updateConnectivityInfo​(UpdateConnectivityInfoRequest updateConnectivityInfoRequest)
        Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.
        Parameters:
        updateConnectivityInfoRequest - Connectivity information.
        Returns:
        A Java Future containing the result of the UpdateConnectivityInfo 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateConnectivityInfo

        default CompletableFuture<UpdateConnectivityInfoResponse> updateConnectivityInfo​(Consumer<UpdateConnectivityInfoRequest.Builder> updateConnectivityInfoRequest)
        Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.

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

        Parameters:
        updateConnectivityInfoRequest - A Consumer that will call methods on UpdateConnectivityInfoRequest.Builder to create a request. Connectivity information.
        Returns:
        A Java Future containing the result of the UpdateConnectivityInfo 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateConnectorDefinition

        default CompletableFuture<UpdateConnectorDefinitionResponse> updateConnectorDefinition​(UpdateConnectorDefinitionRequest updateConnectorDefinitionRequest)
        Updates a connector definition.
        Parameters:
        updateConnectorDefinitionRequest -
        Returns:
        A Java Future containing the result of the UpdateConnectorDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateConnectorDefinition

        default CompletableFuture<UpdateConnectorDefinitionResponse> updateConnectorDefinition​(Consumer<UpdateConnectorDefinitionRequest.Builder> updateConnectorDefinitionRequest)
        Updates a connector definition.

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

        Parameters:
        updateConnectorDefinitionRequest - A Consumer that will call methods on UpdateConnectorDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateConnectorDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateCoreDefinition

        default CompletableFuture<UpdateCoreDefinitionResponse> updateCoreDefinition​(UpdateCoreDefinitionRequest updateCoreDefinitionRequest)
        Updates a core definition.
        Parameters:
        updateCoreDefinitionRequest -
        Returns:
        A Java Future containing the result of the UpdateCoreDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateCoreDefinition

        default CompletableFuture<UpdateCoreDefinitionResponse> updateCoreDefinition​(Consumer<UpdateCoreDefinitionRequest.Builder> updateCoreDefinitionRequest)
        Updates a core definition.

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

        Parameters:
        updateCoreDefinitionRequest - A Consumer that will call methods on UpdateCoreDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateCoreDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDeviceDefinition

        default CompletableFuture<UpdateDeviceDefinitionResponse> updateDeviceDefinition​(UpdateDeviceDefinitionRequest updateDeviceDefinitionRequest)
        Updates a device definition.
        Parameters:
        updateDeviceDefinitionRequest -
        Returns:
        A Java Future containing the result of the UpdateDeviceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDeviceDefinition

        default CompletableFuture<UpdateDeviceDefinitionResponse> updateDeviceDefinition​(Consumer<UpdateDeviceDefinitionRequest.Builder> updateDeviceDefinitionRequest)
        Updates a device definition.

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

        Parameters:
        updateDeviceDefinitionRequest - A Consumer that will call methods on UpdateDeviceDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateDeviceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateFunctionDefinition

        default CompletableFuture<UpdateFunctionDefinitionResponse> updateFunctionDefinition​(UpdateFunctionDefinitionRequest updateFunctionDefinitionRequest)
        Updates a Lambda function definition.
        Parameters:
        updateFunctionDefinitionRequest -
        Returns:
        A Java Future containing the result of the UpdateFunctionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateFunctionDefinition

        default CompletableFuture<UpdateFunctionDefinitionResponse> updateFunctionDefinition​(Consumer<UpdateFunctionDefinitionRequest.Builder> updateFunctionDefinitionRequest)
        Updates a Lambda function definition.

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

        Parameters:
        updateFunctionDefinitionRequest - A Consumer that will call methods on UpdateFunctionDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateFunctionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateGroup

        default CompletableFuture<UpdateGroupResponse> updateGroup​(UpdateGroupRequest updateGroupRequest)
        Updates a group.
        Parameters:
        updateGroupRequest -
        Returns:
        A Java Future containing the result of the UpdateGroup 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateGroup

        default CompletableFuture<UpdateGroupResponse> updateGroup​(Consumer<UpdateGroupRequest.Builder> updateGroupRequest)
        Updates a group.

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

        Parameters:
        updateGroupRequest - A Consumer that will call methods on UpdateGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateGroup 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateGroupCertificateConfiguration

        default CompletableFuture<UpdateGroupCertificateConfigurationResponse> updateGroupCertificateConfiguration​(UpdateGroupCertificateConfigurationRequest updateGroupCertificateConfigurationRequest)
        Updates the Certificate expiry time for a group.
        Parameters:
        updateGroupCertificateConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateGroupCertificateConfiguration 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateLoggerDefinition

        default CompletableFuture<UpdateLoggerDefinitionResponse> updateLoggerDefinition​(UpdateLoggerDefinitionRequest updateLoggerDefinitionRequest)
        Updates a logger definition.
        Parameters:
        updateLoggerDefinitionRequest -
        Returns:
        A Java Future containing the result of the UpdateLoggerDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateLoggerDefinition

        default CompletableFuture<UpdateLoggerDefinitionResponse> updateLoggerDefinition​(Consumer<UpdateLoggerDefinitionRequest.Builder> updateLoggerDefinitionRequest)
        Updates a logger definition.

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

        Parameters:
        updateLoggerDefinitionRequest - A Consumer that will call methods on UpdateLoggerDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateLoggerDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateResourceDefinition

        default CompletableFuture<UpdateResourceDefinitionResponse> updateResourceDefinition​(UpdateResourceDefinitionRequest updateResourceDefinitionRequest)
        Updates a resource definition.
        Parameters:
        updateResourceDefinitionRequest -
        Returns:
        A Java Future containing the result of the UpdateResourceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateResourceDefinition

        default CompletableFuture<UpdateResourceDefinitionResponse> updateResourceDefinition​(Consumer<UpdateResourceDefinitionRequest.Builder> updateResourceDefinitionRequest)
        Updates a resource definition.

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

        Parameters:
        updateResourceDefinitionRequest - A Consumer that will call methods on UpdateResourceDefinitionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateResourceDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSubscriptionDefinition

        default CompletableFuture<UpdateSubscriptionDefinitionResponse> updateSubscriptionDefinition​(UpdateSubscriptionDefinitionRequest updateSubscriptionDefinitionRequest)
        Updates a subscription definition.
        Parameters:
        updateSubscriptionDefinitionRequest -
        Returns:
        A Java Future containing the result of the UpdateSubscriptionDefinition 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.
        • BadRequestException invalid request
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateThingRuntimeConfiguration

        default CompletableFuture<UpdateThingRuntimeConfigurationResponse> updateThingRuntimeConfiguration​(UpdateThingRuntimeConfigurationRequest updateThingRuntimeConfigurationRequest)
        Updates the runtime configuration of a thing.
        Parameters:
        updateThingRuntimeConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateThingRuntimeConfiguration 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.
        • BadRequestException invalid request
        • InternalServerErrorException server error
        • 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.
        • GreengrassException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation