Interface GreengrassAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
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.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionassociateRoleToGroup(Consumer<AssociateRoleToGroupRequest.Builder> associateRoleToGroupRequest) Associates a role with a group.associateRoleToGroup(AssociateRoleToGroupRequest associateRoleToGroupRequest) Associates a role with a group.associateServiceRoleToAccount(Consumer<AssociateServiceRoleToAccountRequest.Builder> associateServiceRoleToAccountRequest) Associates a role with your account.associateServiceRoleToAccount(AssociateServiceRoleToAccountRequest associateServiceRoleToAccountRequest) Associates a role with your account.static GreengrassAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aGreengrassAsyncClient.static GreengrassAsyncClientcreate()Create aGreengrassAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createConnectorDefinition(Consumer<CreateConnectorDefinitionRequest.Builder> createConnectorDefinitionRequest) Creates a connector definition.createConnectorDefinition(CreateConnectorDefinitionRequest createConnectorDefinitionRequest) Creates a connector definition.createConnectorDefinitionVersion(Consumer<CreateConnectorDefinitionVersionRequest.Builder> createConnectorDefinitionVersionRequest) Creates a version of a connector definition which has already been defined.createConnectorDefinitionVersion(CreateConnectorDefinitionVersionRequest createConnectorDefinitionVersionRequest) Creates a version of a connector definition which has already been defined.createCoreDefinition(Consumer<CreateCoreDefinitionRequest.Builder> createCoreDefinitionRequest) Creates a core definition.createCoreDefinition(CreateCoreDefinitionRequest createCoreDefinitionRequest) Creates a core definition.createCoreDefinitionVersion(Consumer<CreateCoreDefinitionVersionRequest.Builder> createCoreDefinitionVersionRequest) Creates a version of a core definition that has already been defined.createCoreDefinitionVersion(CreateCoreDefinitionVersionRequest createCoreDefinitionVersionRequest) Creates a version of a core definition that has already been defined.createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) Creates a deployment.createDeployment(CreateDeploymentRequest createDeploymentRequest) Creates a deployment.createDeviceDefinition(Consumer<CreateDeviceDefinitionRequest.Builder> createDeviceDefinitionRequest) Creates a device definition.createDeviceDefinition(CreateDeviceDefinitionRequest createDeviceDefinitionRequest) Creates a device definition.createDeviceDefinitionVersion(Consumer<CreateDeviceDefinitionVersionRequest.Builder> createDeviceDefinitionVersionRequest) Creates a version of a device definition that has already been defined.createDeviceDefinitionVersion(CreateDeviceDefinitionVersionRequest createDeviceDefinitionVersionRequest) Creates a version of a device definition that has already been defined.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.createFunctionDefinition(CreateFunctionDefinitionRequest createFunctionDefinitionRequest) Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group.createFunctionDefinitionVersion(Consumer<CreateFunctionDefinitionVersionRequest.Builder> createFunctionDefinitionVersionRequest) Creates a version of a Lambda function definition that has already been defined.createFunctionDefinitionVersion(CreateFunctionDefinitionVersionRequest createFunctionDefinitionVersionRequest) Creates a version of a Lambda function definition that has already been defined.default CompletableFuture<CreateGroupResponse> createGroup(Consumer<CreateGroupRequest.Builder> createGroupRequest) Creates a group.default CompletableFuture<CreateGroupResponse> createGroup(CreateGroupRequest createGroupRequest) Creates a group.createGroupCertificateAuthority(Consumer<CreateGroupCertificateAuthorityRequest.Builder> createGroupCertificateAuthorityRequest) Creates a CA for the group.createGroupCertificateAuthority(CreateGroupCertificateAuthorityRequest createGroupCertificateAuthorityRequest) Creates a CA for the group.createGroupVersion(Consumer<CreateGroupVersionRequest.Builder> createGroupVersionRequest) Creates a version of a group which has already been defined.createGroupVersion(CreateGroupVersionRequest createGroupVersionRequest) Creates a version of a group which has already been defined.createLoggerDefinition(Consumer<CreateLoggerDefinitionRequest.Builder> createLoggerDefinitionRequest) Creates a logger definition.createLoggerDefinition(CreateLoggerDefinitionRequest createLoggerDefinitionRequest) Creates a logger definition.createLoggerDefinitionVersion(Consumer<CreateLoggerDefinitionVersionRequest.Builder> createLoggerDefinitionVersionRequest) Creates a version of a logger definition that has already been defined.createLoggerDefinitionVersion(CreateLoggerDefinitionVersionRequest createLoggerDefinitionVersionRequest) Creates a version of a logger definition that has already been defined.createResourceDefinition(Consumer<CreateResourceDefinitionRequest.Builder> createResourceDefinitionRequest) Creates a resource definition which contains a list of resources to be used in a group.createResourceDefinition(CreateResourceDefinitionRequest createResourceDefinitionRequest) Creates a resource definition which contains a list of resources to be used in a group.createResourceDefinitionVersion(Consumer<CreateResourceDefinitionVersionRequest.Builder> createResourceDefinitionVersionRequest) Creates a version of a resource definition that has already been defined.createResourceDefinitionVersion(CreateResourceDefinitionVersionRequest createResourceDefinitionVersionRequest) Creates a version of a resource definition that has already been defined.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.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.createSubscriptionDefinition(Consumer<CreateSubscriptionDefinitionRequest.Builder> createSubscriptionDefinitionRequest) Creates a subscription definition.createSubscriptionDefinition(CreateSubscriptionDefinitionRequest createSubscriptionDefinitionRequest) Creates a subscription definition.createSubscriptionDefinitionVersion(Consumer<CreateSubscriptionDefinitionVersionRequest.Builder> createSubscriptionDefinitionVersionRequest) Creates a version of a subscription definition which has already been defined.createSubscriptionDefinitionVersion(CreateSubscriptionDefinitionVersionRequest createSubscriptionDefinitionVersionRequest) Creates a version of a subscription definition which has already been defined.deleteConnectorDefinition(Consumer<DeleteConnectorDefinitionRequest.Builder> deleteConnectorDefinitionRequest) Deletes a connector definition.deleteConnectorDefinition(DeleteConnectorDefinitionRequest deleteConnectorDefinitionRequest) Deletes a connector definition.deleteCoreDefinition(Consumer<DeleteCoreDefinitionRequest.Builder> deleteCoreDefinitionRequest) Deletes a core definition.deleteCoreDefinition(DeleteCoreDefinitionRequest deleteCoreDefinitionRequest) Deletes a core definition.deleteDeviceDefinition(Consumer<DeleteDeviceDefinitionRequest.Builder> deleteDeviceDefinitionRequest) Deletes a device definition.deleteDeviceDefinition(DeleteDeviceDefinitionRequest deleteDeviceDefinitionRequest) Deletes a device definition.deleteFunctionDefinition(Consumer<DeleteFunctionDefinitionRequest.Builder> deleteFunctionDefinitionRequest) Deletes a Lambda function definition.deleteFunctionDefinition(DeleteFunctionDefinitionRequest deleteFunctionDefinitionRequest) Deletes a Lambda function definition.default CompletableFuture<DeleteGroupResponse> deleteGroup(Consumer<DeleteGroupRequest.Builder> deleteGroupRequest) Deletes a group.default CompletableFuture<DeleteGroupResponse> deleteGroup(DeleteGroupRequest deleteGroupRequest) Deletes a group.deleteLoggerDefinition(Consumer<DeleteLoggerDefinitionRequest.Builder> deleteLoggerDefinitionRequest) Deletes a logger definition.deleteLoggerDefinition(DeleteLoggerDefinitionRequest deleteLoggerDefinitionRequest) Deletes a logger definition.deleteResourceDefinition(Consumer<DeleteResourceDefinitionRequest.Builder> deleteResourceDefinitionRequest) Deletes a resource definition.deleteResourceDefinition(DeleteResourceDefinitionRequest deleteResourceDefinitionRequest) Deletes a resource definition.deleteSubscriptionDefinition(Consumer<DeleteSubscriptionDefinitionRequest.Builder> deleteSubscriptionDefinitionRequest) Deletes a subscription definition.deleteSubscriptionDefinition(DeleteSubscriptionDefinitionRequest deleteSubscriptionDefinitionRequest) Deletes a subscription definition.disassociateRoleFromGroup(Consumer<DisassociateRoleFromGroupRequest.Builder> disassociateRoleFromGroupRequest) Disassociates the role from a group.disassociateRoleFromGroup(DisassociateRoleFromGroupRequest disassociateRoleFromGroupRequest) Disassociates the role from a group.Disassociates the service role from your account.disassociateServiceRoleFromAccount(Consumer<DisassociateServiceRoleFromAccountRequest.Builder> disassociateServiceRoleFromAccountRequest) Disassociates the service role from your account.disassociateServiceRoleFromAccount(DisassociateServiceRoleFromAccountRequest disassociateServiceRoleFromAccountRequest) Disassociates the service role from your account.getAssociatedRole(Consumer<GetAssociatedRoleRequest.Builder> getAssociatedRoleRequest) Retrieves the role associated with a particular group.getAssociatedRole(GetAssociatedRoleRequest getAssociatedRoleRequest) Retrieves the role associated with a particular group.getBulkDeploymentStatus(Consumer<GetBulkDeploymentStatusRequest.Builder> getBulkDeploymentStatusRequest) Returns the status of a bulk deployment.getBulkDeploymentStatus(GetBulkDeploymentStatusRequest getBulkDeploymentStatusRequest) Returns the status of a bulk deployment.getConnectivityInfo(Consumer<GetConnectivityInfoRequest.Builder> getConnectivityInfoRequest) Retrieves the connectivity information for a core.getConnectivityInfo(GetConnectivityInfoRequest getConnectivityInfoRequest) Retrieves the connectivity information for a core.getConnectorDefinition(Consumer<GetConnectorDefinitionRequest.Builder> getConnectorDefinitionRequest) Retrieves information about a connector definition.getConnectorDefinition(GetConnectorDefinitionRequest getConnectorDefinitionRequest) Retrieves information about a connector definition.getConnectorDefinitionVersion(Consumer<GetConnectorDefinitionVersionRequest.Builder> getConnectorDefinitionVersionRequest) Retrieves information about a connector definition version, including the connectors that the version contains.getConnectorDefinitionVersion(GetConnectorDefinitionVersionRequest getConnectorDefinitionVersionRequest) Retrieves information about a connector definition version, including the connectors that the version contains.getCoreDefinition(Consumer<GetCoreDefinitionRequest.Builder> getCoreDefinitionRequest) Retrieves information about a core definition version.getCoreDefinition(GetCoreDefinitionRequest getCoreDefinitionRequest) Retrieves information about a core definition version.getCoreDefinitionVersion(Consumer<GetCoreDefinitionVersionRequest.Builder> getCoreDefinitionVersionRequest) Retrieves information about a core definition version.getCoreDefinitionVersion(GetCoreDefinitionVersionRequest getCoreDefinitionVersionRequest) Retrieves information about a core definition version.getDeploymentStatus(Consumer<GetDeploymentStatusRequest.Builder> getDeploymentStatusRequest) Returns the status of a deployment.getDeploymentStatus(GetDeploymentStatusRequest getDeploymentStatusRequest) Returns the status of a deployment.getDeviceDefinition(Consumer<GetDeviceDefinitionRequest.Builder> getDeviceDefinitionRequest) Retrieves information about a device definition.getDeviceDefinition(GetDeviceDefinitionRequest getDeviceDefinitionRequest) Retrieves information about a device definition.getDeviceDefinitionVersion(Consumer<GetDeviceDefinitionVersionRequest.Builder> getDeviceDefinitionVersionRequest) Retrieves information about a device definition version.getDeviceDefinitionVersion(GetDeviceDefinitionVersionRequest getDeviceDefinitionVersionRequest) Retrieves information about a device definition version.getFunctionDefinition(Consumer<GetFunctionDefinitionRequest.Builder> getFunctionDefinitionRequest) Retrieves information about a Lambda function definition, including its creation time and latest version.getFunctionDefinition(GetFunctionDefinitionRequest getFunctionDefinitionRequest) Retrieves information about a Lambda function definition, including its creation time and latest version.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.getFunctionDefinitionVersion(GetFunctionDefinitionVersionRequest getFunctionDefinitionVersionRequest) Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.default CompletableFuture<GetGroupResponse> getGroup(Consumer<GetGroupRequest.Builder> getGroupRequest) Retrieves information about a group.default CompletableFuture<GetGroupResponse> getGroup(GetGroupRequest getGroupRequest) Retrieves information about a group.getGroupCertificateAuthority(Consumer<GetGroupCertificateAuthorityRequest.Builder> getGroupCertificateAuthorityRequest) Retreives the CA associated with a group.getGroupCertificateAuthority(GetGroupCertificateAuthorityRequest getGroupCertificateAuthorityRequest) Retreives the CA associated with a group.getGroupCertificateConfiguration(Consumer<GetGroupCertificateConfigurationRequest.Builder> getGroupCertificateConfigurationRequest) Retrieves the current configuration for the CA used by the group.getGroupCertificateConfiguration(GetGroupCertificateConfigurationRequest getGroupCertificateConfigurationRequest) Retrieves the current configuration for the CA used by the group.default CompletableFuture<GetGroupVersionResponse> getGroupVersion(Consumer<GetGroupVersionRequest.Builder> getGroupVersionRequest) Retrieves information about a group version.default CompletableFuture<GetGroupVersionResponse> getGroupVersion(GetGroupVersionRequest getGroupVersionRequest) Retrieves information about a group version.getLoggerDefinition(Consumer<GetLoggerDefinitionRequest.Builder> getLoggerDefinitionRequest) Retrieves information about a logger definition.getLoggerDefinition(GetLoggerDefinitionRequest getLoggerDefinitionRequest) Retrieves information about a logger definition.getLoggerDefinitionVersion(Consumer<GetLoggerDefinitionVersionRequest.Builder> getLoggerDefinitionVersionRequest) Retrieves information about a logger definition version.getLoggerDefinitionVersion(GetLoggerDefinitionVersionRequest getLoggerDefinitionVersionRequest) Retrieves information about a logger definition version.getResourceDefinition(Consumer<GetResourceDefinitionRequest.Builder> getResourceDefinitionRequest) Retrieves information about a resource definition, including its creation time and latest version.getResourceDefinition(GetResourceDefinitionRequest getResourceDefinitionRequest) Retrieves information about a resource definition, including its creation time and latest version.getResourceDefinitionVersion(Consumer<GetResourceDefinitionVersionRequest.Builder> getResourceDefinitionVersionRequest) Retrieves information about a resource definition version, including which resources are included in the version.getResourceDefinitionVersion(GetResourceDefinitionVersionRequest getResourceDefinitionVersionRequest) Retrieves information about a resource definition version, including which resources are included in the version.Retrieves the service role that is attached to your account.getServiceRoleForAccount(Consumer<GetServiceRoleForAccountRequest.Builder> getServiceRoleForAccountRequest) Retrieves the service role that is attached to your account.getServiceRoleForAccount(GetServiceRoleForAccountRequest getServiceRoleForAccountRequest) Retrieves the service role that is attached to your account.getSubscriptionDefinition(Consumer<GetSubscriptionDefinitionRequest.Builder> getSubscriptionDefinitionRequest) Retrieves information about a subscription definition.getSubscriptionDefinition(GetSubscriptionDefinitionRequest getSubscriptionDefinitionRequest) Retrieves information about a subscription definition.getSubscriptionDefinitionVersion(Consumer<GetSubscriptionDefinitionVersionRequest.Builder> getSubscriptionDefinitionVersionRequest) Retrieves information about a subscription definition version.getSubscriptionDefinitionVersion(GetSubscriptionDefinitionVersionRequest getSubscriptionDefinitionVersionRequest) Retrieves information about a subscription definition version.getThingRuntimeConfiguration(Consumer<GetThingRuntimeConfigurationRequest.Builder> getThingRuntimeConfigurationRequest) Get the runtime configuration of a thing.getThingRuntimeConfiguration(GetThingRuntimeConfigurationRequest getThingRuntimeConfigurationRequest) Get the runtime configuration of a thing.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.listBulkDeploymentDetailedReports(ListBulkDeploymentDetailedReportsRequest listBulkDeploymentDetailedReportsRequest) Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.Returns a list of bulk deployments.listBulkDeployments(Consumer<ListBulkDeploymentsRequest.Builder> listBulkDeploymentsRequest) Returns a list of bulk deployments.listBulkDeployments(ListBulkDeploymentsRequest listBulkDeploymentsRequest) Returns a list of bulk deployments.Retrieves a list of connector definitions.listConnectorDefinitions(Consumer<ListConnectorDefinitionsRequest.Builder> listConnectorDefinitionsRequest) Retrieves a list of connector definitions.listConnectorDefinitions(ListConnectorDefinitionsRequest listConnectorDefinitionsRequest) Retrieves a list of connector definitions.listConnectorDefinitionVersions(Consumer<ListConnectorDefinitionVersionsRequest.Builder> listConnectorDefinitionVersionsRequest) Lists the versions of a connector definition, which are containers for connectors.listConnectorDefinitionVersions(ListConnectorDefinitionVersionsRequest listConnectorDefinitionVersionsRequest) Lists the versions of a connector definition, which are containers for connectors.Retrieves a list of core definitions.listCoreDefinitions(Consumer<ListCoreDefinitionsRequest.Builder> listCoreDefinitionsRequest) Retrieves a list of core definitions.listCoreDefinitions(ListCoreDefinitionsRequest listCoreDefinitionsRequest) Retrieves a list of core definitions.listCoreDefinitionVersions(Consumer<ListCoreDefinitionVersionsRequest.Builder> listCoreDefinitionVersionsRequest) Lists the versions of a core definition.listCoreDefinitionVersions(ListCoreDefinitionVersionsRequest listCoreDefinitionVersionsRequest) Lists the versions of a core definition.default CompletableFuture<ListDeploymentsResponse> listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) Returns a history of deployments for the group.default CompletableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest listDeploymentsRequest) Returns a history of deployments for the group.Retrieves a list of device definitions.listDeviceDefinitions(Consumer<ListDeviceDefinitionsRequest.Builder> listDeviceDefinitionsRequest) Retrieves a list of device definitions.listDeviceDefinitions(ListDeviceDefinitionsRequest listDeviceDefinitionsRequest) Retrieves a list of device definitions.listDeviceDefinitionVersions(Consumer<ListDeviceDefinitionVersionsRequest.Builder> listDeviceDefinitionVersionsRequest) Lists the versions of a device definition.listDeviceDefinitionVersions(ListDeviceDefinitionVersionsRequest listDeviceDefinitionVersionsRequest) Lists the versions of a device definition.Retrieves a list of Lambda function definitions.listFunctionDefinitions(Consumer<ListFunctionDefinitionsRequest.Builder> listFunctionDefinitionsRequest) Retrieves a list of Lambda function definitions.listFunctionDefinitions(ListFunctionDefinitionsRequest listFunctionDefinitionsRequest) Retrieves a list of Lambda function definitions.listFunctionDefinitionVersions(Consumer<ListFunctionDefinitionVersionsRequest.Builder> listFunctionDefinitionVersionsRequest) Lists the versions of a Lambda function definition.listFunctionDefinitionVersions(ListFunctionDefinitionVersionsRequest listFunctionDefinitionVersionsRequest) Lists the versions of a Lambda function definition.listGroupCertificateAuthorities(Consumer<ListGroupCertificateAuthoritiesRequest.Builder> listGroupCertificateAuthoritiesRequest) Retrieves the current CAs for a group.listGroupCertificateAuthorities(ListGroupCertificateAuthoritiesRequest listGroupCertificateAuthoritiesRequest) Retrieves the current CAs for a group.default CompletableFuture<ListGroupsResponse> Retrieves a list of groups.default CompletableFuture<ListGroupsResponse> listGroups(Consumer<ListGroupsRequest.Builder> listGroupsRequest) Retrieves a list of groups.default CompletableFuture<ListGroupsResponse> listGroups(ListGroupsRequest listGroupsRequest) Retrieves a list of groups.listGroupVersions(Consumer<ListGroupVersionsRequest.Builder> listGroupVersionsRequest) Lists the versions of a group.listGroupVersions(ListGroupVersionsRequest listGroupVersionsRequest) Lists the versions of a group.Retrieves a list of logger definitions.listLoggerDefinitions(Consumer<ListLoggerDefinitionsRequest.Builder> listLoggerDefinitionsRequest) Retrieves a list of logger definitions.listLoggerDefinitions(ListLoggerDefinitionsRequest listLoggerDefinitionsRequest) Retrieves a list of logger definitions.listLoggerDefinitionVersions(Consumer<ListLoggerDefinitionVersionsRequest.Builder> listLoggerDefinitionVersionsRequest) Lists the versions of a logger definition.listLoggerDefinitionVersions(ListLoggerDefinitionVersionsRequest listLoggerDefinitionVersionsRequest) Lists the versions of a logger definition.Retrieves a list of resource definitions.listResourceDefinitions(Consumer<ListResourceDefinitionsRequest.Builder> listResourceDefinitionsRequest) Retrieves a list of resource definitions.listResourceDefinitions(ListResourceDefinitionsRequest listResourceDefinitionsRequest) Retrieves a list of resource definitions.listResourceDefinitionVersions(Consumer<ListResourceDefinitionVersionsRequest.Builder> listResourceDefinitionVersionsRequest) Lists the versions of a resource definition.listResourceDefinitionVersions(ListResourceDefinitionVersionsRequest listResourceDefinitionVersionsRequest) Lists the versions of a resource definition.Retrieves a list of subscription definitions.listSubscriptionDefinitions(Consumer<ListSubscriptionDefinitionsRequest.Builder> listSubscriptionDefinitionsRequest) Retrieves a list of subscription definitions.listSubscriptionDefinitions(ListSubscriptionDefinitionsRequest listSubscriptionDefinitionsRequest) Retrieves a list of subscription definitions.listSubscriptionDefinitionVersions(Consumer<ListSubscriptionDefinitionVersionsRequest.Builder> listSubscriptionDefinitionVersionsRequest) Lists the versions of a subscription definition.listSubscriptionDefinitionVersions(ListSubscriptionDefinitionVersionsRequest listSubscriptionDefinitionVersionsRequest) Lists the versions of a subscription definition.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves a list of resource tags for a resource arn.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves a list of resource tags for a resource arn.resetDeployments(Consumer<ResetDeploymentsRequest.Builder> resetDeploymentsRequest) Resets a group's deployments.resetDeployments(ResetDeploymentsRequest resetDeploymentsRequest) Resets a group's deployments.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartBulkDeployment(Consumer<StartBulkDeploymentRequest.Builder> startBulkDeploymentRequest) Deploys multiple groups in one operation.startBulkDeployment(StartBulkDeploymentRequest startBulkDeploymentRequest) Deploys multiple groups in one operation.stopBulkDeployment(Consumer<StopBulkDeploymentRequest.Builder> stopBulkDeploymentRequest) Stops the execution of a bulk deployment.stopBulkDeployment(StopBulkDeploymentRequest stopBulkDeploymentRequest) Stops the execution of a bulk deployment.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a Greengrass resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds tags to a Greengrass resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove resource tags from a Greengrass Resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Remove resource tags from a Greengrass Resource.updateConnectivityInfo(Consumer<UpdateConnectivityInfoRequest.Builder> updateConnectivityInfoRequest) Updates the connectivity information for the core.updateConnectivityInfo(UpdateConnectivityInfoRequest updateConnectivityInfoRequest) Updates the connectivity information for the core.updateConnectorDefinition(Consumer<UpdateConnectorDefinitionRequest.Builder> updateConnectorDefinitionRequest) Updates a connector definition.updateConnectorDefinition(UpdateConnectorDefinitionRequest updateConnectorDefinitionRequest) Updates a connector definition.updateCoreDefinition(Consumer<UpdateCoreDefinitionRequest.Builder> updateCoreDefinitionRequest) Updates a core definition.updateCoreDefinition(UpdateCoreDefinitionRequest updateCoreDefinitionRequest) Updates a core definition.updateDeviceDefinition(Consumer<UpdateDeviceDefinitionRequest.Builder> updateDeviceDefinitionRequest) Updates a device definition.updateDeviceDefinition(UpdateDeviceDefinitionRequest updateDeviceDefinitionRequest) Updates a device definition.updateFunctionDefinition(Consumer<UpdateFunctionDefinitionRequest.Builder> updateFunctionDefinitionRequest) Updates a Lambda function definition.updateFunctionDefinition(UpdateFunctionDefinitionRequest updateFunctionDefinitionRequest) Updates a Lambda function definition.default CompletableFuture<UpdateGroupResponse> updateGroup(Consumer<UpdateGroupRequest.Builder> updateGroupRequest) Updates a group.default CompletableFuture<UpdateGroupResponse> updateGroup(UpdateGroupRequest updateGroupRequest) Updates a group.updateGroupCertificateConfiguration(Consumer<UpdateGroupCertificateConfigurationRequest.Builder> updateGroupCertificateConfigurationRequest) Updates the Certificate expiry time for a group.updateGroupCertificateConfiguration(UpdateGroupCertificateConfigurationRequest updateGroupCertificateConfigurationRequest) Updates the Certificate expiry time for a group.updateLoggerDefinition(Consumer<UpdateLoggerDefinitionRequest.Builder> updateLoggerDefinitionRequest) Updates a logger definition.updateLoggerDefinition(UpdateLoggerDefinitionRequest updateLoggerDefinitionRequest) Updates a logger definition.updateResourceDefinition(Consumer<UpdateResourceDefinitionRequest.Builder> updateResourceDefinitionRequest) Updates a resource definition.updateResourceDefinition(UpdateResourceDefinitionRequest updateResourceDefinitionRequest) Updates a resource definition.updateSubscriptionDefinition(Consumer<UpdateSubscriptionDefinitionRequest.Builder> updateSubscriptionDefinitionRequest) Updates a subscription definition.updateSubscriptionDefinition(UpdateSubscriptionDefinitionRequest updateSubscriptionDefinitionRequest) Updates a subscription definition.updateThingRuntimeConfiguration(Consumer<UpdateThingRuntimeConfigurationRequest.Builder> updateThingRuntimeConfigurationRequest) Updates the runtime configuration of a thing.updateThingRuntimeConfiguration(UpdateThingRuntimeConfigurationRequest updateThingRuntimeConfigurationRequest) Updates the runtime configuration of a thing.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaAssociateRoleToGroupRequest.builder()- Parameters:
associateRoleToGroupRequest- AConsumerthat will call methods onAssociateRoleToGroupRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaAssociateServiceRoleToAccountRequest.builder()- Parameters:
associateServiceRoleToAccountRequest- AConsumerthat will call methods onAssociateServiceRoleToAccountRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateConnectorDefinitionRequest.builder()- Parameters:
createConnectorDefinitionRequest- AConsumerthat will call methods onCreateConnectorDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
createConnectorDefinitionVersion
default CompletableFuture<CreateConnectorDefinitionVersionResponse> createConnectorDefinitionVersion(Consumer<CreateConnectorDefinitionVersionRequest.Builder> createConnectorDefinitionVersionRequest) Creates a version of a connector definition which has already been defined.
This is a convenience which creates an instance of the
CreateConnectorDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateConnectorDefinitionVersionRequest.builder()- Parameters:
createConnectorDefinitionVersionRequest- AConsumerthat will call methods onCreateConnectorDefinitionVersionRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateCoreDefinitionRequest.builder()- Parameters:
createCoreDefinitionRequest- AConsumerthat will call methods onCreateCoreDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateCoreDefinitionVersionRequest.builder()- Parameters:
createCoreDefinitionVersionRequest- AConsumerthat will call methods onCreateCoreDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateDeploymentRequest.builder()- Parameters:
createDeploymentRequest- AConsumerthat will call methods onCreateDeploymentRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateDeviceDefinitionRequest.builder()- Parameters:
createDeviceDefinitionRequest- AConsumerthat will call methods onCreateDeviceDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateDeviceDefinitionVersionRequest.builder()- Parameters:
createDeviceDefinitionVersionRequest- AConsumerthat will call methods onCreateDeviceDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateFunctionDefinitionRequest.builder()- Parameters:
createFunctionDefinitionRequest- AConsumerthat will call methods onCreateFunctionDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateFunctionDefinitionVersionRequest.builder()- Parameters:
createFunctionDefinitionVersionRequest- AConsumerthat will call methods onCreateFunctionDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
createGroup
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateGroupRequest.builder()- Parameters:
createGroupRequest- AConsumerthat will call methods onCreateGroupRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateGroupCertificateAuthorityRequest.builder()- Parameters:
createGroupCertificateAuthorityRequest- AConsumerthat will call methods onCreateGroupCertificateAuthorityRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateGroupVersionRequest.builder()- Parameters:
createGroupVersionRequest- AConsumerthat will call methods onCreateGroupVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateLoggerDefinitionRequest.builder()- Parameters:
createLoggerDefinitionRequest- AConsumerthat will call methods onCreateLoggerDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateLoggerDefinitionVersionRequest.builder()- Parameters:
createLoggerDefinitionVersionRequest- AConsumerthat will call methods onCreateLoggerDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateResourceDefinitionRequest.builder()- Parameters:
createResourceDefinitionRequest- AConsumerthat will call methods onCreateResourceDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
createResourceDefinitionVersion
default CompletableFuture<CreateResourceDefinitionVersionResponse> createResourceDefinitionVersion(Consumer<CreateResourceDefinitionVersionRequest.Builder> createResourceDefinitionVersionRequest) Creates a version of a resource definition that has already been defined.
This is a convenience which creates an instance of the
CreateResourceDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateResourceDefinitionVersionRequest.builder()- Parameters:
createResourceDefinitionVersionRequest- AConsumerthat will call methods onCreateResourceDefinitionVersionRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateSoftwareUpdateJobRequest.builder()- Parameters:
createSoftwareUpdateJobRequest- AConsumerthat will call methods onCreateSoftwareUpdateJobRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaCreateSubscriptionDefinitionRequest.builder()- Parameters:
createSubscriptionDefinitionRequest- AConsumerthat will call methods onCreateSubscriptionDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
createSubscriptionDefinitionVersion
default CompletableFuture<CreateSubscriptionDefinitionVersionResponse> createSubscriptionDefinitionVersion(Consumer<CreateSubscriptionDefinitionVersionRequest.Builder> createSubscriptionDefinitionVersionRequest) Creates a version of a subscription definition which has already been defined.
This is a convenience which creates an instance of the
CreateSubscriptionDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateSubscriptionDefinitionVersionRequest.builder()- Parameters:
createSubscriptionDefinitionVersionRequest- AConsumerthat will call methods onCreateSubscriptionDefinitionVersionRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
deleteConnectorDefinition
default CompletableFuture<DeleteConnectorDefinitionResponse> deleteConnectorDefinition(Consumer<DeleteConnectorDefinitionRequest.Builder> deleteConnectorDefinitionRequest) Deletes a connector definition.
This is a convenience which creates an instance of the
DeleteConnectorDefinitionRequest.Builderavoiding the need to create one manually viaDeleteConnectorDefinitionRequest.builder()- Parameters:
deleteConnectorDefinitionRequest- AConsumerthat will call methods onDeleteConnectorDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
deleteCoreDefinition
default CompletableFuture<DeleteCoreDefinitionResponse> deleteCoreDefinition(Consumer<DeleteCoreDefinitionRequest.Builder> deleteCoreDefinitionRequest) Deletes a core definition.
This is a convenience which creates an instance of the
DeleteCoreDefinitionRequest.Builderavoiding the need to create one manually viaDeleteCoreDefinitionRequest.builder()- Parameters:
deleteCoreDefinitionRequest- AConsumerthat will call methods onDeleteCoreDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
deleteDeviceDefinition
default CompletableFuture<DeleteDeviceDefinitionResponse> deleteDeviceDefinition(Consumer<DeleteDeviceDefinitionRequest.Builder> deleteDeviceDefinitionRequest) Deletes a device definition.
This is a convenience which creates an instance of the
DeleteDeviceDefinitionRequest.Builderavoiding the need to create one manually viaDeleteDeviceDefinitionRequest.builder()- Parameters:
deleteDeviceDefinitionRequest- AConsumerthat will call methods onDeleteDeviceDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaDeleteFunctionDefinitionRequest.builder()- Parameters:
deleteFunctionDefinitionRequest- AConsumerthat will call methods onDeleteFunctionDefinitionRequest.Builderto 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 invokeThrowable.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:
-
deleteGroup
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 invokeThrowable.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:
-
deleteGroup
default CompletableFuture<DeleteGroupResponse> deleteGroup(Consumer<DeleteGroupRequest.Builder> deleteGroupRequest) Deletes a group.
This is a convenience which creates an instance of the
DeleteGroupRequest.Builderavoiding the need to create one manually viaDeleteGroupRequest.builder()- Parameters:
deleteGroupRequest- AConsumerthat will call methods onDeleteGroupRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
deleteLoggerDefinition
default CompletableFuture<DeleteLoggerDefinitionResponse> deleteLoggerDefinition(Consumer<DeleteLoggerDefinitionRequest.Builder> deleteLoggerDefinitionRequest) Deletes a logger definition.
This is a convenience which creates an instance of the
DeleteLoggerDefinitionRequest.Builderavoiding the need to create one manually viaDeleteLoggerDefinitionRequest.builder()- Parameters:
deleteLoggerDefinitionRequest- AConsumerthat will call methods onDeleteLoggerDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
deleteResourceDefinition
default CompletableFuture<DeleteResourceDefinitionResponse> deleteResourceDefinition(Consumer<DeleteResourceDefinitionRequest.Builder> deleteResourceDefinitionRequest) Deletes a resource definition.
This is a convenience which creates an instance of the
DeleteResourceDefinitionRequest.Builderavoiding the need to create one manually viaDeleteResourceDefinitionRequest.builder()- Parameters:
deleteResourceDefinitionRequest- AConsumerthat will call methods onDeleteResourceDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
deleteSubscriptionDefinition
default CompletableFuture<DeleteSubscriptionDefinitionResponse> deleteSubscriptionDefinition(Consumer<DeleteSubscriptionDefinitionRequest.Builder> deleteSubscriptionDefinitionRequest) Deletes a subscription definition.
This is a convenience which creates an instance of the
DeleteSubscriptionDefinitionRequest.Builderavoiding the need to create one manually viaDeleteSubscriptionDefinitionRequest.builder()- Parameters:
deleteSubscriptionDefinitionRequest- AConsumerthat will call methods onDeleteSubscriptionDefinitionRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaDisassociateRoleFromGroupRequest.builder()- Parameters:
disassociateRoleFromGroupRequest- AConsumerthat will call methods onDisassociateRoleFromGroupRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
disassociateServiceRoleFromAccount
default CompletableFuture<DisassociateServiceRoleFromAccountResponse> disassociateServiceRoleFromAccount(Consumer<DisassociateServiceRoleFromAccountRequest.Builder> disassociateServiceRoleFromAccountRequest) Disassociates the service role from your account. Without a service role, deployments will not work.
This is a convenience which creates an instance of the
DisassociateServiceRoleFromAccountRequest.Builderavoiding the need to create one manually viaDisassociateServiceRoleFromAccountRequest.builder()- Parameters:
disassociateServiceRoleFromAccountRequest- AConsumerthat will call methods onDisassociateServiceRoleFromAccountRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetAssociatedRoleRequest.builder()- Parameters:
getAssociatedRoleRequest- AConsumerthat will call methods onGetAssociatedRoleRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetBulkDeploymentStatusRequest.builder()- Parameters:
getBulkDeploymentStatusRequest- AConsumerthat will call methods onGetBulkDeploymentStatusRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetConnectivityInfoRequest.builder()- Parameters:
getConnectivityInfoRequest- AConsumerthat will call methods onGetConnectivityInfoRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetConnectorDefinitionRequest.builder()- Parameters:
getConnectorDefinitionRequest- AConsumerthat will call methods onGetConnectorDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetConnectorDefinitionVersionRequest.builder()- Parameters:
getConnectorDefinitionVersionRequest- AConsumerthat will call methods onGetConnectorDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetCoreDefinitionRequest.builder()- Parameters:
getCoreDefinitionRequest- AConsumerthat will call methods onGetCoreDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetCoreDefinitionVersionRequest.builder()- Parameters:
getCoreDefinitionVersionRequest- AConsumerthat will call methods onGetCoreDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetDeploymentStatusRequest.builder()- Parameters:
getDeploymentStatusRequest- AConsumerthat will call methods onGetDeploymentStatusRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetDeviceDefinitionRequest.builder()- Parameters:
getDeviceDefinitionRequest- AConsumerthat will call methods onGetDeviceDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetDeviceDefinitionVersionRequest.builder()- Parameters:
getDeviceDefinitionVersionRequest- AConsumerthat will call methods onGetDeviceDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetFunctionDefinitionRequest.builder()- Parameters:
getFunctionDefinitionRequest- AConsumerthat will call methods onGetFunctionDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetFunctionDefinitionVersionRequest.builder()- Parameters:
getFunctionDefinitionVersionRequest- AConsumerthat will call methods onGetFunctionDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
getGroup
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetGroupRequest.builder()- Parameters:
getGroupRequest- AConsumerthat will call methods onGetGroupRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetGroupCertificateAuthorityRequest.builder()- Parameters:
getGroupCertificateAuthorityRequest- AConsumerthat will call methods onGetGroupCertificateAuthorityRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
getGroupCertificateConfiguration
default CompletableFuture<GetGroupCertificateConfigurationResponse> getGroupCertificateConfiguration(Consumer<GetGroupCertificateConfigurationRequest.Builder> getGroupCertificateConfigurationRequest) Retrieves the current configuration for the CA used by the group.
This is a convenience which creates an instance of the
GetGroupCertificateConfigurationRequest.Builderavoiding the need to create one manually viaGetGroupCertificateConfigurationRequest.builder()- Parameters:
getGroupCertificateConfigurationRequest- AConsumerthat will call methods onGetGroupCertificateConfigurationRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetGroupVersionRequest.builder()- Parameters:
getGroupVersionRequest- AConsumerthat will call methods onGetGroupVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetLoggerDefinitionRequest.builder()- Parameters:
getLoggerDefinitionRequest- AConsumerthat will call methods onGetLoggerDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetLoggerDefinitionVersionRequest.builder()- Parameters:
getLoggerDefinitionVersionRequest- AConsumerthat will call methods onGetLoggerDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetResourceDefinitionRequest.builder()- Parameters:
getResourceDefinitionRequest- AConsumerthat will call methods onGetResourceDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetResourceDefinitionVersionRequest.builder()- Parameters:
getResourceDefinitionVersionRequest- AConsumerthat will call methods onGetResourceDefinitionVersionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetServiceRoleForAccountRequest.builder()- Parameters:
getServiceRoleForAccountRequest- AConsumerthat will call methods onGetServiceRoleForAccountRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetSubscriptionDefinitionRequest.builder()- Parameters:
getSubscriptionDefinitionRequest- AConsumerthat will call methods onGetSubscriptionDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
getSubscriptionDefinitionVersion
default CompletableFuture<GetSubscriptionDefinitionVersionResponse> getSubscriptionDefinitionVersion(Consumer<GetSubscriptionDefinitionVersionRequest.Builder> getSubscriptionDefinitionVersionRequest) Retrieves information about a subscription definition version.
This is a convenience which creates an instance of the
GetSubscriptionDefinitionVersionRequest.Builderavoiding the need to create one manually viaGetSubscriptionDefinitionVersionRequest.builder()- Parameters:
getSubscriptionDefinitionVersionRequest- AConsumerthat will call methods onGetSubscriptionDefinitionVersionRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaGetThingRuntimeConfigurationRequest.builder()- Parameters:
getThingRuntimeConfigurationRequest- AConsumerthat will call methods onGetThingRuntimeConfigurationRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListBulkDeploymentDetailedReportsRequest.builder()- Parameters:
listBulkDeploymentDetailedReportsRequest- AConsumerthat will call methods onListBulkDeploymentDetailedReportsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListBulkDeploymentsRequest.builder()- Parameters:
listBulkDeploymentsRequest- AConsumerthat will call methods onListBulkDeploymentsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListConnectorDefinitionVersionsRequest.builder()- Parameters:
listConnectorDefinitionVersionsRequest- AConsumerthat will call methods onListConnectorDefinitionVersionsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListConnectorDefinitionsRequest.builder()- Parameters:
listConnectorDefinitionsRequest- AConsumerthat will call methods onListConnectorDefinitionsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListCoreDefinitionVersionsRequest.builder()- Parameters:
listCoreDefinitionVersionsRequest- AConsumerthat will call methods onListCoreDefinitionVersionsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListCoreDefinitionsRequest.builder()- Parameters:
listCoreDefinitionsRequest- AConsumerthat will call methods onListCoreDefinitionsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
listDeviceDefinitionVersions
default CompletableFuture<ListDeviceDefinitionVersionsResponse> listDeviceDefinitionVersions(Consumer<ListDeviceDefinitionVersionsRequest.Builder> listDeviceDefinitionVersionsRequest) Lists the versions of a device definition.
This is a convenience which creates an instance of the
ListDeviceDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListDeviceDefinitionVersionsRequest.builder()- Parameters:
listDeviceDefinitionVersionsRequest- AConsumerthat will call methods onListDeviceDefinitionVersionsRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListDeviceDefinitionsRequest.builder()- Parameters:
listDeviceDefinitionsRequest- AConsumerthat will call methods onListDeviceDefinitionsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
listFunctionDefinitionVersions
default CompletableFuture<ListFunctionDefinitionVersionsResponse> listFunctionDefinitionVersions(Consumer<ListFunctionDefinitionVersionsRequest.Builder> listFunctionDefinitionVersionsRequest) Lists the versions of a Lambda function definition.
This is a convenience which creates an instance of the
ListFunctionDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListFunctionDefinitionVersionsRequest.builder()- Parameters:
listFunctionDefinitionVersionsRequest- AConsumerthat will call methods onListFunctionDefinitionVersionsRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListFunctionDefinitionsRequest.builder()- Parameters:
listFunctionDefinitionsRequest- AConsumerthat will call methods onListFunctionDefinitionsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
listGroupCertificateAuthorities
default CompletableFuture<ListGroupCertificateAuthoritiesResponse> listGroupCertificateAuthorities(Consumer<ListGroupCertificateAuthoritiesRequest.Builder> listGroupCertificateAuthoritiesRequest) Retrieves the current CAs for a group.
This is a convenience which creates an instance of the
ListGroupCertificateAuthoritiesRequest.Builderavoiding the need to create one manually viaListGroupCertificateAuthoritiesRequest.builder()- Parameters:
listGroupCertificateAuthoritiesRequest- AConsumerthat will call methods onListGroupCertificateAuthoritiesRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListGroupVersionsRequest.builder()- Parameters:
listGroupVersionsRequest- AConsumerthat will call methods onListGroupVersionsRequest.Builderto 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 invokeThrowable.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:
-
listGroups
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListGroupsRequest.builder()- Parameters:
listGroupsRequest- AConsumerthat will call methods onListGroupsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
listLoggerDefinitionVersions
default CompletableFuture<ListLoggerDefinitionVersionsResponse> listLoggerDefinitionVersions(Consumer<ListLoggerDefinitionVersionsRequest.Builder> listLoggerDefinitionVersionsRequest) Lists the versions of a logger definition.
This is a convenience which creates an instance of the
ListLoggerDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListLoggerDefinitionVersionsRequest.builder()- Parameters:
listLoggerDefinitionVersionsRequest- AConsumerthat will call methods onListLoggerDefinitionVersionsRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListLoggerDefinitionsRequest.builder()- Parameters:
listLoggerDefinitionsRequest- AConsumerthat will call methods onListLoggerDefinitionsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
listResourceDefinitionVersions
default CompletableFuture<ListResourceDefinitionVersionsResponse> listResourceDefinitionVersions(Consumer<ListResourceDefinitionVersionsRequest.Builder> listResourceDefinitionVersionsRequest) Lists the versions of a resource definition.
This is a convenience which creates an instance of the
ListResourceDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListResourceDefinitionVersionsRequest.builder()- Parameters:
listResourceDefinitionVersionsRequest- AConsumerthat will call methods onListResourceDefinitionVersionsRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListResourceDefinitionsRequest.builder()- Parameters:
listResourceDefinitionsRequest- AConsumerthat will call methods onListResourceDefinitionsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
listSubscriptionDefinitionVersions
default CompletableFuture<ListSubscriptionDefinitionVersionsResponse> listSubscriptionDefinitionVersions(Consumer<ListSubscriptionDefinitionVersionsRequest.Builder> listSubscriptionDefinitionVersionsRequest) Lists the versions of a subscription definition.
This is a convenience which creates an instance of the
ListSubscriptionDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListSubscriptionDefinitionVersionsRequest.builder()- Parameters:
listSubscriptionDefinitionVersionsRequest- AConsumerthat will call methods onListSubscriptionDefinitionVersionsRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
listSubscriptionDefinitions
default CompletableFuture<ListSubscriptionDefinitionsResponse> listSubscriptionDefinitions(Consumer<ListSubscriptionDefinitionsRequest.Builder> listSubscriptionDefinitionsRequest) Retrieves a list of subscription definitions.
This is a convenience which creates an instance of the
ListSubscriptionDefinitionsRequest.Builderavoiding the need to create one manually viaListSubscriptionDefinitionsRequest.builder()- Parameters:
listSubscriptionDefinitionsRequest- AConsumerthat will call methods onListSubscriptionDefinitionsRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaResetDeploymentsRequest.builder()- Parameters:
resetDeploymentsRequest- AConsumerthat will call methods onResetDeploymentsRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaStartBulkDeploymentRequest.builder()- Parameters:
startBulkDeploymentRequest- AConsumerthat will call methods onStartBulkDeploymentRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaStopBulkDeploymentRequest.builder()- Parameters:
stopBulkDeploymentRequest- AConsumerthat will call methods onStopBulkDeploymentRequest.Builderto 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 invokeThrowable.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:
-
tagResource
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaUpdateConnectivityInfoRequest.builder()- Parameters:
updateConnectivityInfoRequest- AConsumerthat will call methods onUpdateConnectivityInfoRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
updateConnectorDefinition
default CompletableFuture<UpdateConnectorDefinitionResponse> updateConnectorDefinition(Consumer<UpdateConnectorDefinitionRequest.Builder> updateConnectorDefinitionRequest) Updates a connector definition.
This is a convenience which creates an instance of the
UpdateConnectorDefinitionRequest.Builderavoiding the need to create one manually viaUpdateConnectorDefinitionRequest.builder()- Parameters:
updateConnectorDefinitionRequest- AConsumerthat will call methods onUpdateConnectorDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
updateCoreDefinition
default CompletableFuture<UpdateCoreDefinitionResponse> updateCoreDefinition(Consumer<UpdateCoreDefinitionRequest.Builder> updateCoreDefinitionRequest) Updates a core definition.
This is a convenience which creates an instance of the
UpdateCoreDefinitionRequest.Builderavoiding the need to create one manually viaUpdateCoreDefinitionRequest.builder()- Parameters:
updateCoreDefinitionRequest- AConsumerthat will call methods onUpdateCoreDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
updateDeviceDefinition
default CompletableFuture<UpdateDeviceDefinitionResponse> updateDeviceDefinition(Consumer<UpdateDeviceDefinitionRequest.Builder> updateDeviceDefinitionRequest) Updates a device definition.
This is a convenience which creates an instance of the
UpdateDeviceDefinitionRequest.Builderavoiding the need to create one manually viaUpdateDeviceDefinitionRequest.builder()- Parameters:
updateDeviceDefinitionRequest- AConsumerthat will call methods onUpdateDeviceDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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.Builderavoiding the need to create one manually viaUpdateFunctionDefinitionRequest.builder()- Parameters:
updateFunctionDefinitionRequest- AConsumerthat will call methods onUpdateFunctionDefinitionRequest.Builderto 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 invokeThrowable.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:
-
updateGroup
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 invokeThrowable.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:
-
updateGroup
default CompletableFuture<UpdateGroupResponse> updateGroup(Consumer<UpdateGroupRequest.Builder> updateGroupRequest) Updates a group.
This is a convenience which creates an instance of the
UpdateGroupRequest.Builderavoiding the need to create one manually viaUpdateGroupRequest.builder()- Parameters:
updateGroupRequest- AConsumerthat will call methods onUpdateGroupRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
updateGroupCertificateConfiguration
default CompletableFuture<UpdateGroupCertificateConfigurationResponse> updateGroupCertificateConfiguration(Consumer<UpdateGroupCertificateConfigurationRequest.Builder> updateGroupCertificateConfigurationRequest) Updates the Certificate expiry time for a group.
This is a convenience which creates an instance of the
UpdateGroupCertificateConfigurationRequest.Builderavoiding the need to create one manually viaUpdateGroupCertificateConfigurationRequest.builder()- Parameters:
updateGroupCertificateConfigurationRequest- AConsumerthat will call methods onUpdateGroupCertificateConfigurationRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
updateLoggerDefinition
default CompletableFuture<UpdateLoggerDefinitionResponse> updateLoggerDefinition(Consumer<UpdateLoggerDefinitionRequest.Builder> updateLoggerDefinitionRequest) Updates a logger definition.
This is a convenience which creates an instance of the
UpdateLoggerDefinitionRequest.Builderavoiding the need to create one manually viaUpdateLoggerDefinitionRequest.builder()- Parameters:
updateLoggerDefinitionRequest- AConsumerthat will call methods onUpdateLoggerDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
updateResourceDefinition
default CompletableFuture<UpdateResourceDefinitionResponse> updateResourceDefinition(Consumer<UpdateResourceDefinitionRequest.Builder> updateResourceDefinitionRequest) Updates a resource definition.
This is a convenience which creates an instance of the
UpdateResourceDefinitionRequest.Builderavoiding the need to create one manually viaUpdateResourceDefinitionRequest.builder()- Parameters:
updateResourceDefinitionRequest- AConsumerthat will call methods onUpdateResourceDefinitionRequest.Builderto 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
updateSubscriptionDefinition
default CompletableFuture<UpdateSubscriptionDefinitionResponse> updateSubscriptionDefinition(Consumer<UpdateSubscriptionDefinitionRequest.Builder> updateSubscriptionDefinitionRequest) Updates a subscription definition.
This is a convenience which creates an instance of the
UpdateSubscriptionDefinitionRequest.Builderavoiding the need to create one manually viaUpdateSubscriptionDefinitionRequest.builder()- Parameters:
updateSubscriptionDefinitionRequest- AConsumerthat will call methods onUpdateSubscriptionDefinitionRequest.Builderto create a request.- 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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
updateThingRuntimeConfiguration
default CompletableFuture<UpdateThingRuntimeConfigurationResponse> updateThingRuntimeConfiguration(Consumer<UpdateThingRuntimeConfigurationRequest.Builder> updateThingRuntimeConfigurationRequest) Updates the runtime configuration of a thing.
This is a convenience which creates an instance of the
UpdateThingRuntimeConfigurationRequest.Builderavoiding the need to create one manually viaUpdateThingRuntimeConfigurationRequest.builder()- Parameters:
updateThingRuntimeConfigurationRequest- AConsumerthat will call methods onUpdateThingRuntimeConfigurationRequest.Builderto create a request.- 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 invokeThrowable.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:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aGreengrassAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aGreengrassAsyncClient.
-