Interface GreengrassClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface GreengrassClient extends AwsClient
Service client for accessing AWS Greengrass. This can be created using the staticbuilder()method. AWS IoT Greengrass seamlessly extends AWS onto physical devices so they can act locally on the data they generate, while still using the cloud for management, analytics, and durable storage. AWS IoT Greengrass ensures your devices can respond quickly to local events and operate with intermittent connectivity. AWS IoT Greengrass minimizes the cost of transmitting data to the cloud by allowing you to author AWS Lambda functions that execute locally.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default AssociateRoleToGroupResponseassociateRoleToGroup(Consumer<AssociateRoleToGroupRequest.Builder> associateRoleToGroupRequest)Associates a role with a group.default AssociateRoleToGroupResponseassociateRoleToGroup(AssociateRoleToGroupRequest associateRoleToGroupRequest)Associates a role with a group.default AssociateServiceRoleToAccountResponseassociateServiceRoleToAccount(Consumer<AssociateServiceRoleToAccountRequest.Builder> associateServiceRoleToAccountRequest)Associates a role with your account.default AssociateServiceRoleToAccountResponseassociateServiceRoleToAccount(AssociateServiceRoleToAccountRequest associateServiceRoleToAccountRequest)Associates a role with your account.static GreengrassClientBuilderbuilder()Create a builder that can be used to configure and create aGreengrassClient.static GreengrassClientcreate()Create aGreengrassClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateConnectorDefinitionResponsecreateConnectorDefinition(Consumer<CreateConnectorDefinitionRequest.Builder> createConnectorDefinitionRequest)Creates a connector definition.default CreateConnectorDefinitionResponsecreateConnectorDefinition(CreateConnectorDefinitionRequest createConnectorDefinitionRequest)Creates a connector definition.default CreateConnectorDefinitionVersionResponsecreateConnectorDefinitionVersion(Consumer<CreateConnectorDefinitionVersionRequest.Builder> createConnectorDefinitionVersionRequest)Creates a version of a connector definition which has already been defined.default CreateConnectorDefinitionVersionResponsecreateConnectorDefinitionVersion(CreateConnectorDefinitionVersionRequest createConnectorDefinitionVersionRequest)Creates a version of a connector definition which has already been defined.default CreateCoreDefinitionResponsecreateCoreDefinition(Consumer<CreateCoreDefinitionRequest.Builder> createCoreDefinitionRequest)Creates a core definition.default CreateCoreDefinitionResponsecreateCoreDefinition(CreateCoreDefinitionRequest createCoreDefinitionRequest)Creates a core definition.default CreateCoreDefinitionVersionResponsecreateCoreDefinitionVersion(Consumer<CreateCoreDefinitionVersionRequest.Builder> createCoreDefinitionVersionRequest)Creates a version of a core definition that has already been defined.default CreateCoreDefinitionVersionResponsecreateCoreDefinitionVersion(CreateCoreDefinitionVersionRequest createCoreDefinitionVersionRequest)Creates a version of a core definition that has already been defined.default CreateDeploymentResponsecreateDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest)Creates a deployment.default CreateDeploymentResponsecreateDeployment(CreateDeploymentRequest createDeploymentRequest)Creates a deployment.default CreateDeviceDefinitionResponsecreateDeviceDefinition(Consumer<CreateDeviceDefinitionRequest.Builder> createDeviceDefinitionRequest)Creates a device definition.default CreateDeviceDefinitionResponsecreateDeviceDefinition(CreateDeviceDefinitionRequest createDeviceDefinitionRequest)Creates a device definition.default CreateDeviceDefinitionVersionResponsecreateDeviceDefinitionVersion(Consumer<CreateDeviceDefinitionVersionRequest.Builder> createDeviceDefinitionVersionRequest)Creates a version of a device definition that has already been defined.default CreateDeviceDefinitionVersionResponsecreateDeviceDefinitionVersion(CreateDeviceDefinitionVersionRequest createDeviceDefinitionVersionRequest)Creates a version of a device definition that has already been defined.default CreateFunctionDefinitionResponsecreateFunctionDefinition(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.default CreateFunctionDefinitionResponsecreateFunctionDefinition(CreateFunctionDefinitionRequest createFunctionDefinitionRequest)Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group.default CreateFunctionDefinitionVersionResponsecreateFunctionDefinitionVersion(Consumer<CreateFunctionDefinitionVersionRequest.Builder> createFunctionDefinitionVersionRequest)Creates a version of a Lambda function definition that has already been defined.default CreateFunctionDefinitionVersionResponsecreateFunctionDefinitionVersion(CreateFunctionDefinitionVersionRequest createFunctionDefinitionVersionRequest)Creates a version of a Lambda function definition that has already been defined.default CreateGroupResponsecreateGroup(Consumer<CreateGroupRequest.Builder> createGroupRequest)Creates a group.default CreateGroupResponsecreateGroup(CreateGroupRequest createGroupRequest)Creates a group.default CreateGroupCertificateAuthorityResponsecreateGroupCertificateAuthority(Consumer<CreateGroupCertificateAuthorityRequest.Builder> createGroupCertificateAuthorityRequest)Creates a CA for the group.default CreateGroupCertificateAuthorityResponsecreateGroupCertificateAuthority(CreateGroupCertificateAuthorityRequest createGroupCertificateAuthorityRequest)Creates a CA for the group.default CreateGroupVersionResponsecreateGroupVersion(Consumer<CreateGroupVersionRequest.Builder> createGroupVersionRequest)Creates a version of a group which has already been defined.default CreateGroupVersionResponsecreateGroupVersion(CreateGroupVersionRequest createGroupVersionRequest)Creates a version of a group which has already been defined.default CreateLoggerDefinitionResponsecreateLoggerDefinition(Consumer<CreateLoggerDefinitionRequest.Builder> createLoggerDefinitionRequest)Creates a logger definition.default CreateLoggerDefinitionResponsecreateLoggerDefinition(CreateLoggerDefinitionRequest createLoggerDefinitionRequest)Creates a logger definition.default CreateLoggerDefinitionVersionResponsecreateLoggerDefinitionVersion(Consumer<CreateLoggerDefinitionVersionRequest.Builder> createLoggerDefinitionVersionRequest)Creates a version of a logger definition that has already been defined.default CreateLoggerDefinitionVersionResponsecreateLoggerDefinitionVersion(CreateLoggerDefinitionVersionRequest createLoggerDefinitionVersionRequest)Creates a version of a logger definition that has already been defined.default CreateResourceDefinitionResponsecreateResourceDefinition(Consumer<CreateResourceDefinitionRequest.Builder> createResourceDefinitionRequest)Creates a resource definition which contains a list of resources to be used in a group.default CreateResourceDefinitionResponsecreateResourceDefinition(CreateResourceDefinitionRequest createResourceDefinitionRequest)Creates a resource definition which contains a list of resources to be used in a group.default CreateResourceDefinitionVersionResponsecreateResourceDefinitionVersion(Consumer<CreateResourceDefinitionVersionRequest.Builder> createResourceDefinitionVersionRequest)Creates a version of a resource definition that has already been defined.default CreateResourceDefinitionVersionResponsecreateResourceDefinitionVersion(CreateResourceDefinitionVersionRequest createResourceDefinitionVersionRequest)Creates a version of a resource definition that has already been defined.default CreateSoftwareUpdateJobResponsecreateSoftwareUpdateJob(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.default CreateSoftwareUpdateJobResponsecreateSoftwareUpdateJob(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.default CreateSubscriptionDefinitionResponsecreateSubscriptionDefinition(Consumer<CreateSubscriptionDefinitionRequest.Builder> createSubscriptionDefinitionRequest)Creates a subscription definition.default CreateSubscriptionDefinitionResponsecreateSubscriptionDefinition(CreateSubscriptionDefinitionRequest createSubscriptionDefinitionRequest)Creates a subscription definition.default CreateSubscriptionDefinitionVersionResponsecreateSubscriptionDefinitionVersion(Consumer<CreateSubscriptionDefinitionVersionRequest.Builder> createSubscriptionDefinitionVersionRequest)Creates a version of a subscription definition which has already been defined.default CreateSubscriptionDefinitionVersionResponsecreateSubscriptionDefinitionVersion(CreateSubscriptionDefinitionVersionRequest createSubscriptionDefinitionVersionRequest)Creates a version of a subscription definition which has already been defined.default DeleteConnectorDefinitionResponsedeleteConnectorDefinition(Consumer<DeleteConnectorDefinitionRequest.Builder> deleteConnectorDefinitionRequest)Deletes a connector definition.default DeleteConnectorDefinitionResponsedeleteConnectorDefinition(DeleteConnectorDefinitionRequest deleteConnectorDefinitionRequest)Deletes a connector definition.default DeleteCoreDefinitionResponsedeleteCoreDefinition(Consumer<DeleteCoreDefinitionRequest.Builder> deleteCoreDefinitionRequest)Deletes a core definition.default DeleteCoreDefinitionResponsedeleteCoreDefinition(DeleteCoreDefinitionRequest deleteCoreDefinitionRequest)Deletes a core definition.default DeleteDeviceDefinitionResponsedeleteDeviceDefinition(Consumer<DeleteDeviceDefinitionRequest.Builder> deleteDeviceDefinitionRequest)Deletes a device definition.default DeleteDeviceDefinitionResponsedeleteDeviceDefinition(DeleteDeviceDefinitionRequest deleteDeviceDefinitionRequest)Deletes a device definition.default DeleteFunctionDefinitionResponsedeleteFunctionDefinition(Consumer<DeleteFunctionDefinitionRequest.Builder> deleteFunctionDefinitionRequest)Deletes a Lambda function definition.default DeleteFunctionDefinitionResponsedeleteFunctionDefinition(DeleteFunctionDefinitionRequest deleteFunctionDefinitionRequest)Deletes a Lambda function definition.default DeleteGroupResponsedeleteGroup(Consumer<DeleteGroupRequest.Builder> deleteGroupRequest)Deletes a group.default DeleteGroupResponsedeleteGroup(DeleteGroupRequest deleteGroupRequest)Deletes a group.default DeleteLoggerDefinitionResponsedeleteLoggerDefinition(Consumer<DeleteLoggerDefinitionRequest.Builder> deleteLoggerDefinitionRequest)Deletes a logger definition.default DeleteLoggerDefinitionResponsedeleteLoggerDefinition(DeleteLoggerDefinitionRequest deleteLoggerDefinitionRequest)Deletes a logger definition.default DeleteResourceDefinitionResponsedeleteResourceDefinition(Consumer<DeleteResourceDefinitionRequest.Builder> deleteResourceDefinitionRequest)Deletes a resource definition.default DeleteResourceDefinitionResponsedeleteResourceDefinition(DeleteResourceDefinitionRequest deleteResourceDefinitionRequest)Deletes a resource definition.default DeleteSubscriptionDefinitionResponsedeleteSubscriptionDefinition(Consumer<DeleteSubscriptionDefinitionRequest.Builder> deleteSubscriptionDefinitionRequest)Deletes a subscription definition.default DeleteSubscriptionDefinitionResponsedeleteSubscriptionDefinition(DeleteSubscriptionDefinitionRequest deleteSubscriptionDefinitionRequest)Deletes a subscription definition.default DisassociateRoleFromGroupResponsedisassociateRoleFromGroup(Consumer<DisassociateRoleFromGroupRequest.Builder> disassociateRoleFromGroupRequest)Disassociates the role from a group.default DisassociateRoleFromGroupResponsedisassociateRoleFromGroup(DisassociateRoleFromGroupRequest disassociateRoleFromGroupRequest)Disassociates the role from a group.default DisassociateServiceRoleFromAccountResponsedisassociateServiceRoleFromAccount()Disassociates the service role from your account.default DisassociateServiceRoleFromAccountResponsedisassociateServiceRoleFromAccount(Consumer<DisassociateServiceRoleFromAccountRequest.Builder> disassociateServiceRoleFromAccountRequest)Disassociates the service role from your account.default DisassociateServiceRoleFromAccountResponsedisassociateServiceRoleFromAccount(DisassociateServiceRoleFromAccountRequest disassociateServiceRoleFromAccountRequest)Disassociates the service role from your account.default GetAssociatedRoleResponsegetAssociatedRole(Consumer<GetAssociatedRoleRequest.Builder> getAssociatedRoleRequest)Retrieves the role associated with a particular group.default GetAssociatedRoleResponsegetAssociatedRole(GetAssociatedRoleRequest getAssociatedRoleRequest)Retrieves the role associated with a particular group.default GetBulkDeploymentStatusResponsegetBulkDeploymentStatus(Consumer<GetBulkDeploymentStatusRequest.Builder> getBulkDeploymentStatusRequest)Returns the status of a bulk deployment.default GetBulkDeploymentStatusResponsegetBulkDeploymentStatus(GetBulkDeploymentStatusRequest getBulkDeploymentStatusRequest)Returns the status of a bulk deployment.default GetConnectivityInfoResponsegetConnectivityInfo(Consumer<GetConnectivityInfoRequest.Builder> getConnectivityInfoRequest)Retrieves the connectivity information for a core.default GetConnectivityInfoResponsegetConnectivityInfo(GetConnectivityInfoRequest getConnectivityInfoRequest)Retrieves the connectivity information for a core.default GetConnectorDefinitionResponsegetConnectorDefinition(Consumer<GetConnectorDefinitionRequest.Builder> getConnectorDefinitionRequest)Retrieves information about a connector definition.default GetConnectorDefinitionResponsegetConnectorDefinition(GetConnectorDefinitionRequest getConnectorDefinitionRequest)Retrieves information about a connector definition.default GetConnectorDefinitionVersionResponsegetConnectorDefinitionVersion(Consumer<GetConnectorDefinitionVersionRequest.Builder> getConnectorDefinitionVersionRequest)Retrieves information about a connector definition version, including the connectors that the version contains.default GetConnectorDefinitionVersionResponsegetConnectorDefinitionVersion(GetConnectorDefinitionVersionRequest getConnectorDefinitionVersionRequest)Retrieves information about a connector definition version, including the connectors that the version contains.default GetCoreDefinitionResponsegetCoreDefinition(Consumer<GetCoreDefinitionRequest.Builder> getCoreDefinitionRequest)Retrieves information about a core definition version.default GetCoreDefinitionResponsegetCoreDefinition(GetCoreDefinitionRequest getCoreDefinitionRequest)Retrieves information about a core definition version.default GetCoreDefinitionVersionResponsegetCoreDefinitionVersion(Consumer<GetCoreDefinitionVersionRequest.Builder> getCoreDefinitionVersionRequest)Retrieves information about a core definition version.default GetCoreDefinitionVersionResponsegetCoreDefinitionVersion(GetCoreDefinitionVersionRequest getCoreDefinitionVersionRequest)Retrieves information about a core definition version.default GetDeploymentStatusResponsegetDeploymentStatus(Consumer<GetDeploymentStatusRequest.Builder> getDeploymentStatusRequest)Returns the status of a deployment.default GetDeploymentStatusResponsegetDeploymentStatus(GetDeploymentStatusRequest getDeploymentStatusRequest)Returns the status of a deployment.default GetDeviceDefinitionResponsegetDeviceDefinition(Consumer<GetDeviceDefinitionRequest.Builder> getDeviceDefinitionRequest)Retrieves information about a device definition.default GetDeviceDefinitionResponsegetDeviceDefinition(GetDeviceDefinitionRequest getDeviceDefinitionRequest)Retrieves information about a device definition.default GetDeviceDefinitionVersionResponsegetDeviceDefinitionVersion(Consumer<GetDeviceDefinitionVersionRequest.Builder> getDeviceDefinitionVersionRequest)Retrieves information about a device definition version.default GetDeviceDefinitionVersionResponsegetDeviceDefinitionVersion(GetDeviceDefinitionVersionRequest getDeviceDefinitionVersionRequest)Retrieves information about a device definition version.default GetFunctionDefinitionResponsegetFunctionDefinition(Consumer<GetFunctionDefinitionRequest.Builder> getFunctionDefinitionRequest)Retrieves information about a Lambda function definition, including its creation time and latest version.default GetFunctionDefinitionResponsegetFunctionDefinition(GetFunctionDefinitionRequest getFunctionDefinitionRequest)Retrieves information about a Lambda function definition, including its creation time and latest version.default GetFunctionDefinitionVersionResponsegetFunctionDefinitionVersion(Consumer<GetFunctionDefinitionVersionRequest.Builder> getFunctionDefinitionVersionRequest)Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.default GetFunctionDefinitionVersionResponsegetFunctionDefinitionVersion(GetFunctionDefinitionVersionRequest getFunctionDefinitionVersionRequest)Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.default GetGroupResponsegetGroup(Consumer<GetGroupRequest.Builder> getGroupRequest)Retrieves information about a group.default GetGroupResponsegetGroup(GetGroupRequest getGroupRequest)Retrieves information about a group.default GetGroupCertificateAuthorityResponsegetGroupCertificateAuthority(Consumer<GetGroupCertificateAuthorityRequest.Builder> getGroupCertificateAuthorityRequest)Retreives the CA associated with a group.default GetGroupCertificateAuthorityResponsegetGroupCertificateAuthority(GetGroupCertificateAuthorityRequest getGroupCertificateAuthorityRequest)Retreives the CA associated with a group.default GetGroupCertificateConfigurationResponsegetGroupCertificateConfiguration(Consumer<GetGroupCertificateConfigurationRequest.Builder> getGroupCertificateConfigurationRequest)Retrieves the current configuration for the CA used by the group.default GetGroupCertificateConfigurationResponsegetGroupCertificateConfiguration(GetGroupCertificateConfigurationRequest getGroupCertificateConfigurationRequest)Retrieves the current configuration for the CA used by the group.default GetGroupVersionResponsegetGroupVersion(Consumer<GetGroupVersionRequest.Builder> getGroupVersionRequest)Retrieves information about a group version.default GetGroupVersionResponsegetGroupVersion(GetGroupVersionRequest getGroupVersionRequest)Retrieves information about a group version.default GetLoggerDefinitionResponsegetLoggerDefinition(Consumer<GetLoggerDefinitionRequest.Builder> getLoggerDefinitionRequest)Retrieves information about a logger definition.default GetLoggerDefinitionResponsegetLoggerDefinition(GetLoggerDefinitionRequest getLoggerDefinitionRequest)Retrieves information about a logger definition.default GetLoggerDefinitionVersionResponsegetLoggerDefinitionVersion(Consumer<GetLoggerDefinitionVersionRequest.Builder> getLoggerDefinitionVersionRequest)Retrieves information about a logger definition version.default GetLoggerDefinitionVersionResponsegetLoggerDefinitionVersion(GetLoggerDefinitionVersionRequest getLoggerDefinitionVersionRequest)Retrieves information about a logger definition version.default GetResourceDefinitionResponsegetResourceDefinition(Consumer<GetResourceDefinitionRequest.Builder> getResourceDefinitionRequest)Retrieves information about a resource definition, including its creation time and latest version.default GetResourceDefinitionResponsegetResourceDefinition(GetResourceDefinitionRequest getResourceDefinitionRequest)Retrieves information about a resource definition, including its creation time and latest version.default GetResourceDefinitionVersionResponsegetResourceDefinitionVersion(Consumer<GetResourceDefinitionVersionRequest.Builder> getResourceDefinitionVersionRequest)Retrieves information about a resource definition version, including which resources are included in the version.default GetResourceDefinitionVersionResponsegetResourceDefinitionVersion(GetResourceDefinitionVersionRequest getResourceDefinitionVersionRequest)Retrieves information about a resource definition version, including which resources are included in the version.default GetServiceRoleForAccountResponsegetServiceRoleForAccount()Retrieves the service role that is attached to your account.default GetServiceRoleForAccountResponsegetServiceRoleForAccount(Consumer<GetServiceRoleForAccountRequest.Builder> getServiceRoleForAccountRequest)Retrieves the service role that is attached to your account.default GetServiceRoleForAccountResponsegetServiceRoleForAccount(GetServiceRoleForAccountRequest getServiceRoleForAccountRequest)Retrieves the service role that is attached to your account.default GetSubscriptionDefinitionResponsegetSubscriptionDefinition(Consumer<GetSubscriptionDefinitionRequest.Builder> getSubscriptionDefinitionRequest)Retrieves information about a subscription definition.default GetSubscriptionDefinitionResponsegetSubscriptionDefinition(GetSubscriptionDefinitionRequest getSubscriptionDefinitionRequest)Retrieves information about a subscription definition.default GetSubscriptionDefinitionVersionResponsegetSubscriptionDefinitionVersion(Consumer<GetSubscriptionDefinitionVersionRequest.Builder> getSubscriptionDefinitionVersionRequest)Retrieves information about a subscription definition version.default GetSubscriptionDefinitionVersionResponsegetSubscriptionDefinitionVersion(GetSubscriptionDefinitionVersionRequest getSubscriptionDefinitionVersionRequest)Retrieves information about a subscription definition version.default GetThingRuntimeConfigurationResponsegetThingRuntimeConfiguration(Consumer<GetThingRuntimeConfigurationRequest.Builder> getThingRuntimeConfigurationRequest)Get the runtime configuration of a thing.default GetThingRuntimeConfigurationResponsegetThingRuntimeConfiguration(GetThingRuntimeConfigurationRequest getThingRuntimeConfigurationRequest)Get the runtime configuration of a thing.default ListBulkDeploymentDetailedReportsResponselistBulkDeploymentDetailedReports(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.default ListBulkDeploymentDetailedReportsResponselistBulkDeploymentDetailedReports(ListBulkDeploymentDetailedReportsRequest listBulkDeploymentDetailedReportsRequest)Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.default ListBulkDeploymentsResponselistBulkDeployments()Returns a list of bulk deployments.default ListBulkDeploymentsResponselistBulkDeployments(Consumer<ListBulkDeploymentsRequest.Builder> listBulkDeploymentsRequest)Returns a list of bulk deployments.default ListBulkDeploymentsResponselistBulkDeployments(ListBulkDeploymentsRequest listBulkDeploymentsRequest)Returns a list of bulk deployments.default ListConnectorDefinitionsResponselistConnectorDefinitions()Retrieves a list of connector definitions.default ListConnectorDefinitionsResponselistConnectorDefinitions(Consumer<ListConnectorDefinitionsRequest.Builder> listConnectorDefinitionsRequest)Retrieves a list of connector definitions.default ListConnectorDefinitionsResponselistConnectorDefinitions(ListConnectorDefinitionsRequest listConnectorDefinitionsRequest)Retrieves a list of connector definitions.default ListConnectorDefinitionVersionsResponselistConnectorDefinitionVersions(Consumer<ListConnectorDefinitionVersionsRequest.Builder> listConnectorDefinitionVersionsRequest)Lists the versions of a connector definition, which are containers for connectors.default ListConnectorDefinitionVersionsResponselistConnectorDefinitionVersions(ListConnectorDefinitionVersionsRequest listConnectorDefinitionVersionsRequest)Lists the versions of a connector definition, which are containers for connectors.default ListCoreDefinitionsResponselistCoreDefinitions()Retrieves a list of core definitions.default ListCoreDefinitionsResponselistCoreDefinitions(Consumer<ListCoreDefinitionsRequest.Builder> listCoreDefinitionsRequest)Retrieves a list of core definitions.default ListCoreDefinitionsResponselistCoreDefinitions(ListCoreDefinitionsRequest listCoreDefinitionsRequest)Retrieves a list of core definitions.default ListCoreDefinitionVersionsResponselistCoreDefinitionVersions(Consumer<ListCoreDefinitionVersionsRequest.Builder> listCoreDefinitionVersionsRequest)Lists the versions of a core definition.default ListCoreDefinitionVersionsResponselistCoreDefinitionVersions(ListCoreDefinitionVersionsRequest listCoreDefinitionVersionsRequest)Lists the versions of a core definition.default ListDeploymentsResponselistDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)Returns a history of deployments for the group.default ListDeploymentsResponselistDeployments(ListDeploymentsRequest listDeploymentsRequest)Returns a history of deployments for the group.default ListDeviceDefinitionsResponselistDeviceDefinitions()Retrieves a list of device definitions.default ListDeviceDefinitionsResponselistDeviceDefinitions(Consumer<ListDeviceDefinitionsRequest.Builder> listDeviceDefinitionsRequest)Retrieves a list of device definitions.default ListDeviceDefinitionsResponselistDeviceDefinitions(ListDeviceDefinitionsRequest listDeviceDefinitionsRequest)Retrieves a list of device definitions.default ListDeviceDefinitionVersionsResponselistDeviceDefinitionVersions(Consumer<ListDeviceDefinitionVersionsRequest.Builder> listDeviceDefinitionVersionsRequest)Lists the versions of a device definition.default ListDeviceDefinitionVersionsResponselistDeviceDefinitionVersions(ListDeviceDefinitionVersionsRequest listDeviceDefinitionVersionsRequest)Lists the versions of a device definition.default ListFunctionDefinitionsResponselistFunctionDefinitions()Retrieves a list of Lambda function definitions.default ListFunctionDefinitionsResponselistFunctionDefinitions(Consumer<ListFunctionDefinitionsRequest.Builder> listFunctionDefinitionsRequest)Retrieves a list of Lambda function definitions.default ListFunctionDefinitionsResponselistFunctionDefinitions(ListFunctionDefinitionsRequest listFunctionDefinitionsRequest)Retrieves a list of Lambda function definitions.default ListFunctionDefinitionVersionsResponselistFunctionDefinitionVersions(Consumer<ListFunctionDefinitionVersionsRequest.Builder> listFunctionDefinitionVersionsRequest)Lists the versions of a Lambda function definition.default ListFunctionDefinitionVersionsResponselistFunctionDefinitionVersions(ListFunctionDefinitionVersionsRequest listFunctionDefinitionVersionsRequest)Lists the versions of a Lambda function definition.default ListGroupCertificateAuthoritiesResponselistGroupCertificateAuthorities(Consumer<ListGroupCertificateAuthoritiesRequest.Builder> listGroupCertificateAuthoritiesRequest)Retrieves the current CAs for a group.default ListGroupCertificateAuthoritiesResponselistGroupCertificateAuthorities(ListGroupCertificateAuthoritiesRequest listGroupCertificateAuthoritiesRequest)Retrieves the current CAs for a group.default ListGroupsResponselistGroups()Retrieves a list of groups.default ListGroupsResponselistGroups(Consumer<ListGroupsRequest.Builder> listGroupsRequest)Retrieves a list of groups.default ListGroupsResponselistGroups(ListGroupsRequest listGroupsRequest)Retrieves a list of groups.default ListGroupVersionsResponselistGroupVersions(Consumer<ListGroupVersionsRequest.Builder> listGroupVersionsRequest)Lists the versions of a group.default ListGroupVersionsResponselistGroupVersions(ListGroupVersionsRequest listGroupVersionsRequest)Lists the versions of a group.default ListLoggerDefinitionsResponselistLoggerDefinitions()Retrieves a list of logger definitions.default ListLoggerDefinitionsResponselistLoggerDefinitions(Consumer<ListLoggerDefinitionsRequest.Builder> listLoggerDefinitionsRequest)Retrieves a list of logger definitions.default ListLoggerDefinitionsResponselistLoggerDefinitions(ListLoggerDefinitionsRequest listLoggerDefinitionsRequest)Retrieves a list of logger definitions.default ListLoggerDefinitionVersionsResponselistLoggerDefinitionVersions(Consumer<ListLoggerDefinitionVersionsRequest.Builder> listLoggerDefinitionVersionsRequest)Lists the versions of a logger definition.default ListLoggerDefinitionVersionsResponselistLoggerDefinitionVersions(ListLoggerDefinitionVersionsRequest listLoggerDefinitionVersionsRequest)Lists the versions of a logger definition.default ListResourceDefinitionsResponselistResourceDefinitions()Retrieves a list of resource definitions.default ListResourceDefinitionsResponselistResourceDefinitions(Consumer<ListResourceDefinitionsRequest.Builder> listResourceDefinitionsRequest)Retrieves a list of resource definitions.default ListResourceDefinitionsResponselistResourceDefinitions(ListResourceDefinitionsRequest listResourceDefinitionsRequest)Retrieves a list of resource definitions.default ListResourceDefinitionVersionsResponselistResourceDefinitionVersions(Consumer<ListResourceDefinitionVersionsRequest.Builder> listResourceDefinitionVersionsRequest)Lists the versions of a resource definition.default ListResourceDefinitionVersionsResponselistResourceDefinitionVersions(ListResourceDefinitionVersionsRequest listResourceDefinitionVersionsRequest)Lists the versions of a resource definition.default ListSubscriptionDefinitionsResponselistSubscriptionDefinitions()Retrieves a list of subscription definitions.default ListSubscriptionDefinitionsResponselistSubscriptionDefinitions(Consumer<ListSubscriptionDefinitionsRequest.Builder> listSubscriptionDefinitionsRequest)Retrieves a list of subscription definitions.default ListSubscriptionDefinitionsResponselistSubscriptionDefinitions(ListSubscriptionDefinitionsRequest listSubscriptionDefinitionsRequest)Retrieves a list of subscription definitions.default ListSubscriptionDefinitionVersionsResponselistSubscriptionDefinitionVersions(Consumer<ListSubscriptionDefinitionVersionsRequest.Builder> listSubscriptionDefinitionVersionsRequest)Lists the versions of a subscription definition.default ListSubscriptionDefinitionVersionsResponselistSubscriptionDefinitionVersions(ListSubscriptionDefinitionVersionsRequest listSubscriptionDefinitionVersionsRequest)Lists the versions of a subscription definition.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Retrieves a list of resource tags for a resource arn.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Retrieves a list of resource tags for a resource arn.default ResetDeploymentsResponseresetDeployments(Consumer<ResetDeploymentsRequest.Builder> resetDeploymentsRequest)Resets a group's deployments.default ResetDeploymentsResponseresetDeployments(ResetDeploymentsRequest resetDeploymentsRequest)Resets a group's deployments.default GreengrassServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StartBulkDeploymentResponsestartBulkDeployment(Consumer<StartBulkDeploymentRequest.Builder> startBulkDeploymentRequest)Deploys multiple groups in one operation.default StartBulkDeploymentResponsestartBulkDeployment(StartBulkDeploymentRequest startBulkDeploymentRequest)Deploys multiple groups in one operation.default StopBulkDeploymentResponsestopBulkDeployment(Consumer<StopBulkDeploymentRequest.Builder> stopBulkDeploymentRequest)Stops the execution of a bulk deployment.default StopBulkDeploymentResponsestopBulkDeployment(StopBulkDeploymentRequest stopBulkDeploymentRequest)Stops the execution of a bulk deployment.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Adds tags to a Greengrass resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Adds tags to a Greengrass resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Remove resource tags from a Greengrass Resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Remove resource tags from a Greengrass Resource.default UpdateConnectivityInfoResponseupdateConnectivityInfo(Consumer<UpdateConnectivityInfoRequest.Builder> updateConnectivityInfoRequest)Updates the connectivity information for the core.default UpdateConnectivityInfoResponseupdateConnectivityInfo(UpdateConnectivityInfoRequest updateConnectivityInfoRequest)Updates the connectivity information for the core.default UpdateConnectorDefinitionResponseupdateConnectorDefinition(Consumer<UpdateConnectorDefinitionRequest.Builder> updateConnectorDefinitionRequest)Updates a connector definition.default UpdateConnectorDefinitionResponseupdateConnectorDefinition(UpdateConnectorDefinitionRequest updateConnectorDefinitionRequest)Updates a connector definition.default UpdateCoreDefinitionResponseupdateCoreDefinition(Consumer<UpdateCoreDefinitionRequest.Builder> updateCoreDefinitionRequest)Updates a core definition.default UpdateCoreDefinitionResponseupdateCoreDefinition(UpdateCoreDefinitionRequest updateCoreDefinitionRequest)Updates a core definition.default UpdateDeviceDefinitionResponseupdateDeviceDefinition(Consumer<UpdateDeviceDefinitionRequest.Builder> updateDeviceDefinitionRequest)Updates a device definition.default UpdateDeviceDefinitionResponseupdateDeviceDefinition(UpdateDeviceDefinitionRequest updateDeviceDefinitionRequest)Updates a device definition.default UpdateFunctionDefinitionResponseupdateFunctionDefinition(Consumer<UpdateFunctionDefinitionRequest.Builder> updateFunctionDefinitionRequest)Updates a Lambda function definition.default UpdateFunctionDefinitionResponseupdateFunctionDefinition(UpdateFunctionDefinitionRequest updateFunctionDefinitionRequest)Updates a Lambda function definition.default UpdateGroupResponseupdateGroup(Consumer<UpdateGroupRequest.Builder> updateGroupRequest)Updates a group.default UpdateGroupResponseupdateGroup(UpdateGroupRequest updateGroupRequest)Updates a group.default UpdateGroupCertificateConfigurationResponseupdateGroupCertificateConfiguration(Consumer<UpdateGroupCertificateConfigurationRequest.Builder> updateGroupCertificateConfigurationRequest)Updates the Certificate expiry time for a group.default UpdateGroupCertificateConfigurationResponseupdateGroupCertificateConfiguration(UpdateGroupCertificateConfigurationRequest updateGroupCertificateConfigurationRequest)Updates the Certificate expiry time for a group.default UpdateLoggerDefinitionResponseupdateLoggerDefinition(Consumer<UpdateLoggerDefinitionRequest.Builder> updateLoggerDefinitionRequest)Updates a logger definition.default UpdateLoggerDefinitionResponseupdateLoggerDefinition(UpdateLoggerDefinitionRequest updateLoggerDefinitionRequest)Updates a logger definition.default UpdateResourceDefinitionResponseupdateResourceDefinition(Consumer<UpdateResourceDefinitionRequest.Builder> updateResourceDefinitionRequest)Updates a resource definition.default UpdateResourceDefinitionResponseupdateResourceDefinition(UpdateResourceDefinitionRequest updateResourceDefinitionRequest)Updates a resource definition.default UpdateSubscriptionDefinitionResponseupdateSubscriptionDefinition(Consumer<UpdateSubscriptionDefinitionRequest.Builder> updateSubscriptionDefinitionRequest)Updates a subscription definition.default UpdateSubscriptionDefinitionResponseupdateSubscriptionDefinition(UpdateSubscriptionDefinitionRequest updateSubscriptionDefinitionRequest)Updates a subscription definition.default UpdateThingRuntimeConfigurationResponseupdateThingRuntimeConfiguration(Consumer<UpdateThingRuntimeConfigurationRequest.Builder> updateThingRuntimeConfigurationRequest)Updates the runtime configuration of a thing.default UpdateThingRuntimeConfigurationResponseupdateThingRuntimeConfiguration(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 Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateRoleToGroup
default AssociateRoleToGroupResponse associateRoleToGroup(AssociateRoleToGroupRequest associateRoleToGroupRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the AssociateRoleToGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
associateRoleToGroup
default AssociateRoleToGroupResponse associateRoleToGroup(Consumer<AssociateRoleToGroupRequest.Builder> associateRoleToGroupRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.
This is a convenience which creates an instance of the
AssociateRoleToGroupRequest.Builderavoiding the need to create one manually viaAssociateRoleToGroupRequest.builder()- Parameters:
associateRoleToGroupRequest- AConsumerthat will call methods onAssociateRoleToGroupRequest.Builderto create a request.- Returns:
- Result of the AssociateRoleToGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
associateServiceRoleToAccount
default AssociateServiceRoleToAccountResponse associateServiceRoleToAccount(AssociateServiceRoleToAccountRequest associateServiceRoleToAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the AssociateServiceRoleToAccount operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
associateServiceRoleToAccount
default AssociateServiceRoleToAccountResponse associateServiceRoleToAccount(Consumer<AssociateServiceRoleToAccountRequest.Builder> associateServiceRoleToAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.
This is a convenience which creates an instance of the
AssociateServiceRoleToAccountRequest.Builderavoiding the need to create one manually viaAssociateServiceRoleToAccountRequest.builder()- Parameters:
associateServiceRoleToAccountRequest- AConsumerthat will call methods onAssociateServiceRoleToAccountRequest.Builderto create a request.- Returns:
- Result of the AssociateServiceRoleToAccount operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createConnectorDefinition
default CreateConnectorDefinitionResponse createConnectorDefinition(CreateConnectorDefinitionRequest createConnectorDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the CreateConnectorDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createConnectorDefinition
default CreateConnectorDefinitionResponse createConnectorDefinition(Consumer<CreateConnectorDefinitionRequest.Builder> createConnectorDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.
This is a convenience which creates an instance of the
CreateConnectorDefinitionRequest.Builderavoiding the need to create one manually viaCreateConnectorDefinitionRequest.builder()- Parameters:
createConnectorDefinitionRequest- AConsumerthat will call methods onCreateConnectorDefinitionRequest.Builderto create a request.- Returns:
- Result of the CreateConnectorDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createConnectorDefinitionVersion
default CreateConnectorDefinitionVersionResponse createConnectorDefinitionVersion(CreateConnectorDefinitionVersionRequest createConnectorDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a connector definition which has already been defined.- Parameters:
createConnectorDefinitionVersionRequest-- Returns:
- Result of the CreateConnectorDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createConnectorDefinitionVersion
default CreateConnectorDefinitionVersionResponse createConnectorDefinitionVersion(Consumer<CreateConnectorDefinitionVersionRequest.Builder> createConnectorDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a connector definition which has already been defined.
This is a convenience which creates an instance of the
CreateConnectorDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateConnectorDefinitionVersionRequest.builder()- Parameters:
createConnectorDefinitionVersionRequest- AConsumerthat will call methods onCreateConnectorDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the CreateConnectorDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createCoreDefinition
default CreateCoreDefinitionResponse createCoreDefinition(CreateCoreDefinitionRequest createCoreDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the CreateCoreDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createCoreDefinition
default CreateCoreDefinitionResponse createCoreDefinition(Consumer<CreateCoreDefinitionRequest.Builder> createCoreDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a core definition. You may provide the initial version of the core definition now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass groups must each contain exactly one Greengrass core.
This is a convenience which creates an instance of the
CreateCoreDefinitionRequest.Builderavoiding the need to create one manually viaCreateCoreDefinitionRequest.builder()- Parameters:
createCoreDefinitionRequest- AConsumerthat will call methods onCreateCoreDefinitionRequest.Builderto create a request. Information needed to create a core definition.- Returns:
- Result of the CreateCoreDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createCoreDefinitionVersion
default CreateCoreDefinitionVersionResponse createCoreDefinitionVersion(CreateCoreDefinitionVersionRequest createCoreDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.- Parameters:
createCoreDefinitionVersionRequest-- Returns:
- Result of the CreateCoreDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createCoreDefinitionVersion
default CreateCoreDefinitionVersionResponse createCoreDefinitionVersion(Consumer<CreateCoreDefinitionVersionRequest.Builder> createCoreDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.
This is a convenience which creates an instance of the
CreateCoreDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateCoreDefinitionVersionRequest.builder()- Parameters:
createCoreDefinitionVersionRequest- AConsumerthat will call methods onCreateCoreDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the CreateCoreDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDeployment
default CreateDeploymentResponse createDeployment(CreateDeploymentRequest createDeploymentRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.- Parameters:
createDeploymentRequest-- Returns:
- Result of the CreateDeployment operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDeployment
default CreateDeploymentResponse createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.
This is a convenience which creates an instance of the
CreateDeploymentRequest.Builderavoiding the need to create one manually viaCreateDeploymentRequest.builder()- Parameters:
createDeploymentRequest- AConsumerthat will call methods onCreateDeploymentRequest.Builderto create a request.- Returns:
- Result of the CreateDeployment operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDeviceDefinition
default CreateDeviceDefinitionResponse createDeviceDefinition(CreateDeviceDefinitionRequest createDeviceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the CreateDeviceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDeviceDefinition
default CreateDeviceDefinitionResponse createDeviceDefinition(Consumer<CreateDeviceDefinitionRequest.Builder> createDeviceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a device definition. You may provide the initial version of the device definition now or use ''CreateDeviceDefinitionVersion'' at a later time.
This is a convenience which creates an instance of the
CreateDeviceDefinitionRequest.Builderavoiding the need to create one manually viaCreateDeviceDefinitionRequest.builder()- Parameters:
createDeviceDefinitionRequest- AConsumerthat will call methods onCreateDeviceDefinitionRequest.Builderto create a request.- Returns:
- Result of the CreateDeviceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDeviceDefinitionVersion
default CreateDeviceDefinitionVersionResponse createDeviceDefinitionVersion(CreateDeviceDefinitionVersionRequest createDeviceDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a device definition that has already been defined.- Parameters:
createDeviceDefinitionVersionRequest-- Returns:
- Result of the CreateDeviceDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createDeviceDefinitionVersion
default CreateDeviceDefinitionVersionResponse createDeviceDefinitionVersion(Consumer<CreateDeviceDefinitionVersionRequest.Builder> createDeviceDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a device definition that has already been defined.
This is a convenience which creates an instance of the
CreateDeviceDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateDeviceDefinitionVersionRequest.builder()- Parameters:
createDeviceDefinitionVersionRequest- AConsumerthat will call methods onCreateDeviceDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the CreateDeviceDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createFunctionDefinition
default CreateFunctionDefinitionResponse createFunctionDefinition(CreateFunctionDefinitionRequest createFunctionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the CreateFunctionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createFunctionDefinition
default CreateFunctionDefinitionResponse createFunctionDefinition(Consumer<CreateFunctionDefinitionRequest.Builder> createFunctionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.
This is a convenience which creates an instance of the
CreateFunctionDefinitionRequest.Builderavoiding the need to create one manually viaCreateFunctionDefinitionRequest.builder()- Parameters:
createFunctionDefinitionRequest- AConsumerthat will call methods onCreateFunctionDefinitionRequest.Builderto create a request.- Returns:
- Result of the CreateFunctionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createFunctionDefinitionVersion
default CreateFunctionDefinitionVersionResponse createFunctionDefinitionVersion(CreateFunctionDefinitionVersionRequest createFunctionDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a Lambda function definition that has already been defined.- Parameters:
createFunctionDefinitionVersionRequest- Information needed to create a function definition version.- Returns:
- Result of the CreateFunctionDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createFunctionDefinitionVersion
default CreateFunctionDefinitionVersionResponse createFunctionDefinitionVersion(Consumer<CreateFunctionDefinitionVersionRequest.Builder> createFunctionDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a Lambda function definition that has already been defined.
This is a convenience which creates an instance of the
CreateFunctionDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateFunctionDefinitionVersionRequest.builder()- Parameters:
createFunctionDefinitionVersionRequest- AConsumerthat will call methods onCreateFunctionDefinitionVersionRequest.Builderto create a request. Information needed to create a function definition version.- Returns:
- Result of the CreateFunctionDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGroup
default CreateGroupResponse createGroup(CreateGroupRequest createGroupRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the CreateGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGroup
default CreateGroupResponse createGroup(Consumer<CreateGroupRequest.Builder> createGroupRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.
This is a convenience which creates an instance of the
CreateGroupRequest.Builderavoiding the need to create one manually viaCreateGroupRequest.builder()- Parameters:
createGroupRequest- AConsumerthat will call methods onCreateGroupRequest.Builderto create a request.- Returns:
- Result of the CreateGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGroupCertificateAuthority
default CreateGroupCertificateAuthorityResponse createGroupCertificateAuthority(CreateGroupCertificateAuthorityRequest createGroupCertificateAuthorityRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Creates a CA for the group. If a CA already exists, it will rotate the existing CA.- Parameters:
createGroupCertificateAuthorityRequest-- Returns:
- Result of the CreateGroupCertificateAuthority operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGroupCertificateAuthority
default CreateGroupCertificateAuthorityResponse createGroupCertificateAuthority(Consumer<CreateGroupCertificateAuthorityRequest.Builder> createGroupCertificateAuthorityRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Creates a CA for the group. If a CA already exists, it will rotate the existing CA.
This is a convenience which creates an instance of the
CreateGroupCertificateAuthorityRequest.Builderavoiding the need to create one manually viaCreateGroupCertificateAuthorityRequest.builder()- Parameters:
createGroupCertificateAuthorityRequest- AConsumerthat will call methods onCreateGroupCertificateAuthorityRequest.Builderto create a request.- Returns:
- Result of the CreateGroupCertificateAuthority operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGroupVersion
default CreateGroupVersionResponse createGroupVersion(CreateGroupVersionRequest createGroupVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a group which has already been defined.- Parameters:
createGroupVersionRequest-- Returns:
- Result of the CreateGroupVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGroupVersion
default CreateGroupVersionResponse createGroupVersion(Consumer<CreateGroupVersionRequest.Builder> createGroupVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a group which has already been defined.
This is a convenience which creates an instance of the
CreateGroupVersionRequest.Builderavoiding the need to create one manually viaCreateGroupVersionRequest.builder()- Parameters:
createGroupVersionRequest- AConsumerthat will call methods onCreateGroupVersionRequest.Builderto create a request.- Returns:
- Result of the CreateGroupVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLoggerDefinition
default CreateLoggerDefinitionResponse createLoggerDefinition(CreateLoggerDefinitionRequest createLoggerDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the CreateLoggerDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLoggerDefinition
default CreateLoggerDefinitionResponse createLoggerDefinition(Consumer<CreateLoggerDefinitionRequest.Builder> createLoggerDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.
This is a convenience which creates an instance of the
CreateLoggerDefinitionRequest.Builderavoiding the need to create one manually viaCreateLoggerDefinitionRequest.builder()- Parameters:
createLoggerDefinitionRequest- AConsumerthat will call methods onCreateLoggerDefinitionRequest.Builderto create a request.- Returns:
- Result of the CreateLoggerDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLoggerDefinitionVersion
default CreateLoggerDefinitionVersionResponse createLoggerDefinitionVersion(CreateLoggerDefinitionVersionRequest createLoggerDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a logger definition that has already been defined.- Parameters:
createLoggerDefinitionVersionRequest-- Returns:
- Result of the CreateLoggerDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLoggerDefinitionVersion
default CreateLoggerDefinitionVersionResponse createLoggerDefinitionVersion(Consumer<CreateLoggerDefinitionVersionRequest.Builder> createLoggerDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a logger definition that has already been defined.
This is a convenience which creates an instance of the
CreateLoggerDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateLoggerDefinitionVersionRequest.builder()- Parameters:
createLoggerDefinitionVersionRequest- AConsumerthat will call methods onCreateLoggerDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the CreateLoggerDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createResourceDefinition
default CreateResourceDefinitionResponse createResourceDefinition(CreateResourceDefinitionRequest createResourceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the CreateResourceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createResourceDefinition
default CreateResourceDefinitionResponse createResourceDefinition(Consumer<CreateResourceDefinitionRequest.Builder> createResourceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a resource definition which contains a list of resources to be used in a group. You can create an initial version of the definition by providing a list of resources now, or use ''CreateResourceDefinitionVersion'' later.
This is a convenience which creates an instance of the
CreateResourceDefinitionRequest.Builderavoiding the need to create one manually viaCreateResourceDefinitionRequest.builder()- Parameters:
createResourceDefinitionRequest- AConsumerthat will call methods onCreateResourceDefinitionRequest.Builderto create a request.- Returns:
- Result of the CreateResourceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createResourceDefinitionVersion
default CreateResourceDefinitionVersionResponse createResourceDefinitionVersion(CreateResourceDefinitionVersionRequest createResourceDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a resource definition that has already been defined.- Parameters:
createResourceDefinitionVersionRequest-- Returns:
- Result of the CreateResourceDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createResourceDefinitionVersion
default CreateResourceDefinitionVersionResponse createResourceDefinitionVersion(Consumer<CreateResourceDefinitionVersionRequest.Builder> createResourceDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a resource definition that has already been defined.
This is a convenience which creates an instance of the
CreateResourceDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateResourceDefinitionVersionRequest.builder()- Parameters:
createResourceDefinitionVersionRequest- AConsumerthat will call methods onCreateResourceDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the CreateResourceDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createSoftwareUpdateJob
default CreateSoftwareUpdateJobResponse createSoftwareUpdateJob(CreateSoftwareUpdateJobRequest createSoftwareUpdateJobRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the CreateSoftwareUpdateJob operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createSoftwareUpdateJob
default CreateSoftwareUpdateJobResponse createSoftwareUpdateJob(Consumer<CreateSoftwareUpdateJobRequest.Builder> createSoftwareUpdateJobRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.
This is a convenience which creates an instance of the
CreateSoftwareUpdateJobRequest.Builderavoiding the need to create one manually viaCreateSoftwareUpdateJobRequest.builder()- Parameters:
createSoftwareUpdateJobRequest- AConsumerthat will call methods onCreateSoftwareUpdateJobRequest.Builderto create a request.- Returns:
- Result of the CreateSoftwareUpdateJob operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createSubscriptionDefinition
default CreateSubscriptionDefinitionResponse createSubscriptionDefinition(CreateSubscriptionDefinitionRequest createSubscriptionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the CreateSubscriptionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createSubscriptionDefinition
default CreateSubscriptionDefinitionResponse createSubscriptionDefinition(Consumer<CreateSubscriptionDefinitionRequest.Builder> createSubscriptionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time.
This is a convenience which creates an instance of the
CreateSubscriptionDefinitionRequest.Builderavoiding the need to create one manually viaCreateSubscriptionDefinitionRequest.builder()- Parameters:
createSubscriptionDefinitionRequest- AConsumerthat will call methods onCreateSubscriptionDefinitionRequest.Builderto create a request.- Returns:
- Result of the CreateSubscriptionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createSubscriptionDefinitionVersion
default CreateSubscriptionDefinitionVersionResponse createSubscriptionDefinitionVersion(CreateSubscriptionDefinitionVersionRequest createSubscriptionDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a subscription definition which has already been defined.- Parameters:
createSubscriptionDefinitionVersionRequest-- Returns:
- Result of the CreateSubscriptionDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createSubscriptionDefinitionVersion
default CreateSubscriptionDefinitionVersionResponse createSubscriptionDefinitionVersion(Consumer<CreateSubscriptionDefinitionVersionRequest.Builder> createSubscriptionDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Creates a version of a subscription definition which has already been defined.
This is a convenience which creates an instance of the
CreateSubscriptionDefinitionVersionRequest.Builderavoiding the need to create one manually viaCreateSubscriptionDefinitionVersionRequest.builder()- Parameters:
createSubscriptionDefinitionVersionRequest- AConsumerthat will call methods onCreateSubscriptionDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the CreateSubscriptionDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConnectorDefinition
default DeleteConnectorDefinitionResponse deleteConnectorDefinition(DeleteConnectorDefinitionRequest deleteConnectorDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a connector definition.- Parameters:
deleteConnectorDefinitionRequest-- Returns:
- Result of the DeleteConnectorDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConnectorDefinition
default DeleteConnectorDefinitionResponse deleteConnectorDefinition(Consumer<DeleteConnectorDefinitionRequest.Builder> deleteConnectorDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a connector definition.
This is a convenience which creates an instance of the
DeleteConnectorDefinitionRequest.Builderavoiding the need to create one manually viaDeleteConnectorDefinitionRequest.builder()- Parameters:
deleteConnectorDefinitionRequest- AConsumerthat will call methods onDeleteConnectorDefinitionRequest.Builderto create a request.- Returns:
- Result of the DeleteConnectorDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCoreDefinition
default DeleteCoreDefinitionResponse deleteCoreDefinition(DeleteCoreDefinitionRequest deleteCoreDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a core definition.- Parameters:
deleteCoreDefinitionRequest-- Returns:
- Result of the DeleteCoreDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCoreDefinition
default DeleteCoreDefinitionResponse deleteCoreDefinition(Consumer<DeleteCoreDefinitionRequest.Builder> deleteCoreDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a core definition.
This is a convenience which creates an instance of the
DeleteCoreDefinitionRequest.Builderavoiding the need to create one manually viaDeleteCoreDefinitionRequest.builder()- Parameters:
deleteCoreDefinitionRequest- AConsumerthat will call methods onDeleteCoreDefinitionRequest.Builderto create a request.- Returns:
- Result of the DeleteCoreDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDeviceDefinition
default DeleteDeviceDefinitionResponse deleteDeviceDefinition(DeleteDeviceDefinitionRequest deleteDeviceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a device definition.- Parameters:
deleteDeviceDefinitionRequest-- Returns:
- Result of the DeleteDeviceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDeviceDefinition
default DeleteDeviceDefinitionResponse deleteDeviceDefinition(Consumer<DeleteDeviceDefinitionRequest.Builder> deleteDeviceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a device definition.
This is a convenience which creates an instance of the
DeleteDeviceDefinitionRequest.Builderavoiding the need to create one manually viaDeleteDeviceDefinitionRequest.builder()- Parameters:
deleteDeviceDefinitionRequest- AConsumerthat will call methods onDeleteDeviceDefinitionRequest.Builderto create a request.- Returns:
- Result of the DeleteDeviceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteFunctionDefinition
default DeleteFunctionDefinitionResponse deleteFunctionDefinition(DeleteFunctionDefinitionRequest deleteFunctionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a Lambda function definition.- Parameters:
deleteFunctionDefinitionRequest-- Returns:
- Result of the DeleteFunctionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteFunctionDefinition
default DeleteFunctionDefinitionResponse deleteFunctionDefinition(Consumer<DeleteFunctionDefinitionRequest.Builder> deleteFunctionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a Lambda function definition.
This is a convenience which creates an instance of the
DeleteFunctionDefinitionRequest.Builderavoiding the need to create one manually viaDeleteFunctionDefinitionRequest.builder()- Parameters:
deleteFunctionDefinitionRequest- AConsumerthat will call methods onDeleteFunctionDefinitionRequest.Builderto create a request.- Returns:
- Result of the DeleteFunctionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteGroup
default DeleteGroupResponse deleteGroup(DeleteGroupRequest deleteGroupRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a group.- Parameters:
deleteGroupRequest-- Returns:
- Result of the DeleteGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteGroup
default DeleteGroupResponse deleteGroup(Consumer<DeleteGroupRequest.Builder> deleteGroupRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a group.
This is a convenience which creates an instance of the
DeleteGroupRequest.Builderavoiding the need to create one manually viaDeleteGroupRequest.builder()- Parameters:
deleteGroupRequest- AConsumerthat will call methods onDeleteGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLoggerDefinition
default DeleteLoggerDefinitionResponse deleteLoggerDefinition(DeleteLoggerDefinitionRequest deleteLoggerDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a logger definition.- Parameters:
deleteLoggerDefinitionRequest-- Returns:
- Result of the DeleteLoggerDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLoggerDefinition
default DeleteLoggerDefinitionResponse deleteLoggerDefinition(Consumer<DeleteLoggerDefinitionRequest.Builder> deleteLoggerDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a logger definition.
This is a convenience which creates an instance of the
DeleteLoggerDefinitionRequest.Builderavoiding the need to create one manually viaDeleteLoggerDefinitionRequest.builder()- Parameters:
deleteLoggerDefinitionRequest- AConsumerthat will call methods onDeleteLoggerDefinitionRequest.Builderto create a request.- Returns:
- Result of the DeleteLoggerDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResourceDefinition
default DeleteResourceDefinitionResponse deleteResourceDefinition(DeleteResourceDefinitionRequest deleteResourceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a resource definition.- Parameters:
deleteResourceDefinitionRequest-- Returns:
- Result of the DeleteResourceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResourceDefinition
default DeleteResourceDefinitionResponse deleteResourceDefinition(Consumer<DeleteResourceDefinitionRequest.Builder> deleteResourceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a resource definition.
This is a convenience which creates an instance of the
DeleteResourceDefinitionRequest.Builderavoiding the need to create one manually viaDeleteResourceDefinitionRequest.builder()- Parameters:
deleteResourceDefinitionRequest- AConsumerthat will call methods onDeleteResourceDefinitionRequest.Builderto create a request.- Returns:
- Result of the DeleteResourceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteSubscriptionDefinition
default DeleteSubscriptionDefinitionResponse deleteSubscriptionDefinition(DeleteSubscriptionDefinitionRequest deleteSubscriptionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a subscription definition.- Parameters:
deleteSubscriptionDefinitionRequest-- Returns:
- Result of the DeleteSubscriptionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteSubscriptionDefinition
default DeleteSubscriptionDefinitionResponse deleteSubscriptionDefinition(Consumer<DeleteSubscriptionDefinitionRequest.Builder> deleteSubscriptionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deletes a subscription definition.
This is a convenience which creates an instance of the
DeleteSubscriptionDefinitionRequest.Builderavoiding the need to create one manually viaDeleteSubscriptionDefinitionRequest.builder()- Parameters:
deleteSubscriptionDefinitionRequest- AConsumerthat will call methods onDeleteSubscriptionDefinitionRequest.Builderto create a request.- Returns:
- Result of the DeleteSubscriptionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateRoleFromGroup
default DisassociateRoleFromGroupResponse disassociateRoleFromGroup(DisassociateRoleFromGroupRequest disassociateRoleFromGroupRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Disassociates the role from a group.- Parameters:
disassociateRoleFromGroupRequest-- Returns:
- Result of the DisassociateRoleFromGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateRoleFromGroup
default DisassociateRoleFromGroupResponse disassociateRoleFromGroup(Consumer<DisassociateRoleFromGroupRequest.Builder> disassociateRoleFromGroupRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Disassociates the role from a group.
This is a convenience which creates an instance of the
DisassociateRoleFromGroupRequest.Builderavoiding the need to create one manually viaDisassociateRoleFromGroupRequest.builder()- Parameters:
disassociateRoleFromGroupRequest- AConsumerthat will call methods onDisassociateRoleFromGroupRequest.Builderto create a request.- Returns:
- Result of the DisassociateRoleFromGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateServiceRoleFromAccount
default DisassociateServiceRoleFromAccountResponse disassociateServiceRoleFromAccount(DisassociateServiceRoleFromAccountRequest disassociateServiceRoleFromAccountRequest) throws InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Disassociates the service role from your account. Without a service role, deployments will not work.- Parameters:
disassociateServiceRoleFromAccountRequest-- Returns:
- Result of the DisassociateServiceRoleFromAccount operation returned by the service.
- Throws:
InternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateServiceRoleFromAccount
default DisassociateServiceRoleFromAccountResponse disassociateServiceRoleFromAccount(Consumer<DisassociateServiceRoleFromAccountRequest.Builder> disassociateServiceRoleFromAccountRequest) throws InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Disassociates the service role from your account. Without a service role, deployments will not work.
This is a convenience which creates an instance of the
DisassociateServiceRoleFromAccountRequest.Builderavoiding the need to create one manually viaDisassociateServiceRoleFromAccountRequest.builder()- Parameters:
disassociateServiceRoleFromAccountRequest- AConsumerthat will call methods onDisassociateServiceRoleFromAccountRequest.Builderto create a request.- Returns:
- Result of the DisassociateServiceRoleFromAccount operation returned by the service.
- Throws:
InternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateServiceRoleFromAccount
default DisassociateServiceRoleFromAccountResponse disassociateServiceRoleFromAccount() throws InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Disassociates the service role from your account. Without a service role, deployments will not work.- Returns:
- Result of the DisassociateServiceRoleFromAccount operation returned by the service.
- Throws:
InternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
disassociateServiceRoleFromAccount(DisassociateServiceRoleFromAccountRequest), AWS API Documentation
-
getAssociatedRole
default GetAssociatedRoleResponse getAssociatedRole(GetAssociatedRoleRequest getAssociatedRoleRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the role associated with a particular group.- Parameters:
getAssociatedRoleRequest-- Returns:
- Result of the GetAssociatedRole operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAssociatedRole
default GetAssociatedRoleResponse getAssociatedRole(Consumer<GetAssociatedRoleRequest.Builder> getAssociatedRoleRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the role associated with a particular group.
This is a convenience which creates an instance of the
GetAssociatedRoleRequest.Builderavoiding the need to create one manually viaGetAssociatedRoleRequest.builder()- Parameters:
getAssociatedRoleRequest- AConsumerthat will call methods onGetAssociatedRoleRequest.Builderto create a request.- Returns:
- Result of the GetAssociatedRole operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBulkDeploymentStatus
default GetBulkDeploymentStatusResponse getBulkDeploymentStatus(GetBulkDeploymentStatusRequest getBulkDeploymentStatusRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Returns the status of a bulk deployment.- Parameters:
getBulkDeploymentStatusRequest-- Returns:
- Result of the GetBulkDeploymentStatus operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getBulkDeploymentStatus
default GetBulkDeploymentStatusResponse getBulkDeploymentStatus(Consumer<GetBulkDeploymentStatusRequest.Builder> getBulkDeploymentStatusRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Returns the status of a bulk deployment.
This is a convenience which creates an instance of the
GetBulkDeploymentStatusRequest.Builderavoiding the need to create one manually viaGetBulkDeploymentStatusRequest.builder()- Parameters:
getBulkDeploymentStatusRequest- AConsumerthat will call methods onGetBulkDeploymentStatusRequest.Builderto create a request.- Returns:
- Result of the GetBulkDeploymentStatus operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConnectivityInfo
default GetConnectivityInfoResponse getConnectivityInfo(GetConnectivityInfoRequest getConnectivityInfoRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the connectivity information for a core.- Parameters:
getConnectivityInfoRequest-- Returns:
- Result of the GetConnectivityInfo operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConnectivityInfo
default GetConnectivityInfoResponse getConnectivityInfo(Consumer<GetConnectivityInfoRequest.Builder> getConnectivityInfoRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the connectivity information for a core.
This is a convenience which creates an instance of the
GetConnectivityInfoRequest.Builderavoiding the need to create one manually viaGetConnectivityInfoRequest.builder()- Parameters:
getConnectivityInfoRequest- AConsumerthat will call methods onGetConnectivityInfoRequest.Builderto create a request.- Returns:
- Result of the GetConnectivityInfo operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConnectorDefinition
default GetConnectorDefinitionResponse getConnectorDefinition(GetConnectorDefinitionRequest getConnectorDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a connector definition.- Parameters:
getConnectorDefinitionRequest-- Returns:
- Result of the GetConnectorDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConnectorDefinition
default GetConnectorDefinitionResponse getConnectorDefinition(Consumer<GetConnectorDefinitionRequest.Builder> getConnectorDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a connector definition.
This is a convenience which creates an instance of the
GetConnectorDefinitionRequest.Builderavoiding the need to create one manually viaGetConnectorDefinitionRequest.builder()- Parameters:
getConnectorDefinitionRequest- AConsumerthat will call methods onGetConnectorDefinitionRequest.Builderto create a request.- Returns:
- Result of the GetConnectorDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConnectorDefinitionVersion
default GetConnectorDefinitionVersionResponse getConnectorDefinitionVersion(GetConnectorDefinitionVersionRequest getConnectorDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the GetConnectorDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConnectorDefinitionVersion
default GetConnectorDefinitionVersionResponse getConnectorDefinitionVersion(Consumer<GetConnectorDefinitionVersionRequest.Builder> getConnectorDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a connector definition version, including the connectors that the version contains. Connectors are prebuilt modules that interact with local infrastructure, device protocols, AWS, and other cloud services.
This is a convenience which creates an instance of the
GetConnectorDefinitionVersionRequest.Builderavoiding the need to create one manually viaGetConnectorDefinitionVersionRequest.builder()- Parameters:
getConnectorDefinitionVersionRequest- AConsumerthat will call methods onGetConnectorDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the GetConnectorDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCoreDefinition
default GetCoreDefinitionResponse getCoreDefinition(GetCoreDefinitionRequest getCoreDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a core definition version.- Parameters:
getCoreDefinitionRequest-- Returns:
- Result of the GetCoreDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCoreDefinition
default GetCoreDefinitionResponse getCoreDefinition(Consumer<GetCoreDefinitionRequest.Builder> getCoreDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a core definition version.
This is a convenience which creates an instance of the
GetCoreDefinitionRequest.Builderavoiding the need to create one manually viaGetCoreDefinitionRequest.builder()- Parameters:
getCoreDefinitionRequest- AConsumerthat will call methods onGetCoreDefinitionRequest.Builderto create a request.- Returns:
- Result of the GetCoreDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCoreDefinitionVersion
default GetCoreDefinitionVersionResponse getCoreDefinitionVersion(GetCoreDefinitionVersionRequest getCoreDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a core definition version.- Parameters:
getCoreDefinitionVersionRequest-- Returns:
- Result of the GetCoreDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCoreDefinitionVersion
default GetCoreDefinitionVersionResponse getCoreDefinitionVersion(Consumer<GetCoreDefinitionVersionRequest.Builder> getCoreDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a core definition version.
This is a convenience which creates an instance of the
GetCoreDefinitionVersionRequest.Builderavoiding the need to create one manually viaGetCoreDefinitionVersionRequest.builder()- Parameters:
getCoreDefinitionVersionRequest- AConsumerthat will call methods onGetCoreDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the GetCoreDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDeploymentStatus
default GetDeploymentStatusResponse getDeploymentStatus(GetDeploymentStatusRequest getDeploymentStatusRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Returns the status of a deployment.- Parameters:
getDeploymentStatusRequest-- Returns:
- Result of the GetDeploymentStatus operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDeploymentStatus
default GetDeploymentStatusResponse getDeploymentStatus(Consumer<GetDeploymentStatusRequest.Builder> getDeploymentStatusRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Returns the status of a deployment.
This is a convenience which creates an instance of the
GetDeploymentStatusRequest.Builderavoiding the need to create one manually viaGetDeploymentStatusRequest.builder()- Parameters:
getDeploymentStatusRequest- AConsumerthat will call methods onGetDeploymentStatusRequest.Builderto create a request.- Returns:
- Result of the GetDeploymentStatus operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDeviceDefinition
default GetDeviceDefinitionResponse getDeviceDefinition(GetDeviceDefinitionRequest getDeviceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a device definition.- Parameters:
getDeviceDefinitionRequest-- Returns:
- Result of the GetDeviceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDeviceDefinition
default GetDeviceDefinitionResponse getDeviceDefinition(Consumer<GetDeviceDefinitionRequest.Builder> getDeviceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a device definition.
This is a convenience which creates an instance of the
GetDeviceDefinitionRequest.Builderavoiding the need to create one manually viaGetDeviceDefinitionRequest.builder()- Parameters:
getDeviceDefinitionRequest- AConsumerthat will call methods onGetDeviceDefinitionRequest.Builderto create a request.- Returns:
- Result of the GetDeviceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDeviceDefinitionVersion
default GetDeviceDefinitionVersionResponse getDeviceDefinitionVersion(GetDeviceDefinitionVersionRequest getDeviceDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a device definition version.- Parameters:
getDeviceDefinitionVersionRequest-- Returns:
- Result of the GetDeviceDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getDeviceDefinitionVersion
default GetDeviceDefinitionVersionResponse getDeviceDefinitionVersion(Consumer<GetDeviceDefinitionVersionRequest.Builder> getDeviceDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a device definition version.
This is a convenience which creates an instance of the
GetDeviceDefinitionVersionRequest.Builderavoiding the need to create one manually viaGetDeviceDefinitionVersionRequest.builder()- Parameters:
getDeviceDefinitionVersionRequest- AConsumerthat will call methods onGetDeviceDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the GetDeviceDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getFunctionDefinition
default GetFunctionDefinitionResponse getFunctionDefinition(GetFunctionDefinitionRequest getFunctionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a Lambda function definition, including its creation time and latest version.- Parameters:
getFunctionDefinitionRequest-- Returns:
- Result of the GetFunctionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getFunctionDefinition
default GetFunctionDefinitionResponse getFunctionDefinition(Consumer<GetFunctionDefinitionRequest.Builder> getFunctionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a Lambda function definition, including its creation time and latest version.
This is a convenience which creates an instance of the
GetFunctionDefinitionRequest.Builderavoiding the need to create one manually viaGetFunctionDefinitionRequest.builder()- Parameters:
getFunctionDefinitionRequest- AConsumerthat will call methods onGetFunctionDefinitionRequest.Builderto create a request.- Returns:
- Result of the GetFunctionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getFunctionDefinitionVersion
default GetFunctionDefinitionVersionResponse getFunctionDefinitionVersion(GetFunctionDefinitionVersionRequest getFunctionDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.- Parameters:
getFunctionDefinitionVersionRequest-- Returns:
- Result of the GetFunctionDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getFunctionDefinitionVersion
default GetFunctionDefinitionVersionResponse getFunctionDefinitionVersion(Consumer<GetFunctionDefinitionVersionRequest.Builder> getFunctionDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
This is a convenience which creates an instance of the
GetFunctionDefinitionVersionRequest.Builderavoiding the need to create one manually viaGetFunctionDefinitionVersionRequest.builder()- Parameters:
getFunctionDefinitionVersionRequest- AConsumerthat will call methods onGetFunctionDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the GetFunctionDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGroup
default GetGroupResponse getGroup(GetGroupRequest getGroupRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a group.- Parameters:
getGroupRequest-- Returns:
- Result of the GetGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGroup
default GetGroupResponse getGroup(Consumer<GetGroupRequest.Builder> getGroupRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a group.
This is a convenience which creates an instance of the
GetGroupRequest.Builderavoiding the need to create one manually viaGetGroupRequest.builder()- Parameters:
getGroupRequest- AConsumerthat will call methods onGetGroupRequest.Builderto create a request.- Returns:
- Result of the GetGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGroupCertificateAuthority
default GetGroupCertificateAuthorityResponse getGroupCertificateAuthority(GetGroupCertificateAuthorityRequest getGroupCertificateAuthorityRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retreives the CA associated with a group. Returns the public key of the CA.- Parameters:
getGroupCertificateAuthorityRequest-- Returns:
- Result of the GetGroupCertificateAuthority operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGroupCertificateAuthority
default GetGroupCertificateAuthorityResponse getGroupCertificateAuthority(Consumer<GetGroupCertificateAuthorityRequest.Builder> getGroupCertificateAuthorityRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retreives the CA associated with a group. Returns the public key of the CA.
This is a convenience which creates an instance of the
GetGroupCertificateAuthorityRequest.Builderavoiding the need to create one manually viaGetGroupCertificateAuthorityRequest.builder()- Parameters:
getGroupCertificateAuthorityRequest- AConsumerthat will call methods onGetGroupCertificateAuthorityRequest.Builderto create a request.- Returns:
- Result of the GetGroupCertificateAuthority operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGroupCertificateConfiguration
default GetGroupCertificateConfigurationResponse getGroupCertificateConfiguration(GetGroupCertificateConfigurationRequest getGroupCertificateConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the current configuration for the CA used by the group.- Parameters:
getGroupCertificateConfigurationRequest-- Returns:
- Result of the GetGroupCertificateConfiguration operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGroupCertificateConfiguration
default GetGroupCertificateConfigurationResponse getGroupCertificateConfiguration(Consumer<GetGroupCertificateConfigurationRequest.Builder> getGroupCertificateConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the current configuration for the CA used by the group.
This is a convenience which creates an instance of the
GetGroupCertificateConfigurationRequest.Builderavoiding the need to create one manually viaGetGroupCertificateConfigurationRequest.builder()- Parameters:
getGroupCertificateConfigurationRequest- AConsumerthat will call methods onGetGroupCertificateConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetGroupCertificateConfiguration operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGroupVersion
default GetGroupVersionResponse getGroupVersion(GetGroupVersionRequest getGroupVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a group version.- Parameters:
getGroupVersionRequest-- Returns:
- Result of the GetGroupVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGroupVersion
default GetGroupVersionResponse getGroupVersion(Consumer<GetGroupVersionRequest.Builder> getGroupVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a group version.
This is a convenience which creates an instance of the
GetGroupVersionRequest.Builderavoiding the need to create one manually viaGetGroupVersionRequest.builder()- Parameters:
getGroupVersionRequest- AConsumerthat will call methods onGetGroupVersionRequest.Builderto create a request.- Returns:
- Result of the GetGroupVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLoggerDefinition
default GetLoggerDefinitionResponse getLoggerDefinition(GetLoggerDefinitionRequest getLoggerDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a logger definition.- Parameters:
getLoggerDefinitionRequest-- Returns:
- Result of the GetLoggerDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLoggerDefinition
default GetLoggerDefinitionResponse getLoggerDefinition(Consumer<GetLoggerDefinitionRequest.Builder> getLoggerDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a logger definition.
This is a convenience which creates an instance of the
GetLoggerDefinitionRequest.Builderavoiding the need to create one manually viaGetLoggerDefinitionRequest.builder()- Parameters:
getLoggerDefinitionRequest- AConsumerthat will call methods onGetLoggerDefinitionRequest.Builderto create a request.- Returns:
- Result of the GetLoggerDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLoggerDefinitionVersion
default GetLoggerDefinitionVersionResponse getLoggerDefinitionVersion(GetLoggerDefinitionVersionRequest getLoggerDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a logger definition version.- Parameters:
getLoggerDefinitionVersionRequest-- Returns:
- Result of the GetLoggerDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLoggerDefinitionVersion
default GetLoggerDefinitionVersionResponse getLoggerDefinitionVersion(Consumer<GetLoggerDefinitionVersionRequest.Builder> getLoggerDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a logger definition version.
This is a convenience which creates an instance of the
GetLoggerDefinitionVersionRequest.Builderavoiding the need to create one manually viaGetLoggerDefinitionVersionRequest.builder()- Parameters:
getLoggerDefinitionVersionRequest- AConsumerthat will call methods onGetLoggerDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the GetLoggerDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceDefinition
default GetResourceDefinitionResponse getResourceDefinition(GetResourceDefinitionRequest getResourceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a resource definition, including its creation time and latest version.- Parameters:
getResourceDefinitionRequest-- Returns:
- Result of the GetResourceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceDefinition
default GetResourceDefinitionResponse getResourceDefinition(Consumer<GetResourceDefinitionRequest.Builder> getResourceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a resource definition, including its creation time and latest version.
This is a convenience which creates an instance of the
GetResourceDefinitionRequest.Builderavoiding the need to create one manually viaGetResourceDefinitionRequest.builder()- Parameters:
getResourceDefinitionRequest- AConsumerthat will call methods onGetResourceDefinitionRequest.Builderto create a request.- Returns:
- Result of the GetResourceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceDefinitionVersion
default GetResourceDefinitionVersionResponse getResourceDefinitionVersion(GetResourceDefinitionVersionRequest getResourceDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a resource definition version, including which resources are included in the version.- Parameters:
getResourceDefinitionVersionRequest-- Returns:
- Result of the GetResourceDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourceDefinitionVersion
default GetResourceDefinitionVersionResponse getResourceDefinitionVersion(Consumer<GetResourceDefinitionVersionRequest.Builder> getResourceDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a resource definition version, including which resources are included in the version.
This is a convenience which creates an instance of the
GetResourceDefinitionVersionRequest.Builderavoiding the need to create one manually viaGetResourceDefinitionVersionRequest.builder()- Parameters:
getResourceDefinitionVersionRequest- AConsumerthat will call methods onGetResourceDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the GetResourceDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceRoleForAccount
default GetServiceRoleForAccountResponse getServiceRoleForAccount(GetServiceRoleForAccountRequest getServiceRoleForAccountRequest) throws InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the service role that is attached to your account.- Parameters:
getServiceRoleForAccountRequest-- Returns:
- Result of the GetServiceRoleForAccount operation returned by the service.
- Throws:
InternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceRoleForAccount
default GetServiceRoleForAccountResponse getServiceRoleForAccount(Consumer<GetServiceRoleForAccountRequest.Builder> getServiceRoleForAccountRequest) throws InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the service role that is attached to your account.
This is a convenience which creates an instance of the
GetServiceRoleForAccountRequest.Builderavoiding the need to create one manually viaGetServiceRoleForAccountRequest.builder()- Parameters:
getServiceRoleForAccountRequest- AConsumerthat will call methods onGetServiceRoleForAccountRequest.Builderto create a request.- Returns:
- Result of the GetServiceRoleForAccount operation returned by the service.
- Throws:
InternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceRoleForAccount
default GetServiceRoleForAccountResponse getServiceRoleForAccount() throws InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the service role that is attached to your account.- Returns:
- Result of the GetServiceRoleForAccount operation returned by the service.
- Throws:
InternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
getServiceRoleForAccount(GetServiceRoleForAccountRequest), AWS API Documentation
-
getSubscriptionDefinition
default GetSubscriptionDefinitionResponse getSubscriptionDefinition(GetSubscriptionDefinitionRequest getSubscriptionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a subscription definition.- Parameters:
getSubscriptionDefinitionRequest-- Returns:
- Result of the GetSubscriptionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getSubscriptionDefinition
default GetSubscriptionDefinitionResponse getSubscriptionDefinition(Consumer<GetSubscriptionDefinitionRequest.Builder> getSubscriptionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a subscription definition.
This is a convenience which creates an instance of the
GetSubscriptionDefinitionRequest.Builderavoiding the need to create one manually viaGetSubscriptionDefinitionRequest.builder()- Parameters:
getSubscriptionDefinitionRequest- AConsumerthat will call methods onGetSubscriptionDefinitionRequest.Builderto create a request.- Returns:
- Result of the GetSubscriptionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getSubscriptionDefinitionVersion
default GetSubscriptionDefinitionVersionResponse getSubscriptionDefinitionVersion(GetSubscriptionDefinitionVersionRequest getSubscriptionDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a subscription definition version.- Parameters:
getSubscriptionDefinitionVersionRequest-- Returns:
- Result of the GetSubscriptionDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getSubscriptionDefinitionVersion
default GetSubscriptionDefinitionVersionResponse getSubscriptionDefinitionVersion(Consumer<GetSubscriptionDefinitionVersionRequest.Builder> getSubscriptionDefinitionVersionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves information about a subscription definition version.
This is a convenience which creates an instance of the
GetSubscriptionDefinitionVersionRequest.Builderavoiding the need to create one manually viaGetSubscriptionDefinitionVersionRequest.builder()- Parameters:
getSubscriptionDefinitionVersionRequest- AConsumerthat will call methods onGetSubscriptionDefinitionVersionRequest.Builderto create a request.- Returns:
- Result of the GetSubscriptionDefinitionVersion operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getThingRuntimeConfiguration
default GetThingRuntimeConfigurationResponse getThingRuntimeConfiguration(GetThingRuntimeConfigurationRequest getThingRuntimeConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Get the runtime configuration of a thing.- Parameters:
getThingRuntimeConfigurationRequest-- Returns:
- Result of the GetThingRuntimeConfiguration operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getThingRuntimeConfiguration
default GetThingRuntimeConfigurationResponse getThingRuntimeConfiguration(Consumer<GetThingRuntimeConfigurationRequest.Builder> getThingRuntimeConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Get the runtime configuration of a thing.
This is a convenience which creates an instance of the
GetThingRuntimeConfigurationRequest.Builderavoiding the need to create one manually viaGetThingRuntimeConfigurationRequest.builder()- Parameters:
getThingRuntimeConfigurationRequest- AConsumerthat will call methods onGetThingRuntimeConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetThingRuntimeConfiguration operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listBulkDeploymentDetailedReports
default ListBulkDeploymentDetailedReportsResponse listBulkDeploymentDetailedReports(ListBulkDeploymentDetailedReportsRequest listBulkDeploymentDetailedReportsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.- Parameters:
listBulkDeploymentDetailedReportsRequest-- Returns:
- Result of the ListBulkDeploymentDetailedReports operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listBulkDeploymentDetailedReports
default ListBulkDeploymentDetailedReportsResponse listBulkDeploymentDetailedReports(Consumer<ListBulkDeploymentDetailedReportsRequest.Builder> listBulkDeploymentDetailedReportsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Gets a paginated list of the deployments that have been started in a bulk deployment operation, and their current deployment status.
This is a convenience which creates an instance of the
ListBulkDeploymentDetailedReportsRequest.Builderavoiding the need to create one manually viaListBulkDeploymentDetailedReportsRequest.builder()- Parameters:
listBulkDeploymentDetailedReportsRequest- AConsumerthat will call methods onListBulkDeploymentDetailedReportsRequest.Builderto create a request.- Returns:
- Result of the ListBulkDeploymentDetailedReports operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listBulkDeployments
default ListBulkDeploymentsResponse listBulkDeployments(ListBulkDeploymentsRequest listBulkDeploymentsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Returns a list of bulk deployments.- Parameters:
listBulkDeploymentsRequest-- Returns:
- Result of the ListBulkDeployments operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listBulkDeployments
default ListBulkDeploymentsResponse listBulkDeployments(Consumer<ListBulkDeploymentsRequest.Builder> listBulkDeploymentsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Returns a list of bulk deployments.
This is a convenience which creates an instance of the
ListBulkDeploymentsRequest.Builderavoiding the need to create one manually viaListBulkDeploymentsRequest.builder()- Parameters:
listBulkDeploymentsRequest- AConsumerthat will call methods onListBulkDeploymentsRequest.Builderto create a request.- Returns:
- Result of the ListBulkDeployments operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listBulkDeployments
default ListBulkDeploymentsResponse listBulkDeployments() throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Returns a list of bulk deployments.- Returns:
- Result of the ListBulkDeployments operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listBulkDeployments(ListBulkDeploymentsRequest), AWS API Documentation
-
listConnectorDefinitionVersions
default ListConnectorDefinitionVersionsResponse listConnectorDefinitionVersions(ListConnectorDefinitionVersionsRequest listConnectorDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the ListConnectorDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConnectorDefinitionVersions
default ListConnectorDefinitionVersionsResponse listConnectorDefinitionVersions(Consumer<ListConnectorDefinitionVersionsRequest.Builder> listConnectorDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a connector definition, which are containers for connectors. Connectors run on the Greengrass core and contain built-in integration with local infrastructure, device protocols, AWS, and other cloud services.
This is a convenience which creates an instance of the
ListConnectorDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListConnectorDefinitionVersionsRequest.builder()- Parameters:
listConnectorDefinitionVersionsRequest- AConsumerthat will call methods onListConnectorDefinitionVersionsRequest.Builderto create a request.- Returns:
- Result of the ListConnectorDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConnectorDefinitions
default ListConnectorDefinitionsResponse listConnectorDefinitions(ListConnectorDefinitionsRequest listConnectorDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of connector definitions.- Parameters:
listConnectorDefinitionsRequest-- Returns:
- Result of the ListConnectorDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConnectorDefinitions
default ListConnectorDefinitionsResponse listConnectorDefinitions(Consumer<ListConnectorDefinitionsRequest.Builder> listConnectorDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of connector definitions.
This is a convenience which creates an instance of the
ListConnectorDefinitionsRequest.Builderavoiding the need to create one manually viaListConnectorDefinitionsRequest.builder()- Parameters:
listConnectorDefinitionsRequest- AConsumerthat will call methods onListConnectorDefinitionsRequest.Builderto create a request.- Returns:
- Result of the ListConnectorDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConnectorDefinitions
default ListConnectorDefinitionsResponse listConnectorDefinitions() throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of connector definitions.- Returns:
- Result of the ListConnectorDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listConnectorDefinitions(ListConnectorDefinitionsRequest), AWS API Documentation
-
listCoreDefinitionVersions
default ListCoreDefinitionVersionsResponse listCoreDefinitionVersions(ListCoreDefinitionVersionsRequest listCoreDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a core definition.- Parameters:
listCoreDefinitionVersionsRequest-- Returns:
- Result of the ListCoreDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listCoreDefinitionVersions
default ListCoreDefinitionVersionsResponse listCoreDefinitionVersions(Consumer<ListCoreDefinitionVersionsRequest.Builder> listCoreDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a core definition.
This is a convenience which creates an instance of the
ListCoreDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListCoreDefinitionVersionsRequest.builder()- Parameters:
listCoreDefinitionVersionsRequest- AConsumerthat will call methods onListCoreDefinitionVersionsRequest.Builderto create a request.- Returns:
- Result of the ListCoreDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listCoreDefinitions
default ListCoreDefinitionsResponse listCoreDefinitions(ListCoreDefinitionsRequest listCoreDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of core definitions.- Parameters:
listCoreDefinitionsRequest-- Returns:
- Result of the ListCoreDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listCoreDefinitions
default ListCoreDefinitionsResponse listCoreDefinitions(Consumer<ListCoreDefinitionsRequest.Builder> listCoreDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of core definitions.
This is a convenience which creates an instance of the
ListCoreDefinitionsRequest.Builderavoiding the need to create one manually viaListCoreDefinitionsRequest.builder()- Parameters:
listCoreDefinitionsRequest- AConsumerthat will call methods onListCoreDefinitionsRequest.Builderto create a request.- Returns:
- Result of the ListCoreDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listCoreDefinitions
default ListCoreDefinitionsResponse listCoreDefinitions() throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of core definitions.- Returns:
- Result of the ListCoreDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listCoreDefinitions(ListCoreDefinitionsRequest), AWS API Documentation
-
listDeployments
default ListDeploymentsResponse listDeployments(ListDeploymentsRequest listDeploymentsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Returns a history of deployments for the group.- Parameters:
listDeploymentsRequest-- Returns:
- Result of the ListDeployments operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDeployments
default ListDeploymentsResponse listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Returns a history of deployments for the group.
This is a convenience which creates an instance of the
ListDeploymentsRequest.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto create a request.- Returns:
- Result of the ListDeployments operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDeviceDefinitionVersions
default ListDeviceDefinitionVersionsResponse listDeviceDefinitionVersions(ListDeviceDefinitionVersionsRequest listDeviceDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a device definition.- Parameters:
listDeviceDefinitionVersionsRequest-- Returns:
- Result of the ListDeviceDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDeviceDefinitionVersions
default ListDeviceDefinitionVersionsResponse listDeviceDefinitionVersions(Consumer<ListDeviceDefinitionVersionsRequest.Builder> listDeviceDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a device definition.
This is a convenience which creates an instance of the
ListDeviceDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListDeviceDefinitionVersionsRequest.builder()- Parameters:
listDeviceDefinitionVersionsRequest- AConsumerthat will call methods onListDeviceDefinitionVersionsRequest.Builderto create a request.- Returns:
- Result of the ListDeviceDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDeviceDefinitions
default ListDeviceDefinitionsResponse listDeviceDefinitions(ListDeviceDefinitionsRequest listDeviceDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of device definitions.- Parameters:
listDeviceDefinitionsRequest-- Returns:
- Result of the ListDeviceDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDeviceDefinitions
default ListDeviceDefinitionsResponse listDeviceDefinitions(Consumer<ListDeviceDefinitionsRequest.Builder> listDeviceDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of device definitions.
This is a convenience which creates an instance of the
ListDeviceDefinitionsRequest.Builderavoiding the need to create one manually viaListDeviceDefinitionsRequest.builder()- Parameters:
listDeviceDefinitionsRequest- AConsumerthat will call methods onListDeviceDefinitionsRequest.Builderto create a request.- Returns:
- Result of the ListDeviceDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDeviceDefinitions
default ListDeviceDefinitionsResponse listDeviceDefinitions() throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of device definitions.- Returns:
- Result of the ListDeviceDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listDeviceDefinitions(ListDeviceDefinitionsRequest), AWS API Documentation
-
listFunctionDefinitionVersions
default ListFunctionDefinitionVersionsResponse listFunctionDefinitionVersions(ListFunctionDefinitionVersionsRequest listFunctionDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a Lambda function definition.- Parameters:
listFunctionDefinitionVersionsRequest-- Returns:
- Result of the ListFunctionDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listFunctionDefinitionVersions
default ListFunctionDefinitionVersionsResponse listFunctionDefinitionVersions(Consumer<ListFunctionDefinitionVersionsRequest.Builder> listFunctionDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a Lambda function definition.
This is a convenience which creates an instance of the
ListFunctionDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListFunctionDefinitionVersionsRequest.builder()- Parameters:
listFunctionDefinitionVersionsRequest- AConsumerthat will call methods onListFunctionDefinitionVersionsRequest.Builderto create a request.- Returns:
- Result of the ListFunctionDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listFunctionDefinitions
default ListFunctionDefinitionsResponse listFunctionDefinitions(ListFunctionDefinitionsRequest listFunctionDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of Lambda function definitions.- Parameters:
listFunctionDefinitionsRequest-- Returns:
- Result of the ListFunctionDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listFunctionDefinitions
default ListFunctionDefinitionsResponse listFunctionDefinitions(Consumer<ListFunctionDefinitionsRequest.Builder> listFunctionDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of Lambda function definitions.
This is a convenience which creates an instance of the
ListFunctionDefinitionsRequest.Builderavoiding the need to create one manually viaListFunctionDefinitionsRequest.builder()- Parameters:
listFunctionDefinitionsRequest- AConsumerthat will call methods onListFunctionDefinitionsRequest.Builderto create a request.- Returns:
- Result of the ListFunctionDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listFunctionDefinitions
default ListFunctionDefinitionsResponse listFunctionDefinitions() throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of Lambda function definitions.- Returns:
- Result of the ListFunctionDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listFunctionDefinitions(ListFunctionDefinitionsRequest), AWS API Documentation
-
listGroupCertificateAuthorities
default ListGroupCertificateAuthoritiesResponse listGroupCertificateAuthorities(ListGroupCertificateAuthoritiesRequest listGroupCertificateAuthoritiesRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the current CAs for a group.- Parameters:
listGroupCertificateAuthoritiesRequest-- Returns:
- Result of the ListGroupCertificateAuthorities operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listGroupCertificateAuthorities
default ListGroupCertificateAuthoritiesResponse listGroupCertificateAuthorities(Consumer<ListGroupCertificateAuthoritiesRequest.Builder> listGroupCertificateAuthoritiesRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Retrieves the current CAs for a group.
This is a convenience which creates an instance of the
ListGroupCertificateAuthoritiesRequest.Builderavoiding the need to create one manually viaListGroupCertificateAuthoritiesRequest.builder()- Parameters:
listGroupCertificateAuthoritiesRequest- AConsumerthat will call methods onListGroupCertificateAuthoritiesRequest.Builderto create a request.- Returns:
- Result of the ListGroupCertificateAuthorities operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listGroupVersions
default ListGroupVersionsResponse listGroupVersions(ListGroupVersionsRequest listGroupVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a group.- Parameters:
listGroupVersionsRequest-- Returns:
- Result of the ListGroupVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listGroupVersions
default ListGroupVersionsResponse listGroupVersions(Consumer<ListGroupVersionsRequest.Builder> listGroupVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a group.
This is a convenience which creates an instance of the
ListGroupVersionsRequest.Builderavoiding the need to create one manually viaListGroupVersionsRequest.builder()- Parameters:
listGroupVersionsRequest- AConsumerthat will call methods onListGroupVersionsRequest.Builderto create a request.- Returns:
- Result of the ListGroupVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listGroups
default ListGroupsResponse listGroups(ListGroupsRequest listGroupsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of groups.- Parameters:
listGroupsRequest-- Returns:
- Result of the ListGroups operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listGroups
default ListGroupsResponse listGroups(Consumer<ListGroupsRequest.Builder> listGroupsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of groups.
This is a convenience which creates an instance of the
ListGroupsRequest.Builderavoiding the need to create one manually viaListGroupsRequest.builder()- Parameters:
listGroupsRequest- AConsumerthat will call methods onListGroupsRequest.Builderto create a request.- Returns:
- Result of the ListGroups operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listGroups
default ListGroupsResponse listGroups() throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of groups.- Returns:
- Result of the ListGroups operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listGroups(ListGroupsRequest), AWS API Documentation
-
listLoggerDefinitionVersions
default ListLoggerDefinitionVersionsResponse listLoggerDefinitionVersions(ListLoggerDefinitionVersionsRequest listLoggerDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a logger definition.- Parameters:
listLoggerDefinitionVersionsRequest-- Returns:
- Result of the ListLoggerDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLoggerDefinitionVersions
default ListLoggerDefinitionVersionsResponse listLoggerDefinitionVersions(Consumer<ListLoggerDefinitionVersionsRequest.Builder> listLoggerDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a logger definition.
This is a convenience which creates an instance of the
ListLoggerDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListLoggerDefinitionVersionsRequest.builder()- Parameters:
listLoggerDefinitionVersionsRequest- AConsumerthat will call methods onListLoggerDefinitionVersionsRequest.Builderto create a request.- Returns:
- Result of the ListLoggerDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLoggerDefinitions
default ListLoggerDefinitionsResponse listLoggerDefinitions(ListLoggerDefinitionsRequest listLoggerDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of logger definitions.- Parameters:
listLoggerDefinitionsRequest-- Returns:
- Result of the ListLoggerDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLoggerDefinitions
default ListLoggerDefinitionsResponse listLoggerDefinitions(Consumer<ListLoggerDefinitionsRequest.Builder> listLoggerDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of logger definitions.
This is a convenience which creates an instance of the
ListLoggerDefinitionsRequest.Builderavoiding the need to create one manually viaListLoggerDefinitionsRequest.builder()- Parameters:
listLoggerDefinitionsRequest- AConsumerthat will call methods onListLoggerDefinitionsRequest.Builderto create a request.- Returns:
- Result of the ListLoggerDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLoggerDefinitions
default ListLoggerDefinitionsResponse listLoggerDefinitions() throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of logger definitions.- Returns:
- Result of the ListLoggerDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listLoggerDefinitions(ListLoggerDefinitionsRequest), AWS API Documentation
-
listResourceDefinitionVersions
default ListResourceDefinitionVersionsResponse listResourceDefinitionVersions(ListResourceDefinitionVersionsRequest listResourceDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a resource definition.- Parameters:
listResourceDefinitionVersionsRequest-- Returns:
- Result of the ListResourceDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceDefinitionVersions
default ListResourceDefinitionVersionsResponse listResourceDefinitionVersions(Consumer<ListResourceDefinitionVersionsRequest.Builder> listResourceDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a resource definition.
This is a convenience which creates an instance of the
ListResourceDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListResourceDefinitionVersionsRequest.builder()- Parameters:
listResourceDefinitionVersionsRequest- AConsumerthat will call methods onListResourceDefinitionVersionsRequest.Builderto create a request.- Returns:
- Result of the ListResourceDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceDefinitions
default ListResourceDefinitionsResponse listResourceDefinitions(ListResourceDefinitionsRequest listResourceDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of resource definitions.- Parameters:
listResourceDefinitionsRequest-- Returns:
- Result of the ListResourceDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceDefinitions
default ListResourceDefinitionsResponse listResourceDefinitions(Consumer<ListResourceDefinitionsRequest.Builder> listResourceDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of resource definitions.
This is a convenience which creates an instance of the
ListResourceDefinitionsRequest.Builderavoiding the need to create one manually viaListResourceDefinitionsRequest.builder()- Parameters:
listResourceDefinitionsRequest- AConsumerthat will call methods onListResourceDefinitionsRequest.Builderto create a request.- Returns:
- Result of the ListResourceDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceDefinitions
default ListResourceDefinitionsResponse listResourceDefinitions() throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of resource definitions.- Returns:
- Result of the ListResourceDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listResourceDefinitions(ListResourceDefinitionsRequest), AWS API Documentation
-
listSubscriptionDefinitionVersions
default ListSubscriptionDefinitionVersionsResponse listSubscriptionDefinitionVersions(ListSubscriptionDefinitionVersionsRequest listSubscriptionDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a subscription definition.- Parameters:
listSubscriptionDefinitionVersionsRequest-- Returns:
- Result of the ListSubscriptionDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSubscriptionDefinitionVersions
default ListSubscriptionDefinitionVersionsResponse listSubscriptionDefinitionVersions(Consumer<ListSubscriptionDefinitionVersionsRequest.Builder> listSubscriptionDefinitionVersionsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Lists the versions of a subscription definition.
This is a convenience which creates an instance of the
ListSubscriptionDefinitionVersionsRequest.Builderavoiding the need to create one manually viaListSubscriptionDefinitionVersionsRequest.builder()- Parameters:
listSubscriptionDefinitionVersionsRequest- AConsumerthat will call methods onListSubscriptionDefinitionVersionsRequest.Builderto create a request.- Returns:
- Result of the ListSubscriptionDefinitionVersions operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSubscriptionDefinitions
default ListSubscriptionDefinitionsResponse listSubscriptionDefinitions(ListSubscriptionDefinitionsRequest listSubscriptionDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of subscription definitions.- Parameters:
listSubscriptionDefinitionsRequest-- Returns:
- Result of the ListSubscriptionDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSubscriptionDefinitions
default ListSubscriptionDefinitionsResponse listSubscriptionDefinitions(Consumer<ListSubscriptionDefinitionsRequest.Builder> listSubscriptionDefinitionsRequest) throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of subscription definitions.
This is a convenience which creates an instance of the
ListSubscriptionDefinitionsRequest.Builderavoiding the need to create one manually viaListSubscriptionDefinitionsRequest.builder()- Parameters:
listSubscriptionDefinitionsRequest- AConsumerthat will call methods onListSubscriptionDefinitionsRequest.Builderto create a request.- Returns:
- Result of the ListSubscriptionDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSubscriptionDefinitions
default ListSubscriptionDefinitionsResponse listSubscriptionDefinitions() throws AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of subscription definitions.- Returns:
- Result of the ListSubscriptionDefinitions operation returned by the service.
- Throws:
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listSubscriptionDefinitions(ListSubscriptionDefinitionsRequest), AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of resource tags for a resource arn.- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Retrieves a list of resource tags for a resource arn.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
resetDeployments
default ResetDeploymentsResponse resetDeployments(ResetDeploymentsRequest resetDeploymentsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Resets a group's deployments.- Parameters:
resetDeploymentsRequest- Information needed to reset deployments.- Returns:
- Result of the ResetDeployments operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
resetDeployments
default ResetDeploymentsResponse resetDeployments(Consumer<ResetDeploymentsRequest.Builder> resetDeploymentsRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Resets a group's deployments.
This is a convenience which creates an instance of the
ResetDeploymentsRequest.Builderavoiding the need to create one manually viaResetDeploymentsRequest.builder()- Parameters:
resetDeploymentsRequest- AConsumerthat will call methods onResetDeploymentsRequest.Builderto create a request. Information needed to reset deployments.- Returns:
- Result of the ResetDeployments operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startBulkDeployment
default StartBulkDeploymentResponse startBulkDeployment(StartBulkDeploymentRequest startBulkDeploymentRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the StartBulkDeployment operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startBulkDeployment
default StartBulkDeploymentResponse startBulkDeployment(Consumer<StartBulkDeploymentRequest.Builder> startBulkDeploymentRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Deploys multiple groups in one operation. This action starts the bulk deployment of a specified set of group versions. Each group version deployment will be triggered with an adaptive rate that has a fixed upper limit. We recommend that you include an ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment'' request. These requests are idempotent with respect to the token and the request parameters.
This is a convenience which creates an instance of the
StartBulkDeploymentRequest.Builderavoiding the need to create one manually viaStartBulkDeploymentRequest.builder()- Parameters:
startBulkDeploymentRequest- AConsumerthat will call methods onStartBulkDeploymentRequest.Builderto create a request.- Returns:
- Result of the StartBulkDeployment operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopBulkDeployment
default StopBulkDeploymentResponse stopBulkDeployment(StopBulkDeploymentRequest stopBulkDeploymentRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the StopBulkDeployment operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopBulkDeployment
default StopBulkDeploymentResponse stopBulkDeployment(Consumer<StopBulkDeploymentRequest.Builder> stopBulkDeploymentRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Stops the execution of a bulk deployment. This action returns a status of ''Stopping'' until the deployment is stopped. You cannot start a new bulk deployment while a previous deployment is in the ''Stopping'' state. This action doesn't rollback completed deployments or cancel pending deployments.
This is a convenience which creates an instance of the
StopBulkDeploymentRequest.Builderavoiding the need to create one manually viaStopBulkDeploymentRequest.builder()- Parameters:
stopBulkDeploymentRequest- AConsumerthat will call methods onStopBulkDeploymentRequest.Builderto create a request.- Returns:
- Result of the StopBulkDeployment operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the TagResource operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Adds tags to a Greengrass resource. Valid resources are 'Group', 'ConnectorDefinition', 'CoreDefinition', 'DeviceDefinition', 'FunctionDefinition', 'LoggerDefinition', 'SubscriptionDefinition', 'ResourceDefinition', and 'BulkDeployment'.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. A map of the key-value pairs for the resource tag.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Remove resource tags from a Greengrass Resource.- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Remove resource tags from a Greengrass Resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateConnectivityInfo
default UpdateConnectivityInfoResponse updateConnectivityInfo(UpdateConnectivityInfoRequest updateConnectivityInfoRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
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:
- Result of the UpdateConnectivityInfo operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateConnectivityInfo
default UpdateConnectivityInfoResponse updateConnectivityInfo(Consumer<UpdateConnectivityInfoRequest.Builder> updateConnectivityInfoRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.
This is a convenience which creates an instance of the
UpdateConnectivityInfoRequest.Builderavoiding the need to create one manually viaUpdateConnectivityInfoRequest.builder()- Parameters:
updateConnectivityInfoRequest- AConsumerthat will call methods onUpdateConnectivityInfoRequest.Builderto create a request. Connectivity information.- Returns:
- Result of the UpdateConnectivityInfo operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateConnectorDefinition
default UpdateConnectorDefinitionResponse updateConnectorDefinition(UpdateConnectorDefinitionRequest updateConnectorDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a connector definition.- Parameters:
updateConnectorDefinitionRequest-- Returns:
- Result of the UpdateConnectorDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateConnectorDefinition
default UpdateConnectorDefinitionResponse updateConnectorDefinition(Consumer<UpdateConnectorDefinitionRequest.Builder> updateConnectorDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a connector definition.
This is a convenience which creates an instance of the
UpdateConnectorDefinitionRequest.Builderavoiding the need to create one manually viaUpdateConnectorDefinitionRequest.builder()- Parameters:
updateConnectorDefinitionRequest- AConsumerthat will call methods onUpdateConnectorDefinitionRequest.Builderto create a request.- Returns:
- Result of the UpdateConnectorDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCoreDefinition
default UpdateCoreDefinitionResponse updateCoreDefinition(UpdateCoreDefinitionRequest updateCoreDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a core definition.- Parameters:
updateCoreDefinitionRequest-- Returns:
- Result of the UpdateCoreDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCoreDefinition
default UpdateCoreDefinitionResponse updateCoreDefinition(Consumer<UpdateCoreDefinitionRequest.Builder> updateCoreDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a core definition.
This is a convenience which creates an instance of the
UpdateCoreDefinitionRequest.Builderavoiding the need to create one manually viaUpdateCoreDefinitionRequest.builder()- Parameters:
updateCoreDefinitionRequest- AConsumerthat will call methods onUpdateCoreDefinitionRequest.Builderto create a request.- Returns:
- Result of the UpdateCoreDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDeviceDefinition
default UpdateDeviceDefinitionResponse updateDeviceDefinition(UpdateDeviceDefinitionRequest updateDeviceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a device definition.- Parameters:
updateDeviceDefinitionRequest-- Returns:
- Result of the UpdateDeviceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateDeviceDefinition
default UpdateDeviceDefinitionResponse updateDeviceDefinition(Consumer<UpdateDeviceDefinitionRequest.Builder> updateDeviceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a device definition.
This is a convenience which creates an instance of the
UpdateDeviceDefinitionRequest.Builderavoiding the need to create one manually viaUpdateDeviceDefinitionRequest.builder()- Parameters:
updateDeviceDefinitionRequest- AConsumerthat will call methods onUpdateDeviceDefinitionRequest.Builderto create a request.- Returns:
- Result of the UpdateDeviceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateFunctionDefinition
default UpdateFunctionDefinitionResponse updateFunctionDefinition(UpdateFunctionDefinitionRequest updateFunctionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a Lambda function definition.- Parameters:
updateFunctionDefinitionRequest-- Returns:
- Result of the UpdateFunctionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateFunctionDefinition
default UpdateFunctionDefinitionResponse updateFunctionDefinition(Consumer<UpdateFunctionDefinitionRequest.Builder> updateFunctionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a Lambda function definition.
This is a convenience which creates an instance of the
UpdateFunctionDefinitionRequest.Builderavoiding the need to create one manually viaUpdateFunctionDefinitionRequest.builder()- Parameters:
updateFunctionDefinitionRequest- AConsumerthat will call methods onUpdateFunctionDefinitionRequest.Builderto create a request.- Returns:
- Result of the UpdateFunctionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateGroup
default UpdateGroupResponse updateGroup(UpdateGroupRequest updateGroupRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a group.- Parameters:
updateGroupRequest-- Returns:
- Result of the UpdateGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateGroup
default UpdateGroupResponse updateGroup(Consumer<UpdateGroupRequest.Builder> updateGroupRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a group.
This is a convenience which creates an instance of the
UpdateGroupRequest.Builderavoiding the need to create one manually viaUpdateGroupRequest.builder()- Parameters:
updateGroupRequest- AConsumerthat will call methods onUpdateGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateGroup operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateGroupCertificateConfiguration
default UpdateGroupCertificateConfigurationResponse updateGroupCertificateConfiguration(UpdateGroupCertificateConfigurationRequest updateGroupCertificateConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Updates the Certificate expiry time for a group.- Parameters:
updateGroupCertificateConfigurationRequest-- Returns:
- Result of the UpdateGroupCertificateConfiguration operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateGroupCertificateConfiguration
default UpdateGroupCertificateConfigurationResponse updateGroupCertificateConfiguration(Consumer<UpdateGroupCertificateConfigurationRequest.Builder> updateGroupCertificateConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Updates the Certificate expiry time for a group.
This is a convenience which creates an instance of the
UpdateGroupCertificateConfigurationRequest.Builderavoiding the need to create one manually viaUpdateGroupCertificateConfigurationRequest.builder()- Parameters:
updateGroupCertificateConfigurationRequest- AConsumerthat will call methods onUpdateGroupCertificateConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateGroupCertificateConfiguration operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLoggerDefinition
default UpdateLoggerDefinitionResponse updateLoggerDefinition(UpdateLoggerDefinitionRequest updateLoggerDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a logger definition.- Parameters:
updateLoggerDefinitionRequest-- Returns:
- Result of the UpdateLoggerDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLoggerDefinition
default UpdateLoggerDefinitionResponse updateLoggerDefinition(Consumer<UpdateLoggerDefinitionRequest.Builder> updateLoggerDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a logger definition.
This is a convenience which creates an instance of the
UpdateLoggerDefinitionRequest.Builderavoiding the need to create one manually viaUpdateLoggerDefinitionRequest.builder()- Parameters:
updateLoggerDefinitionRequest- AConsumerthat will call methods onUpdateLoggerDefinitionRequest.Builderto create a request.- Returns:
- Result of the UpdateLoggerDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateResourceDefinition
default UpdateResourceDefinitionResponse updateResourceDefinition(UpdateResourceDefinitionRequest updateResourceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a resource definition.- Parameters:
updateResourceDefinitionRequest-- Returns:
- Result of the UpdateResourceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateResourceDefinition
default UpdateResourceDefinitionResponse updateResourceDefinition(Consumer<UpdateResourceDefinitionRequest.Builder> updateResourceDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a resource definition.
This is a convenience which creates an instance of the
UpdateResourceDefinitionRequest.Builderavoiding the need to create one manually viaUpdateResourceDefinitionRequest.builder()- Parameters:
updateResourceDefinitionRequest- AConsumerthat will call methods onUpdateResourceDefinitionRequest.Builderto create a request.- Returns:
- Result of the UpdateResourceDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateSubscriptionDefinition
default UpdateSubscriptionDefinitionResponse updateSubscriptionDefinition(UpdateSubscriptionDefinitionRequest updateSubscriptionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a subscription definition.- Parameters:
updateSubscriptionDefinitionRequest-- Returns:
- Result of the UpdateSubscriptionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateSubscriptionDefinition
default UpdateSubscriptionDefinitionResponse updateSubscriptionDefinition(Consumer<UpdateSubscriptionDefinitionRequest.Builder> updateSubscriptionDefinitionRequest) throws BadRequestException, AwsServiceException, SdkClientException, GreengrassException
Updates a subscription definition.
This is a convenience which creates an instance of the
UpdateSubscriptionDefinitionRequest.Builderavoiding the need to create one manually viaUpdateSubscriptionDefinitionRequest.builder()- Parameters:
updateSubscriptionDefinitionRequest- AConsumerthat will call methods onUpdateSubscriptionDefinitionRequest.Builderto create a request.- Returns:
- Result of the UpdateSubscriptionDefinition operation returned by the service.
- Throws:
BadRequestException- invalid requestSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateThingRuntimeConfiguration
default UpdateThingRuntimeConfigurationResponse updateThingRuntimeConfiguration(UpdateThingRuntimeConfigurationRequest updateThingRuntimeConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Updates the runtime configuration of a thing.- Parameters:
updateThingRuntimeConfigurationRequest-- Returns:
- Result of the UpdateThingRuntimeConfiguration operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateThingRuntimeConfiguration
default UpdateThingRuntimeConfigurationResponse updateThingRuntimeConfiguration(Consumer<UpdateThingRuntimeConfigurationRequest.Builder> updateThingRuntimeConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GreengrassException
Updates the runtime configuration of a thing.
This is a convenience which creates an instance of the
UpdateThingRuntimeConfigurationRequest.Builderavoiding the need to create one manually viaUpdateThingRuntimeConfigurationRequest.builder()- Parameters:
updateThingRuntimeConfigurationRequest- AConsumerthat will call methods onUpdateThingRuntimeConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateThingRuntimeConfiguration operation returned by the service.
- Throws:
BadRequestException- invalid requestInternalServerErrorException- server errorSdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.GreengrassException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static GreengrassClient create()
Create aGreengrassClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static GreengrassClientBuilder builder()
Create a builder that can be used to configure and create aGreengrassClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default GreengrassServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-