@Generated(value="software.amazon.awssdk:codegen") public interface IoTClient extends SdkClient, SdkAutoCloseable
builder() method.
AWS IoT provides secure, bi-directional communication between Internet-connected things (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each thing (Thing Registry), configure logging, and create and manage policies and credentials to authenticate things.
For more information about how AWS IoT works, see the Developer Guide.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AcceptCertificateTransferResponse |
acceptCertificateTransfer(AcceptCertificateTransferRequest acceptCertificateTransferRequest)
Accepts a pending certificate transfer.
|
default AcceptCertificateTransferResponse |
acceptCertificateTransfer(Consumer<AcceptCertificateTransferRequest.Builder> acceptCertificateTransferRequest)
Accepts a pending certificate transfer.
|
default AttachPrincipalPolicyResponse |
attachPrincipalPolicy(AttachPrincipalPolicyRequest attachPrincipalPolicyRequest)
Attaches the specified policy to the specified principal (certificate or other credential).
|
default AttachPrincipalPolicyResponse |
attachPrincipalPolicy(Consumer<AttachPrincipalPolicyRequest.Builder> attachPrincipalPolicyRequest)
Attaches the specified policy to the specified principal (certificate or other credential).
|
default AttachThingPrincipalResponse |
attachThingPrincipal(AttachThingPrincipalRequest attachThingPrincipalRequest)
Attaches the specified principal to the specified thing.
|
default AttachThingPrincipalResponse |
attachThingPrincipal(Consumer<AttachThingPrincipalRequest.Builder> attachThingPrincipalRequest)
Attaches the specified principal to the specified thing.
|
static IoTClientBuilder |
builder()
Create a builder that can be used to configure and create a
IoTClient. |
default CancelCertificateTransferResponse |
cancelCertificateTransfer(CancelCertificateTransferRequest cancelCertificateTransferRequest)
Cancels a pending transfer for the specified certificate.
|
default CancelCertificateTransferResponse |
cancelCertificateTransfer(Consumer<CancelCertificateTransferRequest.Builder> cancelCertificateTransferRequest)
Cancels a pending transfer for the specified certificate.
|
static IoTClient |
create()
Create a
IoTClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateCertificateFromCsrResponse |
createCertificateFromCsr(Consumer<CreateCertificateFromCsrRequest.Builder> createCertificateFromCsrRequest)
Creates an X.509 certificate using the specified certificate signing request.
|
default CreateCertificateFromCsrResponse |
createCertificateFromCsr(CreateCertificateFromCsrRequest createCertificateFromCsrRequest)
Creates an X.509 certificate using the specified certificate signing request.
|
default CreateKeysAndCertificateResponse |
createKeysAndCertificate()
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
|
default CreateKeysAndCertificateResponse |
createKeysAndCertificate(Consumer<CreateKeysAndCertificateRequest.Builder> createKeysAndCertificateRequest)
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
|
default CreateKeysAndCertificateResponse |
createKeysAndCertificate(CreateKeysAndCertificateRequest createKeysAndCertificateRequest)
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
|
default CreatePolicyResponse |
createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest)
Creates an AWS IoT policy.
|
default CreatePolicyResponse |
createPolicy(CreatePolicyRequest createPolicyRequest)
Creates an AWS IoT policy.
|
default CreatePolicyVersionResponse |
createPolicyVersion(Consumer<CreatePolicyVersionRequest.Builder> createPolicyVersionRequest)
Creates a new version of the specified AWS IoT policy.
|
default CreatePolicyVersionResponse |
createPolicyVersion(CreatePolicyVersionRequest createPolicyVersionRequest)
Creates a new version of the specified AWS IoT policy.
|
default CreateThingResponse |
createThing(Consumer<CreateThingRequest.Builder> createThingRequest)
Creates a thing record in the thing registry.
|
default CreateThingResponse |
createThing(CreateThingRequest createThingRequest)
Creates a thing record in the thing registry.
|
default CreateThingTypeResponse |
createThingType(Consumer<CreateThingTypeRequest.Builder> createThingTypeRequest)
Creates a new thing type.
|
default CreateThingTypeResponse |
createThingType(CreateThingTypeRequest createThingTypeRequest)
Creates a new thing type.
|
default CreateTopicRuleResponse |
createTopicRule(Consumer<CreateTopicRuleRequest.Builder> createTopicRuleRequest)
Creates a rule.
|
default CreateTopicRuleResponse |
createTopicRule(CreateTopicRuleRequest createTopicRuleRequest)
Creates a rule.
|
default DeleteCACertificateResponse |
deleteCACertificate(Consumer<DeleteCACertificateRequest.Builder> deleteCACertificateRequest)
Deletes a registered CA certificate.
|
default DeleteCACertificateResponse |
deleteCACertificate(DeleteCACertificateRequest deleteCACertificateRequest)
Deletes a registered CA certificate.
|
default DeleteCertificateResponse |
deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest)
Deletes the specified certificate.
|
default DeleteCertificateResponse |
deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)
Deletes the specified certificate.
|
default DeletePolicyResponse |
deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)
Deletes the specified policy.
|
default DeletePolicyResponse |
deletePolicy(DeletePolicyRequest deletePolicyRequest)
Deletes the specified policy.
|
default DeletePolicyVersionResponse |
deletePolicyVersion(Consumer<DeletePolicyVersionRequest.Builder> deletePolicyVersionRequest)
Deletes the specified version of the specified policy.
|
default DeletePolicyVersionResponse |
deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest)
Deletes the specified version of the specified policy.
|
default DeleteRegistrationCodeResponse |
deleteRegistrationCode()
Deletes a CA certificate registration code.
|
default DeleteRegistrationCodeResponse |
deleteRegistrationCode(Consumer<DeleteRegistrationCodeRequest.Builder> deleteRegistrationCodeRequest)
Deletes a CA certificate registration code.
|
default DeleteRegistrationCodeResponse |
deleteRegistrationCode(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest)
Deletes a CA certificate registration code.
|
default DeleteThingResponse |
deleteThing(Consumer<DeleteThingRequest.Builder> deleteThingRequest)
Deletes the specified thing.
|
default DeleteThingResponse |
deleteThing(DeleteThingRequest deleteThingRequest)
Deletes the specified thing.
|
default DeleteThingTypeResponse |
deleteThingType(Consumer<DeleteThingTypeRequest.Builder> deleteThingTypeRequest)
Deletes the specified thing type .
|
default DeleteThingTypeResponse |
deleteThingType(DeleteThingTypeRequest deleteThingTypeRequest)
Deletes the specified thing type .
|
default DeleteTopicRuleResponse |
deleteTopicRule(Consumer<DeleteTopicRuleRequest.Builder> deleteTopicRuleRequest)
Deletes the specified rule.
|
default DeleteTopicRuleResponse |
deleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest)
Deletes the specified rule.
|
default DeprecateThingTypeResponse |
deprecateThingType(Consumer<DeprecateThingTypeRequest.Builder> deprecateThingTypeRequest)
Deprecates a thing type.
|
default DeprecateThingTypeResponse |
deprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest)
Deprecates a thing type.
|
default DescribeCACertificateResponse |
describeCACertificate(Consumer<DescribeCACertificateRequest.Builder> describeCACertificateRequest)
Describes a registered CA certificate.
|
default DescribeCACertificateResponse |
describeCACertificate(DescribeCACertificateRequest describeCACertificateRequest)
Describes a registered CA certificate.
|
default DescribeCertificateResponse |
describeCertificate(Consumer<DescribeCertificateRequest.Builder> describeCertificateRequest)
Gets information about the specified certificate.
|
default DescribeCertificateResponse |
describeCertificate(DescribeCertificateRequest describeCertificateRequest)
Gets information about the specified certificate.
|
default DescribeEndpointResponse |
describeEndpoint()
Returns a unique endpoint specific to the AWS account making the call.
|
default DescribeEndpointResponse |
describeEndpoint(Consumer<DescribeEndpointRequest.Builder> describeEndpointRequest)
Returns a unique endpoint specific to the AWS account making the call.
|
default DescribeEndpointResponse |
describeEndpoint(DescribeEndpointRequest describeEndpointRequest)
Returns a unique endpoint specific to the AWS account making the call.
|
default DescribeThingResponse |
describeThing(Consumer<DescribeThingRequest.Builder> describeThingRequest)
Gets information about the specified thing.
|
default DescribeThingResponse |
describeThing(DescribeThingRequest describeThingRequest)
Gets information about the specified thing.
|
default DescribeThingTypeResponse |
describeThingType(Consumer<DescribeThingTypeRequest.Builder> describeThingTypeRequest)
Gets information about the specified thing type.
|
default DescribeThingTypeResponse |
describeThingType(DescribeThingTypeRequest describeThingTypeRequest)
Gets information about the specified thing type.
|
default DetachPrincipalPolicyResponse |
detachPrincipalPolicy(Consumer<DetachPrincipalPolicyRequest.Builder> detachPrincipalPolicyRequest)
Removes the specified policy from the specified certificate.
|
default DetachPrincipalPolicyResponse |
detachPrincipalPolicy(DetachPrincipalPolicyRequest detachPrincipalPolicyRequest)
Removes the specified policy from the specified certificate.
|
default DetachThingPrincipalResponse |
detachThingPrincipal(Consumer<DetachThingPrincipalRequest.Builder> detachThingPrincipalRequest)
Detaches the specified principal from the specified thing.
|
default DetachThingPrincipalResponse |
detachThingPrincipal(DetachThingPrincipalRequest detachThingPrincipalRequest)
Detaches the specified principal from the specified thing.
|
default DisableTopicRuleResponse |
disableTopicRule(Consumer<DisableTopicRuleRequest.Builder> disableTopicRuleRequest)
Disables the specified rule.
|
default DisableTopicRuleResponse |
disableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest)
Disables the specified rule.
|
default EnableTopicRuleResponse |
enableTopicRule(Consumer<EnableTopicRuleRequest.Builder> enableTopicRuleRequest)
Enables the specified rule.
|
default EnableTopicRuleResponse |
enableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest)
Enables the specified rule.
|
default GetLoggingOptionsResponse |
getLoggingOptions()
Gets the logging options.
|
default GetLoggingOptionsResponse |
getLoggingOptions(Consumer<GetLoggingOptionsRequest.Builder> getLoggingOptionsRequest)
Gets the logging options.
|
default GetLoggingOptionsResponse |
getLoggingOptions(GetLoggingOptionsRequest getLoggingOptionsRequest)
Gets the logging options.
|
default GetPolicyResponse |
getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
Gets information about the specified policy with the policy document of the default version.
|
default GetPolicyResponse |
getPolicy(GetPolicyRequest getPolicyRequest)
Gets information about the specified policy with the policy document of the default version.
|
default GetPolicyVersionResponse |
getPolicyVersion(Consumer<GetPolicyVersionRequest.Builder> getPolicyVersionRequest)
Gets information about the specified policy version.
|
default GetPolicyVersionResponse |
getPolicyVersion(GetPolicyVersionRequest getPolicyVersionRequest)
Gets information about the specified policy version.
|
default GetRegistrationCodeResponse |
getRegistrationCode()
Gets a registration code used to register a CA certificate with AWS IoT.
|
default GetRegistrationCodeResponse |
getRegistrationCode(Consumer<GetRegistrationCodeRequest.Builder> getRegistrationCodeRequest)
Gets a registration code used to register a CA certificate with AWS IoT.
|
default GetRegistrationCodeResponse |
getRegistrationCode(GetRegistrationCodeRequest getRegistrationCodeRequest)
Gets a registration code used to register a CA certificate with AWS IoT.
|
default GetTopicRuleResponse |
getTopicRule(Consumer<GetTopicRuleRequest.Builder> getTopicRuleRequest)
Gets information about the specified rule.
|
default GetTopicRuleResponse |
getTopicRule(GetTopicRuleRequest getTopicRuleRequest)
Gets information about the specified rule.
|
default ListCACertificatesResponse |
listCACertificates()
Lists the CA certificates registered for your AWS account.
|
default ListCACertificatesResponse |
listCACertificates(Consumer<ListCACertificatesRequest.Builder> listCACertificatesRequest)
Lists the CA certificates registered for your AWS account.
|
default ListCACertificatesResponse |
listCACertificates(ListCACertificatesRequest listCACertificatesRequest)
Lists the CA certificates registered for your AWS account.
|
default ListCertificatesResponse |
listCertificates()
Lists the certificates registered in your AWS account.
|
default ListCertificatesResponse |
listCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)
Lists the certificates registered in your AWS account.
|
default ListCertificatesResponse |
listCertificates(ListCertificatesRequest listCertificatesRequest)
Lists the certificates registered in your AWS account.
|
default ListCertificatesByCAResponse |
listCertificatesByCA(Consumer<ListCertificatesByCARequest.Builder> listCertificatesByCARequest)
List the device certificates signed by the specified CA certificate.
|
default ListCertificatesByCAResponse |
listCertificatesByCA(ListCertificatesByCARequest listCertificatesByCARequest)
List the device certificates signed by the specified CA certificate.
|
default ListOutgoingCertificatesResponse |
listOutgoingCertificates()
Lists certificates that are being transfered but not yet accepted.
|
default ListOutgoingCertificatesResponse |
listOutgoingCertificates(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest)
Lists certificates that are being transfered but not yet accepted.
|
default ListOutgoingCertificatesResponse |
listOutgoingCertificates(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest)
Lists certificates that are being transfered but not yet accepted.
|
default ListPoliciesResponse |
listPolicies()
Lists your policies.
|
default ListPoliciesResponse |
listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
Lists your policies.
|
default ListPoliciesResponse |
listPolicies(ListPoliciesRequest listPoliciesRequest)
Lists your policies.
|
default ListPolicyPrincipalsResponse |
listPolicyPrincipals(Consumer<ListPolicyPrincipalsRequest.Builder> listPolicyPrincipalsRequest)
Lists the principals associated with the specified policy.
|
default ListPolicyPrincipalsResponse |
listPolicyPrincipals(ListPolicyPrincipalsRequest listPolicyPrincipalsRequest)
Lists the principals associated with the specified policy.
|
default ListPolicyVersionsResponse |
listPolicyVersions(Consumer<ListPolicyVersionsRequest.Builder> listPolicyVersionsRequest)
Lists the versions of the specified policy and identifies the default version.
|
default ListPolicyVersionsResponse |
listPolicyVersions(ListPolicyVersionsRequest listPolicyVersionsRequest)
Lists the versions of the specified policy and identifies the default version.
|
default ListPrincipalPoliciesResponse |
listPrincipalPolicies(Consumer<ListPrincipalPoliciesRequest.Builder> listPrincipalPoliciesRequest)
Lists the policies attached to the specified principal.
|
default ListPrincipalPoliciesResponse |
listPrincipalPolicies(ListPrincipalPoliciesRequest listPrincipalPoliciesRequest)
Lists the policies attached to the specified principal.
|
default ListPrincipalThingsResponse |
listPrincipalThings(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest)
Lists the things associated with the specified principal.
|
default ListPrincipalThingsResponse |
listPrincipalThings(ListPrincipalThingsRequest listPrincipalThingsRequest)
Lists the things associated with the specified principal.
|
default ListThingPrincipalsResponse |
listThingPrincipals(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest)
Lists the principals associated with the specified thing.
|
default ListThingPrincipalsResponse |
listThingPrincipals(ListThingPrincipalsRequest listThingPrincipalsRequest)
Lists the principals associated with the specified thing.
|
default ListThingsResponse |
listThings()
Lists your things.
|
default ListThingsResponse |
listThings(Consumer<ListThingsRequest.Builder> listThingsRequest)
Lists your things.
|
default ListThingsResponse |
listThings(ListThingsRequest listThingsRequest)
Lists your things.
|
default ListThingTypesResponse |
listThingTypes()
Lists the existing thing types.
|
default ListThingTypesResponse |
listThingTypes(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest)
Lists the existing thing types.
|
default ListThingTypesResponse |
listThingTypes(ListThingTypesRequest listThingTypesRequest)
Lists the existing thing types.
|
default ListTopicRulesResponse |
listTopicRules()
Lists the rules for the specific topic.
|
default ListTopicRulesResponse |
listTopicRules(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest)
Lists the rules for the specific topic.
|
default ListTopicRulesResponse |
listTopicRules(ListTopicRulesRequest listTopicRulesRequest)
Lists the rules for the specific topic.
|
default RegisterCACertificateResponse |
registerCACertificate(Consumer<RegisterCACertificateRequest.Builder> registerCACertificateRequest)
Registers a CA certificate with AWS IoT.
|
default RegisterCACertificateResponse |
registerCACertificate(RegisterCACertificateRequest registerCACertificateRequest)
Registers a CA certificate with AWS IoT.
|
default RegisterCertificateResponse |
registerCertificate(Consumer<RegisterCertificateRequest.Builder> registerCertificateRequest)
Registers a device certificate with AWS IoT.
|
default RegisterCertificateResponse |
registerCertificate(RegisterCertificateRequest registerCertificateRequest)
Registers a device certificate with AWS IoT.
|
default RejectCertificateTransferResponse |
rejectCertificateTransfer(Consumer<RejectCertificateTransferRequest.Builder> rejectCertificateTransferRequest)
Rejects a pending certificate transfer.
|
default RejectCertificateTransferResponse |
rejectCertificateTransfer(RejectCertificateTransferRequest rejectCertificateTransferRequest)
Rejects a pending certificate transfer.
|
default ReplaceTopicRuleResponse |
replaceTopicRule(Consumer<ReplaceTopicRuleRequest.Builder> replaceTopicRuleRequest)
Replaces the specified rule.
|
default ReplaceTopicRuleResponse |
replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest)
Replaces the specified rule.
|
static ServiceMetadata |
serviceMetadata() |
default SetDefaultPolicyVersionResponse |
setDefaultPolicyVersion(Consumer<SetDefaultPolicyVersionRequest.Builder> setDefaultPolicyVersionRequest)
Sets the specified version of the specified policy as the policy's default (operative) version.
|
default SetDefaultPolicyVersionResponse |
setDefaultPolicyVersion(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest)
Sets the specified version of the specified policy as the policy's default (operative) version.
|
default SetLoggingOptionsResponse |
setLoggingOptions(Consumer<SetLoggingOptionsRequest.Builder> setLoggingOptionsRequest)
Sets the logging options.
|
default SetLoggingOptionsResponse |
setLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest)
Sets the logging options.
|
default TransferCertificateResponse |
transferCertificate(Consumer<TransferCertificateRequest.Builder> transferCertificateRequest)
Transfers the specified certificate to the specified AWS account.
|
default TransferCertificateResponse |
transferCertificate(TransferCertificateRequest transferCertificateRequest)
Transfers the specified certificate to the specified AWS account.
|
default UpdateCACertificateResponse |
updateCACertificate(Consumer<UpdateCACertificateRequest.Builder> updateCACertificateRequest)
Updates a registered CA certificate.
|
default UpdateCACertificateResponse |
updateCACertificate(UpdateCACertificateRequest updateCACertificateRequest)
Updates a registered CA certificate.
|
default UpdateCertificateResponse |
updateCertificate(Consumer<UpdateCertificateRequest.Builder> updateCertificateRequest)
Updates the status of the specified certificate.
|
default UpdateCertificateResponse |
updateCertificate(UpdateCertificateRequest updateCertificateRequest)
Updates the status of the specified certificate.
|
default UpdateThingResponse |
updateThing(Consumer<UpdateThingRequest.Builder> updateThingRequest)
Updates the data for a thing.
|
default UpdateThingResponse |
updateThing(UpdateThingRequest updateThingRequest)
Updates the data for a thing.
|
serviceNameclosestatic final String SERVICE_NAME
static IoTClient create()
IoTClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static IoTClientBuilder builder()
IoTClient.default AcceptCertificateTransferResponse acceptCertificateTransfer(AcceptCertificateTransferRequest acceptCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
acceptCertificateTransferRequest - The input for the AcceptCertificateTransfer operation.ResourceNotFoundException - The specified resource does not exist.TransferAlreadyCompletedException - You can't revert the certificate transfer because the transfer is already complete.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AcceptCertificateTransferResponse acceptCertificateTransfer(Consumer<AcceptCertificateTransferRequest.Builder> acceptCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This is a convenience which creates an instance of the AcceptCertificateTransferRequest.Builder avoiding
the need to create one manually via AcceptCertificateTransferRequest.builder()
acceptCertificateTransferRequest - A Consumer that will call methods on AcceptCertificateTransferRequest.Builder to create a
request. The input for the AcceptCertificateTransfer operation.ResourceNotFoundException - The specified resource does not exist.TransferAlreadyCompletedException - You can't revert the certificate transfer because the transfer is already complete.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AttachPrincipalPolicyResponse attachPrincipalPolicy(AttachPrincipalPolicyRequest attachPrincipalPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IoTException
Attaches the specified policy to the specified principal (certificate or other credential).
attachPrincipalPolicyRequest - The input for the AttachPrincipalPolicy operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.LimitExceededException - The number of attached entities exceeds the limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AttachPrincipalPolicyResponse attachPrincipalPolicy(Consumer<AttachPrincipalPolicyRequest.Builder> attachPrincipalPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IoTException
Attaches the specified policy to the specified principal (certificate or other credential).
This is a convenience which creates an instance of the AttachPrincipalPolicyRequest.Builder avoiding the
need to create one manually via AttachPrincipalPolicyRequest.builder()
attachPrincipalPolicyRequest - A Consumer that will call methods on AttachPrincipalPolicyRequest.Builder to create a
request. The input for the AttachPrincipalPolicy operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.LimitExceededException - The number of attached entities exceeds the limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AttachThingPrincipalResponse attachThingPrincipal(AttachThingPrincipalRequest attachThingPrincipalRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Attaches the specified principal to the specified thing.
attachThingPrincipalRequest - The input for the AttachThingPrincipal operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AttachThingPrincipalResponse attachThingPrincipal(Consumer<AttachThingPrincipalRequest.Builder> attachThingPrincipalRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Attaches the specified principal to the specified thing.
This is a convenience which creates an instance of the AttachThingPrincipalRequest.Builder avoiding the
need to create one manually via AttachThingPrincipalRequest.builder()
attachThingPrincipalRequest - A Consumer that will call methods on AttachThingPrincipalRequest.Builder to create a
request. The input for the AttachThingPrincipal operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CancelCertificateTransferResponse cancelCertificateTransfer(CancelCertificateTransferRequest cancelCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
cancelCertificateTransferRequest - The input for the CancelCertificateTransfer operation.ResourceNotFoundException - The specified resource does not exist.TransferAlreadyCompletedException - You can't revert the certificate transfer because the transfer is already complete.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CancelCertificateTransferResponse cancelCertificateTransfer(Consumer<CancelCertificateTransferRequest.Builder> cancelCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
This is a convenience which creates an instance of the CancelCertificateTransferRequest.Builder avoiding
the need to create one manually via CancelCertificateTransferRequest.builder()
cancelCertificateTransferRequest - A Consumer that will call methods on CancelCertificateTransferRequest.Builder to create a
request. The input for the CancelCertificateTransfer operation.ResourceNotFoundException - The specified resource does not exist.TransferAlreadyCompletedException - You can't revert the certificate transfer because the transfer is already complete.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCertificateFromCsrResponse createCertificateFromCsr(CreateCertificateFromCsrRequest createCertificateFromCsrRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Creates an X.509 certificate using the specified certificate signing request.
Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs.
Assuming a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR.
The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
createCertificateFromCsrRequest - The input for the CreateCertificateFromCsr operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCertificateFromCsrResponse createCertificateFromCsr(Consumer<CreateCertificateFromCsrRequest.Builder> createCertificateFromCsrRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Creates an X.509 certificate using the specified certificate signing request.
Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs.
Assuming a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR.
The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
This is a convenience which creates an instance of the CreateCertificateFromCsrRequest.Builder avoiding
the need to create one manually via CreateCertificateFromCsrRequest.builder()
createCertificateFromCsrRequest - A Consumer that will call methods on CreateCertificateFromCsrRequest.Builder to create a
request. The input for the CreateCertificateFromCsr operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateKeysAndCertificateResponse createKeysAndCertificate() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptioncreateKeysAndCertificate(CreateKeysAndCertificateRequest)default CreateKeysAndCertificateResponse createKeysAndCertificate(CreateKeysAndCertificateRequest createKeysAndCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
createKeysAndCertificateRequest - The input for the CreateKeysAndCertificate operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateKeysAndCertificateResponse createKeysAndCertificate(Consumer<CreateKeysAndCertificateRequest.Builder> createKeysAndCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
This is a convenience which creates an instance of the CreateKeysAndCertificateRequest.Builder avoiding
the need to create one manually via CreateKeysAndCertificateRequest.builder()
createKeysAndCertificateRequest - A Consumer that will call methods on CreateKeysAndCertificateRequest.Builder to create a
request. The input for the CreateKeysAndCertificate operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreatePolicyResponse createPolicy(CreatePolicyRequest createPolicyRequest) throws ResourceAlreadyExistsException, MalformedPolicyException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Creates an AWS IoT policy.
The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.
createPolicyRequest - The input for the CreatePolicy operation.ResourceAlreadyExistsException - The resource already exists.MalformedPolicyException - The policy documentation is not valid.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreatePolicyResponse createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) throws ResourceAlreadyExistsException, MalformedPolicyException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Creates an AWS IoT policy.
The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.
This is a convenience which creates an instance of the CreatePolicyRequest.Builder avoiding the need to
create one manually via CreatePolicyRequest.builder()
createPolicyRequest - A Consumer that will call methods on CreatePolicyRequest.Builder to create a request. The
input for the CreatePolicy operation.ResourceAlreadyExistsException - The resource already exists.MalformedPolicyException - The policy documentation is not valid.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreatePolicyVersionResponse createPolicyVersion(CreatePolicyVersionRequest createPolicyVersionRequest) throws ResourceNotFoundException, MalformedPolicyException, VersionsLimitExceededException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.
Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
createPolicyVersionRequest - The input for the CreatePolicyVersion operation.ResourceNotFoundException - The specified resource does not exist.MalformedPolicyException - The policy documentation is not valid.VersionsLimitExceededException - The number of policy versions exceeds the limit.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreatePolicyVersionResponse createPolicyVersion(Consumer<CreatePolicyVersionRequest.Builder> createPolicyVersionRequest) throws ResourceNotFoundException, MalformedPolicyException, VersionsLimitExceededException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.
Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
This is a convenience which creates an instance of the CreatePolicyVersionRequest.Builder avoiding the
need to create one manually via CreatePolicyVersionRequest.builder()
createPolicyVersionRequest - A Consumer that will call methods on CreatePolicyVersionRequest.Builder to create a
request. The input for the CreatePolicyVersion operation.ResourceNotFoundException - The specified resource does not exist.MalformedPolicyException - The policy documentation is not valid.VersionsLimitExceededException - The number of policy versions exceeds the limit.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateThingResponse createThing(CreateThingRequest createThingRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Creates a thing record in the thing registry.
createThingRequest - The input for the CreateThing operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceAlreadyExistsException - The resource already exists.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateThingResponse createThing(Consumer<CreateThingRequest.Builder> createThingRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Creates a thing record in the thing registry.
This is a convenience which creates an instance of the CreateThingRequest.Builder avoiding the need to
create one manually via CreateThingRequest.builder()
createThingRequest - A Consumer that will call methods on CreateThingRequest.Builder to create a request. The
input for the CreateThing operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceAlreadyExistsException - The resource already exists.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateThingTypeResponse createThingType(CreateThingTypeRequest createThingTypeRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IoTException
Creates a new thing type.
createThingTypeRequest - The input for the CreateThingType operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceAlreadyExistsException - The resource already exists.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateThingTypeResponse createThingType(Consumer<CreateThingTypeRequest.Builder> createThingTypeRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IoTException
Creates a new thing type.
This is a convenience which creates an instance of the CreateThingTypeRequest.Builder avoiding the need
to create one manually via CreateThingTypeRequest.builder()
createThingTypeRequest - A Consumer that will call methods on CreateThingTypeRequest.Builder to create a request.
The input for the CreateThingType operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceAlreadyExistsException - The resource already exists.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTopicRuleResponse createTopicRule(CreateTopicRuleRequest createTopicRuleRequest) throws SqlParseException, InternalException, InvalidRequestException, ResourceAlreadyExistsException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
createTopicRuleRequest - The input for the CreateTopicRule operation.SqlParseException - The Rule-SQL expression can't be parsed correctly.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTopicRuleResponse createTopicRule(Consumer<CreateTopicRuleRequest.Builder> createTopicRuleRequest) throws SqlParseException, InternalException, InvalidRequestException, ResourceAlreadyExistsException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
This is a convenience which creates an instance of the CreateTopicRuleRequest.Builder avoiding the need
to create one manually via CreateTopicRuleRequest.builder()
createTopicRuleRequest - A Consumer that will call methods on CreateTopicRuleRequest.Builder to create a request.
The input for the CreateTopicRule operation.SqlParseException - The Rule-SQL expression can't be parsed correctly.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCACertificateResponse deleteCACertificate(DeleteCACertificateRequest deleteCACertificateRequest) throws InvalidRequestException, CertificateStateException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Deletes a registered CA certificate.
deleteCACertificateRequest - Input for the DeleteCACertificate operation.InvalidRequestException - The request is not valid.CertificateStateException - The certificate operation is not allowed.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCACertificateResponse deleteCACertificate(Consumer<DeleteCACertificateRequest.Builder> deleteCACertificateRequest) throws InvalidRequestException, CertificateStateException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Deletes a registered CA certificate.
This is a convenience which creates an instance of the DeleteCACertificateRequest.Builder avoiding the
need to create one manually via DeleteCACertificateRequest.builder()
deleteCACertificateRequest - A Consumer that will call methods on DeleteCACertificateRequest.Builder to create a
request. Input for the DeleteCACertificate operation.InvalidRequestException - The request is not valid.CertificateStateException - The certificate operation is not allowed.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest deleteCertificateRequest) throws CertificateStateException, DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Deletes the specified certificate.
A certificate cannot be deleted if it has a policy attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status.
deleteCertificateRequest - The input for the DeleteCertificate operation.CertificateStateException - The certificate operation is not allowed.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCertificateResponse deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest) throws CertificateStateException, DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Deletes the specified certificate.
A certificate cannot be deleted if it has a policy attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status.
This is a convenience which creates an instance of the DeleteCertificateRequest.Builder avoiding the need
to create one manually via DeleteCertificateRequest.builder()
deleteCertificateRequest - A Consumer that will call methods on DeleteCertificateRequest.Builder to create a request.
The input for the DeleteCertificate operation.CertificateStateException - The certificate operation is not allowed.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePolicyResponse deletePolicy(DeletePolicyRequest deletePolicyRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes the specified policy.
A policy cannot be deleted if it has non-default versions or it is attached to any certificate.
To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
deletePolicyRequest - The input for the DeletePolicy operation.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePolicyResponse deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes the specified policy.
A policy cannot be deleted if it has non-default versions or it is attached to any certificate.
To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
This is a convenience which creates an instance of the DeletePolicyRequest.Builder avoiding the need to
create one manually via DeletePolicyRequest.builder()
deletePolicyRequest - A Consumer that will call methods on DeletePolicyRequest.Builder to create a request. The
input for the DeletePolicy operation.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePolicyVersionResponse deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
deletePolicyVersionRequest - The input for the DeletePolicyVersion operation.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePolicyVersionResponse deletePolicyVersion(Consumer<DeletePolicyVersionRequest.Builder> deletePolicyVersionRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
This is a convenience which creates an instance of the DeletePolicyVersionRequest.Builder avoiding the
need to create one manually via DeletePolicyVersionRequest.builder()
deletePolicyVersionRequest - A Consumer that will call methods on DeletePolicyVersionRequest.Builder to create a
request. The input for the DeletePolicyVersion operation.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRegistrationCodeResponse deleteRegistrationCode() throws ThrottlingException, ResourceNotFoundException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes a CA certificate registration code.
ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondeleteRegistrationCode(DeleteRegistrationCodeRequest)default DeleteRegistrationCodeResponse deleteRegistrationCode(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest) throws ThrottlingException, ResourceNotFoundException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes a CA certificate registration code.
deleteRegistrationCodeRequest - The input for the DeleteRegistrationCode operation.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteRegistrationCodeResponse deleteRegistrationCode(Consumer<DeleteRegistrationCodeRequest.Builder> deleteRegistrationCodeRequest) throws ThrottlingException, ResourceNotFoundException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes a CA certificate registration code.
This is a convenience which creates an instance of the DeleteRegistrationCodeRequest.Builder avoiding the
need to create one manually via DeleteRegistrationCodeRequest.builder()
deleteRegistrationCodeRequest - A Consumer that will call methods on DeleteRegistrationCodeRequest.Builder to create a
request. The input for the DeleteRegistrationCode operation.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteThingResponse deleteThing(DeleteThingRequest deleteThingRequest) throws ResourceNotFoundException, VersionConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes the specified thing.
deleteThingRequest - The input for the DeleteThing operation.ResourceNotFoundException - The specified resource does not exist.VersionConflictException - An exception thrown when the version of a thing passed to a command is different than the version
specified with the --version parameter.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteThingResponse deleteThing(Consumer<DeleteThingRequest.Builder> deleteThingRequest) throws ResourceNotFoundException, VersionConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes the specified thing.
This is a convenience which creates an instance of the DeleteThingRequest.Builder avoiding the need to
create one manually via DeleteThingRequest.builder()
deleteThingRequest - A Consumer that will call methods on DeleteThingRequest.Builder to create a request. The
input for the DeleteThing operation.ResourceNotFoundException - The specified resource does not exist.VersionConflictException - An exception thrown when the version of a thing passed to a command is different than the version
specified with the --version parameter.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteThingTypeResponse deleteThingType(DeleteThingTypeRequest deleteThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes the specified thing type . You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
deleteThingTypeRequest - The input for the DeleteThingType operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteThingTypeResponse deleteThingType(Consumer<DeleteThingTypeRequest.Builder> deleteThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deletes the specified thing type . You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
This is a convenience which creates an instance of the DeleteThingTypeRequest.Builder avoiding the need
to create one manually via DeleteThingTypeRequest.builder()
deleteThingTypeRequest - A Consumer that will call methods on DeleteThingTypeRequest.Builder to create a request.
The input for the DeleteThingType operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTopicRuleResponse deleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Deletes the specified rule.
deleteTopicRuleRequest - The input for the DeleteTopicRule operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTopicRuleResponse deleteTopicRule(Consumer<DeleteTopicRuleRequest.Builder> deleteTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Deletes the specified rule.
This is a convenience which creates an instance of the DeleteTopicRuleRequest.Builder avoiding the need
to create one manually via DeleteTopicRuleRequest.builder()
deleteTopicRuleRequest - A Consumer that will call methods on DeleteTopicRuleRequest.Builder to create a request.
The input for the DeleteTopicRule operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeprecateThingTypeResponse deprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deprecates a thing type. You can not associate new things with deprecated thing type.
deprecateThingTypeRequest - The input for the DeprecateThingType operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeprecateThingTypeResponse deprecateThingType(Consumer<DeprecateThingTypeRequest.Builder> deprecateThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Deprecates a thing type. You can not associate new things with deprecated thing type.
This is a convenience which creates an instance of the DeprecateThingTypeRequest.Builder avoiding the
need to create one manually via DeprecateThingTypeRequest.builder()
deprecateThingTypeRequest - A Consumer that will call methods on DeprecateThingTypeRequest.Builder to create a
request. The input for the DeprecateThingType operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCACertificateResponse describeCACertificate(DescribeCACertificateRequest describeCACertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Describes a registered CA certificate.
describeCACertificateRequest - The input for the DescribeCACertificate operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCACertificateResponse describeCACertificate(Consumer<DescribeCACertificateRequest.Builder> describeCACertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Describes a registered CA certificate.
This is a convenience which creates an instance of the DescribeCACertificateRequest.Builder avoiding the
need to create one manually via DescribeCACertificateRequest.builder()
describeCACertificateRequest - A Consumer that will call methods on DescribeCACertificateRequest.Builder to create a
request. The input for the DescribeCACertificate operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCertificateResponse describeCertificate(DescribeCertificateRequest describeCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified certificate.
describeCertificateRequest - The input for the DescribeCertificate operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCertificateResponse describeCertificate(Consumer<DescribeCertificateRequest.Builder> describeCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified certificate.
This is a convenience which creates an instance of the DescribeCertificateRequest.Builder avoiding the
need to create one manually via DescribeCertificateRequest.builder()
describeCertificateRequest - A Consumer that will call methods on DescribeCertificateRequest.Builder to create a
request. The input for the DescribeCertificate operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeEndpointResponse describeEndpoint() throws InternalFailureException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IoTException
Returns a unique endpoint specific to the AWS account making the call.
InternalFailureException - An unexpected error has occurred.UnauthorizedException - You are not authorized to perform this operation.ThrottlingException - The rate exceeds the limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondescribeEndpoint(DescribeEndpointRequest)default DescribeEndpointResponse describeEndpoint(DescribeEndpointRequest describeEndpointRequest) throws InternalFailureException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IoTException
Returns a unique endpoint specific to the AWS account making the call.
describeEndpointRequest - The input for the DescribeEndpoint operation.InternalFailureException - An unexpected error has occurred.UnauthorizedException - You are not authorized to perform this operation.ThrottlingException - The rate exceeds the limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeEndpointResponse describeEndpoint(Consumer<DescribeEndpointRequest.Builder> describeEndpointRequest) throws InternalFailureException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IoTException
Returns a unique endpoint specific to the AWS account making the call.
This is a convenience which creates an instance of the DescribeEndpointRequest.Builder avoiding the need
to create one manually via DescribeEndpointRequest.builder()
describeEndpointRequest - A Consumer that will call methods on DescribeEndpointRequest.Builder to create a request.
The input for the DescribeEndpoint operation.InternalFailureException - An unexpected error has occurred.UnauthorizedException - You are not authorized to perform this operation.ThrottlingException - The rate exceeds the limit.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeThingResponse describeThing(DescribeThingRequest describeThingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified thing.
describeThingRequest - The input for the DescribeThing operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeThingResponse describeThing(Consumer<DescribeThingRequest.Builder> describeThingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified thing.
This is a convenience which creates an instance of the DescribeThingRequest.Builder avoiding the need to
create one manually via DescribeThingRequest.builder()
describeThingRequest - A Consumer that will call methods on DescribeThingRequest.Builder to create a request. The
input for the DescribeThing operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeThingTypeResponse describeThingType(DescribeThingTypeRequest describeThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified thing type.
describeThingTypeRequest - The input for the DescribeThingType operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeThingTypeResponse describeThingType(Consumer<DescribeThingTypeRequest.Builder> describeThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified thing type.
This is a convenience which creates an instance of the DescribeThingTypeRequest.Builder avoiding the need
to create one manually via DescribeThingTypeRequest.builder()
describeThingTypeRequest - A Consumer that will call methods on DescribeThingTypeRequest.Builder to create a request.
The input for the DescribeThingType operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DetachPrincipalPolicyResponse detachPrincipalPolicy(DetachPrincipalPolicyRequest detachPrincipalPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Removes the specified policy from the specified certificate.
detachPrincipalPolicyRequest - The input for the DetachPrincipalPolicy operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DetachPrincipalPolicyResponse detachPrincipalPolicy(Consumer<DetachPrincipalPolicyRequest.Builder> detachPrincipalPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Removes the specified policy from the specified certificate.
This is a convenience which creates an instance of the DetachPrincipalPolicyRequest.Builder avoiding the
need to create one manually via DetachPrincipalPolicyRequest.builder()
detachPrincipalPolicyRequest - A Consumer that will call methods on DetachPrincipalPolicyRequest.Builder to create a
request. The input for the DetachPrincipalPolicy operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DetachThingPrincipalResponse detachThingPrincipal(DetachThingPrincipalRequest detachThingPrincipalRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Detaches the specified principal from the specified thing.
detachThingPrincipalRequest - The input for the DetachThingPrincipal operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DetachThingPrincipalResponse detachThingPrincipal(Consumer<DetachThingPrincipalRequest.Builder> detachThingPrincipalRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Detaches the specified principal from the specified thing.
This is a convenience which creates an instance of the DetachThingPrincipalRequest.Builder avoiding the
need to create one manually via DetachThingPrincipalRequest.builder()
detachThingPrincipalRequest - A Consumer that will call methods on DetachThingPrincipalRequest.Builder to create a
request. The input for the DetachThingPrincipal operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisableTopicRuleResponse disableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Disables the specified rule.
disableTopicRuleRequest - The input for the DisableTopicRuleRequest operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisableTopicRuleResponse disableTopicRule(Consumer<DisableTopicRuleRequest.Builder> disableTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Disables the specified rule.
This is a convenience which creates an instance of the DisableTopicRuleRequest.Builder avoiding the need
to create one manually via DisableTopicRuleRequest.builder()
disableTopicRuleRequest - A Consumer that will call methods on DisableTopicRuleRequest.Builder to create a request.
The input for the DisableTopicRuleRequest operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault EnableTopicRuleResponse enableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Enables the specified rule.
enableTopicRuleRequest - The input for the EnableTopicRuleRequest operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault EnableTopicRuleResponse enableTopicRule(Consumer<EnableTopicRuleRequest.Builder> enableTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Enables the specified rule.
This is a convenience which creates an instance of the EnableTopicRuleRequest.Builder avoiding the need
to create one manually via EnableTopicRuleRequest.builder()
enableTopicRuleRequest - A Consumer that will call methods on EnableTopicRuleRequest.Builder to create a request.
The input for the EnableTopicRuleRequest operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLoggingOptionsResponse getLoggingOptions() throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Gets the logging options.
InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiongetLoggingOptions(GetLoggingOptionsRequest)default GetLoggingOptionsResponse getLoggingOptions(GetLoggingOptionsRequest getLoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Gets the logging options.
getLoggingOptionsRequest - The input for the GetLoggingOptions operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLoggingOptionsResponse getLoggingOptions(Consumer<GetLoggingOptionsRequest.Builder> getLoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Gets the logging options.
This is a convenience which creates an instance of the GetLoggingOptionsRequest.Builder avoiding the need
to create one manually via GetLoggingOptionsRequest.builder()
getLoggingOptionsRequest - A Consumer that will call methods on GetLoggingOptionsRequest.Builder to create a request.
The input for the GetLoggingOptions operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPolicyResponse getPolicy(GetPolicyRequest getPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified policy with the policy document of the default version.
getPolicyRequest - The input for the GetPolicy operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPolicyResponse getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified policy with the policy document of the default version.
This is a convenience which creates an instance of the GetPolicyRequest.Builder avoiding the need to
create one manually via GetPolicyRequest.builder()
getPolicyRequest - A Consumer that will call methods on GetPolicyRequest.Builder to create a request. The
input for the GetPolicy operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPolicyVersionResponse getPolicyVersion(GetPolicyVersionRequest getPolicyVersionRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified policy version.
getPolicyVersionRequest - The input for the GetPolicyVersion operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPolicyVersionResponse getPolicyVersion(Consumer<GetPolicyVersionRequest.Builder> getPolicyVersionRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified policy version.
This is a convenience which creates an instance of the GetPolicyVersionRequest.Builder avoiding the need
to create one manually via GetPolicyVersionRequest.builder()
getPolicyVersionRequest - A Consumer that will call methods on GetPolicyVersionRequest.Builder to create a request.
The input for the GetPolicyVersion operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRegistrationCodeResponse getRegistrationCode() throws ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IoTException
Gets a registration code used to register a CA certificate with AWS IoT.
ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiongetRegistrationCode(GetRegistrationCodeRequest)default GetRegistrationCodeResponse getRegistrationCode(GetRegistrationCodeRequest getRegistrationCodeRequest) throws ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IoTException
Gets a registration code used to register a CA certificate with AWS IoT.
getRegistrationCodeRequest - The input to the GetRegistrationCode operation.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRegistrationCodeResponse getRegistrationCode(Consumer<GetRegistrationCodeRequest.Builder> getRegistrationCodeRequest) throws ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IoTException
Gets a registration code used to register a CA certificate with AWS IoT.
This is a convenience which creates an instance of the GetRegistrationCodeRequest.Builder avoiding the
need to create one manually via GetRegistrationCodeRequest.builder()
getRegistrationCodeRequest - A Consumer that will call methods on GetRegistrationCodeRequest.Builder to create a
request. The input to the GetRegistrationCode operation.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTopicRuleResponse getTopicRule(GetTopicRuleRequest getTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified rule.
getTopicRuleRequest - The input for the GetTopicRule operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTopicRuleResponse getTopicRule(Consumer<GetTopicRuleRequest.Builder> getTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Gets information about the specified rule.
This is a convenience which creates an instance of the GetTopicRuleRequest.Builder avoiding the need to
create one manually via GetTopicRuleRequest.builder()
getTopicRuleRequest - A Consumer that will call methods on GetTopicRuleRequest.Builder to create a request. The
input for the GetTopicRule operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCACertificatesResponse listCACertificates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistCACertificates(ListCACertificatesRequest)default ListCACertificatesResponse listCACertificates(ListCACertificatesRequest listCACertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
listCACertificatesRequest - Input for the ListCACertificates operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCACertificatesResponse listCACertificates(Consumer<ListCACertificatesRequest.Builder> listCACertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a convenience which creates an instance of the ListCACertificatesRequest.Builder avoiding the
need to create one manually via ListCACertificatesRequest.builder()
listCACertificatesRequest - A Consumer that will call methods on ListCACertificatesRequest.Builder to create a
request. Input for the ListCACertificates operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCertificatesResponse listCertificates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistCertificates(ListCertificatesRequest)default ListCertificatesResponse listCertificates(ListCertificatesRequest listCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
listCertificatesRequest - The input for the ListCertificates operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCertificatesResponse listCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a convenience which creates an instance of the ListCertificatesRequest.Builder avoiding the need
to create one manually via ListCertificatesRequest.builder()
listCertificatesRequest - A Consumer that will call methods on ListCertificatesRequest.Builder to create a request.
The input for the ListCertificates operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCertificatesByCAResponse listCertificatesByCA(ListCertificatesByCARequest listCertificatesByCARequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
List the device certificates signed by the specified CA certificate.
listCertificatesByCARequest - The input to the ListCertificatesByCA operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCertificatesByCAResponse listCertificatesByCA(Consumer<ListCertificatesByCARequest.Builder> listCertificatesByCARequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
List the device certificates signed by the specified CA certificate.
This is a convenience which creates an instance of the ListCertificatesByCARequest.Builder avoiding the
need to create one manually via ListCertificatesByCARequest.builder()
listCertificatesByCARequest - A Consumer that will call methods on ListCertificatesByCARequest.Builder to create a
request. The input to the ListCertificatesByCA operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOutgoingCertificatesResponse listOutgoingCertificates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists certificates that are being transfered but not yet accepted.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistOutgoingCertificates(ListOutgoingCertificatesRequest)default ListOutgoingCertificatesResponse listOutgoingCertificates(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists certificates that are being transfered but not yet accepted.
listOutgoingCertificatesRequest - The input to the ListOutgoingCertificates operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOutgoingCertificatesResponse listOutgoingCertificates(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists certificates that are being transfered but not yet accepted.
This is a convenience which creates an instance of the ListOutgoingCertificatesRequest.Builder avoiding
the need to create one manually via ListOutgoingCertificatesRequest.builder()
listOutgoingCertificatesRequest - A Consumer that will call methods on ListOutgoingCertificatesRequest.Builder to create a
request. The input to the ListOutgoingCertificates operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPoliciesResponse listPolicies() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists your policies.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistPolicies(ListPoliciesRequest)default ListPoliciesResponse listPolicies(ListPoliciesRequest listPoliciesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists your policies.
listPoliciesRequest - The input for the ListPolicies operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPoliciesResponse listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists your policies.
This is a convenience which creates an instance of the ListPoliciesRequest.Builder avoiding the need to
create one manually via ListPoliciesRequest.builder()
listPoliciesRequest - A Consumer that will call methods on ListPoliciesRequest.Builder to create a request. The
input for the ListPolicies operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPolicyPrincipalsResponse listPolicyPrincipals(ListPolicyPrincipalsRequest listPolicyPrincipalsRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the principals associated with the specified policy.
listPolicyPrincipalsRequest - The input for the ListPolicyPrincipals operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPolicyPrincipalsResponse listPolicyPrincipals(Consumer<ListPolicyPrincipalsRequest.Builder> listPolicyPrincipalsRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the principals associated with the specified policy.
This is a convenience which creates an instance of the ListPolicyPrincipalsRequest.Builder avoiding the
need to create one manually via ListPolicyPrincipalsRequest.builder()
listPolicyPrincipalsRequest - A Consumer that will call methods on ListPolicyPrincipalsRequest.Builder to create a
request. The input for the ListPolicyPrincipals operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPolicyVersionsResponse listPolicyVersions(ListPolicyVersionsRequest listPolicyVersionsRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the versions of the specified policy and identifies the default version.
listPolicyVersionsRequest - The input for the ListPolicyVersions operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPolicyVersionsResponse listPolicyVersions(Consumer<ListPolicyVersionsRequest.Builder> listPolicyVersionsRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the versions of the specified policy and identifies the default version.
This is a convenience which creates an instance of the ListPolicyVersionsRequest.Builder avoiding the
need to create one manually via ListPolicyVersionsRequest.builder()
listPolicyVersionsRequest - A Consumer that will call methods on ListPolicyVersionsRequest.Builder to create a
request. The input for the ListPolicyVersions operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPrincipalPoliciesResponse listPrincipalPolicies(ListPrincipalPoliciesRequest listPrincipalPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
listPrincipalPoliciesRequest - The input for the ListPrincipalPolicies operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPrincipalPoliciesResponse listPrincipalPolicies(Consumer<ListPrincipalPoliciesRequest.Builder> listPrincipalPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
This is a convenience which creates an instance of the ListPrincipalPoliciesRequest.Builder avoiding the
need to create one manually via ListPrincipalPoliciesRequest.builder()
listPrincipalPoliciesRequest - A Consumer that will call methods on ListPrincipalPoliciesRequest.Builder to create a
request. The input for the ListPrincipalPolicies operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPrincipalThingsResponse listPrincipalThings(ListPrincipalThingsRequest listPrincipalThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Lists the things associated with the specified principal.
listPrincipalThingsRequest - The input for the ListPrincipalThings operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPrincipalThingsResponse listPrincipalThings(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Lists the things associated with the specified principal.
This is a convenience which creates an instance of the ListPrincipalThingsRequest.Builder avoiding the
need to create one manually via ListPrincipalThingsRequest.builder()
listPrincipalThingsRequest - A Consumer that will call methods on ListPrincipalThingsRequest.Builder to create a
request. The input for the ListPrincipalThings operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThingPrincipalsResponse listThingPrincipals(ListThingPrincipalsRequest listThingPrincipalsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Lists the principals associated with the specified thing.
listThingPrincipalsRequest - The input for the ListThingPrincipal operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThingPrincipalsResponse listThingPrincipals(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Lists the principals associated with the specified thing.
This is a convenience which creates an instance of the ListThingPrincipalsRequest.Builder avoiding the
need to create one manually via ListThingPrincipalsRequest.builder()
listThingPrincipalsRequest - A Consumer that will call methods on ListThingPrincipalsRequest.Builder to create a
request. The input for the ListThingPrincipal operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThingTypesResponse listThingTypes() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the existing thing types.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistThingTypes(ListThingTypesRequest)default ListThingTypesResponse listThingTypes(ListThingTypesRequest listThingTypesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the existing thing types.
listThingTypesRequest - The input for the ListThingTypes operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThingTypesResponse listThingTypes(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists the existing thing types.
This is a convenience which creates an instance of the ListThingTypesRequest.Builder avoiding the need to
create one manually via ListThingTypesRequest.builder()
listThingTypesRequest - A Consumer that will call methods on ListThingTypesRequest.Builder to create a request.
The input for the ListThingTypes operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThingsResponse listThings() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistThings(ListThingsRequest)default ListThingsResponse listThings(ListThingsRequest listThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
listThingsRequest - The input for the ListThings operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThingsResponse listThings(Consumer<ListThingsRequest.Builder> listThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
This is a convenience which creates an instance of the ListThingsRequest.Builder avoiding the need to
create one manually via ListThingsRequest.builder()
listThingsRequest - A Consumer that will call methods on ListThingsRequest.Builder to create a request. The
input for the ListThings operation.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTopicRulesResponse listTopicRules() throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Lists the rules for the specific topic.
InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistTopicRules(ListTopicRulesRequest)default ListTopicRulesResponse listTopicRules(ListTopicRulesRequest listTopicRulesRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Lists the rules for the specific topic.
listTopicRulesRequest - The input for the ListTopicRules operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTopicRulesResponse listTopicRules(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Lists the rules for the specific topic.
This is a convenience which creates an instance of the ListTopicRulesRequest.Builder avoiding the need to
create one manually via ListTopicRulesRequest.builder()
listTopicRulesRequest - A Consumer that will call methods on ListTopicRulesRequest.Builder to create a request.
The input for the ListTopicRules operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterCACertificateResponse registerCACertificate(RegisterCACertificateRequest registerCACertificateRequest) throws ResourceAlreadyExistsException, RegistrationCodeValidationException, InvalidRequestException, CertificateValidationException, ThrottlingException, LimitExceededException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.
registerCACertificateRequest - The input to the RegisterCACertificate operation.ResourceAlreadyExistsException - The resource already exists.RegistrationCodeValidationException - The registration code is invalid.InvalidRequestException - The request is not valid.CertificateValidationException - The certificate is invalid.ThrottlingException - The rate exceeds the limit.LimitExceededException - The number of attached entities exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterCACertificateResponse registerCACertificate(Consumer<RegisterCACertificateRequest.Builder> registerCACertificateRequest) throws ResourceAlreadyExistsException, RegistrationCodeValidationException, InvalidRequestException, CertificateValidationException, ThrottlingException, LimitExceededException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.
This is a convenience which creates an instance of the RegisterCACertificateRequest.Builder avoiding the
need to create one manually via RegisterCACertificateRequest.builder()
registerCACertificateRequest - A Consumer that will call methods on RegisterCACertificateRequest.Builder to create a
request. The input to the RegisterCACertificate operation.ResourceAlreadyExistsException - The resource already exists.RegistrationCodeValidationException - The registration code is invalid.InvalidRequestException - The request is not valid.CertificateValidationException - The certificate is invalid.ThrottlingException - The rate exceeds the limit.LimitExceededException - The number of attached entities exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterCertificateResponse registerCertificate(RegisterCertificateRequest registerCertificateRequest) throws ResourceAlreadyExistsException, InvalidRequestException, CertificateValidationException, CertificateStateException, CertificateConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
registerCertificateRequest - The input to the RegisterCertificate operation.ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.CertificateValidationException - The certificate is invalid.CertificateStateException - The certificate operation is not allowed.CertificateConflictException - Unable to verify the CA certificate used to sign the device certificate you are attempting to register.
This is happens when you have registered more than one CA certificate that has the same subject field and
public key.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterCertificateResponse registerCertificate(Consumer<RegisterCertificateRequest.Builder> registerCertificateRequest) throws ResourceAlreadyExistsException, InvalidRequestException, CertificateValidationException, CertificateStateException, CertificateConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
This is a convenience which creates an instance of the RegisterCertificateRequest.Builder avoiding the
need to create one manually via RegisterCertificateRequest.builder()
registerCertificateRequest - A Consumer that will call methods on RegisterCertificateRequest.Builder to create a
request. The input to the RegisterCertificate operation.ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.CertificateValidationException - The certificate is invalid.CertificateStateException - The certificate operation is not allowed.CertificateConflictException - Unable to verify the CA certificate used to sign the device certificate you are attempting to register.
This is happens when you have registered more than one CA certificate that has the same subject field and
public key.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RejectCertificateTransferResponse rejectCertificateTransfer(RejectCertificateTransferRequest rejectCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
rejectCertificateTransferRequest - The input for the RejectCertificateTransfer operation.ResourceNotFoundException - The specified resource does not exist.TransferAlreadyCompletedException - You can't revert the certificate transfer because the transfer is already complete.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RejectCertificateTransferResponse rejectCertificateTransfer(Consumer<RejectCertificateTransferRequest.Builder> rejectCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
This is a convenience which creates an instance of the RejectCertificateTransferRequest.Builder avoiding
the need to create one manually via RejectCertificateTransferRequest.builder()
rejectCertificateTransferRequest - A Consumer that will call methods on RejectCertificateTransferRequest.Builder to create a
request. The input for the RejectCertificateTransfer operation.ResourceNotFoundException - The specified resource does not exist.TransferAlreadyCompletedException - You can't revert the certificate transfer because the transfer is already complete.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ReplaceTopicRuleResponse replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest) throws SqlParseException, InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Replaces the specified rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
replaceTopicRuleRequest - The input for the ReplaceTopicRule operation.SqlParseException - The Rule-SQL expression can't be parsed correctly.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ReplaceTopicRuleResponse replaceTopicRule(Consumer<ReplaceTopicRuleRequest.Builder> replaceTopicRuleRequest) throws SqlParseException, InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IoTException
Replaces the specified rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
This is a convenience which creates an instance of the ReplaceTopicRuleRequest.Builder avoiding the need
to create one manually via ReplaceTopicRuleRequest.builder()
replaceTopicRuleRequest - A Consumer that will call methods on ReplaceTopicRuleRequest.Builder to create a request.
The input for the ReplaceTopicRule operation.SqlParseException - The Rule-SQL expression can't be parsed correctly.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.UnauthorizedException - You are not authorized to perform this operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SetDefaultPolicyVersionResponse setDefaultPolicyVersion(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.
setDefaultPolicyVersionRequest - The input for the SetDefaultPolicyVersion operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SetDefaultPolicyVersionResponse setDefaultPolicyVersion(Consumer<SetDefaultPolicyVersionRequest.Builder> setDefaultPolicyVersionRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.
This is a convenience which creates an instance of the SetDefaultPolicyVersionRequest.Builder avoiding
the need to create one manually via SetDefaultPolicyVersionRequest.builder()
setDefaultPolicyVersionRequest - A Consumer that will call methods on SetDefaultPolicyVersionRequest.Builder to create a
request. The input for the SetDefaultPolicyVersion operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SetLoggingOptionsResponse setLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Sets the logging options.
setLoggingOptionsRequest - The input for the SetLoggingOptions operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SetLoggingOptionsResponse setLoggingOptions(Consumer<SetLoggingOptionsRequest.Builder> setLoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IoTException
Sets the logging options.
This is a convenience which creates an instance of the SetLoggingOptionsRequest.Builder avoiding the need
to create one manually via SetLoggingOptionsRequest.builder()
setLoggingOptionsRequest - A Consumer that will call methods on SetLoggingOptionsRequest.Builder to create a request.
The input for the SetLoggingOptions operation.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TransferCertificateResponse transferCertificate(TransferCertificateRequest transferCertificateRequest) throws InvalidRequestException, ResourceNotFoundException, CertificateStateException, TransferConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Transfers the specified certificate to the specified AWS account.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.
transferCertificateRequest - The input for the TransferCertificate operation.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.CertificateStateException - The certificate operation is not allowed.TransferConflictException - You can't transfer the certificate because authorization policies are still attached.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TransferCertificateResponse transferCertificate(Consumer<TransferCertificateRequest.Builder> transferCertificateRequest) throws InvalidRequestException, ResourceNotFoundException, CertificateStateException, TransferConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Transfers the specified certificate to the specified AWS account.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.
This is a convenience which creates an instance of the TransferCertificateRequest.Builder avoiding the
need to create one manually via TransferCertificateRequest.builder()
transferCertificateRequest - A Consumer that will call methods on TransferCertificateRequest.Builder to create a
request. The input for the TransferCertificate operation.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.CertificateStateException - The certificate operation is not allowed.TransferConflictException - You can't transfer the certificate because authorization policies are still attached.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCACertificateResponse updateCACertificate(UpdateCACertificateRequest updateCACertificateRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Updates a registered CA certificate.
updateCACertificateRequest - The input to the UpdateCACertificate operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCACertificateResponse updateCACertificate(Consumer<UpdateCACertificateRequest.Builder> updateCACertificateRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Updates a registered CA certificate.
This is a convenience which creates an instance of the UpdateCACertificateRequest.Builder avoiding the
need to create one manually via UpdateCACertificateRequest.builder()
updateCACertificateRequest - A Consumer that will call methods on UpdateCACertificateRequest.Builder to create a
request. The input to the UpdateCACertificate operation.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCertificateResponse updateCertificate(UpdateCertificateRequest updateCertificateRequest) throws ResourceNotFoundException, CertificateStateException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Updates the status of the specified certificate. This operation is idempotent.
Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect.
The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate.
updateCertificateRequest - The input for the UpdateCertificate operation.ResourceNotFoundException - The specified resource does not exist.CertificateStateException - The certificate operation is not allowed.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCertificateResponse updateCertificate(Consumer<UpdateCertificateRequest.Builder> updateCertificateRequest) throws ResourceNotFoundException, CertificateStateException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IoTException
Updates the status of the specified certificate. This operation is idempotent.
Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect.
The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate.
This is a convenience which creates an instance of the UpdateCertificateRequest.Builder avoiding the need
to create one manually via UpdateCertificateRequest.builder()
updateCertificateRequest - A Consumer that will call methods on UpdateCertificateRequest.Builder to create a request.
The input for the UpdateCertificate operation.ResourceNotFoundException - The specified resource does not exist.CertificateStateException - The certificate operation is not allowed.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateThingResponse updateThing(UpdateThingRequest updateThingRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Updates the data for a thing.
updateThingRequest - The input for the UpdateThing operation.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of a thing passed to a command is different than the version
specified with the --version parameter.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateThingResponse updateThing(Consumer<UpdateThingRequest.Builder> updateThingRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTException
Updates the data for a thing.
This is a convenience which creates an instance of the UpdateThingRequest.Builder avoiding the need to
create one manually via UpdateThingRequest.builder()
updateThingRequest - A Consumer that will call methods on UpdateThingRequest.Builder to create a request. The
input for the UpdateThing operation.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of a thing passed to a command is different than the version
specified with the --version parameter.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.