Interface GreengrassAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value 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 GreengrassAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aGreengrassAsyncClient
.static GreengrassAsyncClient
create()
Create aGreengrassAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and 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
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
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.- 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.Builder
avoiding the need to create one manually viaAssociateRoleToGroupRequest.builder()
- Parameters:
associateRoleToGroupRequest
- AConsumer
that will call methods onAssociateRoleToGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateRoleToGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- 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.Builder
avoiding the need to create one manually viaAssociateServiceRoleToAccountRequest.builder()
- Parameters:
associateServiceRoleToAccountRequest
- AConsumer
that will call methods onAssociateServiceRoleToAccountRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateServiceRoleToAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateConnectorDefinitionRequest.builder()
- Parameters:
createConnectorDefinitionRequest
- AConsumer
that will call methods onCreateConnectorDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateConnectorDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateConnectorDefinitionVersionRequest.builder()
- Parameters:
createConnectorDefinitionVersionRequest
- AConsumer
that will call methods onCreateConnectorDefinitionVersionRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateCoreDefinitionRequest.builder()
- Parameters:
createCoreDefinitionRequest
- AConsumer
that will call methods onCreateCoreDefinitionRequest.Builder
to create a request. Information needed to create a core definition.- Returns:
- A Java Future containing the result of the CreateCoreDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateCoreDefinitionVersionRequest.builder()
- Parameters:
createCoreDefinitionVersionRequest
- AConsumer
that will call methods onCreateCoreDefinitionVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateCoreDefinitionVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateDeploymentRequest.builder()
- Parameters:
createDeploymentRequest
- AConsumer
that will call methods onCreateDeploymentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateDeviceDefinitionRequest.builder()
- Parameters:
createDeviceDefinitionRequest
- AConsumer
that will call methods onCreateDeviceDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDeviceDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateDeviceDefinitionVersionRequest.builder()
- Parameters:
createDeviceDefinitionVersionRequest
- AConsumer
that will call methods onCreateDeviceDefinitionVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDeviceDefinitionVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateFunctionDefinitionRequest.builder()
- Parameters:
createFunctionDefinitionRequest
- AConsumer
that will call methods onCreateFunctionDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateFunctionDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateFunctionDefinitionVersionRequest.builder()
- Parameters:
createFunctionDefinitionVersionRequest
- AConsumer
that will call methods onCreateFunctionDefinitionVersionRequest.Builder
to create a request. Information needed to create a function definition version.- Returns:
- A Java Future containing the result of the CreateFunctionDefinitionVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateGroupRequest.builder()
- Parameters:
createGroupRequest
- AConsumer
that will call methods onCreateGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaCreateGroupCertificateAuthorityRequest.builder()
- Parameters:
createGroupCertificateAuthorityRequest
- AConsumer
that will call methods onCreateGroupCertificateAuthorityRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateGroupCertificateAuthority operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateGroupVersionRequest.builder()
- Parameters:
createGroupVersionRequest
- AConsumer
that will call methods onCreateGroupVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateGroupVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateLoggerDefinitionRequest.builder()
- Parameters:
createLoggerDefinitionRequest
- AConsumer
that will call methods onCreateLoggerDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateLoggerDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateLoggerDefinitionVersionRequest.builder()
- Parameters:
createLoggerDefinitionVersionRequest
- AConsumer
that will call methods onCreateLoggerDefinitionVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateLoggerDefinitionVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateResourceDefinitionRequest.builder()
- Parameters:
createResourceDefinitionRequest
- AConsumer
that will call methods onCreateResourceDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResourceDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateResourceDefinitionVersionRequest.builder()
- Parameters:
createResourceDefinitionVersionRequest
- AConsumer
that will call methods onCreateResourceDefinitionVersionRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaCreateSoftwareUpdateJobRequest.builder()
- Parameters:
createSoftwareUpdateJobRequest
- AConsumer
that will call methods onCreateSoftwareUpdateJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSoftwareUpdateJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateSubscriptionDefinitionRequest.builder()
- Parameters:
createSubscriptionDefinitionRequest
- AConsumer
that will call methods onCreateSubscriptionDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSubscriptionDefinition operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaCreateSubscriptionDefinitionVersionRequest.builder()
- Parameters:
createSubscriptionDefinitionVersionRequest
- AConsumer
that will call methods onCreateSubscriptionDefinitionVersionRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaDeleteConnectorDefinitionRequest.builder()
- Parameters:
deleteConnectorDefinitionRequest
- AConsumer
that will call methods onDeleteConnectorDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteConnectorDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaDeleteCoreDefinitionRequest.builder()
- Parameters:
deleteCoreDefinitionRequest
- AConsumer
that will call methods onDeleteCoreDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCoreDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaDeleteDeviceDefinitionRequest.builder()
- Parameters:
deleteDeviceDefinitionRequest
- AConsumer
that will call methods onDeleteDeviceDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDeviceDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaDeleteFunctionDefinitionRequest.builder()
- Parameters:
deleteFunctionDefinitionRequest
- AConsumer
that will call methods onDeleteFunctionDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteFunctionDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaDeleteGroupRequest.builder()
- Parameters:
deleteGroupRequest
- AConsumer
that will call methods onDeleteGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaDeleteLoggerDefinitionRequest.builder()
- Parameters:
deleteLoggerDefinitionRequest
- AConsumer
that will call methods onDeleteLoggerDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteLoggerDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaDeleteResourceDefinitionRequest.builder()
- Parameters:
deleteResourceDefinitionRequest
- AConsumer
that will call methods onDeleteResourceDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourceDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaDeleteSubscriptionDefinitionRequest.builder()
- Parameters:
deleteSubscriptionDefinitionRequest
- AConsumer
that will call methods onDeleteSubscriptionDefinitionRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaDisassociateRoleFromGroupRequest.builder()
- Parameters:
disassociateRoleFromGroupRequest
- AConsumer
that will call methods onDisassociateRoleFromGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateRoleFromGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- 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.Builder
avoiding the need to create one manually viaDisassociateServiceRoleFromAccountRequest.builder()
- Parameters:
disassociateServiceRoleFromAccountRequest
- AConsumer
that will call methods onDisassociateServiceRoleFromAccountRequest.Builder
to 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.- 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.- 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.- 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.Builder
avoiding the need to create one manually viaGetAssociatedRoleRequest.builder()
- Parameters:
getAssociatedRoleRequest
- AConsumer
that will call methods onGetAssociatedRoleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAssociatedRole operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetBulkDeploymentStatusRequest.builder()
- Parameters:
getBulkDeploymentStatusRequest
- AConsumer
that will call methods onGetBulkDeploymentStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetBulkDeploymentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaGetConnectivityInfoRequest.builder()
- Parameters:
getConnectivityInfoRequest
- AConsumer
that will call methods onGetConnectivityInfoRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetConnectivityInfo operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetConnectorDefinitionRequest.builder()
- Parameters:
getConnectorDefinitionRequest
- AConsumer
that will call methods onGetConnectorDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetConnectorDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetConnectorDefinitionVersionRequest.builder()
- Parameters:
getConnectorDefinitionVersionRequest
- AConsumer
that will call methods onGetConnectorDefinitionVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetConnectorDefinitionVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetCoreDefinitionRequest.builder()
- Parameters:
getCoreDefinitionRequest
- AConsumer
that will call methods onGetCoreDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCoreDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetCoreDefinitionVersionRequest.builder()
- Parameters:
getCoreDefinitionVersionRequest
- AConsumer
that will call methods onGetCoreDefinitionVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCoreDefinitionVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetDeploymentStatusRequest.builder()
- Parameters:
getDeploymentStatusRequest
- AConsumer
that will call methods onGetDeploymentStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDeploymentStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetDeviceDefinitionRequest.builder()
- Parameters:
getDeviceDefinitionRequest
- AConsumer
that will call methods onGetDeviceDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDeviceDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetDeviceDefinitionVersionRequest.builder()
- Parameters:
getDeviceDefinitionVersionRequest
- AConsumer
that will call methods onGetDeviceDefinitionVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDeviceDefinitionVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetFunctionDefinitionRequest.builder()
- Parameters:
getFunctionDefinitionRequest
- AConsumer
that will call methods onGetFunctionDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFunctionDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetFunctionDefinitionVersionRequest.builder()
- Parameters:
getFunctionDefinitionVersionRequest
- AConsumer
that will call methods onGetFunctionDefinitionVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFunctionDefinitionVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetGroupRequest.builder()
- Parameters:
getGroupRequest
- AConsumer
that will call methods onGetGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaGetGroupCertificateAuthorityRequest.builder()
- Parameters:
getGroupCertificateAuthorityRequest
- AConsumer
that will call methods onGetGroupCertificateAuthorityRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetGroupCertificateAuthority operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- 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.Builder
avoiding the need to create one manually viaGetGroupCertificateConfigurationRequest.builder()
- Parameters:
getGroupCertificateConfigurationRequest
- AConsumer
that will call methods onGetGroupCertificateConfigurationRequest.Builder
to 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.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetGroupVersionRequest.builder()
- Parameters:
getGroupVersionRequest
- AConsumer
that will call methods onGetGroupVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetGroupVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetLoggerDefinitionRequest.builder()
- Parameters:
getLoggerDefinitionRequest
- AConsumer
that will call methods onGetLoggerDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetLoggerDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetLoggerDefinitionVersionRequest.builder()
- Parameters:
getLoggerDefinitionVersionRequest
- AConsumer
that will call methods onGetLoggerDefinitionVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetLoggerDefinitionVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetResourceDefinitionRequest.builder()
- Parameters:
getResourceDefinitionRequest
- AConsumer
that will call methods onGetResourceDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResourceDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetResourceDefinitionVersionRequest.builder()
- Parameters:
getResourceDefinitionVersionRequest
- AConsumer
that will call methods onGetResourceDefinitionVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResourceDefinitionVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaGetServiceRoleForAccountRequest.builder()
- Parameters:
getServiceRoleForAccountRequest
- AConsumer
that will call methods onGetServiceRoleForAccountRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetServiceRoleForAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetSubscriptionDefinitionRequest.builder()
- Parameters:
getSubscriptionDefinitionRequest
- AConsumer
that will call methods onGetSubscriptionDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSubscriptionDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaGetSubscriptionDefinitionVersionRequest.builder()
- Parameters:
getSubscriptionDefinitionVersionRequest
- AConsumer
that will call methods onGetSubscriptionDefinitionVersionRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaGetThingRuntimeConfigurationRequest.builder()
- Parameters:
getThingRuntimeConfigurationRequest
- AConsumer
that will call methods onGetThingRuntimeConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetThingRuntimeConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListBulkDeploymentDetailedReportsRequest.builder()
- Parameters:
listBulkDeploymentDetailedReportsRequest
- AConsumer
that will call methods onListBulkDeploymentDetailedReportsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBulkDeploymentDetailedReports operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListBulkDeploymentsRequest.builder()
- Parameters:
listBulkDeploymentsRequest
- AConsumer
that will call methods onListBulkDeploymentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBulkDeployments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListConnectorDefinitionVersionsRequest.builder()
- Parameters:
listConnectorDefinitionVersionsRequest
- AConsumer
that will call methods onListConnectorDefinitionVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListConnectorDefinitionVersions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListConnectorDefinitionsRequest.builder()
- Parameters:
listConnectorDefinitionsRequest
- AConsumer
that will call methods onListConnectorDefinitionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListConnectorDefinitions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListCoreDefinitionVersionsRequest.builder()
- Parameters:
listCoreDefinitionVersionsRequest
- AConsumer
that will call methods onListCoreDefinitionVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCoreDefinitionVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListCoreDefinitionsRequest.builder()
- Parameters:
listCoreDefinitionsRequest
- AConsumer
that will call methods onListCoreDefinitionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCoreDefinitions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListDeploymentsRequest.builder()
- Parameters:
listDeploymentsRequest
- AConsumer
that will call methods onListDeploymentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDeployments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListDeviceDefinitionVersionsRequest.builder()
- Parameters:
listDeviceDefinitionVersionsRequest
- AConsumer
that will call methods onListDeviceDefinitionVersionsRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListDeviceDefinitionsRequest.builder()
- Parameters:
listDeviceDefinitionsRequest
- AConsumer
that will call methods onListDeviceDefinitionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDeviceDefinitions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListFunctionDefinitionVersionsRequest.builder()
- Parameters:
listFunctionDefinitionVersionsRequest
- AConsumer
that will call methods onListFunctionDefinitionVersionsRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListFunctionDefinitionsRequest.builder()
- Parameters:
listFunctionDefinitionsRequest
- AConsumer
that will call methods onListFunctionDefinitionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListFunctionDefinitions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaListGroupCertificateAuthoritiesRequest.builder()
- Parameters:
listGroupCertificateAuthoritiesRequest
- AConsumer
that will call methods onListGroupCertificateAuthoritiesRequest.Builder
to 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.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListGroupVersionsRequest.builder()
- Parameters:
listGroupVersionsRequest
- AConsumer
that will call methods onListGroupVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListGroupVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListGroupsRequest.builder()
- Parameters:
listGroupsRequest
- AConsumer
that will call methods onListGroupsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListLoggerDefinitionVersionsRequest.builder()
- Parameters:
listLoggerDefinitionVersionsRequest
- AConsumer
that will call methods onListLoggerDefinitionVersionsRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListLoggerDefinitionsRequest.builder()
- Parameters:
listLoggerDefinitionsRequest
- AConsumer
that will call methods onListLoggerDefinitionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListLoggerDefinitions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListResourceDefinitionVersionsRequest.builder()
- Parameters:
listResourceDefinitionVersionsRequest
- AConsumer
that will call methods onListResourceDefinitionVersionsRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListResourceDefinitionsRequest.builder()
- Parameters:
listResourceDefinitionsRequest
- AConsumer
that will call methods onListResourceDefinitionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResourceDefinitions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListSubscriptionDefinitionVersionsRequest.builder()
- Parameters:
listSubscriptionDefinitionVersionsRequest
- AConsumer
that will call methods onListSubscriptionDefinitionVersionsRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListSubscriptionDefinitionsRequest.builder()
- Parameters:
listSubscriptionDefinitionsRequest
- AConsumer
that will call methods onListSubscriptionDefinitionsRequest.Builder
to 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaResetDeploymentsRequest.builder()
- Parameters:
resetDeploymentsRequest
- AConsumer
that will call methods onResetDeploymentsRequest.Builder
to create a request. Information needed to reset deployments.- Returns:
- A Java Future containing the result of the ResetDeployments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaStartBulkDeploymentRequest.builder()
- Parameters:
startBulkDeploymentRequest
- AConsumer
that will call methods onStartBulkDeploymentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartBulkDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaStopBulkDeploymentRequest.builder()
- Parameters:
stopBulkDeploymentRequest
- AConsumer
that will call methods onStopBulkDeploymentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StopBulkDeployment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request. A map of the key-value pairs for the resource tag.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaUpdateConnectivityInfoRequest.builder()
- Parameters:
updateConnectivityInfoRequest
- AConsumer
that will call methods onUpdateConnectivityInfoRequest.Builder
to create a request. Connectivity information.- Returns:
- A Java Future containing the result of the UpdateConnectivityInfo operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaUpdateConnectorDefinitionRequest.builder()
- Parameters:
updateConnectorDefinitionRequest
- AConsumer
that will call methods onUpdateConnectorDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateConnectorDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaUpdateCoreDefinitionRequest.builder()
- Parameters:
updateCoreDefinitionRequest
- AConsumer
that will call methods onUpdateCoreDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateCoreDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaUpdateDeviceDefinitionRequest.builder()
- Parameters:
updateDeviceDefinitionRequest
- AConsumer
that will call methods onUpdateDeviceDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDeviceDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaUpdateFunctionDefinitionRequest.builder()
- Parameters:
updateFunctionDefinitionRequest
- AConsumer
that will call methods onUpdateFunctionDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateFunctionDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaUpdateGroupRequest.builder()
- Parameters:
updateGroupRequest
- AConsumer
that will call methods onUpdateGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaUpdateGroupCertificateConfigurationRequest.builder()
- Parameters:
updateGroupCertificateConfigurationRequest
- AConsumer
that will call methods onUpdateGroupCertificateConfigurationRequest.Builder
to 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.- 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaUpdateLoggerDefinitionRequest.builder()
- Parameters:
updateLoggerDefinitionRequest
- AConsumer
that will call methods onUpdateLoggerDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateLoggerDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaUpdateResourceDefinitionRequest.builder()
- Parameters:
updateResourceDefinitionRequest
- AConsumer
that will call methods onUpdateResourceDefinitionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResourceDefinition operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.Builder
avoiding the need to create one manually viaUpdateSubscriptionDefinitionRequest.builder()
- Parameters:
updateSubscriptionDefinitionRequest
- AConsumer
that will call methods onUpdateSubscriptionDefinitionRequest.Builder
to 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.- BadRequestException invalid request
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure 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.- 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.Builder
avoiding the need to create one manually viaUpdateThingRuntimeConfigurationRequest.builder()
- Parameters:
updateThingRuntimeConfigurationRequest
- AConsumer
that will call methods onUpdateThingRuntimeConfigurationRequest.Builder
to 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.- 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:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aGreengrassAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aGreengrassAsyncClient
.
-