@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface IotClient extends SdkClient
builder() method.
IoT provides secure, bi-directional communication between Internet-connected devices (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services 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 device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.
The service endpoints that expose this API are listed in Amazon Web Services IoT Core Endpoints and Quotas. You must use the endpoint for the region that has the resources you want to access.
The service name used by Amazon Web Services Signature Version 4 to sign the request is: execute-api.
For more information about how IoT works, see the Developer Guide.
For information about how to use the credentials provider for IoT, see Authorizing Direct Calls to Amazon Web Services Services.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
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 AddThingToBillingGroupResponse |
addThingToBillingGroup(AddThingToBillingGroupRequest addThingToBillingGroupRequest)
Adds a thing to a billing group.
|
default AddThingToBillingGroupResponse |
addThingToBillingGroup(Consumer<AddThingToBillingGroupRequest.Builder> addThingToBillingGroupRequest)
Adds a thing to a billing group.
|
default AddThingToThingGroupResponse |
addThingToThingGroup(AddThingToThingGroupRequest addThingToThingGroupRequest)
Adds a thing to a thing group.
|
default AddThingToThingGroupResponse |
addThingToThingGroup(Consumer<AddThingToThingGroupRequest.Builder> addThingToThingGroupRequest)
Adds a thing to a thing group.
|
default AssociateTargetsWithJobResponse |
associateTargetsWithJob(AssociateTargetsWithJobRequest associateTargetsWithJobRequest)
Associates a group with a continuous job.
|
default AssociateTargetsWithJobResponse |
associateTargetsWithJob(Consumer<AssociateTargetsWithJobRequest.Builder> associateTargetsWithJobRequest)
Associates a group with a continuous job.
|
default AttachPolicyResponse |
attachPolicy(AttachPolicyRequest attachPolicyRequest)
Attaches the specified policy to the specified principal (certificate or other credential).
|
default AttachPolicyResponse |
attachPolicy(Consumer<AttachPolicyRequest.Builder> attachPolicyRequest)
Attaches the specified policy to the specified principal (certificate or other credential).
|
default AttachSecurityProfileResponse |
attachSecurityProfile(AttachSecurityProfileRequest attachSecurityProfileRequest)
Associates a Device Defender security profile with a thing group or this account.
|
default AttachSecurityProfileResponse |
attachSecurityProfile(Consumer<AttachSecurityProfileRequest.Builder> attachSecurityProfileRequest)
Associates a Device Defender security profile with a thing group or this account.
|
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 CancelAuditMitigationActionsTaskResponse |
cancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest cancelAuditMitigationActionsTaskRequest)
Cancels a mitigation action task that is in progress.
|
default CancelAuditMitigationActionsTaskResponse |
cancelAuditMitigationActionsTask(Consumer<CancelAuditMitigationActionsTaskRequest.Builder> cancelAuditMitigationActionsTaskRequest)
Cancels a mitigation action task that is in progress.
|
default CancelAuditTaskResponse |
cancelAuditTask(CancelAuditTaskRequest cancelAuditTaskRequest)
Cancels an audit that is in progress.
|
default CancelAuditTaskResponse |
cancelAuditTask(Consumer<CancelAuditTaskRequest.Builder> cancelAuditTaskRequest)
Cancels an audit that is in progress.
|
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.
|
default CancelDetectMitigationActionsTaskResponse |
cancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest cancelDetectMitigationActionsTaskRequest)
Cancels a Device Defender ML Detect mitigation action.
|
default CancelDetectMitigationActionsTaskResponse |
cancelDetectMitigationActionsTask(Consumer<CancelDetectMitigationActionsTaskRequest.Builder> cancelDetectMitigationActionsTaskRequest)
Cancels a Device Defender ML Detect mitigation action.
|
default CancelJobResponse |
cancelJob(CancelJobRequest cancelJobRequest)
Cancels a job.
|
default CancelJobResponse |
cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest)
Cancels a job.
|
default CancelJobExecutionResponse |
cancelJobExecution(CancelJobExecutionRequest cancelJobExecutionRequest)
Cancels the execution of a job for a given thing.
|
default CancelJobExecutionResponse |
cancelJobExecution(Consumer<CancelJobExecutionRequest.Builder> cancelJobExecutionRequest)
Cancels the execution of a job for a given thing.
|
default ClearDefaultAuthorizerResponse |
clearDefaultAuthorizer()
Clears the default authorizer.
|
default ClearDefaultAuthorizerResponse |
clearDefaultAuthorizer(ClearDefaultAuthorizerRequest clearDefaultAuthorizerRequest)
Clears the default authorizer.
|
default ClearDefaultAuthorizerResponse |
clearDefaultAuthorizer(Consumer<ClearDefaultAuthorizerRequest.Builder> clearDefaultAuthorizerRequest)
Clears the default authorizer.
|
default ConfirmTopicRuleDestinationResponse |
confirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest confirmTopicRuleDestinationRequest)
Confirms a topic rule destination.
|
default ConfirmTopicRuleDestinationResponse |
confirmTopicRuleDestination(Consumer<ConfirmTopicRuleDestinationRequest.Builder> confirmTopicRuleDestinationRequest)
Confirms a topic rule destination.
|
static IotClient |
create()
Create a
IotClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAuditSuppressionResponse |
createAuditSuppression(Consumer<CreateAuditSuppressionRequest.Builder> createAuditSuppressionRequest)
Creates a Device Defender audit suppression.
|
default CreateAuditSuppressionResponse |
createAuditSuppression(CreateAuditSuppressionRequest createAuditSuppressionRequest)
Creates a Device Defender audit suppression.
|
default CreateAuthorizerResponse |
createAuthorizer(Consumer<CreateAuthorizerRequest.Builder> createAuthorizerRequest)
Creates an authorizer.
|
default CreateAuthorizerResponse |
createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest)
Creates an authorizer.
|
default CreateBillingGroupResponse |
createBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest)
Creates a billing group.
|
default CreateBillingGroupResponse |
createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest)
Creates a billing group.
|
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 CreateCustomMetricResponse |
createCustomMetric(Consumer<CreateCustomMetricRequest.Builder> createCustomMetricRequest)
Use this API to define a Custom Metric published by your devices to Device Defender.
|
default CreateCustomMetricResponse |
createCustomMetric(CreateCustomMetricRequest createCustomMetricRequest)
Use this API to define a Custom Metric published by your devices to Device Defender.
|
default CreateDimensionResponse |
createDimension(Consumer<CreateDimensionRequest.Builder> createDimensionRequest)
Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device
Defender.
|
default CreateDimensionResponse |
createDimension(CreateDimensionRequest createDimensionRequest)
Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device
Defender.
|
default CreateDomainConfigurationResponse |
createDomainConfiguration(Consumer<CreateDomainConfigurationRequest.Builder> createDomainConfigurationRequest)
Creates a domain configuration.
|
default CreateDomainConfigurationResponse |
createDomainConfiguration(CreateDomainConfigurationRequest createDomainConfigurationRequest)
Creates a domain configuration.
|
default CreateDynamicThingGroupResponse |
createDynamicThingGroup(Consumer<CreateDynamicThingGroupRequest.Builder> createDynamicThingGroupRequest)
Creates a dynamic thing group.
|
default CreateDynamicThingGroupResponse |
createDynamicThingGroup(CreateDynamicThingGroupRequest createDynamicThingGroupRequest)
Creates a dynamic thing group.
|
default CreateFleetMetricResponse |
createFleetMetric(Consumer<CreateFleetMetricRequest.Builder> createFleetMetricRequest)
Creates a fleet metric.
|
default CreateFleetMetricResponse |
createFleetMetric(CreateFleetMetricRequest createFleetMetricRequest)
Creates a fleet metric.
|
default CreateJobResponse |
createJob(Consumer<CreateJobRequest.Builder> createJobRequest)
Creates a job.
|
default CreateJobResponse |
createJob(CreateJobRequest createJobRequest)
Creates a job.
|
default CreateJobTemplateResponse |
createJobTemplate(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest)
Creates a job template.
|
default CreateJobTemplateResponse |
createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest)
Creates a job template.
|
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 CreateMitigationActionResponse |
createMitigationAction(Consumer<CreateMitigationActionRequest.Builder> createMitigationActionRequest)
Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.
|
default CreateMitigationActionResponse |
createMitigationAction(CreateMitigationActionRequest createMitigationActionRequest)
Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.
|
default CreateOtaUpdateResponse |
createOTAUpdate(Consumer<CreateOtaUpdateRequest.Builder> createOtaUpdateRequest)
Creates an IoT OTA update on a target group of things or groups.
|
default CreateOtaUpdateResponse |
createOTAUpdate(CreateOtaUpdateRequest createOtaUpdateRequest)
Creates an IoT OTA update on a target group of things or groups.
|
default CreatePolicyResponse |
createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest)
Creates an IoT policy.
|
default CreatePolicyResponse |
createPolicy(CreatePolicyRequest createPolicyRequest)
Creates an IoT policy.
|
default CreatePolicyVersionResponse |
createPolicyVersion(Consumer<CreatePolicyVersionRequest.Builder> createPolicyVersionRequest)
Creates a new version of the specified IoT policy.
|
default CreatePolicyVersionResponse |
createPolicyVersion(CreatePolicyVersionRequest createPolicyVersionRequest)
Creates a new version of the specified IoT policy.
|
default CreateProvisioningClaimResponse |
createProvisioningClaim(Consumer<CreateProvisioningClaimRequest.Builder> createProvisioningClaimRequest)
Creates a provisioning claim.
|
default CreateProvisioningClaimResponse |
createProvisioningClaim(CreateProvisioningClaimRequest createProvisioningClaimRequest)
Creates a provisioning claim.
|
default CreateProvisioningTemplateResponse |
createProvisioningTemplate(Consumer<CreateProvisioningTemplateRequest.Builder> createProvisioningTemplateRequest)
Creates a fleet provisioning template.
|
default CreateProvisioningTemplateResponse |
createProvisioningTemplate(CreateProvisioningTemplateRequest createProvisioningTemplateRequest)
Creates a fleet provisioning template.
|
default CreateProvisioningTemplateVersionResponse |
createProvisioningTemplateVersion(Consumer<CreateProvisioningTemplateVersionRequest.Builder> createProvisioningTemplateVersionRequest)
Creates a new version of a fleet provisioning template.
|
default CreateProvisioningTemplateVersionResponse |
createProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest createProvisioningTemplateVersionRequest)
Creates a new version of a fleet provisioning template.
|
default CreateRoleAliasResponse |
createRoleAlias(Consumer<CreateRoleAliasRequest.Builder> createRoleAliasRequest)
Creates a role alias.
|
default CreateRoleAliasResponse |
createRoleAlias(CreateRoleAliasRequest createRoleAliasRequest)
Creates a role alias.
|
default CreateScheduledAuditResponse |
createScheduledAudit(Consumer<CreateScheduledAuditRequest.Builder> createScheduledAuditRequest)
Creates a scheduled audit that is run at a specified time interval.
|
default CreateScheduledAuditResponse |
createScheduledAudit(CreateScheduledAuditRequest createScheduledAuditRequest)
Creates a scheduled audit that is run at a specified time interval.
|
default CreateSecurityProfileResponse |
createSecurityProfile(Consumer<CreateSecurityProfileRequest.Builder> createSecurityProfileRequest)
Creates a Device Defender security profile.
|
default CreateSecurityProfileResponse |
createSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest)
Creates a Device Defender security profile.
|
default CreateStreamResponse |
createStream(Consumer<CreateStreamRequest.Builder> createStreamRequest)
Creates a stream for delivering one or more large files in chunks over MQTT.
|
default CreateStreamResponse |
createStream(CreateStreamRequest createStreamRequest)
Creates a stream for delivering one or more large files in chunks over MQTT.
|
default CreateThingResponse |
createThing(Consumer<CreateThingRequest.Builder> createThingRequest)
Creates a thing record in the registry.
|
default CreateThingResponse |
createThing(CreateThingRequest createThingRequest)
Creates a thing record in the registry.
|
default CreateThingGroupResponse |
createThingGroup(Consumer<CreateThingGroupRequest.Builder> createThingGroupRequest)
Create a thing group.
|
default CreateThingGroupResponse |
createThingGroup(CreateThingGroupRequest createThingGroupRequest)
Create a thing group.
|
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 CreateTopicRuleDestinationResponse |
createTopicRuleDestination(Consumer<CreateTopicRuleDestinationRequest.Builder> createTopicRuleDestinationRequest)
Creates a topic rule destination.
|
default CreateTopicRuleDestinationResponse |
createTopicRuleDestination(CreateTopicRuleDestinationRequest createTopicRuleDestinationRequest)
Creates a topic rule destination.
|
default DeleteAccountAuditConfigurationResponse |
deleteAccountAuditConfiguration()
Restores the default settings for Device Defender audits for this account.
|
default DeleteAccountAuditConfigurationResponse |
deleteAccountAuditConfiguration(Consumer<DeleteAccountAuditConfigurationRequest.Builder> deleteAccountAuditConfigurationRequest)
Restores the default settings for Device Defender audits for this account.
|
default DeleteAccountAuditConfigurationResponse |
deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest deleteAccountAuditConfigurationRequest)
Restores the default settings for Device Defender audits for this account.
|
default DeleteAuditSuppressionResponse |
deleteAuditSuppression(Consumer<DeleteAuditSuppressionRequest.Builder> deleteAuditSuppressionRequest)
Deletes a Device Defender audit suppression.
|
default DeleteAuditSuppressionResponse |
deleteAuditSuppression(DeleteAuditSuppressionRequest deleteAuditSuppressionRequest)
Deletes a Device Defender audit suppression.
|
default DeleteAuthorizerResponse |
deleteAuthorizer(Consumer<DeleteAuthorizerRequest.Builder> deleteAuthorizerRequest)
Deletes an authorizer.
|
default DeleteAuthorizerResponse |
deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest)
Deletes an authorizer.
|
default DeleteBillingGroupResponse |
deleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest)
Deletes the billing group.
|
default DeleteBillingGroupResponse |
deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest)
Deletes the billing group.
|
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 DeleteCustomMetricResponse |
deleteCustomMetric(Consumer<DeleteCustomMetricRequest.Builder> deleteCustomMetricRequest)
Deletes a Device Defender detect custom metric.
|
default DeleteCustomMetricResponse |
deleteCustomMetric(DeleteCustomMetricRequest deleteCustomMetricRequest)
Deletes a Device Defender detect custom metric.
|
default DeleteDimensionResponse |
deleteDimension(Consumer<DeleteDimensionRequest.Builder> deleteDimensionRequest)
Removes the specified dimension from your Amazon Web Services accounts.
|
default DeleteDimensionResponse |
deleteDimension(DeleteDimensionRequest deleteDimensionRequest)
Removes the specified dimension from your Amazon Web Services accounts.
|
default DeleteDomainConfigurationResponse |
deleteDomainConfiguration(Consumer<DeleteDomainConfigurationRequest.Builder> deleteDomainConfigurationRequest)
Deletes the specified domain configuration.
|
default DeleteDomainConfigurationResponse |
deleteDomainConfiguration(DeleteDomainConfigurationRequest deleteDomainConfigurationRequest)
Deletes the specified domain configuration.
|
default DeleteDynamicThingGroupResponse |
deleteDynamicThingGroup(Consumer<DeleteDynamicThingGroupRequest.Builder> deleteDynamicThingGroupRequest)
Deletes a dynamic thing group.
|
default DeleteDynamicThingGroupResponse |
deleteDynamicThingGroup(DeleteDynamicThingGroupRequest deleteDynamicThingGroupRequest)
Deletes a dynamic thing group.
|
default DeleteFleetMetricResponse |
deleteFleetMetric(Consumer<DeleteFleetMetricRequest.Builder> deleteFleetMetricRequest)
Deletes the specified fleet metric.
|
default DeleteFleetMetricResponse |
deleteFleetMetric(DeleteFleetMetricRequest deleteFleetMetricRequest)
Deletes the specified fleet metric.
|
default DeleteJobResponse |
deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest)
Deletes a job and its related job executions.
|
default DeleteJobResponse |
deleteJob(DeleteJobRequest deleteJobRequest)
Deletes a job and its related job executions.
|
default DeleteJobExecutionResponse |
deleteJobExecution(Consumer<DeleteJobExecutionRequest.Builder> deleteJobExecutionRequest)
Deletes a job execution.
|
default DeleteJobExecutionResponse |
deleteJobExecution(DeleteJobExecutionRequest deleteJobExecutionRequest)
Deletes a job execution.
|
default DeleteJobTemplateResponse |
deleteJobTemplate(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest)
Deletes the specified job template.
|
default DeleteJobTemplateResponse |
deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest)
Deletes the specified job template.
|
default DeleteMitigationActionResponse |
deleteMitigationAction(Consumer<DeleteMitigationActionRequest.Builder> deleteMitigationActionRequest)
Deletes a defined mitigation action from your Amazon Web Services accounts.
|
default DeleteMitigationActionResponse |
deleteMitigationAction(DeleteMitigationActionRequest deleteMitigationActionRequest)
Deletes a defined mitigation action from your Amazon Web Services accounts.
|
default DeleteOtaUpdateResponse |
deleteOTAUpdate(Consumer<DeleteOtaUpdateRequest.Builder> deleteOtaUpdateRequest)
Delete an OTA update.
|
default DeleteOtaUpdateResponse |
deleteOTAUpdate(DeleteOtaUpdateRequest deleteOtaUpdateRequest)
Delete an OTA update.
|
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 DeleteProvisioningTemplateResponse |
deleteProvisioningTemplate(Consumer<DeleteProvisioningTemplateRequest.Builder> deleteProvisioningTemplateRequest)
Deletes a fleet provisioning template.
|
default DeleteProvisioningTemplateResponse |
deleteProvisioningTemplate(DeleteProvisioningTemplateRequest deleteProvisioningTemplateRequest)
Deletes a fleet provisioning template.
|
default DeleteProvisioningTemplateVersionResponse |
deleteProvisioningTemplateVersion(Consumer<DeleteProvisioningTemplateVersionRequest.Builder> deleteProvisioningTemplateVersionRequest)
Deletes a fleet provisioning template version.
|
default DeleteProvisioningTemplateVersionResponse |
deleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest deleteProvisioningTemplateVersionRequest)
Deletes a fleet provisioning template version.
|
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 DeleteRoleAliasResponse |
deleteRoleAlias(Consumer<DeleteRoleAliasRequest.Builder> deleteRoleAliasRequest)
Deletes a role alias
|
default DeleteRoleAliasResponse |
deleteRoleAlias(DeleteRoleAliasRequest deleteRoleAliasRequest)
Deletes a role alias
|
default DeleteScheduledAuditResponse |
deleteScheduledAudit(Consumer<DeleteScheduledAuditRequest.Builder> deleteScheduledAuditRequest)
Deletes a scheduled audit.
|
default DeleteScheduledAuditResponse |
deleteScheduledAudit(DeleteScheduledAuditRequest deleteScheduledAuditRequest)
Deletes a scheduled audit.
|
default DeleteSecurityProfileResponse |
deleteSecurityProfile(Consumer<DeleteSecurityProfileRequest.Builder> deleteSecurityProfileRequest)
Deletes a Device Defender security profile.
|
default DeleteSecurityProfileResponse |
deleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest)
Deletes a Device Defender security profile.
|
default DeleteStreamResponse |
deleteStream(Consumer<DeleteStreamRequest.Builder> deleteStreamRequest)
Deletes a stream.
|
default DeleteStreamResponse |
deleteStream(DeleteStreamRequest deleteStreamRequest)
Deletes a stream.
|
default DeleteThingResponse |
deleteThing(Consumer<DeleteThingRequest.Builder> deleteThingRequest)
Deletes the specified thing.
|
default DeleteThingResponse |
deleteThing(DeleteThingRequest deleteThingRequest)
Deletes the specified thing.
|
default DeleteThingGroupResponse |
deleteThingGroup(Consumer<DeleteThingGroupRequest.Builder> deleteThingGroupRequest)
Deletes a thing group.
|
default DeleteThingGroupResponse |
deleteThingGroup(DeleteThingGroupRequest deleteThingGroupRequest)
Deletes a thing group.
|
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 rule.
|
default DeleteTopicRuleResponse |
deleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest)
Deletes the rule.
|
default DeleteTopicRuleDestinationResponse |
deleteTopicRuleDestination(Consumer<DeleteTopicRuleDestinationRequest.Builder> deleteTopicRuleDestinationRequest)
Deletes a topic rule destination.
|
default DeleteTopicRuleDestinationResponse |
deleteTopicRuleDestination(DeleteTopicRuleDestinationRequest deleteTopicRuleDestinationRequest)
Deletes a topic rule destination.
|
default DeleteV2LoggingLevelResponse |
deleteV2LoggingLevel(Consumer<DeleteV2LoggingLevelRequest.Builder> deleteV2LoggingLevelRequest)
Deletes a logging level.
|
default DeleteV2LoggingLevelResponse |
deleteV2LoggingLevel(DeleteV2LoggingLevelRequest deleteV2LoggingLevelRequest)
Deletes a logging level.
|
default DeprecateThingTypeResponse |
deprecateThingType(Consumer<DeprecateThingTypeRequest.Builder> deprecateThingTypeRequest)
Deprecates a thing type.
|
default DeprecateThingTypeResponse |
deprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest)
Deprecates a thing type.
|
default DescribeAccountAuditConfigurationResponse |
describeAccountAuditConfiguration()
Gets information about the Device Defender audit settings for this account.
|
default DescribeAccountAuditConfigurationResponse |
describeAccountAuditConfiguration(Consumer<DescribeAccountAuditConfigurationRequest.Builder> describeAccountAuditConfigurationRequest)
Gets information about the Device Defender audit settings for this account.
|
default DescribeAccountAuditConfigurationResponse |
describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest describeAccountAuditConfigurationRequest)
Gets information about the Device Defender audit settings for this account.
|
default DescribeAuditFindingResponse |
describeAuditFinding(Consumer<DescribeAuditFindingRequest.Builder> describeAuditFindingRequest)
Gets information about a single audit finding.
|
default DescribeAuditFindingResponse |
describeAuditFinding(DescribeAuditFindingRequest describeAuditFindingRequest)
Gets information about a single audit finding.
|
default DescribeAuditMitigationActionsTaskResponse |
describeAuditMitigationActionsTask(Consumer<DescribeAuditMitigationActionsTaskRequest.Builder> describeAuditMitigationActionsTaskRequest)
Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit
findings.
|
default DescribeAuditMitigationActionsTaskResponse |
describeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest describeAuditMitigationActionsTaskRequest)
Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit
findings.
|
default DescribeAuditSuppressionResponse |
describeAuditSuppression(Consumer<DescribeAuditSuppressionRequest.Builder> describeAuditSuppressionRequest)
Gets information about a Device Defender audit suppression.
|
default DescribeAuditSuppressionResponse |
describeAuditSuppression(DescribeAuditSuppressionRequest describeAuditSuppressionRequest)
Gets information about a Device Defender audit suppression.
|
default DescribeAuditTaskResponse |
describeAuditTask(Consumer<DescribeAuditTaskRequest.Builder> describeAuditTaskRequest)
Gets information about a Device Defender audit.
|
default DescribeAuditTaskResponse |
describeAuditTask(DescribeAuditTaskRequest describeAuditTaskRequest)
Gets information about a Device Defender audit.
|
default DescribeAuthorizerResponse |
describeAuthorizer(Consumer<DescribeAuthorizerRequest.Builder> describeAuthorizerRequest)
Describes an authorizer.
|
default DescribeAuthorizerResponse |
describeAuthorizer(DescribeAuthorizerRequest describeAuthorizerRequest)
Describes an authorizer.
|
default DescribeBillingGroupResponse |
describeBillingGroup(Consumer<DescribeBillingGroupRequest.Builder> describeBillingGroupRequest)
Returns information about a billing group.
|
default DescribeBillingGroupResponse |
describeBillingGroup(DescribeBillingGroupRequest describeBillingGroupRequest)
Returns information about a billing group.
|
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 DescribeCustomMetricResponse |
describeCustomMetric(Consumer<DescribeCustomMetricRequest.Builder> describeCustomMetricRequest)
Gets information about a Device Defender detect custom metric.
|
default DescribeCustomMetricResponse |
describeCustomMetric(DescribeCustomMetricRequest describeCustomMetricRequest)
Gets information about a Device Defender detect custom metric.
|
default DescribeDefaultAuthorizerResponse |
describeDefaultAuthorizer(Consumer<DescribeDefaultAuthorizerRequest.Builder> describeDefaultAuthorizerRequest)
Describes the default authorizer.
|
default DescribeDefaultAuthorizerResponse |
describeDefaultAuthorizer(DescribeDefaultAuthorizerRequest describeDefaultAuthorizerRequest)
Describes the default authorizer.
|
default DescribeDetectMitigationActionsTaskResponse |
describeDetectMitigationActionsTask(Consumer<DescribeDetectMitigationActionsTaskRequest.Builder> describeDetectMitigationActionsTaskRequest)
Gets information about a Device Defender ML Detect mitigation action.
|
default DescribeDetectMitigationActionsTaskResponse |
describeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest describeDetectMitigationActionsTaskRequest)
Gets information about a Device Defender ML Detect mitigation action.
|
default DescribeDimensionResponse |
describeDimension(Consumer<DescribeDimensionRequest.Builder> describeDimensionRequest)
Provides details about a dimension that is defined in your Amazon Web Services accounts.
|
default DescribeDimensionResponse |
describeDimension(DescribeDimensionRequest describeDimensionRequest)
Provides details about a dimension that is defined in your Amazon Web Services accounts.
|
default DescribeDomainConfigurationResponse |
describeDomainConfiguration(Consumer<DescribeDomainConfigurationRequest.Builder> describeDomainConfigurationRequest)
Gets summary information about a domain configuration.
|
default DescribeDomainConfigurationResponse |
describeDomainConfiguration(DescribeDomainConfigurationRequest describeDomainConfigurationRequest)
Gets summary information about a domain configuration.
|
default DescribeEndpointResponse |
describeEndpoint()
Returns a unique endpoint specific to the Amazon Web Services account making the call.
|
default DescribeEndpointResponse |
describeEndpoint(Consumer<DescribeEndpointRequest.Builder> describeEndpointRequest)
Returns a unique endpoint specific to the Amazon Web Services account making the call.
|
default DescribeEndpointResponse |
describeEndpoint(DescribeEndpointRequest describeEndpointRequest)
Returns a unique endpoint specific to the Amazon Web Services account making the call.
|
default DescribeEventConfigurationsResponse |
describeEventConfigurations()
Describes event configurations.
|
default DescribeEventConfigurationsResponse |
describeEventConfigurations(Consumer<DescribeEventConfigurationsRequest.Builder> describeEventConfigurationsRequest)
Describes event configurations.
|
default DescribeEventConfigurationsResponse |
describeEventConfigurations(DescribeEventConfigurationsRequest describeEventConfigurationsRequest)
Describes event configurations.
|
default DescribeFleetMetricResponse |
describeFleetMetric(Consumer<DescribeFleetMetricRequest.Builder> describeFleetMetricRequest)
Gets information about the specified fleet metric.
|
default DescribeFleetMetricResponse |
describeFleetMetric(DescribeFleetMetricRequest describeFleetMetricRequest)
Gets information about the specified fleet metric.
|
default DescribeIndexResponse |
describeIndex(Consumer<DescribeIndexRequest.Builder> describeIndexRequest)
Describes a search index.
|
default DescribeIndexResponse |
describeIndex(DescribeIndexRequest describeIndexRequest)
Describes a search index.
|
default DescribeJobResponse |
describeJob(Consumer<DescribeJobRequest.Builder> describeJobRequest)
Describes a job.
|
default DescribeJobResponse |
describeJob(DescribeJobRequest describeJobRequest)
Describes a job.
|
default DescribeJobExecutionResponse |
describeJobExecution(Consumer<DescribeJobExecutionRequest.Builder> describeJobExecutionRequest)
Describes a job execution.
|
default DescribeJobExecutionResponse |
describeJobExecution(DescribeJobExecutionRequest describeJobExecutionRequest)
Describes a job execution.
|
default DescribeJobTemplateResponse |
describeJobTemplate(Consumer<DescribeJobTemplateRequest.Builder> describeJobTemplateRequest)
Returns information about a job template.
|
default DescribeJobTemplateResponse |
describeJobTemplate(DescribeJobTemplateRequest describeJobTemplateRequest)
Returns information about a job template.
|
default DescribeManagedJobTemplateResponse |
describeManagedJobTemplate(Consumer<DescribeManagedJobTemplateRequest.Builder> describeManagedJobTemplateRequest)
View details of a managed job template.
|
default DescribeManagedJobTemplateResponse |
describeManagedJobTemplate(DescribeManagedJobTemplateRequest describeManagedJobTemplateRequest)
View details of a managed job template.
|
default DescribeMitigationActionResponse |
describeMitigationAction(Consumer<DescribeMitigationActionRequest.Builder> describeMitigationActionRequest)
Gets information about a mitigation action.
|
default DescribeMitigationActionResponse |
describeMitigationAction(DescribeMitigationActionRequest describeMitigationActionRequest)
Gets information about a mitigation action.
|
default DescribeProvisioningTemplateResponse |
describeProvisioningTemplate(Consumer<DescribeProvisioningTemplateRequest.Builder> describeProvisioningTemplateRequest)
Returns information about a fleet provisioning template.
|
default DescribeProvisioningTemplateResponse |
describeProvisioningTemplate(DescribeProvisioningTemplateRequest describeProvisioningTemplateRequest)
Returns information about a fleet provisioning template.
|
default DescribeProvisioningTemplateVersionResponse |
describeProvisioningTemplateVersion(Consumer<DescribeProvisioningTemplateVersionRequest.Builder> describeProvisioningTemplateVersionRequest)
Returns information about a fleet provisioning template version.
|
default DescribeProvisioningTemplateVersionResponse |
describeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest describeProvisioningTemplateVersionRequest)
Returns information about a fleet provisioning template version.
|
default DescribeRoleAliasResponse |
describeRoleAlias(Consumer<DescribeRoleAliasRequest.Builder> describeRoleAliasRequest)
Describes a role alias.
|
default DescribeRoleAliasResponse |
describeRoleAlias(DescribeRoleAliasRequest describeRoleAliasRequest)
Describes a role alias.
|
default DescribeScheduledAuditResponse |
describeScheduledAudit(Consumer<DescribeScheduledAuditRequest.Builder> describeScheduledAuditRequest)
Gets information about a scheduled audit.
|
default DescribeScheduledAuditResponse |
describeScheduledAudit(DescribeScheduledAuditRequest describeScheduledAuditRequest)
Gets information about a scheduled audit.
|
default DescribeSecurityProfileResponse |
describeSecurityProfile(Consumer<DescribeSecurityProfileRequest.Builder> describeSecurityProfileRequest)
Gets information about a Device Defender security profile.
|
default DescribeSecurityProfileResponse |
describeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest)
Gets information about a Device Defender security profile.
|
default DescribeStreamResponse |
describeStream(Consumer<DescribeStreamRequest.Builder> describeStreamRequest)
Gets information about a stream.
|
default DescribeStreamResponse |
describeStream(DescribeStreamRequest describeStreamRequest)
Gets information about a stream.
|
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 DescribeThingGroupResponse |
describeThingGroup(Consumer<DescribeThingGroupRequest.Builder> describeThingGroupRequest)
Describe a thing group.
|
default DescribeThingGroupResponse |
describeThingGroup(DescribeThingGroupRequest describeThingGroupRequest)
Describe a thing group.
|
default DescribeThingRegistrationTaskResponse |
describeThingRegistrationTask(Consumer<DescribeThingRegistrationTaskRequest.Builder> describeThingRegistrationTaskRequest)
Describes a bulk thing provisioning task.
|
default DescribeThingRegistrationTaskResponse |
describeThingRegistrationTask(DescribeThingRegistrationTaskRequest describeThingRegistrationTaskRequest)
Describes a bulk thing provisioning task.
|
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 DetachPolicyResponse |
detachPolicy(Consumer<DetachPolicyRequest.Builder> detachPolicyRequest)
Detaches a policy from the specified target.
|
default DetachPolicyResponse |
detachPolicy(DetachPolicyRequest detachPolicyRequest)
Detaches a policy from the specified target.
|
default DetachSecurityProfileResponse |
detachSecurityProfile(Consumer<DetachSecurityProfileRequest.Builder> detachSecurityProfileRequest)
Disassociates a Device Defender security profile from a thing group or from this account.
|
default DetachSecurityProfileResponse |
detachSecurityProfile(DetachSecurityProfileRequest detachSecurityProfileRequest)
Disassociates a Device Defender security profile from a thing group or from this account.
|
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 rule.
|
default DisableTopicRuleResponse |
disableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest)
Disables the rule.
|
default EnableTopicRuleResponse |
enableTopicRule(Consumer<EnableTopicRuleRequest.Builder> enableTopicRuleRequest)
Enables the rule.
|
default EnableTopicRuleResponse |
enableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest)
Enables the rule.
|
default GetBehaviorModelTrainingSummariesResponse |
getBehaviorModelTrainingSummaries(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest)
Returns a Device Defender's ML Detect Security Profile training model's status.
|
default GetBehaviorModelTrainingSummariesResponse |
getBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest)
Returns a Device Defender's ML Detect Security Profile training model's status.
|
default GetBehaviorModelTrainingSummariesIterable |
getBehaviorModelTrainingSummariesPaginator(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest)
Returns a Device Defender's ML Detect Security Profile training model's status.
|
default GetBehaviorModelTrainingSummariesIterable |
getBehaviorModelTrainingSummariesPaginator(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest)
Returns a Device Defender's ML Detect Security Profile training model's status.
|
default GetBucketsAggregationResponse |
getBucketsAggregation(Consumer<GetBucketsAggregationRequest.Builder> getBucketsAggregationRequest)
Aggregates on indexed data with search queries pertaining to particular fields.
|
default GetBucketsAggregationResponse |
getBucketsAggregation(GetBucketsAggregationRequest getBucketsAggregationRequest)
Aggregates on indexed data with search queries pertaining to particular fields.
|
default GetCardinalityResponse |
getCardinality(Consumer<GetCardinalityRequest.Builder> getCardinalityRequest)
Returns the approximate count of unique values that match the query.
|
default GetCardinalityResponse |
getCardinality(GetCardinalityRequest getCardinalityRequest)
Returns the approximate count of unique values that match the query.
|
default GetEffectivePoliciesResponse |
getEffectivePolicies(Consumer<GetEffectivePoliciesRequest.Builder> getEffectivePoliciesRequest)
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it
connects to the IoT device gateway.
|
default GetEffectivePoliciesResponse |
getEffectivePolicies(GetEffectivePoliciesRequest getEffectivePoliciesRequest)
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it
connects to the IoT device gateway.
|
default GetIndexingConfigurationResponse |
getIndexingConfiguration()
Gets the indexing configuration.
|
default GetIndexingConfigurationResponse |
getIndexingConfiguration(Consumer<GetIndexingConfigurationRequest.Builder> getIndexingConfigurationRequest)
Gets the indexing configuration.
|
default GetIndexingConfigurationResponse |
getIndexingConfiguration(GetIndexingConfigurationRequest getIndexingConfigurationRequest)
Gets the indexing configuration.
|
default GetJobDocumentResponse |
getJobDocument(Consumer<GetJobDocumentRequest.Builder> getJobDocumentRequest)
Gets a job document.
|
default GetJobDocumentResponse |
getJobDocument(GetJobDocumentRequest getJobDocumentRequest)
Gets a job document.
|
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 GetOtaUpdateResponse |
getOTAUpdate(Consumer<GetOtaUpdateRequest.Builder> getOtaUpdateRequest)
Gets an OTA update.
|
default GetOtaUpdateResponse |
getOTAUpdate(GetOtaUpdateRequest getOtaUpdateRequest)
Gets an OTA update.
|
default GetPercentilesResponse |
getPercentiles(Consumer<GetPercentilesRequest.Builder> getPercentilesRequest)
Groups the aggregated values that match the query into percentile groupings.
|
default GetPercentilesResponse |
getPercentiles(GetPercentilesRequest getPercentilesRequest)
Groups the aggregated values that match the query into percentile groupings.
|
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 IoT.
|
default GetRegistrationCodeResponse |
getRegistrationCode(Consumer<GetRegistrationCodeRequest.Builder> getRegistrationCodeRequest)
Gets a registration code used to register a CA certificate with IoT.
|
default GetRegistrationCodeResponse |
getRegistrationCode(GetRegistrationCodeRequest getRegistrationCodeRequest)
Gets a registration code used to register a CA certificate with IoT.
|
default GetStatisticsResponse |
getStatistics(Consumer<GetStatisticsRequest.Builder> getStatisticsRequest)
Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the
specified aggregated field.
|
default GetStatisticsResponse |
getStatistics(GetStatisticsRequest getStatisticsRequest)
Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the
specified aggregated field.
|
default GetTopicRuleResponse |
getTopicRule(Consumer<GetTopicRuleRequest.Builder> getTopicRuleRequest)
Gets information about the rule.
|
default GetTopicRuleResponse |
getTopicRule(GetTopicRuleRequest getTopicRuleRequest)
Gets information about the rule.
|
default GetTopicRuleDestinationResponse |
getTopicRuleDestination(Consumer<GetTopicRuleDestinationRequest.Builder> getTopicRuleDestinationRequest)
Gets information about a topic rule destination.
|
default GetTopicRuleDestinationResponse |
getTopicRuleDestination(GetTopicRuleDestinationRequest getTopicRuleDestinationRequest)
Gets information about a topic rule destination.
|
default GetV2LoggingOptionsResponse |
getV2LoggingOptions(Consumer<GetV2LoggingOptionsRequest.Builder> getV2LoggingOptionsRequest)
Gets the fine grained logging options.
|
default GetV2LoggingOptionsResponse |
getV2LoggingOptions(GetV2LoggingOptionsRequest getV2LoggingOptionsRequest)
Gets the fine grained logging options.
|
default ListActiveViolationsResponse |
listActiveViolations()
Lists the active violations for a given Device Defender security profile.
|
default ListActiveViolationsResponse |
listActiveViolations(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest)
Lists the active violations for a given Device Defender security profile.
|
default ListActiveViolationsResponse |
listActiveViolations(ListActiveViolationsRequest listActiveViolationsRequest)
Lists the active violations for a given Device Defender security profile.
|
default ListActiveViolationsIterable |
listActiveViolationsPaginator()
Lists the active violations for a given Device Defender security profile.
|
default ListActiveViolationsIterable |
listActiveViolationsPaginator(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest)
Lists the active violations for a given Device Defender security profile.
|
default ListActiveViolationsIterable |
listActiveViolationsPaginator(ListActiveViolationsRequest listActiveViolationsRequest)
Lists the active violations for a given Device Defender security profile.
|
default ListAttachedPoliciesResponse |
listAttachedPolicies(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest)
Lists the policies attached to the specified thing group.
|
default ListAttachedPoliciesResponse |
listAttachedPolicies(ListAttachedPoliciesRequest listAttachedPoliciesRequest)
Lists the policies attached to the specified thing group.
|
default ListAttachedPoliciesIterable |
listAttachedPoliciesPaginator(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest)
Lists the policies attached to the specified thing group.
|
default ListAttachedPoliciesIterable |
listAttachedPoliciesPaginator(ListAttachedPoliciesRequest listAttachedPoliciesRequest)
Lists the policies attached to the specified thing group.
|
default ListAuditFindingsResponse |
listAuditFindings(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest)
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time
period.
|
default ListAuditFindingsResponse |
listAuditFindings(ListAuditFindingsRequest listAuditFindingsRequest)
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time
period.
|
default ListAuditFindingsIterable |
listAuditFindingsPaginator(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest)
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time
period.
|
default ListAuditFindingsIterable |
listAuditFindingsPaginator(ListAuditFindingsRequest listAuditFindingsRequest)
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time
period.
|
default ListAuditMitigationActionsExecutionsResponse |
listAuditMitigationActionsExecutions(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest)
Gets the status of audit mitigation action tasks that were executed.
|
default ListAuditMitigationActionsExecutionsResponse |
listAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest)
Gets the status of audit mitigation action tasks that were executed.
|
default ListAuditMitigationActionsExecutionsIterable |
listAuditMitigationActionsExecutionsPaginator(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest)
Gets the status of audit mitigation action tasks that were executed.
|
default ListAuditMitigationActionsExecutionsIterable |
listAuditMitigationActionsExecutionsPaginator(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest)
Gets the status of audit mitigation action tasks that were executed.
|
default ListAuditMitigationActionsTasksResponse |
listAuditMitigationActionsTasks(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest)
Gets a list of audit mitigation action tasks that match the specified filters.
|
default ListAuditMitigationActionsTasksResponse |
listAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest)
Gets a list of audit mitigation action tasks that match the specified filters.
|
default ListAuditMitigationActionsTasksIterable |
listAuditMitigationActionsTasksPaginator(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest)
Gets a list of audit mitigation action tasks that match the specified filters.
|
default ListAuditMitigationActionsTasksIterable |
listAuditMitigationActionsTasksPaginator(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest)
Gets a list of audit mitigation action tasks that match the specified filters.
|
default ListAuditSuppressionsResponse |
listAuditSuppressions(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest)
Lists your Device Defender audit listings.
|
default ListAuditSuppressionsResponse |
listAuditSuppressions(ListAuditSuppressionsRequest listAuditSuppressionsRequest)
Lists your Device Defender audit listings.
|
default ListAuditSuppressionsIterable |
listAuditSuppressionsPaginator(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest)
Lists your Device Defender audit listings.
|
default ListAuditSuppressionsIterable |
listAuditSuppressionsPaginator(ListAuditSuppressionsRequest listAuditSuppressionsRequest)
Lists your Device Defender audit listings.
|
default ListAuditTasksResponse |
listAuditTasks(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest)
Lists the Device Defender audits that have been performed during a given time period.
|
default ListAuditTasksResponse |
listAuditTasks(ListAuditTasksRequest listAuditTasksRequest)
Lists the Device Defender audits that have been performed during a given time period.
|
default ListAuditTasksIterable |
listAuditTasksPaginator(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest)
Lists the Device Defender audits that have been performed during a given time period.
|
default ListAuditTasksIterable |
listAuditTasksPaginator(ListAuditTasksRequest listAuditTasksRequest)
Lists the Device Defender audits that have been performed during a given time period.
|
default ListAuthorizersResponse |
listAuthorizers()
Lists the authorizers registered in your account.
|
default ListAuthorizersResponse |
listAuthorizers(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest)
Lists the authorizers registered in your account.
|
default ListAuthorizersResponse |
listAuthorizers(ListAuthorizersRequest listAuthorizersRequest)
Lists the authorizers registered in your account.
|
default ListAuthorizersIterable |
listAuthorizersPaginator()
Lists the authorizers registered in your account.
|
default ListAuthorizersIterable |
listAuthorizersPaginator(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest)
Lists the authorizers registered in your account.
|
default ListAuthorizersIterable |
listAuthorizersPaginator(ListAuthorizersRequest listAuthorizersRequest)
Lists the authorizers registered in your account.
|
default ListBillingGroupsResponse |
listBillingGroups()
Lists the billing groups you have created.
|
default ListBillingGroupsResponse |
listBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest)
Lists the billing groups you have created.
|
default ListBillingGroupsResponse |
listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest)
Lists the billing groups you have created.
|
default ListBillingGroupsIterable |
listBillingGroupsPaginator()
Lists the billing groups you have created.
|
default ListBillingGroupsIterable |
listBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest)
Lists the billing groups you have created.
|
default ListBillingGroupsIterable |
listBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest)
Lists the billing groups you have created.
|
default ListCaCertificatesResponse |
listCACertificates()
Lists the CA certificates registered for your Amazon Web Services account.
|
default ListCaCertificatesResponse |
listCACertificates(Consumer<ListCaCertificatesRequest.Builder> listCaCertificatesRequest)
Lists the CA certificates registered for your Amazon Web Services account.
|
default ListCaCertificatesResponse |
listCACertificates(ListCaCertificatesRequest listCaCertificatesRequest)
Lists the CA certificates registered for your Amazon Web Services account.
|
default ListCACertificatesIterable |
listCACertificatesPaginator()
Lists the CA certificates registered for your Amazon Web Services account.
|
default ListCACertificatesIterable |
listCACertificatesPaginator(Consumer<ListCaCertificatesRequest.Builder> listCaCertificatesRequest)
Lists the CA certificates registered for your Amazon Web Services account.
|
default ListCACertificatesIterable |
listCACertificatesPaginator(ListCaCertificatesRequest listCaCertificatesRequest)
Lists the CA certificates registered for your Amazon Web Services account.
|
default ListCertificatesResponse |
listCertificates()
Lists the certificates registered in your Amazon Web Services account.
|
default ListCertificatesResponse |
listCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)
Lists the certificates registered in your Amazon Web Services account.
|
default ListCertificatesResponse |
listCertificates(ListCertificatesRequest listCertificatesRequest)
Lists the certificates registered in your Amazon Web Services 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 ListCertificatesByCAIterable |
listCertificatesByCAPaginator(Consumer<ListCertificatesByCaRequest.Builder> listCertificatesByCaRequest)
List the device certificates signed by the specified CA certificate.
|
default ListCertificatesByCAIterable |
listCertificatesByCAPaginator(ListCertificatesByCaRequest listCertificatesByCaRequest)
List the device certificates signed by the specified CA certificate.
|
default ListCertificatesIterable |
listCertificatesPaginator()
Lists the certificates registered in your Amazon Web Services account.
|
default ListCertificatesIterable |
listCertificatesPaginator(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)
Lists the certificates registered in your Amazon Web Services account.
|
default ListCertificatesIterable |
listCertificatesPaginator(ListCertificatesRequest listCertificatesRequest)
Lists the certificates registered in your Amazon Web Services account.
|
default ListCustomMetricsResponse |
listCustomMetrics(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest)
Lists your Device Defender detect custom metrics.
|
default ListCustomMetricsResponse |
listCustomMetrics(ListCustomMetricsRequest listCustomMetricsRequest)
Lists your Device Defender detect custom metrics.
|
default ListCustomMetricsIterable |
listCustomMetricsPaginator(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest)
Lists your Device Defender detect custom metrics.
|
default ListCustomMetricsIterable |
listCustomMetricsPaginator(ListCustomMetricsRequest listCustomMetricsRequest)
Lists your Device Defender detect custom metrics.
|
default ListDetectMitigationActionsExecutionsResponse |
listDetectMitigationActionsExecutions(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest)
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
|
default ListDetectMitigationActionsExecutionsResponse |
listDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest)
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
|
default ListDetectMitigationActionsExecutionsIterable |
listDetectMitigationActionsExecutionsPaginator(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest)
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
|
default ListDetectMitigationActionsExecutionsIterable |
listDetectMitigationActionsExecutionsPaginator(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest)
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
|
default ListDetectMitigationActionsTasksResponse |
listDetectMitigationActionsTasks(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest)
List of Device Defender ML Detect mitigation actions tasks.
|
default ListDetectMitigationActionsTasksResponse |
listDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest)
List of Device Defender ML Detect mitigation actions tasks.
|
default ListDetectMitigationActionsTasksIterable |
listDetectMitigationActionsTasksPaginator(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest)
List of Device Defender ML Detect mitigation actions tasks.
|
default ListDetectMitigationActionsTasksIterable |
listDetectMitigationActionsTasksPaginator(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest)
List of Device Defender ML Detect mitigation actions tasks.
|
default ListDimensionsResponse |
listDimensions(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest)
List the set of dimensions that are defined for your Amazon Web Services accounts.
|
default ListDimensionsResponse |
listDimensions(ListDimensionsRequest listDimensionsRequest)
List the set of dimensions that are defined for your Amazon Web Services accounts.
|
default ListDimensionsIterable |
listDimensionsPaginator(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest)
List the set of dimensions that are defined for your Amazon Web Services accounts.
|
default ListDimensionsIterable |
listDimensionsPaginator(ListDimensionsRequest listDimensionsRequest)
List the set of dimensions that are defined for your Amazon Web Services accounts.
|
default ListDomainConfigurationsResponse |
listDomainConfigurations(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest)
Gets a list of domain configurations for the user.
|
default ListDomainConfigurationsResponse |
listDomainConfigurations(ListDomainConfigurationsRequest listDomainConfigurationsRequest)
Gets a list of domain configurations for the user.
|
default ListDomainConfigurationsIterable |
listDomainConfigurationsPaginator(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest)
Gets a list of domain configurations for the user.
|
default ListDomainConfigurationsIterable |
listDomainConfigurationsPaginator(ListDomainConfigurationsRequest listDomainConfigurationsRequest)
Gets a list of domain configurations for the user.
|
default ListFleetMetricsResponse |
listFleetMetrics(Consumer<ListFleetMetricsRequest.Builder> listFleetMetricsRequest)
Lists all your fleet metrics.
|
default ListFleetMetricsResponse |
listFleetMetrics(ListFleetMetricsRequest listFleetMetricsRequest)
Lists all your fleet metrics.
|
default ListFleetMetricsIterable |
listFleetMetricsPaginator(Consumer<ListFleetMetricsRequest.Builder> listFleetMetricsRequest)
Lists all your fleet metrics.
|
default ListFleetMetricsIterable |
listFleetMetricsPaginator(ListFleetMetricsRequest listFleetMetricsRequest)
Lists all your fleet metrics.
|
default ListIndicesResponse |
listIndices()
Lists the search indices.
|
default ListIndicesResponse |
listIndices(Consumer<ListIndicesRequest.Builder> listIndicesRequest)
Lists the search indices.
|
default ListIndicesResponse |
listIndices(ListIndicesRequest listIndicesRequest)
Lists the search indices.
|
default ListIndicesIterable |
listIndicesPaginator()
Lists the search indices.
|
default ListIndicesIterable |
listIndicesPaginator(Consumer<ListIndicesRequest.Builder> listIndicesRequest)
Lists the search indices.
|
default ListIndicesIterable |
listIndicesPaginator(ListIndicesRequest listIndicesRequest)
Lists the search indices.
|
default ListJobExecutionsForJobResponse |
listJobExecutionsForJob(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest)
Lists the job executions for a job.
|
default ListJobExecutionsForJobResponse |
listJobExecutionsForJob(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest)
Lists the job executions for a job.
|
default ListJobExecutionsForJobIterable |
listJobExecutionsForJobPaginator(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest)
Lists the job executions for a job.
|
default ListJobExecutionsForJobIterable |
listJobExecutionsForJobPaginator(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest)
Lists the job executions for a job.
|
default ListJobExecutionsForThingResponse |
listJobExecutionsForThing(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest)
Lists the job executions for the specified thing.
|
default ListJobExecutionsForThingResponse |
listJobExecutionsForThing(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest)
Lists the job executions for the specified thing.
|
default ListJobExecutionsForThingIterable |
listJobExecutionsForThingPaginator(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest)
Lists the job executions for the specified thing.
|
default ListJobExecutionsForThingIterable |
listJobExecutionsForThingPaginator(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest)
Lists the job executions for the specified thing.
|
default ListJobsResponse |
listJobs()
Lists jobs.
|
default ListJobsResponse |
listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)
Lists jobs.
|
default ListJobsResponse |
listJobs(ListJobsRequest listJobsRequest)
Lists jobs.
|
default ListJobsIterable |
listJobsPaginator()
Lists jobs.
|
default ListJobsIterable |
listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)
Lists jobs.
|
default ListJobsIterable |
listJobsPaginator(ListJobsRequest listJobsRequest)
Lists jobs.
|
default ListJobTemplatesResponse |
listJobTemplates(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest)
Returns a list of job templates.
|
default ListJobTemplatesResponse |
listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest)
Returns a list of job templates.
|
default ListJobTemplatesIterable |
listJobTemplatesPaginator(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest)
Returns a list of job templates.
|
default ListJobTemplatesIterable |
listJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest)
Returns a list of job templates.
|
default ListManagedJobTemplatesResponse |
listManagedJobTemplates(Consumer<ListManagedJobTemplatesRequest.Builder> listManagedJobTemplatesRequest)
Returns a list of managed job templates.
|
default ListManagedJobTemplatesResponse |
listManagedJobTemplates(ListManagedJobTemplatesRequest listManagedJobTemplatesRequest)
Returns a list of managed job templates.
|
default ListMitigationActionsResponse |
listMitigationActions(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest)
Gets a list of all mitigation actions that match the specified filter criteria.
|
default ListMitigationActionsResponse |
listMitigationActions(ListMitigationActionsRequest listMitigationActionsRequest)
Gets a list of all mitigation actions that match the specified filter criteria.
|
default ListMitigationActionsIterable |
listMitigationActionsPaginator(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest)
Gets a list of all mitigation actions that match the specified filter criteria.
|
default ListMitigationActionsIterable |
listMitigationActionsPaginator(ListMitigationActionsRequest listMitigationActionsRequest)
Gets a list of all mitigation actions that match the specified filter criteria.
|
default ListOtaUpdatesResponse |
listOTAUpdates()
Lists OTA updates.
|
default ListOtaUpdatesResponse |
listOTAUpdates(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest)
Lists OTA updates.
|
default ListOtaUpdatesResponse |
listOTAUpdates(ListOtaUpdatesRequest listOtaUpdatesRequest)
Lists OTA updates.
|
default ListOTAUpdatesIterable |
listOTAUpdatesPaginator()
Lists OTA updates.
|
default ListOTAUpdatesIterable |
listOTAUpdatesPaginator(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest)
Lists OTA updates.
|
default ListOTAUpdatesIterable |
listOTAUpdatesPaginator(ListOtaUpdatesRequest listOtaUpdatesRequest)
Lists OTA updates.
|
default ListOutgoingCertificatesResponse |
listOutgoingCertificates()
Lists certificates that are being transferred but not yet accepted.
|
default ListOutgoingCertificatesResponse |
listOutgoingCertificates(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest)
Lists certificates that are being transferred but not yet accepted.
|
default ListOutgoingCertificatesResponse |
listOutgoingCertificates(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest)
Lists certificates that are being transferred but not yet accepted.
|
default ListOutgoingCertificatesIterable |
listOutgoingCertificatesPaginator()
Lists certificates that are being transferred but not yet accepted.
|
default ListOutgoingCertificatesIterable |
listOutgoingCertificatesPaginator(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest)
Lists certificates that are being transferred but not yet accepted.
|
default ListOutgoingCertificatesIterable |
listOutgoingCertificatesPaginator(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest)
Lists certificates that are being transferred 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 ListPoliciesIterable |
listPoliciesPaginator()
Lists your policies.
|
default ListPoliciesIterable |
listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
Lists your policies.
|
default ListPoliciesIterable |
listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest)
Lists your policies.
|
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 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 ListPrincipalThingsIterable |
listPrincipalThingsPaginator(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest)
Lists the things associated with the specified principal.
|
default ListPrincipalThingsIterable |
listPrincipalThingsPaginator(ListPrincipalThingsRequest listPrincipalThingsRequest)
Lists the things associated with the specified principal.
|
default ListProvisioningTemplatesResponse |
listProvisioningTemplates(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest)
Lists the fleet provisioning templates in your Amazon Web Services account.
|
default ListProvisioningTemplatesResponse |
listProvisioningTemplates(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest)
Lists the fleet provisioning templates in your Amazon Web Services account.
|
default ListProvisioningTemplatesIterable |
listProvisioningTemplatesPaginator(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest)
Lists the fleet provisioning templates in your Amazon Web Services account.
|
default ListProvisioningTemplatesIterable |
listProvisioningTemplatesPaginator(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest)
Lists the fleet provisioning templates in your Amazon Web Services account.
|
default ListProvisioningTemplateVersionsResponse |
listProvisioningTemplateVersions(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest)
A list of fleet provisioning template versions.
|
default ListProvisioningTemplateVersionsResponse |
listProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest)
A list of fleet provisioning template versions.
|
default ListProvisioningTemplateVersionsIterable |
listProvisioningTemplateVersionsPaginator(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest)
A list of fleet provisioning template versions.
|
default ListProvisioningTemplateVersionsIterable |
listProvisioningTemplateVersionsPaginator(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest)
A list of fleet provisioning template versions.
|
default ListRoleAliasesResponse |
listRoleAliases()
Lists the role aliases registered in your account.
|
default ListRoleAliasesResponse |
listRoleAliases(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest)
Lists the role aliases registered in your account.
|
default ListRoleAliasesResponse |
listRoleAliases(ListRoleAliasesRequest listRoleAliasesRequest)
Lists the role aliases registered in your account.
|
default ListRoleAliasesIterable |
listRoleAliasesPaginator()
Lists the role aliases registered in your account.
|
default ListRoleAliasesIterable |
listRoleAliasesPaginator(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest)
Lists the role aliases registered in your account.
|
default ListRoleAliasesIterable |
listRoleAliasesPaginator(ListRoleAliasesRequest listRoleAliasesRequest)
Lists the role aliases registered in your account.
|
default ListScheduledAuditsResponse |
listScheduledAudits()
Lists all of your scheduled audits.
|
default ListScheduledAuditsResponse |
listScheduledAudits(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest)
Lists all of your scheduled audits.
|
default ListScheduledAuditsResponse |
listScheduledAudits(ListScheduledAuditsRequest listScheduledAuditsRequest)
Lists all of your scheduled audits.
|
default ListScheduledAuditsIterable |
listScheduledAuditsPaginator()
Lists all of your scheduled audits.
|
default ListScheduledAuditsIterable |
listScheduledAuditsPaginator(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest)
Lists all of your scheduled audits.
|
default ListScheduledAuditsIterable |
listScheduledAuditsPaginator(ListScheduledAuditsRequest listScheduledAuditsRequest)
Lists all of your scheduled audits.
|
default ListSecurityProfilesResponse |
listSecurityProfiles()
Lists the Device Defender security profiles you've created.
|
default ListSecurityProfilesResponse |
listSecurityProfiles(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest)
Lists the Device Defender security profiles you've created.
|
default ListSecurityProfilesResponse |
listSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest)
Lists the Device Defender security profiles you've created.
|
default ListSecurityProfilesForTargetResponse |
listSecurityProfilesForTarget(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest)
Lists the Device Defender security profiles attached to a target (thing group).
|
default ListSecurityProfilesForTargetResponse |
listSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest)
Lists the Device Defender security profiles attached to a target (thing group).
|
default ListSecurityProfilesForTargetIterable |
listSecurityProfilesForTargetPaginator(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest)
Lists the Device Defender security profiles attached to a target (thing group).
|
default ListSecurityProfilesForTargetIterable |
listSecurityProfilesForTargetPaginator(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest)
Lists the Device Defender security profiles attached to a target (thing group).
|
default ListSecurityProfilesIterable |
listSecurityProfilesPaginator()
Lists the Device Defender security profiles you've created.
|
default ListSecurityProfilesIterable |
listSecurityProfilesPaginator(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest)
Lists the Device Defender security profiles you've created.
|
default ListSecurityProfilesIterable |
listSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest)
Lists the Device Defender security profiles you've created.
|
default ListStreamsResponse |
listStreams()
Lists all of the streams in your Amazon Web Services account.
|
default ListStreamsResponse |
listStreams(Consumer<ListStreamsRequest.Builder> listStreamsRequest)
Lists all of the streams in your Amazon Web Services account.
|
default ListStreamsResponse |
listStreams(ListStreamsRequest listStreamsRequest)
Lists all of the streams in your Amazon Web Services account.
|
default ListStreamsIterable |
listStreamsPaginator()
Lists all of the streams in your Amazon Web Services account.
|
default ListStreamsIterable |
listStreamsPaginator(Consumer<ListStreamsRequest.Builder> listStreamsRequest)
Lists all of the streams in your Amazon Web Services account.
|
default ListStreamsIterable |
listStreamsPaginator(ListStreamsRequest listStreamsRequest)
Lists all of the streams in your Amazon Web Services account.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
|
default ListTargetsForPolicyResponse |
listTargetsForPolicy(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest)
List targets for the specified policy.
|
default ListTargetsForPolicyResponse |
listTargetsForPolicy(ListTargetsForPolicyRequest listTargetsForPolicyRequest)
List targets for the specified policy.
|
default ListTargetsForPolicyIterable |
listTargetsForPolicyPaginator(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest)
List targets for the specified policy.
|
default ListTargetsForPolicyIterable |
listTargetsForPolicyPaginator(ListTargetsForPolicyRequest listTargetsForPolicyRequest)
List targets for the specified policy.
|
default ListTargetsForSecurityProfileResponse |
listTargetsForSecurityProfile(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest)
Lists the targets (thing groups) associated with a given Device Defender security profile.
|
default ListTargetsForSecurityProfileResponse |
listTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest)
Lists the targets (thing groups) associated with a given Device Defender security profile.
|
default ListTargetsForSecurityProfileIterable |
listTargetsForSecurityProfilePaginator(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest)
Lists the targets (thing groups) associated with a given Device Defender security profile.
|
default ListTargetsForSecurityProfileIterable |
listTargetsForSecurityProfilePaginator(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest)
Lists the targets (thing groups) associated with a given Device Defender security profile.
|
default ListThingGroupsResponse |
listThingGroups()
List the thing groups in your account.
|
default ListThingGroupsResponse |
listThingGroups(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest)
List the thing groups in your account.
|
default ListThingGroupsResponse |
listThingGroups(ListThingGroupsRequest listThingGroupsRequest)
List the thing groups in your account.
|
default ListThingGroupsForThingResponse |
listThingGroupsForThing(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest)
List the thing groups to which the specified thing belongs.
|
default ListThingGroupsForThingResponse |
listThingGroupsForThing(ListThingGroupsForThingRequest listThingGroupsForThingRequest)
List the thing groups to which the specified thing belongs.
|
default ListThingGroupsForThingIterable |
listThingGroupsForThingPaginator(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest)
List the thing groups to which the specified thing belongs.
|
default ListThingGroupsForThingIterable |
listThingGroupsForThingPaginator(ListThingGroupsForThingRequest listThingGroupsForThingRequest)
List the thing groups to which the specified thing belongs.
|
default ListThingGroupsIterable |
listThingGroupsPaginator()
List the thing groups in your account.
|
default ListThingGroupsIterable |
listThingGroupsPaginator(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest)
List the thing groups in your account.
|
default ListThingGroupsIterable |
listThingGroupsPaginator(ListThingGroupsRequest listThingGroupsRequest)
List the thing groups in your account.
|
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 ListThingPrincipalsIterable |
listThingPrincipalsPaginator(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest)
Lists the principals associated with the specified thing.
|
default ListThingPrincipalsIterable |
listThingPrincipalsPaginator(ListThingPrincipalsRequest listThingPrincipalsRequest)
Lists the principals associated with the specified thing.
|
default ListThingRegistrationTaskReportsResponse |
listThingRegistrationTaskReports(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest)
Information about the thing registration tasks.
|
default ListThingRegistrationTaskReportsResponse |
listThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest)
Information about the thing registration tasks.
|
default ListThingRegistrationTaskReportsIterable |
listThingRegistrationTaskReportsPaginator(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest)
Information about the thing registration tasks.
|
default ListThingRegistrationTaskReportsIterable |
listThingRegistrationTaskReportsPaginator(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest)
Information about the thing registration tasks.
|
default ListThingRegistrationTasksResponse |
listThingRegistrationTasks()
List bulk thing provisioning tasks.
|
default ListThingRegistrationTasksResponse |
listThingRegistrationTasks(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest)
List bulk thing provisioning tasks.
|
default ListThingRegistrationTasksResponse |
listThingRegistrationTasks(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest)
List bulk thing provisioning tasks.
|
default ListThingRegistrationTasksIterable |
listThingRegistrationTasksPaginator()
List bulk thing provisioning tasks.
|
default ListThingRegistrationTasksIterable |
listThingRegistrationTasksPaginator(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest)
List bulk thing provisioning tasks.
|
default ListThingRegistrationTasksIterable |
listThingRegistrationTasksPaginator(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest)
List bulk thing provisioning tasks.
|
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 ListThingsInBillingGroupResponse |
listThingsInBillingGroup(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest)
Lists the things you have added to the given billing group.
|
default ListThingsInBillingGroupResponse |
listThingsInBillingGroup(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest)
Lists the things you have added to the given billing group.
|
default ListThingsInBillingGroupIterable |
listThingsInBillingGroupPaginator(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest)
Lists the things you have added to the given billing group.
|
default ListThingsInBillingGroupIterable |
listThingsInBillingGroupPaginator(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest)
Lists the things you have added to the given billing group.
|
default ListThingsInThingGroupResponse |
listThingsInThingGroup(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest)
Lists the things in the specified group.
|
default ListThingsInThingGroupResponse |
listThingsInThingGroup(ListThingsInThingGroupRequest listThingsInThingGroupRequest)
Lists the things in the specified group.
|
default ListThingsInThingGroupIterable |
listThingsInThingGroupPaginator(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest)
Lists the things in the specified group.
|
default ListThingsInThingGroupIterable |
listThingsInThingGroupPaginator(ListThingsInThingGroupRequest listThingsInThingGroupRequest)
Lists the things in the specified group.
|
default ListThingsIterable |
listThingsPaginator()
Lists your things.
|
default ListThingsIterable |
listThingsPaginator(Consumer<ListThingsRequest.Builder> listThingsRequest)
Lists your things.
|
default ListThingsIterable |
listThingsPaginator(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 ListThingTypesIterable |
listThingTypesPaginator()
Lists the existing thing types.
|
default ListThingTypesIterable |
listThingTypesPaginator(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest)
Lists the existing thing types.
|
default ListThingTypesIterable |
listThingTypesPaginator(ListThingTypesRequest listThingTypesRequest)
Lists the existing thing types.
|
default ListTopicRuleDestinationsResponse |
listTopicRuleDestinations(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest)
Lists all the topic rule destinations in your Amazon Web Services account.
|
default ListTopicRuleDestinationsResponse |
listTopicRuleDestinations(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest)
Lists all the topic rule destinations in your Amazon Web Services account.
|
default ListTopicRuleDestinationsIterable |
listTopicRuleDestinationsPaginator(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest)
Lists all the topic rule destinations in your Amazon Web Services account.
|
default ListTopicRuleDestinationsIterable |
listTopicRuleDestinationsPaginator(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest)
Lists all the topic rule destinations in your Amazon Web Services account.
|
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 ListTopicRulesIterable |
listTopicRulesPaginator()
Lists the rules for the specific topic.
|
default ListTopicRulesIterable |
listTopicRulesPaginator(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest)
Lists the rules for the specific topic.
|
default ListTopicRulesIterable |
listTopicRulesPaginator(ListTopicRulesRequest listTopicRulesRequest)
Lists the rules for the specific topic.
|
default ListV2LoggingLevelsResponse |
listV2LoggingLevels(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest)
Lists logging levels.
|
default ListV2LoggingLevelsResponse |
listV2LoggingLevels(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest)
Lists logging levels.
|
default ListV2LoggingLevelsIterable |
listV2LoggingLevelsPaginator(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest)
Lists logging levels.
|
default ListV2LoggingLevelsIterable |
listV2LoggingLevelsPaginator(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest)
Lists logging levels.
|
default ListViolationEventsResponse |
listViolationEvents(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest)
Lists the Device Defender security profile violations discovered during the given time period.
|
default ListViolationEventsResponse |
listViolationEvents(ListViolationEventsRequest listViolationEventsRequest)
Lists the Device Defender security profile violations discovered during the given time period.
|
default ListViolationEventsIterable |
listViolationEventsPaginator(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest)
Lists the Device Defender security profile violations discovered during the given time period.
|
default ListViolationEventsIterable |
listViolationEventsPaginator(ListViolationEventsRequest listViolationEventsRequest)
Lists the Device Defender security profile violations discovered during the given time period.
|
default PutVerificationStateOnViolationResponse |
putVerificationStateOnViolation(Consumer<PutVerificationStateOnViolationRequest.Builder> putVerificationStateOnViolationRequest)
Set a verification state and provide a description of that verification state on a violation (detect alarm).
|
default PutVerificationStateOnViolationResponse |
putVerificationStateOnViolation(PutVerificationStateOnViolationRequest putVerificationStateOnViolationRequest)
Set a verification state and provide a description of that verification state on a violation (detect alarm).
|
default RegisterCaCertificateResponse |
registerCACertificate(Consumer<RegisterCaCertificateRequest.Builder> registerCaCertificateRequest)
Registers a CA certificate with IoT.
|
default RegisterCaCertificateResponse |
registerCACertificate(RegisterCaCertificateRequest registerCaCertificateRequest)
Registers a CA certificate with IoT.
|
default RegisterCertificateResponse |
registerCertificate(Consumer<RegisterCertificateRequest.Builder> registerCertificateRequest)
Registers a device certificate with IoT.
|
default RegisterCertificateResponse |
registerCertificate(RegisterCertificateRequest registerCertificateRequest)
Registers a device certificate with IoT.
|
default RegisterCertificateWithoutCaResponse |
registerCertificateWithoutCA(Consumer<RegisterCertificateWithoutCaRequest.Builder> registerCertificateWithoutCaRequest)
Register a certificate that does not have a certificate authority (CA).
|
default RegisterCertificateWithoutCaResponse |
registerCertificateWithoutCA(RegisterCertificateWithoutCaRequest registerCertificateWithoutCaRequest)
Register a certificate that does not have a certificate authority (CA).
|
default RegisterThingResponse |
registerThing(Consumer<RegisterThingRequest.Builder> registerThingRequest)
Provisions a thing in the device registry.
|
default RegisterThingResponse |
registerThing(RegisterThingRequest registerThingRequest)
Provisions a thing in the device registry.
|
default RejectCertificateTransferResponse |
rejectCertificateTransfer(Consumer<RejectCertificateTransferRequest.Builder> rejectCertificateTransferRequest)
Rejects a pending certificate transfer.
|
default RejectCertificateTransferResponse |
rejectCertificateTransfer(RejectCertificateTransferRequest rejectCertificateTransferRequest)
Rejects a pending certificate transfer.
|
default RemoveThingFromBillingGroupResponse |
removeThingFromBillingGroup(Consumer<RemoveThingFromBillingGroupRequest.Builder> removeThingFromBillingGroupRequest)
Removes the given thing from the billing group.
|
default RemoveThingFromBillingGroupResponse |
removeThingFromBillingGroup(RemoveThingFromBillingGroupRequest removeThingFromBillingGroupRequest)
Removes the given thing from the billing group.
|
default RemoveThingFromThingGroupResponse |
removeThingFromThingGroup(Consumer<RemoveThingFromThingGroupRequest.Builder> removeThingFromThingGroupRequest)
Remove the specified thing from the specified group.
|
default RemoveThingFromThingGroupResponse |
removeThingFromThingGroup(RemoveThingFromThingGroupRequest removeThingFromThingGroupRequest)
Remove the specified thing from the specified group.
|
default ReplaceTopicRuleResponse |
replaceTopicRule(Consumer<ReplaceTopicRuleRequest.Builder> replaceTopicRuleRequest)
Replaces the rule.
|
default ReplaceTopicRuleResponse |
replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest)
Replaces the rule.
|
default SearchIndexResponse |
searchIndex(Consumer<SearchIndexRequest.Builder> searchIndexRequest)
The query search index.
|
default SearchIndexResponse |
searchIndex(SearchIndexRequest searchIndexRequest)
The query search index.
|
static ServiceMetadata |
serviceMetadata() |
default SetDefaultAuthorizerResponse |
setDefaultAuthorizer(Consumer<SetDefaultAuthorizerRequest.Builder> setDefaultAuthorizerRequest)
Sets the default authorizer.
|
default SetDefaultAuthorizerResponse |
setDefaultAuthorizer(SetDefaultAuthorizerRequest setDefaultAuthorizerRequest)
Sets the default authorizer.
|
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 SetV2LoggingLevelResponse |
setV2LoggingLevel(Consumer<SetV2LoggingLevelRequest.Builder> setV2LoggingLevelRequest)
Sets the logging level.
|
default SetV2LoggingLevelResponse |
setV2LoggingLevel(SetV2LoggingLevelRequest setV2LoggingLevelRequest)
Sets the logging level.
|
default SetV2LoggingOptionsResponse |
setV2LoggingOptions(Consumer<SetV2LoggingOptionsRequest.Builder> setV2LoggingOptionsRequest)
Sets the logging options for the V2 logging service.
|
default SetV2LoggingOptionsResponse |
setV2LoggingOptions(SetV2LoggingOptionsRequest setV2LoggingOptionsRequest)
Sets the logging options for the V2 logging service.
|
default StartAuditMitigationActionsTaskResponse |
startAuditMitigationActionsTask(Consumer<StartAuditMitigationActionsTaskRequest.Builder> startAuditMitigationActionsTaskRequest)
Starts a task that applies a set of mitigation actions to the specified target.
|
default StartAuditMitigationActionsTaskResponse |
startAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest startAuditMitigationActionsTaskRequest)
Starts a task that applies a set of mitigation actions to the specified target.
|
default StartDetectMitigationActionsTaskResponse |
startDetectMitigationActionsTask(Consumer<StartDetectMitigationActionsTaskRequest.Builder> startDetectMitigationActionsTaskRequest)
Starts a Device Defender ML Detect mitigation actions task.
|
default StartDetectMitigationActionsTaskResponse |
startDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest startDetectMitigationActionsTaskRequest)
Starts a Device Defender ML Detect mitigation actions task.
|
default StartOnDemandAuditTaskResponse |
startOnDemandAuditTask(Consumer<StartOnDemandAuditTaskRequest.Builder> startOnDemandAuditTaskRequest)
Starts an on-demand Device Defender audit.
|
default StartOnDemandAuditTaskResponse |
startOnDemandAuditTask(StartOnDemandAuditTaskRequest startOnDemandAuditTaskRequest)
Starts an on-demand Device Defender audit.
|
default StartThingRegistrationTaskResponse |
startThingRegistrationTask(Consumer<StartThingRegistrationTaskRequest.Builder> startThingRegistrationTaskRequest)
Creates a bulk thing provisioning task.
|
default StartThingRegistrationTaskResponse |
startThingRegistrationTask(StartThingRegistrationTaskRequest startThingRegistrationTaskRequest)
Creates a bulk thing provisioning task.
|
default StopThingRegistrationTaskResponse |
stopThingRegistrationTask(Consumer<StopThingRegistrationTaskRequest.Builder> stopThingRegistrationTaskRequest)
Cancels a bulk thing provisioning task.
|
default StopThingRegistrationTaskResponse |
stopThingRegistrationTask(StopThingRegistrationTaskRequest stopThingRegistrationTaskRequest)
Cancels a bulk thing provisioning task.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds to or modifies the tags of the given resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds to or modifies the tags of the given resource.
|
default TestAuthorizationResponse |
testAuthorization(Consumer<TestAuthorizationRequest.Builder> testAuthorizationRequest)
Tests if a specified principal is authorized to perform an IoT action on a specified resource.
|
default TestAuthorizationResponse |
testAuthorization(TestAuthorizationRequest testAuthorizationRequest)
Tests if a specified principal is authorized to perform an IoT action on a specified resource.
|
default TestInvokeAuthorizerResponse |
testInvokeAuthorizer(Consumer<TestInvokeAuthorizerRequest.Builder> testInvokeAuthorizerRequest)
Tests a custom authorization behavior by invoking a specified custom authorizer.
|
default TestInvokeAuthorizerResponse |
testInvokeAuthorizer(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest)
Tests a custom authorization behavior by invoking a specified custom authorizer.
|
default TransferCertificateResponse |
transferCertificate(Consumer<TransferCertificateRequest.Builder> transferCertificateRequest)
Transfers the specified certificate to the specified Amazon Web Services account.
|
default TransferCertificateResponse |
transferCertificate(TransferCertificateRequest transferCertificateRequest)
Transfers the specified certificate to the specified Amazon Web Services account.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the given tags (metadata) from the resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the given tags (metadata) from the resource.
|
default UpdateAccountAuditConfigurationResponse |
updateAccountAuditConfiguration(Consumer<UpdateAccountAuditConfigurationRequest.Builder> updateAccountAuditConfigurationRequest)
Configures or reconfigures the Device Defender audit settings for this account.
|
default UpdateAccountAuditConfigurationResponse |
updateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest updateAccountAuditConfigurationRequest)
Configures or reconfigures the Device Defender audit settings for this account.
|
default UpdateAuditSuppressionResponse |
updateAuditSuppression(Consumer<UpdateAuditSuppressionRequest.Builder> updateAuditSuppressionRequest)
Updates a Device Defender audit suppression.
|
default UpdateAuditSuppressionResponse |
updateAuditSuppression(UpdateAuditSuppressionRequest updateAuditSuppressionRequest)
Updates a Device Defender audit suppression.
|
default UpdateAuthorizerResponse |
updateAuthorizer(Consumer<UpdateAuthorizerRequest.Builder> updateAuthorizerRequest)
Updates an authorizer.
|
default UpdateAuthorizerResponse |
updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest)
Updates an authorizer.
|
default UpdateBillingGroupResponse |
updateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest)
Updates information about the billing group.
|
default UpdateBillingGroupResponse |
updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest)
Updates information about the billing group.
|
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 UpdateCustomMetricResponse |
updateCustomMetric(Consumer<UpdateCustomMetricRequest.Builder> updateCustomMetricRequest)
Updates a Device Defender detect custom metric.
|
default UpdateCustomMetricResponse |
updateCustomMetric(UpdateCustomMetricRequest updateCustomMetricRequest)
Updates a Device Defender detect custom metric.
|
default UpdateDimensionResponse |
updateDimension(Consumer<UpdateDimensionRequest.Builder> updateDimensionRequest)
Updates the definition for a dimension.
|
default UpdateDimensionResponse |
updateDimension(UpdateDimensionRequest updateDimensionRequest)
Updates the definition for a dimension.
|
default UpdateDomainConfigurationResponse |
updateDomainConfiguration(Consumer<UpdateDomainConfigurationRequest.Builder> updateDomainConfigurationRequest)
Updates values stored in the domain configuration.
|
default UpdateDomainConfigurationResponse |
updateDomainConfiguration(UpdateDomainConfigurationRequest updateDomainConfigurationRequest)
Updates values stored in the domain configuration.
|
default UpdateDynamicThingGroupResponse |
updateDynamicThingGroup(Consumer<UpdateDynamicThingGroupRequest.Builder> updateDynamicThingGroupRequest)
Updates a dynamic thing group.
|
default UpdateDynamicThingGroupResponse |
updateDynamicThingGroup(UpdateDynamicThingGroupRequest updateDynamicThingGroupRequest)
Updates a dynamic thing group.
|
default UpdateEventConfigurationsResponse |
updateEventConfigurations(Consumer<UpdateEventConfigurationsRequest.Builder> updateEventConfigurationsRequest)
Updates the event configurations.
|
default UpdateEventConfigurationsResponse |
updateEventConfigurations(UpdateEventConfigurationsRequest updateEventConfigurationsRequest)
Updates the event configurations.
|
default UpdateFleetMetricResponse |
updateFleetMetric(Consumer<UpdateFleetMetricRequest.Builder> updateFleetMetricRequest)
Updates the data for a fleet metric.
|
default UpdateFleetMetricResponse |
updateFleetMetric(UpdateFleetMetricRequest updateFleetMetricRequest)
Updates the data for a fleet metric.
|
default UpdateIndexingConfigurationResponse |
updateIndexingConfiguration(Consumer<UpdateIndexingConfigurationRequest.Builder> updateIndexingConfigurationRequest)
Updates the search configuration.
|
default UpdateIndexingConfigurationResponse |
updateIndexingConfiguration(UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest)
Updates the search configuration.
|
default UpdateJobResponse |
updateJob(Consumer<UpdateJobRequest.Builder> updateJobRequest)
Updates supported fields of the specified job.
|
default UpdateJobResponse |
updateJob(UpdateJobRequest updateJobRequest)
Updates supported fields of the specified job.
|
default UpdateMitigationActionResponse |
updateMitigationAction(Consumer<UpdateMitigationActionRequest.Builder> updateMitigationActionRequest)
Updates the definition for the specified mitigation action.
|
default UpdateMitigationActionResponse |
updateMitigationAction(UpdateMitigationActionRequest updateMitigationActionRequest)
Updates the definition for the specified mitigation action.
|
default UpdateProvisioningTemplateResponse |
updateProvisioningTemplate(Consumer<UpdateProvisioningTemplateRequest.Builder> updateProvisioningTemplateRequest)
Updates a fleet provisioning template.
|
default UpdateProvisioningTemplateResponse |
updateProvisioningTemplate(UpdateProvisioningTemplateRequest updateProvisioningTemplateRequest)
Updates a fleet provisioning template.
|
default UpdateRoleAliasResponse |
updateRoleAlias(Consumer<UpdateRoleAliasRequest.Builder> updateRoleAliasRequest)
Updates a role alias.
|
default UpdateRoleAliasResponse |
updateRoleAlias(UpdateRoleAliasRequest updateRoleAliasRequest)
Updates a role alias.
|
default UpdateScheduledAuditResponse |
updateScheduledAudit(Consumer<UpdateScheduledAuditRequest.Builder> updateScheduledAuditRequest)
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
|
default UpdateScheduledAuditResponse |
updateScheduledAudit(UpdateScheduledAuditRequest updateScheduledAuditRequest)
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
|
default UpdateSecurityProfileResponse |
updateSecurityProfile(Consumer<UpdateSecurityProfileRequest.Builder> updateSecurityProfileRequest)
Updates a Device Defender security profile.
|
default UpdateSecurityProfileResponse |
updateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest)
Updates a Device Defender security profile.
|
default UpdateStreamResponse |
updateStream(Consumer<UpdateStreamRequest.Builder> updateStreamRequest)
Updates an existing stream.
|
default UpdateStreamResponse |
updateStream(UpdateStreamRequest updateStreamRequest)
Updates an existing stream.
|
default UpdateThingResponse |
updateThing(Consumer<UpdateThingRequest.Builder> updateThingRequest)
Updates the data for a thing.
|
default UpdateThingResponse |
updateThing(UpdateThingRequest updateThingRequest)
Updates the data for a thing.
|
default UpdateThingGroupResponse |
updateThingGroup(Consumer<UpdateThingGroupRequest.Builder> updateThingGroupRequest)
Update a thing group.
|
default UpdateThingGroupResponse |
updateThingGroup(UpdateThingGroupRequest updateThingGroupRequest)
Update a thing group.
|
default UpdateThingGroupsForThingResponse |
updateThingGroupsForThing(Consumer<UpdateThingGroupsForThingRequest.Builder> updateThingGroupsForThingRequest)
Updates the groups to which the thing belongs.
|
default UpdateThingGroupsForThingResponse |
updateThingGroupsForThing(UpdateThingGroupsForThingRequest updateThingGroupsForThingRequest)
Updates the groups to which the thing belongs.
|
default UpdateTopicRuleDestinationResponse |
updateTopicRuleDestination(Consumer<UpdateTopicRuleDestinationRequest.Builder> updateTopicRuleDestinationRequest)
Updates a topic rule destination.
|
default UpdateTopicRuleDestinationResponse |
updateTopicRuleDestination(UpdateTopicRuleDestinationRequest updateTopicRuleDestinationRequest)
Updates a topic rule destination.
|
default ValidateSecurityProfileBehaviorsResponse |
validateSecurityProfileBehaviors(Consumer<ValidateSecurityProfileBehaviorsRequest.Builder> validateSecurityProfileBehaviorsRequest)
Validates a Device Defender security profile behaviors specification.
|
default ValidateSecurityProfileBehaviorsResponse |
validateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest validateSecurityProfileBehaviorsRequest)
Validates a Device Defender security profile behaviors specification.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.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.
Requires permission to access the AcceptCertificateTransfer action.
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.
Requires permission to access the AcceptCertificateTransfer action.
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 AddThingToBillingGroupResponse addThingToBillingGroup(AddThingToBillingGroupRequest addThingToBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
addThingToBillingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 AddThingToBillingGroupResponse addThingToBillingGroup(Consumer<AddThingToBillingGroupRequest.Builder> addThingToBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
This is a convenience which creates an instance of the AddThingToBillingGroupRequest.Builder avoiding the
need to create one manually via AddThingToBillingGroupRequest.builder()
addThingToBillingGroupRequest - A Consumer that will call methods on AddThingToBillingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 AddThingToThingGroupResponse addThingToThingGroup(AddThingToThingGroupRequest addThingToThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
addThingToThingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 AddThingToThingGroupResponse addThingToThingGroup(Consumer<AddThingToThingGroupRequest.Builder> addThingToThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
This is a convenience which creates an instance of the AddThingToThingGroupRequest.Builder avoiding the
need to create one manually via AddThingToThingGroupRequest.builder()
addThingToThingGroupRequest - A Consumer that will call methods on AddThingToThingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 AssociateTargetsWithJobResponse associateTargetsWithJob(AssociateTargetsWithJobRequest associateTargetsWithJobRequest) throws InvalidRequestException, ResourceNotFoundException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Associates a group with a continuous job. The following criteria must be met:
The job must have been created with the targetSelection field set to "CONTINUOUS".
The job status must currently be "IN_PROGRESS".
The total number of targets associated with a job must not exceed 100.
Requires permission to access the AssociateTargetsWithJob action.
associateTargetsWithJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 AssociateTargetsWithJobResponse associateTargetsWithJob(Consumer<AssociateTargetsWithJobRequest.Builder> associateTargetsWithJobRequest) throws InvalidRequestException, ResourceNotFoundException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Associates a group with a continuous job. The following criteria must be met:
The job must have been created with the targetSelection field set to "CONTINUOUS".
The job status must currently be "IN_PROGRESS".
The total number of targets associated with a job must not exceed 100.
Requires permission to access the AssociateTargetsWithJob action.
This is a convenience which creates an instance of the AssociateTargetsWithJobRequest.Builder avoiding
the need to create one manually via AssociateTargetsWithJobRequest.builder()
associateTargetsWithJobRequest - A Consumer that will call methods on AssociateTargetsWithJobRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 AttachPolicyResponse attachPolicy(AttachPolicyRequest attachPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
attachPolicyRequest - 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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 AttachPolicyResponse attachPolicy(Consumer<AttachPolicyRequest.Builder> attachPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
This is a convenience which creates an instance of the AttachPolicyRequest.Builder avoiding the need to
create one manually via AttachPolicyRequest.builder()
attachPolicyRequest - A Consumer that will call methods on AttachPolicyRequest.Builder to create a request.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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 AttachSecurityProfileResponse attachSecurityProfile(AttachSecurityProfileRequest attachSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, LimitExceededException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Associates a Device Defender security profile with a thing group or this account. Each thing group or account can have up to five security profiles associated with it.
Requires permission to access the AttachSecurityProfile action.
attachSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.LimitExceededException - A limit has been exceeded.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 AttachSecurityProfileResponse attachSecurityProfile(Consumer<AttachSecurityProfileRequest.Builder> attachSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, LimitExceededException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Associates a Device Defender security profile with a thing group or this account. Each thing group or account can have up to five security profiles associated with it.
Requires permission to access the AttachSecurityProfile action.
This is a convenience which creates an instance of the AttachSecurityProfileRequest.Builder avoiding the
need to create one manually via AttachSecurityProfileRequest.builder()
attachSecurityProfileRequest - A Consumer that will call methods on AttachSecurityProfileRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.LimitExceededException - A limit has been exceeded.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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(AttachThingPrincipalRequest attachThingPrincipalRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Attaches the specified principal to the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the AttachThingPrincipal action.
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. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the AttachThingPrincipal action.
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 CancelAuditMitigationActionsTaskResponse cancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest cancelAuditMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.
Requires permission to access the CancelAuditMitigationActionsTask action.
cancelAuditMitigationActionsTaskRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 CancelAuditMitigationActionsTaskResponse cancelAuditMitigationActionsTask(Consumer<CancelAuditMitigationActionsTaskRequest.Builder> cancelAuditMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.
Requires permission to access the CancelAuditMitigationActionsTask action.
This is a convenience which creates an instance of the CancelAuditMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via CancelAuditMitigationActionsTaskRequest.builder()
cancelAuditMitigationActionsTaskRequest - A Consumer that will call methods on CancelAuditMitigationActionsTaskRequest.Builder to
create a request.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 CancelAuditTaskResponse cancelAuditTask(CancelAuditTaskRequest cancelAuditTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in progress, an "InvalidRequestException" occurs.
Requires permission to access the CancelAuditTask action.
cancelAuditTaskRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 CancelAuditTaskResponse cancelAuditTask(Consumer<CancelAuditTaskRequest.Builder> cancelAuditTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in progress, an "InvalidRequestException" occurs.
Requires permission to access the CancelAuditTask action.
This is a convenience which creates an instance of the CancelAuditTaskRequest.Builder avoiding the need
to create one manually via CancelAuditTaskRequest.builder()
cancelAuditTaskRequest - A Consumer that will call methods on CancelAuditTaskRequest.Builder to create a request.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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, 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.
Requires permission to access the CancelCertificateTransfer action.
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, 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.
Requires permission to access the CancelCertificateTransfer action.
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 CancelDetectMitigationActionsTaskResponse cancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest cancelDetectMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Cancels a Device Defender ML Detect mitigation action.
Requires permission to access the CancelDetectMitigationActionsTask action.
cancelDetectMitigationActionsTaskRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 CancelDetectMitigationActionsTaskResponse cancelDetectMitigationActionsTask(Consumer<CancelDetectMitigationActionsTaskRequest.Builder> cancelDetectMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Cancels a Device Defender ML Detect mitigation action.
Requires permission to access the CancelDetectMitigationActionsTask action.
This is a convenience which creates an instance of the CancelDetectMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via CancelDetectMitigationActionsTaskRequest.builder()
cancelDetectMitigationActionsTaskRequest - A Consumer that will call methods on CancelDetectMitigationActionsTaskRequest.Builder to
create a request.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 CancelJobResponse cancelJob(CancelJobRequest cancelJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Cancels a job.
Requires permission to access the CancelJob action.
cancelJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 CancelJobResponse cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Cancels a job.
Requires permission to access the CancelJob action.
This is a convenience which creates an instance of the CancelJobRequest.Builder avoiding the need to
create one manually via CancelJobRequest.builder()
cancelJobRequest - A Consumer that will call methods on CancelJobRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 CancelJobExecutionResponse cancelJobExecution(CancelJobExecutionRequest cancelJobExecutionRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, VersionConflictException, AwsServiceException, SdkClientException, IotException
Cancels the execution of a job for a given thing.
Requires permission to access the CancelJobExecution action.
cancelJobExecutionRequest - InvalidRequestException - The request is not valid.InvalidStateTransitionException - An attempt was made to change to an invalid state, for example by deleting a job or a job execution which
is "IN_PROGRESS" without setting the force parameter.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CancelJobExecutionResponse cancelJobExecution(Consumer<CancelJobExecutionRequest.Builder> cancelJobExecutionRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, VersionConflictException, AwsServiceException, SdkClientException, IotException
Cancels the execution of a job for a given thing.
Requires permission to access the CancelJobExecution action.
This is a convenience which creates an instance of the CancelJobExecutionRequest.Builder avoiding the
need to create one manually via CancelJobExecutionRequest.builder()
cancelJobExecutionRequest - A Consumer that will call methods on CancelJobExecutionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InvalidStateTransitionException - An attempt was made to change to an invalid state, for example by deleting a job or a job execution which
is "IN_PROGRESS" without setting the force parameter.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.ServiceUnavailableException - The service is temporarily unavailable.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ClearDefaultAuthorizerResponse clearDefaultAuthorizer() throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Clears the default authorizer.
Requires permission to access the ClearDefaultAuthorizer action.
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.AwsServiceExceptionclearDefaultAuthorizer(ClearDefaultAuthorizerRequest)default ClearDefaultAuthorizerResponse clearDefaultAuthorizer(ClearDefaultAuthorizerRequest clearDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Clears the default authorizer.
Requires permission to access the ClearDefaultAuthorizer action.
clearDefaultAuthorizerRequest - 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 ClearDefaultAuthorizerResponse clearDefaultAuthorizer(Consumer<ClearDefaultAuthorizerRequest.Builder> clearDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Clears the default authorizer.
Requires permission to access the ClearDefaultAuthorizer action.
This is a convenience which creates an instance of the ClearDefaultAuthorizerRequest.Builder avoiding the
need to create one manually via ClearDefaultAuthorizerRequest.builder()
clearDefaultAuthorizerRequest - A Consumer that will call methods on ClearDefaultAuthorizerRequest.Builder to create a
request.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 ConfirmTopicRuleDestinationResponse confirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest confirmTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation
message to the endpoint or base address you specify. The message includes a token which you pass back when
calling ConfirmTopicRuleDestination to confirm that you own or have access to the endpoint.
Requires permission to access the ConfirmTopicRuleDestination action.
confirmTopicRuleDestinationRequest - 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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ConfirmTopicRuleDestinationResponse confirmTopicRuleDestination(Consumer<ConfirmTopicRuleDestinationRequest.Builder> confirmTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation
message to the endpoint or base address you specify. The message includes a token which you pass back when
calling ConfirmTopicRuleDestination to confirm that you own or have access to the endpoint.
Requires permission to access the ConfirmTopicRuleDestination action.
This is a convenience which creates an instance of the ConfirmTopicRuleDestinationRequest.Builder
avoiding the need to create one manually via ConfirmTopicRuleDestinationRequest.builder()
confirmTopicRuleDestinationRequest - A Consumer that will call methods on ConfirmTopicRuleDestinationRequest.Builder to create
a request.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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateAuditSuppressionResponse createAuditSuppression(CreateAuditSuppressionRequest createAuditSuppressionRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Creates a Device Defender audit suppression.
Requires permission to access the CreateAuditSuppression action.
createAuditSuppressionRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateAuditSuppressionResponse createAuditSuppression(Consumer<CreateAuditSuppressionRequest.Builder> createAuditSuppressionRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Creates a Device Defender audit suppression.
Requires permission to access the CreateAuditSuppression action.
This is a convenience which creates an instance of the CreateAuditSuppressionRequest.Builder avoiding the
need to create one manually via CreateAuditSuppressionRequest.builder()
createAuditSuppressionRequest - A Consumer that will call methods on CreateAuditSuppressionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateAuthorizerResponse createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) throws ResourceAlreadyExistsException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates an authorizer.
Requires permission to access the CreateAuthorizer action.
createAuthorizerRequest - ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.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 CreateAuthorizerResponse createAuthorizer(Consumer<CreateAuthorizerRequest.Builder> createAuthorizerRequest) throws ResourceAlreadyExistsException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates an authorizer.
Requires permission to access the CreateAuthorizer action.
This is a convenience which creates an instance of the CreateAuthorizerRequest.Builder avoiding the need
to create one manually via CreateAuthorizerRequest.builder()
createAuthorizerRequest - A Consumer that will call methods on CreateAuthorizerRequest.Builder to create a request.ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.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 CreateBillingGroupResponse createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a billing group.
Requires permission to access the CreateBillingGroup action.
createBillingGroupRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.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 CreateBillingGroupResponse createBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a billing group.
Requires permission to access the CreateBillingGroup action.
This is a convenience which creates an instance of the CreateBillingGroupRequest.Builder avoiding the
need to create one manually via CreateBillingGroupRequest.builder()
createBillingGroupRequest - A Consumer that will call methods on CreateBillingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.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, NIST P-384, or NIST P-512 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
Requires permission to access the CreateCertificateFromCsr action.
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 Amazon Web Services 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, NIST P-384, or NIST P-512 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
Requires permission to access the CreateCertificateFromCsr action.
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 Amazon Web Services 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 CreateCustomMetricResponse createCustomMetric(CreateCustomMetricRequest createCustomMetricRequest) throws InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Use this API to define a Custom Metric published by your devices to Device Defender.
Requires permission to access the CreateCustomMetric action.
createCustomMetricRequest - InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.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 CreateCustomMetricResponse createCustomMetric(Consumer<CreateCustomMetricRequest.Builder> createCustomMetricRequest) throws InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Use this API to define a Custom Metric published by your devices to Device Defender.
Requires permission to access the CreateCustomMetric action.
This is a convenience which creates an instance of the CreateCustomMetricRequest.Builder avoiding the
need to create one manually via CreateCustomMetricRequest.builder()
createCustomMetricRequest - A Consumer that will call methods on CreateCustomMetricRequest.Builder to create a
request.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.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 CreateDimensionResponse createDimension(CreateDimensionRequest createDimensionRequest) throws InternalFailureException, InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device
Defender. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric
only to MQTT topics whose name match the pattern specified in the dimension.
Requires permission to access the CreateDimension action.
createDimensionRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceAlreadyExistsException - The resource already exists.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 CreateDimensionResponse createDimension(Consumer<CreateDimensionRequest.Builder> createDimensionRequest) throws InternalFailureException, InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device
Defender. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric
only to MQTT topics whose name match the pattern specified in the dimension.
Requires permission to access the CreateDimension action.
This is a convenience which creates an instance of the CreateDimensionRequest.Builder avoiding the need
to create one manually via CreateDimensionRequest.builder()
createDimensionRequest - A Consumer that will call methods on CreateDimensionRequest.Builder to create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceAlreadyExistsException - The resource already exists.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 CreateDomainConfigurationResponse createDomainConfiguration(CreateDomainConfigurationRequest createDomainConfigurationRequest) throws LimitExceededException, CertificateValidationException, ResourceAlreadyExistsException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Creates a domain configuration.
Requires permission to access the CreateDomainConfiguration action.
createDomainConfigurationRequest - LimitExceededException - A limit has been exceeded.CertificateValidationException - The certificate is invalid.ResourceAlreadyExistsException - The resource already exists.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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 CreateDomainConfigurationResponse createDomainConfiguration(Consumer<CreateDomainConfigurationRequest.Builder> createDomainConfigurationRequest) throws LimitExceededException, CertificateValidationException, ResourceAlreadyExistsException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Creates a domain configuration.
Requires permission to access the CreateDomainConfiguration action.
This is a convenience which creates an instance of the CreateDomainConfigurationRequest.Builder avoiding
the need to create one manually via CreateDomainConfigurationRequest.builder()
createDomainConfigurationRequest - A Consumer that will call methods on CreateDomainConfigurationRequest.Builder to create a
request.LimitExceededException - A limit has been exceeded.CertificateValidationException - The certificate is invalid.ResourceAlreadyExistsException - The resource already exists.ServiceUnavailableException - The service is temporarily unavailable.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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 CreateDynamicThingGroupResponse createDynamicThingGroup(CreateDynamicThingGroupRequest createDynamicThingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ResourceNotFoundException, ThrottlingException, InternalFailureException, InvalidQueryException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Creates a dynamic thing group.
Requires permission to access the CreateDynamicThingGroup action.
createDynamicThingGroupRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.InvalidQueryException - The query is invalid.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateDynamicThingGroupResponse createDynamicThingGroup(Consumer<CreateDynamicThingGroupRequest.Builder> createDynamicThingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ResourceNotFoundException, ThrottlingException, InternalFailureException, InvalidQueryException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Creates a dynamic thing group.
Requires permission to access the CreateDynamicThingGroup action.
This is a convenience which creates an instance of the CreateDynamicThingGroupRequest.Builder avoiding
the need to create one manually via CreateDynamicThingGroupRequest.builder()
createDynamicThingGroupRequest - A Consumer that will call methods on CreateDynamicThingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.InvalidQueryException - The query is invalid.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateFleetMetricResponse createFleetMetric(CreateFleetMetricRequest createFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Creates a fleet metric.
Requires permission to access the CreateFleetMetric action.
createFleetMetricRequest - 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 - A limit has been exceeded.ResourceAlreadyExistsException - The resource already exists.ResourceNotFoundException - The specified resource does not exist.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateFleetMetricResponse createFleetMetric(Consumer<CreateFleetMetricRequest.Builder> createFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Creates a fleet metric.
Requires permission to access the CreateFleetMetric action.
This is a convenience which creates an instance of the CreateFleetMetricRequest.Builder avoiding the need
to create one manually via CreateFleetMetricRequest.builder()
createFleetMetricRequest - A Consumer that will call methods on CreateFleetMetricRequest.Builder to create a request.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 - A limit has been exceeded.ResourceAlreadyExistsException - The resource already exists.ResourceNotFoundException - The specified resource does not exist.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateJobResponse createJob(CreateJobRequest createJobRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Creates a job.
Requires permission to access the CreateJob action.
createJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ResourceAlreadyExistsException - The resource already exists.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 CreateJobResponse createJob(Consumer<CreateJobRequest.Builder> createJobRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Creates a job.
Requires permission to access the CreateJob action.
This is a convenience which creates an instance of the CreateJobRequest.Builder avoiding the need to
create one manually via CreateJobRequest.builder()
createJobRequest - A Consumer that will call methods on CreateJobRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ResourceAlreadyExistsException - The resource already exists.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 CreateJobTemplateResponse createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ConflictException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a job template.
Requires permission to access the CreateJobTemplate action.
createJobTemplateRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ConflictException - A resource with the same name already exists.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 CreateJobTemplateResponse createJobTemplate(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ConflictException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a job template.
Requires permission to access the CreateJobTemplate action.
This is a convenience which creates an instance of the CreateJobTemplateRequest.Builder avoiding the need
to create one manually via CreateJobTemplateRequest.builder()
createJobTemplateRequest - A Consumer that will call methods on CreateJobTemplateRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ConflictException - A resource with the same name already exists.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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. You can also call
CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API.
Note This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.
Requires permission to access the CreateKeysAndCertificate action.
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. You can also call
CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API.
Note This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.
Requires permission to access the CreateKeysAndCertificate action.
createKeysAndCertificateRequest - The input for the CreateKeysAndCertificate operation.
Requires permission to access the CreateKeysAndCertificateRequest action.
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. You can also call
CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API.
Note This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.
Requires permission to access the CreateKeysAndCertificate action.
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.
Requires permission to access the CreateKeysAndCertificateRequest action.
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 CreateMitigationActionResponse createMitigationAction(CreateMitigationActionRequest createMitigationActionRequest) throws InvalidRequestException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain types of mitigation actions can be applied to specific check names. For more information, see Mitigation actions. Each mitigation action can apply only one type of change.
Requires permission to access the CreateMitigationAction action.
createMitigationActionRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 CreateMitigationActionResponse createMitigationAction(Consumer<CreateMitigationActionRequest.Builder> createMitigationActionRequest) throws InvalidRequestException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain types of mitigation actions can be applied to specific check names. For more information, see Mitigation actions. Each mitigation action can apply only one type of change.
Requires permission to access the CreateMitigationAction action.
This is a convenience which creates an instance of the CreateMitigationActionRequest.Builder avoiding the
need to create one manually via CreateMitigationActionRequest.builder()
createMitigationActionRequest - A Consumer that will call methods on CreateMitigationActionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 CreateOtaUpdateResponse createOTAUpdate(CreateOtaUpdateRequest createOtaUpdateRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceAlreadyExistsException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Creates an IoT OTA update on a target group of things or groups.
Requires permission to access the CreateOTAUpdate action.
createOtaUpdateRequest - InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceNotFoundException - The specified resource does not exist.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.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 CreateOtaUpdateResponse createOTAUpdate(Consumer<CreateOtaUpdateRequest.Builder> createOtaUpdateRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceAlreadyExistsException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Creates an IoT OTA update on a target group of things or groups.
Requires permission to access the CreateOTAUpdate action.
This is a convenience which creates an instance of the CreateOtaUpdateRequest.Builder avoiding the need
to create one manually via CreateOtaUpdateRequest.builder()
createOtaUpdateRequest - A Consumer that will call methods on CreateOTAUpdateRequest.Builder to create a request.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceNotFoundException - The specified resource does not exist.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.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 CreatePolicyResponse createPolicy(CreatePolicyRequest createPolicyRequest) throws ResourceAlreadyExistsException, MalformedPolicyException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates an 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.
Requires permission to access the CreatePolicy action.
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 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.
Requires permission to access the CreatePolicy action.
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 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).
Requires permission to access the CreatePolicyVersion action.
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 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).
Requires permission to access the CreatePolicyVersion action.
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 CreateProvisioningClaimResponse createProvisioningClaim(CreateProvisioningClaimRequest createProvisioningClaimRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a provisioning claim.
Requires permission to access the CreateProvisioningClaim action.
createProvisioningClaimRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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 CreateProvisioningClaimResponse createProvisioningClaim(Consumer<CreateProvisioningClaimRequest.Builder> createProvisioningClaimRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a provisioning claim.
Requires permission to access the CreateProvisioningClaim action.
This is a convenience which creates an instance of the CreateProvisioningClaimRequest.Builder avoiding
the need to create one manually via CreateProvisioningClaimRequest.builder()
createProvisioningClaimRequest - A Consumer that will call methods on CreateProvisioningClaimRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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 CreateProvisioningTemplateResponse createProvisioningTemplate(CreateProvisioningTemplateRequest createProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException
Creates a fleet provisioning template.
Requires permission to access the CreateProvisioningTemplate action.
createProvisioningTemplateRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 CreateProvisioningTemplateResponse createProvisioningTemplate(Consumer<CreateProvisioningTemplateRequest.Builder> createProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException
Creates a fleet provisioning template.
Requires permission to access the CreateProvisioningTemplate action.
This is a convenience which creates an instance of the CreateProvisioningTemplateRequest.Builder avoiding
the need to create one manually via CreateProvisioningTemplateRequest.builder()
createProvisioningTemplateRequest - A Consumer that will call methods on CreateProvisioningTemplateRequest.Builder to create a
request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 CreateProvisioningTemplateVersionResponse createProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest createProvisioningTemplateVersionRequest) throws VersionsLimitExceededException, InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Creates a new version of a fleet provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
createProvisioningTemplateVersionRequest - VersionsLimitExceededException - The number of policy versions exceeds the limit.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateProvisioningTemplateVersionResponse createProvisioningTemplateVersion(Consumer<CreateProvisioningTemplateVersionRequest.Builder> createProvisioningTemplateVersionRequest) throws VersionsLimitExceededException, InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Creates a new version of a fleet provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
This is a convenience which creates an instance of the CreateProvisioningTemplateVersionRequest.Builder
avoiding the need to create one manually via CreateProvisioningTemplateVersionRequest.builder()
createProvisioningTemplateVersionRequest - A Consumer that will call methods on CreateProvisioningTemplateVersionRequest.Builder to
create a request.VersionsLimitExceededException - The number of policy versions exceeds the limit.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateRoleAliasResponse createRoleAlias(CreateRoleAliasRequest createRoleAliasRequest) throws ResourceAlreadyExistsException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a role alias.
Requires permission to access the CreateRoleAlias action.
createRoleAliasRequest - ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.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 CreateRoleAliasResponse createRoleAlias(Consumer<CreateRoleAliasRequest.Builder> createRoleAliasRequest) throws ResourceAlreadyExistsException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a role alias.
Requires permission to access the CreateRoleAlias action.
This is a convenience which creates an instance of the CreateRoleAliasRequest.Builder avoiding the need
to create one manually via CreateRoleAliasRequest.builder()
createRoleAliasRequest - A Consumer that will call methods on CreateRoleAliasRequest.Builder to create a request.ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.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 CreateScheduledAuditResponse createScheduledAudit(CreateScheduledAuditRequest createScheduledAuditRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Creates a scheduled audit that is run at a specified time interval.
Requires permission to access the CreateScheduledAudit action.
createScheduledAuditRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateScheduledAuditResponse createScheduledAudit(Consumer<CreateScheduledAuditRequest.Builder> createScheduledAuditRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Creates a scheduled audit that is run at a specified time interval.
Requires permission to access the CreateScheduledAudit action.
This is a convenience which creates an instance of the CreateScheduledAuditRequest.Builder avoiding the
need to create one manually via CreateScheduledAuditRequest.builder()
createScheduledAuditRequest - A Consumer that will call methods on CreateScheduledAuditRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateSecurityProfileResponse createSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a Device Defender security profile.
Requires permission to access the CreateSecurityProfile action.
createSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.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 CreateSecurityProfileResponse createSecurityProfile(Consumer<CreateSecurityProfileRequest.Builder> createSecurityProfileRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a Device Defender security profile.
Requires permission to access the CreateSecurityProfile action.
This is a convenience which creates an instance of the CreateSecurityProfileRequest.Builder avoiding the
need to create one manually via CreateSecurityProfileRequest.builder()
createSecurityProfileRequest - A Consumer that will call methods on CreateSecurityProfileRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.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 CreateStreamResponse createStream(CreateStreamRequest createStreamRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceAlreadyExistsException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream.
Requires permission to access the CreateStream action.
createStreamRequest - InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceNotFoundException - The specified resource does not exist.ResourceAlreadyExistsException - The resource already exists.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 CreateStreamResponse createStream(Consumer<CreateStreamRequest.Builder> createStreamRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceAlreadyExistsException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream.
Requires permission to access the CreateStream action.
This is a convenience which creates an instance of the CreateStreamRequest.Builder avoiding the need to
create one manually via CreateStreamRequest.builder()
createStreamRequest - A Consumer that will call methods on CreateStreamRequest.Builder to create a request.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.ResourceNotFoundException - The specified resource does not exist.ResourceAlreadyExistsException - The resource already exists.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 registry. If this call is made multiple times using the same thing name and
configuration, the call will succeed. If this call is made with the same thing name but different configuration a
ResourceAlreadyExistsException is thrown.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
Requires permission to access the CreateThing action.
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 registry. If this call is made multiple times using the same thing name and
configuration, the call will succeed. If this call is made with the same thing name but different configuration a
ResourceAlreadyExistsException is thrown.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
Requires permission to access the CreateThing action.
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 CreateThingGroupResponse createThingGroup(CreateThingGroupRequest createThingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
createThingGroupRequest - InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.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 CreateThingGroupResponse createThingGroup(Consumer<CreateThingGroupRequest.Builder> createThingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
This is a convenience which creates an instance of the CreateThingGroupRequest.Builder avoiding the need
to create one manually via CreateThingGroupRequest.builder()
createThingGroupRequest - A Consumer that will call methods on CreateThingGroupRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ThrottlingException - The rate exceeds the limit.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 CreateThingTypeResponse createThingType(CreateThingTypeRequest createThingTypeRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException
Creates a new thing type.
Requires permission to access the CreateThingType action.
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.
Requires permission to access the CreateThingType action.
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, ConflictingResourceUpdateException, 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.
Requires permission to access the CreateTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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, ConflictingResourceUpdateException, 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.
Requires permission to access the CreateTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateTopicRuleDestinationResponse createTopicRuleDestination(CreateTopicRuleDestinationRequest createTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ResourceAlreadyExistsException, ServiceUnavailableException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
createTopicRuleDestinationRequest - InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ServiceUnavailableException - The service is temporarily unavailable.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 CreateTopicRuleDestinationResponse createTopicRuleDestination(Consumer<CreateTopicRuleDestinationRequest.Builder> createTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ResourceAlreadyExistsException, ServiceUnavailableException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
This is a convenience which creates an instance of the CreateTopicRuleDestinationRequest.Builder avoiding
the need to create one manually via CreateTopicRuleDestinationRequest.builder()
createTopicRuleDestinationRequest - A Consumer that will call methods on CreateTopicRuleDestinationRequest.Builder to create a
request.InternalException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceAlreadyExistsException - The resource already exists.ServiceUnavailableException - The service is temporarily unavailable.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteAccountAuditConfigurationResponse deleteAccountAuditConfiguration() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.
Requires permission to access the DeleteAccountAuditConfiguration action.
InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptiondeleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest)default DeleteAccountAuditConfigurationResponse deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest deleteAccountAuditConfigurationRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.
Requires permission to access the DeleteAccountAuditConfiguration action.
deleteAccountAuditConfigurationRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DeleteAccountAuditConfigurationResponse deleteAccountAuditConfiguration(Consumer<DeleteAccountAuditConfigurationRequest.Builder> deleteAccountAuditConfigurationRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.
Requires permission to access the DeleteAccountAuditConfiguration action.
This is a convenience which creates an instance of the DeleteAccountAuditConfigurationRequest.Builder
avoiding the need to create one manually via DeleteAccountAuditConfigurationRequest.builder()
deleteAccountAuditConfigurationRequest - A Consumer that will call methods on DeleteAccountAuditConfigurationRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DeleteAuditSuppressionResponse deleteAuditSuppression(DeleteAuditSuppressionRequest deleteAuditSuppressionRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
deleteAuditSuppressionRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DeleteAuditSuppressionResponse deleteAuditSuppression(Consumer<DeleteAuditSuppressionRequest.Builder> deleteAuditSuppressionRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
This is a convenience which creates an instance of the DeleteAuditSuppressionRequest.Builder avoiding the
need to create one manually via DeleteAuditSuppressionRequest.builder()
deleteAuditSuppressionRequest - A Consumer that will call methods on DeleteAuditSuppressionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DeleteAuthorizerResponse deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes an authorizer.
Requires permission to access the DeleteAuthorizer action.
deleteAuthorizerRequest - 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 DeleteAuthorizerResponse deleteAuthorizer(Consumer<DeleteAuthorizerRequest.Builder> deleteAuthorizerRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes an authorizer.
Requires permission to access the DeleteAuthorizer action.
This is a convenience which creates an instance of the DeleteAuthorizerRequest.Builder avoiding the need
to create one manually via DeleteAuthorizerRequest.builder()
deleteAuthorizerRequest - A Consumer that will call methods on DeleteAuthorizerRequest.Builder to create a request.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 DeleteBillingGroupResponse deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes the billing group.
Requires permission to access the DeleteBillingGroup action.
deleteBillingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 DeleteBillingGroupResponse deleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes the billing group.
Requires permission to access the DeleteBillingGroup action.
This is a convenience which creates an instance of the DeleteBillingGroupRequest.Builder avoiding the
need to create one manually via DeleteBillingGroupRequest.builder()
deleteBillingGroupRequest - A Consumer that will call methods on DeleteBillingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 DeleteCaCertificateResponse deleteCACertificate(DeleteCaCertificateRequest deleteCaCertificateRequest) throws InvalidRequestException, CertificateStateException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Deletes a registered CA certificate.
Requires permission to access the DeleteCACertificate action.
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.
Requires permission to access the DeleteCACertificate action.
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 or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy action to detach all policies. Next, use the UpdateCertificate action to set the certificate to the INACTIVE status.
Requires permission to access the DeleteCertificate action.
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 or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy action to detach all policies. Next, use the UpdateCertificate action to set the certificate to the INACTIVE status.
Requires permission to access the DeleteCertificate action.
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 DeleteCustomMetricResponse deleteCustomMetric(DeleteCustomMetricRequest deleteCustomMetricRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a Device Defender detect custom metric.
Requires permission to access the DeleteCustomMetric action.
Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a
part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles
API with metricName set to your custom metric name.
deleteCustomMetricRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DeleteCustomMetricResponse deleteCustomMetric(Consumer<DeleteCustomMetricRequest.Builder> deleteCustomMetricRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a Device Defender detect custom metric.
Requires permission to access the DeleteCustomMetric action.
Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a
part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles
API with metricName set to your custom metric name.
This is a convenience which creates an instance of the DeleteCustomMetricRequest.Builder avoiding the
need to create one manually via DeleteCustomMetricRequest.builder()
deleteCustomMetricRequest - A Consumer that will call methods on DeleteCustomMetricRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DeleteDimensionResponse deleteDimension(DeleteDimensionRequest deleteDimensionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Removes the specified dimension from your Amazon Web Services accounts.
Requires permission to access the DeleteDimension action.
deleteDimensionRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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 DeleteDimensionResponse deleteDimension(Consumer<DeleteDimensionRequest.Builder> deleteDimensionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Removes the specified dimension from your Amazon Web Services accounts.
Requires permission to access the DeleteDimension action.
This is a convenience which creates an instance of the DeleteDimensionRequest.Builder avoiding the need
to create one manually via DeleteDimensionRequest.builder()
deleteDimensionRequest - A Consumer that will call methods on DeleteDimensionRequest.Builder to create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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 DeleteDomainConfigurationResponse deleteDomainConfiguration(DeleteDomainConfigurationRequest deleteDomainConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IotException
Deletes the specified domain configuration.
Requires permission to access the DeleteDomainConfiguration action.
deleteDomainConfigurationRequest - ResourceNotFoundException - The specified resource does not exist.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 DeleteDomainConfigurationResponse deleteDomainConfiguration(Consumer<DeleteDomainConfigurationRequest.Builder> deleteDomainConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IotException
Deletes the specified domain configuration.
Requires permission to access the DeleteDomainConfiguration action.
This is a convenience which creates an instance of the DeleteDomainConfigurationRequest.Builder avoiding
the need to create one manually via DeleteDomainConfigurationRequest.builder()
deleteDomainConfigurationRequest - A Consumer that will call methods on DeleteDomainConfigurationRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.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 DeleteDynamicThingGroupResponse deleteDynamicThingGroup(DeleteDynamicThingGroupRequest deleteDynamicThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a dynamic thing group.
Requires permission to access the DeleteDynamicThingGroup action.
deleteDynamicThingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 DeleteDynamicThingGroupResponse deleteDynamicThingGroup(Consumer<DeleteDynamicThingGroupRequest.Builder> deleteDynamicThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a dynamic thing group.
Requires permission to access the DeleteDynamicThingGroup action.
This is a convenience which creates an instance of the DeleteDynamicThingGroupRequest.Builder avoiding
the need to create one manually via DeleteDynamicThingGroupRequest.builder()
deleteDynamicThingGroupRequest - A Consumer that will call methods on DeleteDynamicThingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 DeleteFleetMetricResponse deleteFleetMetric(DeleteFleetMetricRequest deleteFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, VersionConflictException, AwsServiceException, SdkClientException, IotException
Deletes the specified fleet metric. Returns successfully with no error if the deletion is successful or you specify a fleet metric that doesn't exist.
Requires permission to access the DeleteFleetMetric action.
deleteFleetMetricRequest - 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.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteFleetMetricResponse deleteFleetMetric(Consumer<DeleteFleetMetricRequest.Builder> deleteFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, VersionConflictException, AwsServiceException, SdkClientException, IotException
Deletes the specified fleet metric. Returns successfully with no error if the deletion is successful or you specify a fleet metric that doesn't exist.
Requires permission to access the DeleteFleetMetric action.
This is a convenience which creates an instance of the DeleteFleetMetricRequest.Builder avoiding the need
to create one manually via DeleteFleetMetricRequest.builder()
deleteFleetMetricRequest - A Consumer that will call methods on DeleteFleetMetricRequest.Builder to create a request.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.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteJobResponse deleteJob(DeleteJobRequest deleteJobRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Deletes a job and its related job executions.
Deleting a job may take time, depending on the number of job executions created for the job and various other factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error.
Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur.
Requires permission to access the DeleteJob action.
deleteJobRequest - InvalidRequestException - The request is not valid.InvalidStateTransitionException - An attempt was made to change to an invalid state, for example by deleting a job or a job execution which
is "IN_PROGRESS" without setting the force parameter.ResourceNotFoundException - The specified resource does not exist.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 DeleteJobResponse deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Deletes a job and its related job executions.
Deleting a job may take time, depending on the number of job executions created for the job and various other factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error.
Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur.
Requires permission to access the DeleteJob action.
This is a convenience which creates an instance of the DeleteJobRequest.Builder avoiding the need to
create one manually via DeleteJobRequest.builder()
deleteJobRequest - A Consumer that will call methods on DeleteJobRequest.Builder to create a request.InvalidRequestException - The request is not valid.InvalidStateTransitionException - An attempt was made to change to an invalid state, for example by deleting a job or a job execution which
is "IN_PROGRESS" without setting the force parameter.ResourceNotFoundException - The specified resource does not exist.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 DeleteJobExecutionResponse deleteJobExecution(DeleteJobExecutionRequest deleteJobExecutionRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Deletes a job execution.
Requires permission to access the DeleteJobExecution action.
deleteJobExecutionRequest - InvalidRequestException - The request is not valid.InvalidStateTransitionException - An attempt was made to change to an invalid state, for example by deleting a job or a job execution which
is "IN_PROGRESS" without setting the force parameter.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DeleteJobExecutionResponse deleteJobExecution(Consumer<DeleteJobExecutionRequest.Builder> deleteJobExecutionRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Deletes a job execution.
Requires permission to access the DeleteJobExecution action.
This is a convenience which creates an instance of the DeleteJobExecutionRequest.Builder avoiding the
need to create one manually via DeleteJobExecutionRequest.builder()
deleteJobExecutionRequest - A Consumer that will call methods on DeleteJobExecutionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InvalidStateTransitionException - An attempt was made to change to an invalid state, for example by deleting a job or a job execution which
is "IN_PROGRESS" without setting the force parameter.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DeleteJobTemplateResponse deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes the specified job template.
deleteJobTemplateRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DeleteJobTemplateResponse deleteJobTemplate(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes the specified job template.
This is a convenience which creates an instance of the DeleteJobTemplateRequest.Builder avoiding the need
to create one manually via DeleteJobTemplateRequest.builder()
deleteJobTemplateRequest - A Consumer that will call methods on DeleteJobTemplateRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DeleteMitigationActionResponse deleteMitigationAction(DeleteMitigationActionRequest deleteMitigationActionRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a defined mitigation action from your Amazon Web Services accounts.
Requires permission to access the DeleteMitigationAction action.
deleteMitigationActionRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DeleteMitigationActionResponse deleteMitigationAction(Consumer<DeleteMitigationActionRequest.Builder> deleteMitigationActionRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a defined mitigation action from your Amazon Web Services accounts.
Requires permission to access the DeleteMitigationAction action.
This is a convenience which creates an instance of the DeleteMitigationActionRequest.Builder avoiding the
need to create one manually via DeleteMitigationActionRequest.builder()
deleteMitigationActionRequest - A Consumer that will call methods on DeleteMitigationActionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DeleteOtaUpdateResponse deleteOTAUpdate(DeleteOtaUpdateRequest deleteOtaUpdateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, VersionConflictException, AwsServiceException, SdkClientException, IotException
Delete an OTA update.
Requires permission to access the DeleteOTAUpdate action.
deleteOtaUpdateRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteOtaUpdateResponse deleteOTAUpdate(Consumer<DeleteOtaUpdateRequest.Builder> deleteOtaUpdateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, VersionConflictException, AwsServiceException, SdkClientException, IotException
Delete an OTA update.
Requires permission to access the DeleteOTAUpdate action.
This is a convenience which creates an instance of the DeleteOtaUpdateRequest.Builder avoiding the need
to create one manually via DeleteOtaUpdateRequest.builder()
deleteOtaUpdateRequest - A Consumer that will call methods on DeleteOTAUpdateRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 action to delete all non-default versions of the policy; use the DetachPolicy action to detach the policy from any certificate; and then use the DeletePolicy action to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.
Requires permission to access the DeletePolicy action.
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 action to delete all non-default versions of the policy; use the DetachPolicy action to detach the policy from any certificate; and then use the DeletePolicy action to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.
Requires permission to access the DeletePolicy action.
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 action. 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.
Requires permission to access the DeletePolicyVersion action.
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 action. 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.
Requires permission to access the DeletePolicyVersion action.
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 DeleteProvisioningTemplateResponse deleteProvisioningTemplate(DeleteProvisioningTemplateRequest deleteProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, DeleteConflictException, ThrottlingException, ConflictingResourceUpdateException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Deletes a fleet provisioning template.
Requires permission to access the DeleteProvisioningTemplate action.
deleteProvisioningTemplateRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.ThrottlingException - The rate exceeds the limit.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.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 DeleteProvisioningTemplateResponse deleteProvisioningTemplate(Consumer<DeleteProvisioningTemplateRequest.Builder> deleteProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, DeleteConflictException, ThrottlingException, ConflictingResourceUpdateException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Deletes a fleet provisioning template.
Requires permission to access the DeleteProvisioningTemplate action.
This is a convenience which creates an instance of the DeleteProvisioningTemplateRequest.Builder avoiding
the need to create one manually via DeleteProvisioningTemplateRequest.builder()
deleteProvisioningTemplateRequest - A Consumer that will call methods on DeleteProvisioningTemplateRequest.Builder to create a
request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.ThrottlingException - The rate exceeds the limit.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.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 DeleteProvisioningTemplateVersionResponse deleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest deleteProvisioningTemplateVersionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, DeleteConflictException, AwsServiceException, SdkClientException, IotException
Deletes a fleet provisioning template version.
Requires permission to access the DeleteProvisioningTemplateVersion action.
deleteProvisioningTemplateVersionRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteProvisioningTemplateVersionResponse deleteProvisioningTemplateVersion(Consumer<DeleteProvisioningTemplateVersionRequest.Builder> deleteProvisioningTemplateVersionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, DeleteConflictException, AwsServiceException, SdkClientException, IotException
Deletes a fleet provisioning template version.
Requires permission to access the DeleteProvisioningTemplateVersion action.
This is a convenience which creates an instance of the DeleteProvisioningTemplateVersionRequest.Builder
avoiding the need to create one manually via DeleteProvisioningTemplateVersionRequest.builder()
deleteProvisioningTemplateVersionRequest - A Consumer that will call methods on DeleteProvisioningTemplateVersionRequest.Builder to
create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.DeleteConflictException - You can't delete the resource because it is attached to one or more resources.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
Requires permission to access the DeleteRegistrationCode action.
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.
Requires permission to access the DeleteRegistrationCode action.
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.
Requires permission to access the DeleteRegistrationCode action.
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 DeleteRoleAliasResponse deleteRoleAlias(DeleteRoleAliasRequest deleteRoleAliasRequest) throws DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Deletes a role alias
Requires permission to access the DeleteRoleAlias action.
deleteRoleAliasRequest - 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 DeleteRoleAliasResponse deleteRoleAlias(Consumer<DeleteRoleAliasRequest.Builder> deleteRoleAliasRequest) throws DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Deletes a role alias
Requires permission to access the DeleteRoleAlias action.
This is a convenience which creates an instance of the DeleteRoleAliasRequest.Builder avoiding the need
to create one manually via DeleteRoleAliasRequest.builder()
deleteRoleAliasRequest - A Consumer that will call methods on DeleteRoleAliasRequest.Builder to create a request.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 DeleteScheduledAuditResponse deleteScheduledAudit(DeleteScheduledAuditRequest deleteScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a scheduled audit.
Requires permission to access the DeleteScheduledAudit action.
deleteScheduledAuditRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DeleteScheduledAuditResponse deleteScheduledAudit(Consumer<DeleteScheduledAuditRequest.Builder> deleteScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a scheduled audit.
Requires permission to access the DeleteScheduledAudit action.
This is a convenience which creates an instance of the DeleteScheduledAuditRequest.Builder avoiding the
need to create one manually via DeleteScheduledAuditRequest.builder()
deleteScheduledAuditRequest - A Consumer that will call methods on DeleteScheduledAuditRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DeleteSecurityProfileResponse deleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, VersionConflictException, AwsServiceException, SdkClientException, IotException
Deletes a Device Defender security profile.
Requires permission to access the DeleteSecurityProfile action.
deleteSecurityProfileRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteSecurityProfileResponse deleteSecurityProfile(Consumer<DeleteSecurityProfileRequest.Builder> deleteSecurityProfileRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, VersionConflictException, AwsServiceException, SdkClientException, IotException
Deletes a Device Defender security profile.
Requires permission to access the DeleteSecurityProfile action.
This is a convenience which creates an instance of the DeleteSecurityProfileRequest.Builder avoiding the
need to create one manually via DeleteSecurityProfileRequest.builder()
deleteSecurityProfileRequest - A Consumer that will call methods on DeleteSecurityProfileRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteStreamResponse deleteStream(DeleteStreamRequest deleteStreamRequest) throws ResourceNotFoundException, DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a stream.
Requires permission to access the DeleteStream action.
deleteStreamRequest - ResourceNotFoundException - The specified resource does not exist.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteStreamResponse deleteStream(Consumer<DeleteStreamRequest.Builder> deleteStreamRequest) throws ResourceNotFoundException, DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a stream.
Requires permission to access the DeleteStream action.
This is a convenience which creates an instance of the DeleteStreamRequest.Builder avoiding the need to
create one manually via DeleteStreamRequest.builder()
deleteStreamRequest - A Consumer that will call methods on DeleteStreamRequest.Builder to create a request.ResourceNotFoundException - The specified resource does not exist.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
Requires permission to access the DeleteThing action.
deleteThingRequest - The input for the DeleteThing operation.ResourceNotFoundException - The specified resource does not exist.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.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. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
Requires permission to access the DeleteThing action.
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 an entity specified with the expectedVersion
parameter does not match the latest version in the system.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 DeleteThingGroupResponse deleteThingGroup(DeleteThingGroupRequest deleteThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a thing group.
Requires permission to access the DeleteThingGroup action.
deleteThingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 DeleteThingGroupResponse deleteThingGroup(Consumer<DeleteThingGroupRequest.Builder> deleteThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Deletes a thing group.
Requires permission to access the DeleteThingGroup action.
This is a convenience which creates an instance of the DeleteThingGroupRequest.Builder avoiding the need
to create one manually via DeleteThingGroupRequest.builder()
deleteThingGroupRequest - A Consumer that will call methods on DeleteThingGroupRequest.Builder to create a request.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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.
Requires permission to access the DeleteThingType action.
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.
Requires permission to access the DeleteThingType action.
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, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Deletes the rule.
Requires permission to access the DeleteTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Deletes the rule.
Requires permission to access the DeleteTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteTopicRuleDestinationResponse deleteTopicRuleDestination(DeleteTopicRuleDestinationRequest deleteTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Deletes a topic rule destination.
Requires permission to access the DeleteTopicRuleDestination action.
deleteTopicRuleDestinationRequest - 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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteTopicRuleDestinationResponse deleteTopicRuleDestination(Consumer<DeleteTopicRuleDestinationRequest.Builder> deleteTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Deletes a topic rule destination.
Requires permission to access the DeleteTopicRuleDestination action.
This is a convenience which creates an instance of the DeleteTopicRuleDestinationRequest.Builder avoiding
the need to create one manually via DeleteTopicRuleDestinationRequest.builder()
deleteTopicRuleDestinationRequest - A Consumer that will call methods on DeleteTopicRuleDestinationRequest.Builder to create a
request.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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DeleteV2LoggingLevelResponse deleteV2LoggingLevel(DeleteV2LoggingLevelRequest deleteV2LoggingLevelRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Deletes a logging level.
Requires permission to access the DeleteV2LoggingLevel action.
deleteV2LoggingLevelRequest - 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 DeleteV2LoggingLevelResponse deleteV2LoggingLevel(Consumer<DeleteV2LoggingLevelRequest.Builder> deleteV2LoggingLevelRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Deletes a logging level.
Requires permission to access the DeleteV2LoggingLevel action.
This is a convenience which creates an instance of the DeleteV2LoggingLevelRequest.Builder avoiding the
need to create one manually via DeleteV2LoggingLevelRequest.builder()
deleteV2LoggingLevelRequest - A Consumer that will call methods on DeleteV2LoggingLevelRequest.Builder to create a
request.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 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.
Requires permission to access the DeprecateThingType action.
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.
Requires permission to access the DeprecateThingType action.
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 DescribeAccountAuditConfigurationResponse describeAccountAuditConfiguration() throws ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the DescribeAccountAuditConfiguration action.
ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptiondescribeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest)default DescribeAccountAuditConfigurationResponse describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest describeAccountAuditConfigurationRequest) throws ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the DescribeAccountAuditConfiguration action.
describeAccountAuditConfigurationRequest - ThrottlingException - The rate exceeds the limit.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 DescribeAccountAuditConfigurationResponse describeAccountAuditConfiguration(Consumer<DescribeAccountAuditConfigurationRequest.Builder> describeAccountAuditConfigurationRequest) throws ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the DescribeAccountAuditConfiguration action.
This is a convenience which creates an instance of the DescribeAccountAuditConfigurationRequest.Builder
avoiding the need to create one manually via DescribeAccountAuditConfigurationRequest.builder()
describeAccountAuditConfigurationRequest - A Consumer that will call methods on DescribeAccountAuditConfigurationRequest.Builder to
create a request.ThrottlingException - The rate exceeds the limit.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 DescribeAuditFindingResponse describeAuditFinding(DescribeAuditFindingRequest describeAuditFindingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of the issue, and the start time when the audit that returned the finding.
Requires permission to access the DescribeAuditFinding action.
describeAuditFindingRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DescribeAuditFindingResponse describeAuditFinding(Consumer<DescribeAuditFindingRequest.Builder> describeAuditFindingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of the issue, and the start time when the audit that returned the finding.
Requires permission to access the DescribeAuditFinding action.
This is a convenience which creates an instance of the DescribeAuditFindingRequest.Builder avoiding the
need to create one manually via DescribeAuditFindingRequest.builder()
describeAuditFindingRequest - A Consumer that will call methods on DescribeAuditFindingRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DescribeAuditMitigationActionsTaskResponse describeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest describeAuditMitigationActionsTaskRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings. Properties include the actions being applied, the audit checks to which they're being applied, the task status, and aggregated task statistics.
describeAuditMitigationActionsTaskRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeAuditMitigationActionsTaskResponse describeAuditMitigationActionsTask(Consumer<DescribeAuditMitigationActionsTaskRequest.Builder> describeAuditMitigationActionsTaskRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings. Properties include the actions being applied, the audit checks to which they're being applied, the task status, and aggregated task statistics.
This is a convenience which creates an instance of the DescribeAuditMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via DescribeAuditMitigationActionsTaskRequest.builder()
describeAuditMitigationActionsTaskRequest - A Consumer that will call methods on DescribeAuditMitigationActionsTaskRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeAuditSuppressionResponse describeAuditSuppression(DescribeAuditSuppressionRequest describeAuditSuppressionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender audit suppression.
describeAuditSuppressionRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeAuditSuppressionResponse describeAuditSuppression(Consumer<DescribeAuditSuppressionRequest.Builder> describeAuditSuppressionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender audit suppression.
This is a convenience which creates an instance of the DescribeAuditSuppressionRequest.Builder avoiding
the need to create one manually via DescribeAuditSuppressionRequest.builder()
describeAuditSuppressionRequest - A Consumer that will call methods on DescribeAuditSuppressionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeAuditTaskResponse describeAuditTask(DescribeAuditTaskRequest describeAuditTaskRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender audit.
Requires permission to access the DescribeAuditTask action.
describeAuditTaskRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeAuditTaskResponse describeAuditTask(Consumer<DescribeAuditTaskRequest.Builder> describeAuditTaskRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender audit.
Requires permission to access the DescribeAuditTask action.
This is a convenience which creates an instance of the DescribeAuditTaskRequest.Builder avoiding the need
to create one manually via DescribeAuditTaskRequest.builder()
describeAuditTaskRequest - A Consumer that will call methods on DescribeAuditTaskRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeAuthorizerResponse describeAuthorizer(DescribeAuthorizerRequest describeAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Describes an authorizer.
Requires permission to access the DescribeAuthorizer action.
describeAuthorizerRequest - 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 DescribeAuthorizerResponse describeAuthorizer(Consumer<DescribeAuthorizerRequest.Builder> describeAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Describes an authorizer.
Requires permission to access the DescribeAuthorizer action.
This is a convenience which creates an instance of the DescribeAuthorizerRequest.Builder avoiding the
need to create one manually via DescribeAuthorizerRequest.builder()
describeAuthorizerRequest - A Consumer that will call methods on DescribeAuthorizerRequest.Builder to create a
request.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 DescribeBillingGroupResponse describeBillingGroup(DescribeBillingGroupRequest describeBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Returns information about a billing group.
Requires permission to access the DescribeBillingGroup action.
describeBillingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DescribeBillingGroupResponse describeBillingGroup(Consumer<DescribeBillingGroupRequest.Builder> describeBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Returns information about a billing group.
Requires permission to access the DescribeBillingGroup action.
This is a convenience which creates an instance of the DescribeBillingGroupRequest.Builder avoiding the
need to create one manually via DescribeBillingGroupRequest.builder()
describeBillingGroupRequest - A Consumer that will call methods on DescribeBillingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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(DescribeCaCertificateRequest describeCaCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Describes a registered CA certificate.
Requires permission to access the DescribeCACertificate action.
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.
Requires permission to access the DescribeCACertificate action.
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.
Requires permission to access the DescribeCertificate action.
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.
Requires permission to access the DescribeCertificate action.
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 DescribeCustomMetricResponse describeCustomMetric(DescribeCustomMetricRequest describeCustomMetricRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender detect custom metric.
Requires permission to access the DescribeCustomMetric action.
describeCustomMetricRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeCustomMetricResponse describeCustomMetric(Consumer<DescribeCustomMetricRequest.Builder> describeCustomMetricRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender detect custom metric.
Requires permission to access the DescribeCustomMetric action.
This is a convenience which creates an instance of the DescribeCustomMetricRequest.Builder avoiding the
need to create one manually via DescribeCustomMetricRequest.builder()
describeCustomMetricRequest - A Consumer that will call methods on DescribeCustomMetricRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeDefaultAuthorizerResponse describeDefaultAuthorizer(DescribeDefaultAuthorizerRequest describeDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Describes the default authorizer.
Requires permission to access the DescribeDefaultAuthorizer action.
describeDefaultAuthorizerRequest - 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 DescribeDefaultAuthorizerResponse describeDefaultAuthorizer(Consumer<DescribeDefaultAuthorizerRequest.Builder> describeDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Describes the default authorizer.
Requires permission to access the DescribeDefaultAuthorizer action.
This is a convenience which creates an instance of the DescribeDefaultAuthorizerRequest.Builder avoiding
the need to create one manually via DescribeDefaultAuthorizerRequest.builder()
describeDefaultAuthorizerRequest - A Consumer that will call methods on DescribeDefaultAuthorizerRequest.Builder to create a
request.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 DescribeDetectMitigationActionsTaskResponse describeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest describeDetectMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender ML Detect mitigation action.
Requires permission to access the DescribeDetectMitigationActionsTask action.
describeDetectMitigationActionsTaskRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DescribeDetectMitigationActionsTaskResponse describeDetectMitigationActionsTask(Consumer<DescribeDetectMitigationActionsTaskRequest.Builder> describeDetectMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender ML Detect mitigation action.
Requires permission to access the DescribeDetectMitigationActionsTask action.
This is a convenience which creates an instance of the DescribeDetectMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via DescribeDetectMitigationActionsTaskRequest.builder()
describeDetectMitigationActionsTaskRequest - A Consumer that will call methods on DescribeDetectMitigationActionsTaskRequest.Builder to
create a request.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DescribeDimensionResponse describeDimension(DescribeDimensionRequest describeDimensionRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Provides details about a dimension that is defined in your Amazon Web Services accounts.
Requires permission to access the DescribeDimension action.
describeDimensionRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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 DescribeDimensionResponse describeDimension(Consumer<DescribeDimensionRequest.Builder> describeDimensionRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Provides details about a dimension that is defined in your Amazon Web Services accounts.
Requires permission to access the DescribeDimension action.
This is a convenience which creates an instance of the DescribeDimensionRequest.Builder avoiding the need
to create one manually via DescribeDimensionRequest.builder()
describeDimensionRequest - A Consumer that will call methods on DescribeDimensionRequest.Builder to create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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 DescribeDomainConfigurationResponse describeDomainConfiguration(DescribeDomainConfigurationRequest describeDomainConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, InvalidRequestException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets summary information about a domain configuration.
Requires permission to access the DescribeDomainConfiguration action.
describeDomainConfigurationRequest - ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InvalidRequestException - The request is not valid.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 DescribeDomainConfigurationResponse describeDomainConfiguration(Consumer<DescribeDomainConfigurationRequest.Builder> describeDomainConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, InvalidRequestException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets summary information about a domain configuration.
Requires permission to access the DescribeDomainConfiguration action.
This is a convenience which creates an instance of the DescribeDomainConfigurationRequest.Builder
avoiding the need to create one manually via DescribeDomainConfigurationRequest.builder()
describeDomainConfigurationRequest - A Consumer that will call methods on DescribeDomainConfigurationRequest.Builder to create
a request.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InvalidRequestException - The request is not valid.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 DescribeEndpointResponse describeEndpoint() throws InternalFailureException, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Returns a unique endpoint specific to the Amazon Web Services account making the call.
Requires permission to access the DescribeEndpoint action.
InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Returns a unique endpoint specific to the Amazon Web Services account making the call.
Requires permission to access the DescribeEndpoint action.
describeEndpointRequest - The input for the DescribeEndpoint operation.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Returns a unique endpoint specific to the Amazon Web Services account making the call.
Requires permission to access the DescribeEndpoint action.
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.InvalidRequestException - The request is not valid.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 DescribeEventConfigurationsResponse describeEventConfigurations() throws InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Describes event configurations.
Requires permission to access the DescribeEventConfigurations action.
InternalFailureException - An unexpected error has occurred.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.AwsServiceExceptiondescribeEventConfigurations(DescribeEventConfigurationsRequest)default DescribeEventConfigurationsResponse describeEventConfigurations(DescribeEventConfigurationsRequest describeEventConfigurationsRequest) throws InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Describes event configurations.
Requires permission to access the DescribeEventConfigurations action.
describeEventConfigurationsRequest - InternalFailureException - An unexpected error has occurred.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 DescribeEventConfigurationsResponse describeEventConfigurations(Consumer<DescribeEventConfigurationsRequest.Builder> describeEventConfigurationsRequest) throws InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Describes event configurations.
Requires permission to access the DescribeEventConfigurations action.
This is a convenience which creates an instance of the DescribeEventConfigurationsRequest.Builder
avoiding the need to create one manually via DescribeEventConfigurationsRequest.builder()
describeEventConfigurationsRequest - A Consumer that will call methods on DescribeEventConfigurationsRequest.Builder to create
a request.InternalFailureException - An unexpected error has occurred.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 DescribeFleetMetricResponse describeFleetMetric(DescribeFleetMetricRequest describeFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Gets information about the specified fleet metric.
Requires permission to access the DescribeFleetMetric action.
describeFleetMetricRequest - 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 DescribeFleetMetricResponse describeFleetMetric(Consumer<DescribeFleetMetricRequest.Builder> describeFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Gets information about the specified fleet metric.
Requires permission to access the DescribeFleetMetric action.
This is a convenience which creates an instance of the DescribeFleetMetricRequest.Builder avoiding the
need to create one manually via DescribeFleetMetricRequest.builder()
describeFleetMetricRequest - A Consumer that will call methods on DescribeFleetMetricRequest.Builder to create a
request.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 DescribeIndexResponse describeIndex(DescribeIndexRequest describeIndexRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Describes a search index.
Requires permission to access the DescribeIndex action.
describeIndexRequest - 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 DescribeIndexResponse describeIndex(Consumer<DescribeIndexRequest.Builder> describeIndexRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Describes a search index.
Requires permission to access the DescribeIndex action.
This is a convenience which creates an instance of the DescribeIndexRequest.Builder avoiding the need to
create one manually via DescribeIndexRequest.builder()
describeIndexRequest - A Consumer that will call methods on DescribeIndexRequest.Builder to create a request.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 DescribeJobResponse describeJob(DescribeJobRequest describeJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Describes a job.
Requires permission to access the DescribeJob action.
describeJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeJobResponse describeJob(Consumer<DescribeJobRequest.Builder> describeJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Describes a job.
Requires permission to access the DescribeJob action.
This is a convenience which creates an instance of the DescribeJobRequest.Builder avoiding the need to
create one manually via DescribeJobRequest.builder()
describeJobRequest - A Consumer that will call methods on DescribeJobRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeJobExecutionResponse describeJobExecution(DescribeJobExecutionRequest describeJobExecutionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Describes a job execution.
Requires permission to access the DescribeJobExecution action.
describeJobExecutionRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeJobExecutionResponse describeJobExecution(Consumer<DescribeJobExecutionRequest.Builder> describeJobExecutionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Describes a job execution.
Requires permission to access the DescribeJobExecution action.
This is a convenience which creates an instance of the DescribeJobExecutionRequest.Builder avoiding the
need to create one manually via DescribeJobExecutionRequest.builder()
describeJobExecutionRequest - A Consumer that will call methods on DescribeJobExecutionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeJobTemplateResponse describeJobTemplate(DescribeJobTemplateRequest describeJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Returns information about a job template.
describeJobTemplateRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeJobTemplateResponse describeJobTemplate(Consumer<DescribeJobTemplateRequest.Builder> describeJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Returns information about a job template.
This is a convenience which creates an instance of the DescribeJobTemplateRequest.Builder avoiding the
need to create one manually via DescribeJobTemplateRequest.builder()
describeJobTemplateRequest - A Consumer that will call methods on DescribeJobTemplateRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeManagedJobTemplateResponse describeManagedJobTemplate(DescribeManagedJobTemplateRequest describeManagedJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException
View details of a managed job template.
describeManagedJobTemplateRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalServerException - Internal error from the service that indicates an unexpected error or that the service is 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 DescribeManagedJobTemplateResponse describeManagedJobTemplate(Consumer<DescribeManagedJobTemplateRequest.Builder> describeManagedJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException
View details of a managed job template.
This is a convenience which creates an instance of the DescribeManagedJobTemplateRequest.Builder avoiding
the need to create one manually via DescribeManagedJobTemplateRequest.builder()
describeManagedJobTemplateRequest - A Consumer that will call methods on DescribeManagedJobTemplateRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalServerException - Internal error from the service that indicates an unexpected error or that the service is 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 DescribeMitigationActionResponse describeMitigationAction(DescribeMitigationActionRequest describeMitigationActionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a mitigation action.
Requires permission to access the DescribeMitigationAction action.
describeMitigationActionRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeMitigationActionResponse describeMitigationAction(Consumer<DescribeMitigationActionRequest.Builder> describeMitigationActionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a mitigation action.
Requires permission to access the DescribeMitigationAction action.
This is a convenience which creates an instance of the DescribeMitigationActionRequest.Builder avoiding
the need to create one manually via DescribeMitigationActionRequest.builder()
describeMitigationActionRequest - A Consumer that will call methods on DescribeMitigationActionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeProvisioningTemplateResponse describeProvisioningTemplate(DescribeProvisioningTemplateRequest describeProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Returns information about a fleet provisioning template.
Requires permission to access the DescribeProvisioningTemplate action.
describeProvisioningTemplateRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeProvisioningTemplateResponse describeProvisioningTemplate(Consumer<DescribeProvisioningTemplateRequest.Builder> describeProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Returns information about a fleet provisioning template.
Requires permission to access the DescribeProvisioningTemplate action.
This is a convenience which creates an instance of the DescribeProvisioningTemplateRequest.Builder
avoiding the need to create one manually via DescribeProvisioningTemplateRequest.builder()
describeProvisioningTemplateRequest - A Consumer that will call methods on DescribeProvisioningTemplateRequest.Builder to create
a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeProvisioningTemplateVersionResponse describeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest describeProvisioningTemplateVersionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Returns information about a fleet provisioning template version.
Requires permission to access the DescribeProvisioningTemplateVersion action.
describeProvisioningTemplateVersionRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.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 DescribeProvisioningTemplateVersionResponse describeProvisioningTemplateVersion(Consumer<DescribeProvisioningTemplateVersionRequest.Builder> describeProvisioningTemplateVersionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Returns information about a fleet provisioning template version.
Requires permission to access the DescribeProvisioningTemplateVersion action.
This is a convenience which creates an instance of the DescribeProvisioningTemplateVersionRequest.Builder
avoiding the need to create one manually via DescribeProvisioningTemplateVersionRequest.builder()
describeProvisioningTemplateVersionRequest - A Consumer that will call methods on DescribeProvisioningTemplateVersionRequest.Builder to
create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.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 DescribeRoleAliasResponse describeRoleAlias(DescribeRoleAliasRequest describeRoleAliasRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Describes a role alias.
Requires permission to access the DescribeRoleAlias action.
describeRoleAliasRequest - 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 DescribeRoleAliasResponse describeRoleAlias(Consumer<DescribeRoleAliasRequest.Builder> describeRoleAliasRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Describes a role alias.
Requires permission to access the DescribeRoleAlias action.
This is a convenience which creates an instance of the DescribeRoleAliasRequest.Builder avoiding the need
to create one manually via DescribeRoleAliasRequest.builder()
describeRoleAliasRequest - A Consumer that will call methods on DescribeRoleAliasRequest.Builder to create a request.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 DescribeScheduledAuditResponse describeScheduledAudit(DescribeScheduledAuditRequest describeScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a scheduled audit.
Requires permission to access the DescribeScheduledAudit action.
describeScheduledAuditRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeScheduledAuditResponse describeScheduledAudit(Consumer<DescribeScheduledAuditRequest.Builder> describeScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a scheduled audit.
Requires permission to access the DescribeScheduledAudit action.
This is a convenience which creates an instance of the DescribeScheduledAuditRequest.Builder avoiding the
need to create one manually via DescribeScheduledAuditRequest.builder()
describeScheduledAuditRequest - A Consumer that will call methods on DescribeScheduledAuditRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeSecurityProfileResponse describeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender security profile.
Requires permission to access the DescribeSecurityProfile action.
describeSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeSecurityProfileResponse describeSecurityProfile(Consumer<DescribeSecurityProfileRequest.Builder> describeSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a Device Defender security profile.
Requires permission to access the DescribeSecurityProfile action.
This is a convenience which creates an instance of the DescribeSecurityProfileRequest.Builder avoiding
the need to create one manually via DescribeSecurityProfileRequest.builder()
describeSecurityProfileRequest - A Consumer that will call methods on DescribeSecurityProfileRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DescribeStreamResponse describeStream(DescribeStreamRequest describeStreamRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a stream.
Requires permission to access the DescribeStream action.
describeStreamRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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 DescribeStreamResponse describeStream(Consumer<DescribeStreamRequest.Builder> describeStreamRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about a stream.
Requires permission to access the DescribeStream action.
This is a convenience which creates an instance of the DescribeStreamRequest.Builder avoiding the need to
create one manually via DescribeStreamRequest.builder()
describeStreamRequest - A Consumer that will call methods on DescribeStreamRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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(DescribeThingRequest describeThingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about the specified thing.
Requires permission to access the DescribeThing action.
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.
Requires permission to access the DescribeThing action.
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 DescribeThingGroupResponse describeThingGroup(DescribeThingGroupRequest describeThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Describe a thing group.
Requires permission to access the DescribeThingGroup action.
describeThingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DescribeThingGroupResponse describeThingGroup(Consumer<DescribeThingGroupRequest.Builder> describeThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Describe a thing group.
Requires permission to access the DescribeThingGroup action.
This is a convenience which creates an instance of the DescribeThingGroupRequest.Builder avoiding the
need to create one manually via DescribeThingGroupRequest.builder()
describeThingGroupRequest - A Consumer that will call methods on DescribeThingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 DescribeThingRegistrationTaskResponse describeThingRegistrationTask(DescribeThingRegistrationTaskRequest describeThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Describes a bulk thing provisioning task.
Requires permission to access the DescribeThingRegistrationTask action.
describeThingRegistrationTaskRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 DescribeThingRegistrationTaskResponse describeThingRegistrationTask(Consumer<DescribeThingRegistrationTaskRequest.Builder> describeThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Describes a bulk thing provisioning task.
Requires permission to access the DescribeThingRegistrationTask action.
This is a convenience which creates an instance of the DescribeThingRegistrationTaskRequest.Builder
avoiding the need to create one manually via DescribeThingRegistrationTaskRequest.builder()
describeThingRegistrationTaskRequest - A Consumer that will call methods on DescribeThingRegistrationTaskRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 DescribeThingTypeResponse describeThingType(DescribeThingTypeRequest describeThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets information about the specified thing type.
Requires permission to access the DescribeThingType action.
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.
Requires permission to access the DescribeThingType action.
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 DetachPolicyResponse detachPolicy(DetachPolicyRequest detachPolicyRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Detaches a policy from the specified target.
Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.
Requires permission to access the DetachPolicy action.
detachPolicyRequest - 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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DetachPolicyResponse detachPolicy(Consumer<DetachPolicyRequest.Builder> detachPolicyRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Detaches a policy from the specified target.
Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.
Requires permission to access the DetachPolicy action.
This is a convenience which creates an instance of the DetachPolicyRequest.Builder avoiding the need to
create one manually via DetachPolicyRequest.builder()
detachPolicyRequest - A Consumer that will call methods on DetachPolicyRequest.Builder to create a request.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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 DetachSecurityProfileResponse detachSecurityProfile(DetachSecurityProfileRequest detachSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Disassociates a Device Defender security profile from a thing group or from this account.
Requires permission to access the DetachSecurityProfile action.
detachSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 DetachSecurityProfileResponse detachSecurityProfile(Consumer<DetachSecurityProfileRequest.Builder> detachSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Disassociates a Device Defender security profile from a thing group or from this account.
Requires permission to access the DetachSecurityProfile action.
This is a convenience which creates an instance of the DetachSecurityProfileRequest.Builder avoiding the
need to create one manually via DetachSecurityProfileRequest.builder()
detachSecurityProfileRequest - A Consumer that will call methods on DetachSecurityProfileRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
This call is asynchronous. It might take several seconds for the detachment to propagate.
Requires permission to access the DetachThingPrincipal action.
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. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
This call is asynchronous. It might take several seconds for the detachment to propagate.
Requires permission to access the DetachThingPrincipal action.
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, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Disables the rule.
Requires permission to access the DisableTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Disables the rule.
Requires permission to access the DisableTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Enables the rule.
Requires permission to access the EnableTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Enables the rule.
Requires permission to access the EnableTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 GetBehaviorModelTrainingSummariesResponse getBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Returns a Device Defender's ML Detect Security Profile training model's status.
Requires permission to access the GetBehaviorModelTrainingSummaries action.
getBehaviorModelTrainingSummariesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 GetBehaviorModelTrainingSummariesResponse getBehaviorModelTrainingSummaries(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Returns a Device Defender's ML Detect Security Profile training model's status.
Requires permission to access the GetBehaviorModelTrainingSummaries action.
This is a convenience which creates an instance of the GetBehaviorModelTrainingSummariesRequest.Builder
avoiding the need to create one manually via GetBehaviorModelTrainingSummariesRequest.builder()
getBehaviorModelTrainingSummariesRequest - A Consumer that will call methods on GetBehaviorModelTrainingSummariesRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 GetBehaviorModelTrainingSummariesIterable getBehaviorModelTrainingSummariesPaginator(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Returns a Device Defender's ML Detect Security Profile training model's status.
Requires permission to access the GetBehaviorModelTrainingSummaries action.
This is a variant of
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client.getBehaviorModelTrainingSummariesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client
.getBehaviorModelTrainingSummariesPaginator(request);
for (software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client.getBehaviorModelTrainingSummariesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)
operation.
getBehaviorModelTrainingSummariesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 GetBehaviorModelTrainingSummariesIterable getBehaviorModelTrainingSummariesPaginator(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Returns a Device Defender's ML Detect Security Profile training model's status.
Requires permission to access the GetBehaviorModelTrainingSummaries action.
This is a variant of
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client.getBehaviorModelTrainingSummariesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client
.getBehaviorModelTrainingSummariesPaginator(request);
for (software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client.getBehaviorModelTrainingSummariesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)
operation.
This is a convenience which creates an instance of the GetBehaviorModelTrainingSummariesRequest.Builder
avoiding the need to create one manually via GetBehaviorModelTrainingSummariesRequest.builder()
getBehaviorModelTrainingSummariesRequest - A Consumer that will call methods on GetBehaviorModelTrainingSummariesRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 GetBucketsAggregationResponse getBucketsAggregation(GetBucketsAggregationRequest getBucketsAggregationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Aggregates on indexed data with search queries pertaining to particular fields.
Requires permission to access the GetBucketsAggregation action.
getBucketsAggregationRequest - 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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 GetBucketsAggregationResponse getBucketsAggregation(Consumer<GetBucketsAggregationRequest.Builder> getBucketsAggregationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Aggregates on indexed data with search queries pertaining to particular fields.
Requires permission to access the GetBucketsAggregation action.
This is a convenience which creates an instance of the GetBucketsAggregationRequest.Builder avoiding the
need to create one manually via GetBucketsAggregationRequest.builder()
getBucketsAggregationRequest - A Consumer that will call methods on GetBucketsAggregationRequest.Builder to create a
request.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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 GetCardinalityResponse getCardinality(GetCardinalityRequest getCardinalityRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Returns the approximate count of unique values that match the query.
Requires permission to access the GetCardinality action.
getCardinalityRequest - 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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 GetCardinalityResponse getCardinality(Consumer<GetCardinalityRequest.Builder> getCardinalityRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Returns the approximate count of unique values that match the query.
Requires permission to access the GetCardinality action.
This is a convenience which creates an instance of the GetCardinalityRequest.Builder avoiding the need to
create one manually via GetCardinalityRequest.builder()
getCardinalityRequest - A Consumer that will call methods on GetCardinalityRequest.Builder to create a request.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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 GetEffectivePoliciesResponse getEffectivePolicies(GetEffectivePoliciesRequest getEffectivePoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway.
Requires permission to access the GetEffectivePolicies action.
getEffectivePoliciesRequest - 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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 GetEffectivePoliciesResponse getEffectivePolicies(Consumer<GetEffectivePoliciesRequest.Builder> getEffectivePoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway.
Requires permission to access the GetEffectivePolicies action.
This is a convenience which creates an instance of the GetEffectivePoliciesRequest.Builder avoiding the
need to create one manually via GetEffectivePoliciesRequest.builder()
getEffectivePoliciesRequest - A Consumer that will call methods on GetEffectivePoliciesRequest.Builder to create a
request.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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 GetIndexingConfigurationResponse getIndexingConfiguration() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets the indexing configuration.
Requires permission to access the GetIndexingConfiguration action.
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.AwsServiceExceptiongetIndexingConfiguration(GetIndexingConfigurationRequest)default GetIndexingConfigurationResponse getIndexingConfiguration(GetIndexingConfigurationRequest getIndexingConfigurationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets the indexing configuration.
Requires permission to access the GetIndexingConfiguration action.
getIndexingConfigurationRequest - 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 GetIndexingConfigurationResponse getIndexingConfiguration(Consumer<GetIndexingConfigurationRequest.Builder> getIndexingConfigurationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets the indexing configuration.
Requires permission to access the GetIndexingConfiguration action.
This is a convenience which creates an instance of the GetIndexingConfigurationRequest.Builder avoiding
the need to create one manually via GetIndexingConfigurationRequest.builder()
getIndexingConfigurationRequest - A Consumer that will call methods on GetIndexingConfigurationRequest.Builder to create a
request.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 GetJobDocumentResponse getJobDocument(GetJobDocumentRequest getJobDocumentRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Gets a job document.
Requires permission to access the GetJobDocument action.
getJobDocumentRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 GetJobDocumentResponse getJobDocument(Consumer<GetJobDocumentRequest.Builder> getJobDocumentRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Gets a job document.
Requires permission to access the GetJobDocument action.
This is a convenience which creates an instance of the GetJobDocumentRequest.Builder avoiding the need to
create one manually via GetJobDocumentRequest.builder()
getJobDocumentRequest - A Consumer that will call methods on GetJobDocumentRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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() throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Gets the logging options.
NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.
Requires permission to access the GetLoggingOptions action.
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.
NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.
Requires permission to access the GetLoggingOptions action.
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.
NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.
Requires permission to access the GetLoggingOptions action.
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 GetOtaUpdateResponse getOTAUpdate(GetOtaUpdateRequest getOtaUpdateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Gets an OTA update.
Requires permission to access the GetOTAUpdate action.
getOtaUpdateRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.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 GetOtaUpdateResponse getOTAUpdate(Consumer<GetOtaUpdateRequest.Builder> getOtaUpdateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Gets an OTA update.
Requires permission to access the GetOTAUpdate action.
This is a convenience which creates an instance of the GetOtaUpdateRequest.Builder avoiding the need to
create one manually via GetOtaUpdateRequest.builder()
getOtaUpdateRequest - A Consumer that will call methods on GetOTAUpdateRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.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 GetPercentilesResponse getPercentiles(GetPercentilesRequest getPercentilesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Groups the aggregated values that match the query into percentile groupings. The default percentile groupings
are: 1,5,25,50,75,95,99, although you can specify your own when you call GetPercentiles. This
function returns a value for each percentile group specified (or the default percentile groupings). The
percentile group "1" contains the aggregated field value that occurs in approximately one percent of the values
that match the query. The percentile group "5" contains the aggregated field value that occurs in approximately
five percent of the values that match the query, and so on. The result is an approximation, the more values that
match the query, the more accurate the percentile values.
Requires permission to access the GetPercentiles action.
getPercentilesRequest - 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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 GetPercentilesResponse getPercentiles(Consumer<GetPercentilesRequest.Builder> getPercentilesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Groups the aggregated values that match the query into percentile groupings. The default percentile groupings
are: 1,5,25,50,75,95,99, although you can specify your own when you call GetPercentiles. This
function returns a value for each percentile group specified (or the default percentile groupings). The
percentile group "1" contains the aggregated field value that occurs in approximately one percent of the values
that match the query. The percentile group "5" contains the aggregated field value that occurs in approximately
five percent of the values that match the query, and so on. The result is an approximation, the more values that
match the query, the more accurate the percentile values.
Requires permission to access the GetPercentiles action.
This is a convenience which creates an instance of the GetPercentilesRequest.Builder avoiding the need to
create one manually via GetPercentilesRequest.builder()
getPercentilesRequest - A Consumer that will call methods on GetPercentilesRequest.Builder to create a request.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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
Requires permission to access the GetPolicy action.
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.
Requires permission to access the GetPolicy action.
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.
Requires permission to access the GetPolicyVersion action.
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.
Requires permission to access the GetPolicyVersion action.
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 IoT.
Requires permission to access the GetRegistrationCode action.
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 IoT.
Requires permission to access the GetRegistrationCode action.
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 IoT.
Requires permission to access the GetRegistrationCode action.
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 GetStatisticsResponse getStatistics(GetStatisticsRequest getStatisticsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the
specified aggregated field. If the aggregation field is of type String, only the count statistic is
returned.
Requires permission to access the GetStatistics action.
getStatisticsRequest - 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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 GetStatisticsResponse getStatistics(Consumer<GetStatisticsRequest.Builder> getStatisticsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the
specified aggregated field. If the aggregation field is of type String, only the count statistic is
returned.
Requires permission to access the GetStatistics action.
This is a convenience which creates an instance of the GetStatisticsRequest.Builder avoiding the need to
create one manually via GetStatisticsRequest.builder()
getStatisticsRequest - A Consumer that will call methods on GetStatisticsRequest.Builder to create a request.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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 rule.
Requires permission to access the GetTopicRule action.
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 rule.
Requires permission to access the GetTopicRule action.
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 GetTopicRuleDestinationResponse getTopicRuleDestination(GetTopicRuleDestinationRequest getTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Gets information about a topic rule destination.
Requires permission to access the GetTopicRuleDestination action.
getTopicRuleDestinationRequest - 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 GetTopicRuleDestinationResponse getTopicRuleDestination(Consumer<GetTopicRuleDestinationRequest.Builder> getTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Gets information about a topic rule destination.
Requires permission to access the GetTopicRuleDestination action.
This is a convenience which creates an instance of the GetTopicRuleDestinationRequest.Builder avoiding
the need to create one manually via GetTopicRuleDestinationRequest.builder()
getTopicRuleDestinationRequest - A Consumer that will call methods on GetTopicRuleDestinationRequest.Builder to create a
request.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 GetV2LoggingOptionsResponse getV2LoggingOptions(GetV2LoggingOptionsRequest getV2LoggingOptionsRequest) throws InternalException, NotConfiguredException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Gets the fine grained logging options.
Requires permission to access the GetV2LoggingOptions action.
getV2LoggingOptionsRequest - InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.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 GetV2LoggingOptionsResponse getV2LoggingOptions(Consumer<GetV2LoggingOptionsRequest.Builder> getV2LoggingOptionsRequest) throws InternalException, NotConfiguredException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Gets the fine grained logging options.
Requires permission to access the GetV2LoggingOptions action.
This is a convenience which creates an instance of the GetV2LoggingOptionsRequest.Builder avoiding the
need to create one manually via GetV2LoggingOptionsRequest.builder()
getV2LoggingOptionsRequest - A Consumer that will call methods on GetV2LoggingOptionsRequest.Builder to create a
request.InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.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 ListActiveViolationsResponse listActiveViolations() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptionlistActiveViolations(ListActiveViolationsRequest)default ListActiveViolationsResponse listActiveViolations(ListActiveViolationsRequest listActiveViolationsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
listActiveViolationsRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListActiveViolationsResponse listActiveViolations(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
This is a convenience which creates an instance of the ListActiveViolationsRequest.Builder avoiding the
need to create one manually via ListActiveViolationsRequest.builder()
listActiveViolationsRequest - A Consumer that will call methods on ListActiveViolationsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListActiveViolationsIterable listActiveViolationsPaginator() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
This is a variant of
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client
.listActiveViolationsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)
operation.
InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptionlistActiveViolationsPaginator(ListActiveViolationsRequest)default ListActiveViolationsIterable listActiveViolationsPaginator(ListActiveViolationsRequest listActiveViolationsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
This is a variant of
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client
.listActiveViolationsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)
operation.
listActiveViolationsRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListActiveViolationsIterable listActiveViolationsPaginator(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
This is a variant of
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client
.listActiveViolationsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)
operation.
This is a convenience which creates an instance of the ListActiveViolationsRequest.Builder avoiding the
need to create one manually via ListActiveViolationsRequest.builder()
listActiveViolationsRequest - A Consumer that will call methods on ListActiveViolationsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListAttachedPoliciesResponse listAttachedPolicies(ListAttachedPoliciesRequest listAttachedPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Lists the policies attached to the specified thing group.
Requires permission to access the ListAttachedPolicies action.
listAttachedPoliciesRequest - 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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ListAttachedPoliciesResponse listAttachedPolicies(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Lists the policies attached to the specified thing group.
Requires permission to access the ListAttachedPolicies action.
This is a convenience which creates an instance of the ListAttachedPoliciesRequest.Builder avoiding the
need to create one manually via ListAttachedPoliciesRequest.builder()
listAttachedPoliciesRequest - A Consumer that will call methods on ListAttachedPoliciesRequest.Builder to create a
request.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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ListAttachedPoliciesIterable listAttachedPoliciesPaginator(ListAttachedPoliciesRequest listAttachedPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Lists the policies attached to the specified thing group.
Requires permission to access the ListAttachedPolicies action.
This is a variant of
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client.listAttachedPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client
.listAttachedPoliciesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAttachedPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client.listAttachedPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)
operation.
listAttachedPoliciesRequest - 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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ListAttachedPoliciesIterable listAttachedPoliciesPaginator(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Lists the policies attached to the specified thing group.
Requires permission to access the ListAttachedPolicies action.
This is a variant of
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client.listAttachedPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client
.listAttachedPoliciesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAttachedPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client.listAttachedPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)
operation.
This is a convenience which creates an instance of the ListAttachedPoliciesRequest.Builder avoiding the
need to create one manually via ListAttachedPoliciesRequest.builder()
listAttachedPoliciesRequest - A Consumer that will call methods on ListAttachedPoliciesRequest.Builder to create a
request.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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ListAuditFindingsResponse listAuditFindings(ListAuditFindingsRequest listAuditFindingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 90 days.)
Requires permission to access the ListAuditFindings action.
listAuditFindingsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditFindingsResponse listAuditFindings(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 90 days.)
Requires permission to access the ListAuditFindings action.
This is a convenience which creates an instance of the ListAuditFindingsRequest.Builder avoiding the need
to create one manually via ListAuditFindingsRequest.builder()
listAuditFindingsRequest - A Consumer that will call methods on ListAuditFindingsRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditFindingsIterable listAuditFindingsPaginator(ListAuditFindingsRequest listAuditFindingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 90 days.)
Requires permission to access the ListAuditFindings action.
This is a variant of
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client.listAuditFindingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client
.listAuditFindingsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditFindingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client.listAuditFindingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest) operation.
listAuditFindingsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditFindingsIterable listAuditFindingsPaginator(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 90 days.)
Requires permission to access the ListAuditFindings action.
This is a variant of
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client.listAuditFindingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client
.listAuditFindingsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditFindingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client.listAuditFindingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest) operation.
This is a convenience which creates an instance of the ListAuditFindingsRequest.Builder avoiding the need
to create one manually via ListAuditFindingsRequest.builder()
listAuditFindingsRequest - A Consumer that will call methods on ListAuditFindingsRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditMitigationActionsExecutionsResponse listAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets the status of audit mitigation action tasks that were executed.
Requires permission to access the ListAuditMitigationActionsExecutions action.
listAuditMitigationActionsExecutionsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditMitigationActionsExecutionsResponse listAuditMitigationActionsExecutions(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets the status of audit mitigation action tasks that were executed.
Requires permission to access the ListAuditMitigationActionsExecutions action.
This is a convenience which creates an instance of the
ListAuditMitigationActionsExecutionsRequest.Builder avoiding the need to create one manually via
ListAuditMitigationActionsExecutionsRequest.builder()
listAuditMitigationActionsExecutionsRequest - A Consumer that will call methods on ListAuditMitigationActionsExecutionsRequest.Builder
to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditMitigationActionsExecutionsIterable listAuditMitigationActionsExecutionsPaginator(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets the status of audit mitigation action tasks that were executed.
Requires permission to access the ListAuditMitigationActionsExecutions action.
This is a variant of
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client.listAuditMitigationActionsExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client
.listAuditMitigationActionsExecutionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client.listAuditMitigationActionsExecutionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)
operation.
listAuditMitigationActionsExecutionsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditMitigationActionsExecutionsIterable listAuditMitigationActionsExecutionsPaginator(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets the status of audit mitigation action tasks that were executed.
Requires permission to access the ListAuditMitigationActionsExecutions action.
This is a variant of
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client.listAuditMitigationActionsExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client
.listAuditMitigationActionsExecutionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client.listAuditMitigationActionsExecutionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListAuditMitigationActionsExecutionsRequest.Builder avoiding the need to create one manually via
ListAuditMitigationActionsExecutionsRequest.builder()
listAuditMitigationActionsExecutionsRequest - A Consumer that will call methods on ListAuditMitigationActionsExecutionsRequest.Builder
to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditMitigationActionsTasksResponse listAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of audit mitigation action tasks that match the specified filters.
Requires permission to access the ListAuditMitigationActionsTasks action.
listAuditMitigationActionsTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditMitigationActionsTasksResponse listAuditMitigationActionsTasks(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of audit mitigation action tasks that match the specified filters.
Requires permission to access the ListAuditMitigationActionsTasks action.
This is a convenience which creates an instance of the ListAuditMitigationActionsTasksRequest.Builder
avoiding the need to create one manually via ListAuditMitigationActionsTasksRequest.builder()
listAuditMitigationActionsTasksRequest - A Consumer that will call methods on ListAuditMitigationActionsTasksRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditMitigationActionsTasksIterable listAuditMitigationActionsTasksPaginator(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of audit mitigation action tasks that match the specified filters.
Requires permission to access the ListAuditMitigationActionsTasks action.
This is a variant of
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client.listAuditMitigationActionsTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client
.listAuditMitigationActionsTasksPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client.listAuditMitigationActionsTasksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)
operation.
listAuditMitigationActionsTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditMitigationActionsTasksIterable listAuditMitigationActionsTasksPaginator(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of audit mitigation action tasks that match the specified filters.
Requires permission to access the ListAuditMitigationActionsTasks action.
This is a variant of
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client.listAuditMitigationActionsTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client
.listAuditMitigationActionsTasksPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client.listAuditMitigationActionsTasksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)
operation.
This is a convenience which creates an instance of the ListAuditMitigationActionsTasksRequest.Builder
avoiding the need to create one manually via ListAuditMitigationActionsTasksRequest.builder()
listAuditMitigationActionsTasksRequest - A Consumer that will call methods on ListAuditMitigationActionsTasksRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditSuppressionsResponse listAuditSuppressions(ListAuditSuppressionsRequest listAuditSuppressionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your Device Defender audit listings.
Requires permission to access the ListAuditSuppressions action.
listAuditSuppressionsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditSuppressionsResponse listAuditSuppressions(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your Device Defender audit listings.
Requires permission to access the ListAuditSuppressions action.
This is a convenience which creates an instance of the ListAuditSuppressionsRequest.Builder avoiding the
need to create one manually via ListAuditSuppressionsRequest.builder()
listAuditSuppressionsRequest - A Consumer that will call methods on ListAuditSuppressionsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditSuppressionsIterable listAuditSuppressionsPaginator(ListAuditSuppressionsRequest listAuditSuppressionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your Device Defender audit listings.
Requires permission to access the ListAuditSuppressions action.
This is a variant of
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client.listAuditSuppressionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client
.listAuditSuppressionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditSuppressionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client.listAuditSuppressionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)
operation.
listAuditSuppressionsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditSuppressionsIterable listAuditSuppressionsPaginator(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your Device Defender audit listings.
Requires permission to access the ListAuditSuppressions action.
This is a variant of
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client.listAuditSuppressionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client
.listAuditSuppressionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditSuppressionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client.listAuditSuppressionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)
operation.
This is a convenience which creates an instance of the ListAuditSuppressionsRequest.Builder avoiding the
need to create one manually via ListAuditSuppressionsRequest.builder()
listAuditSuppressionsRequest - A Consumer that will call methods on ListAuditSuppressionsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditTasksResponse listAuditTasks(ListAuditTasksRequest listAuditTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender audits that have been performed during a given time period.
Requires permission to access the ListAuditTasks action.
listAuditTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditTasksResponse listAuditTasks(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender audits that have been performed during a given time period.
Requires permission to access the ListAuditTasks action.
This is a convenience which creates an instance of the ListAuditTasksRequest.Builder avoiding the need to
create one manually via ListAuditTasksRequest.builder()
listAuditTasksRequest - A Consumer that will call methods on ListAuditTasksRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditTasksIterable listAuditTasksPaginator(ListAuditTasksRequest listAuditTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender audits that have been performed during a given time period.
Requires permission to access the ListAuditTasks action.
This is a variant of listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest) operation.
listAuditTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuditTasksIterable listAuditTasksPaginator(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender audits that have been performed during a given time period.
Requires permission to access the ListAuditTasks action.
This is a variant of listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuditTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest) operation.
This is a convenience which creates an instance of the ListAuditTasksRequest.Builder avoiding the need to
create one manually via ListAuditTasksRequest.builder()
listAuditTasksRequest - A Consumer that will call methods on ListAuditTasksRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListAuthorizersResponse listAuthorizers() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
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.AwsServiceExceptionlistAuthorizers(ListAuthorizersRequest)default ListAuthorizersResponse listAuthorizers(ListAuthorizersRequest listAuthorizersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
listAuthorizersRequest - 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 ListAuthorizersResponse listAuthorizers(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
This is a convenience which creates an instance of the ListAuthorizersRequest.Builder avoiding the need
to create one manually via ListAuthorizersRequest.builder()
listAuthorizersRequest - A Consumer that will call methods on ListAuthorizersRequest.Builder to create a request.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 ListAuthorizersIterable listAuthorizersPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
This is a variant of listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuthorizersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest) 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.AwsServiceExceptionlistAuthorizersPaginator(ListAuthorizersRequest)default ListAuthorizersIterable listAuthorizersPaginator(ListAuthorizersRequest listAuthorizersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
This is a variant of listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuthorizersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest) operation.
listAuthorizersRequest - 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 ListAuthorizersIterable listAuthorizersPaginator(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
This is a variant of listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListAuthorizersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest) operation.
This is a convenience which creates an instance of the ListAuthorizersRequest.Builder avoiding the need
to create one manually via ListAuthorizersRequest.builder()
listAuthorizersRequest - A Consumer that will call methods on ListAuthorizersRequest.Builder to create a request.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 ListBillingGroupsResponse listBillingGroups() throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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.AwsServiceExceptionlistBillingGroups(ListBillingGroupsRequest)default ListBillingGroupsResponse listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
listBillingGroupsRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListBillingGroupsResponse listBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
This is a convenience which creates an instance of the ListBillingGroupsRequest.Builder avoiding the need
to create one manually via ListBillingGroupsRequest.builder()
listBillingGroupsRequest - A Consumer that will call methods on ListBillingGroupsRequest.Builder to create a request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListBillingGroupsIterable listBillingGroupsPaginator() throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
This is a variant of
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client
.listBillingGroupsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation.
InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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.AwsServiceExceptionlistBillingGroupsPaginator(ListBillingGroupsRequest)default ListBillingGroupsIterable listBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
This is a variant of
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client
.listBillingGroupsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation.
listBillingGroupsRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListBillingGroupsIterable listBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
This is a variant of
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client
.listBillingGroupsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation.
This is a convenience which creates an instance of the ListBillingGroupsRequest.Builder avoiding the need
to create one manually via ListBillingGroupsRequest.builder()
listBillingGroupsRequest - A Consumer that will call methods on ListBillingGroupsRequest.Builder to create a request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListCaCertificatesResponse listCACertificates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the CA certificates registered for your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCACertificates action.
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 Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCACertificates action.
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 Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCACertificates action.
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 ListCACertificatesIterable listCACertificatesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the CA certificates registered for your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCACertificates action.
This is a variant of
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client
.listCACertificatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) 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.AwsServiceExceptionlistCACertificatesPaginator(ListCaCertificatesRequest)default ListCACertificatesIterable listCACertificatesPaginator(ListCaCertificatesRequest listCaCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the CA certificates registered for your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCACertificates action.
This is a variant of
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client
.listCACertificatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation.
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 ListCACertificatesIterable listCACertificatesPaginator(Consumer<ListCaCertificatesRequest.Builder> listCaCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the CA certificates registered for your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCACertificates action.
This is a variant of
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client
.listCACertificatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation.
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 Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
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 Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
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 Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
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 ListCertificatesIterable listCertificatesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the certificates registered in your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
This is a variant of listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest) 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.AwsServiceExceptionlistCertificatesPaginator(ListCertificatesRequest)default ListCertificatesIterable listCertificatesPaginator(ListCertificatesRequest listCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the certificates registered in your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
This is a variant of listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest) operation.
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 ListCertificatesIterable listCertificatesPaginator(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the certificates registered in your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
This is a variant of listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest) operation.
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.
Requires permission to access the ListCertificatesByCA action.
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.
Requires permission to access the ListCertificatesByCA action.
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 ListCertificatesByCAIterable listCertificatesByCAPaginator(ListCertificatesByCaRequest listCertificatesByCaRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List the device certificates signed by the specified CA certificate.
Requires permission to access the ListCertificatesByCA action.
This is a variant of
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client.listCertificatesByCAPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client
.listCertificatesByCAPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCertificatesByCaResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client.listCertificatesByCAPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)
operation.
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 ListCertificatesByCAIterable listCertificatesByCAPaginator(Consumer<ListCertificatesByCaRequest.Builder> listCertificatesByCaRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List the device certificates signed by the specified CA certificate.
Requires permission to access the ListCertificatesByCA action.
This is a variant of
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client.listCertificatesByCAPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client
.listCertificatesByCAPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCertificatesByCaResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client.listCertificatesByCAPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)
operation.
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 ListCustomMetricsResponse listCustomMetrics(ListCustomMetricsRequest listCustomMetricsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your Device Defender detect custom metrics.
Requires permission to access the ListCustomMetrics action.
listCustomMetricsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListCustomMetricsResponse listCustomMetrics(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your Device Defender detect custom metrics.
Requires permission to access the ListCustomMetrics action.
This is a convenience which creates an instance of the ListCustomMetricsRequest.Builder avoiding the need
to create one manually via ListCustomMetricsRequest.builder()
listCustomMetricsRequest - A Consumer that will call methods on ListCustomMetricsRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListCustomMetricsIterable listCustomMetricsPaginator(ListCustomMetricsRequest listCustomMetricsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your Device Defender detect custom metrics.
Requires permission to access the ListCustomMetrics action.
This is a variant of
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client.listCustomMetricsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client
.listCustomMetricsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCustomMetricsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client.listCustomMetricsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest) operation.
listCustomMetricsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListCustomMetricsIterable listCustomMetricsPaginator(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your Device Defender detect custom metrics.
Requires permission to access the ListCustomMetrics action.
This is a variant of
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client.listCustomMetricsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client
.listCustomMetricsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListCustomMetricsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client.listCustomMetricsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest) operation.
This is a convenience which creates an instance of the ListCustomMetricsRequest.Builder avoiding the need
to create one manually via ListCustomMetricsRequest.builder()
listCustomMetricsRequest - A Consumer that will call methods on ListCustomMetricsRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListDetectMitigationActionsExecutionsResponse listDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
Requires permission to access the ListDetectMitigationActionsExecutions action.
listDetectMitigationActionsExecutionsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListDetectMitigationActionsExecutionsResponse listDetectMitigationActionsExecutions(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
Requires permission to access the ListDetectMitigationActionsExecutions action.
This is a convenience which creates an instance of the
ListDetectMitigationActionsExecutionsRequest.Builder avoiding the need to create one manually via
ListDetectMitigationActionsExecutionsRequest.builder()
listDetectMitigationActionsExecutionsRequest - A Consumer that will call methods on ListDetectMitigationActionsExecutionsRequest.Builder
to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListDetectMitigationActionsExecutionsIterable listDetectMitigationActionsExecutionsPaginator(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
Requires permission to access the ListDetectMitigationActionsExecutions action.
This is a variant of
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client.listDetectMitigationActionsExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client
.listDetectMitigationActionsExecutionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client.listDetectMitigationActionsExecutionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)
operation.
listDetectMitigationActionsExecutionsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListDetectMitigationActionsExecutionsIterable listDetectMitigationActionsExecutionsPaginator(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
Requires permission to access the ListDetectMitigationActionsExecutions action.
This is a variant of
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client.listDetectMitigationActionsExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client
.listDetectMitigationActionsExecutionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client.listDetectMitigationActionsExecutionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListDetectMitigationActionsExecutionsRequest.Builder avoiding the need to create one manually via
ListDetectMitigationActionsExecutionsRequest.builder()
listDetectMitigationActionsExecutionsRequest - A Consumer that will call methods on ListDetectMitigationActionsExecutionsRequest.Builder
to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListDetectMitigationActionsTasksResponse listDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List of Device Defender ML Detect mitigation actions tasks.
Requires permission to access the ListDetectMitigationActionsTasks action.
listDetectMitigationActionsTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListDetectMitigationActionsTasksResponse listDetectMitigationActionsTasks(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List of Device Defender ML Detect mitigation actions tasks.
Requires permission to access the ListDetectMitigationActionsTasks action.
This is a convenience which creates an instance of the ListDetectMitigationActionsTasksRequest.Builder
avoiding the need to create one manually via ListDetectMitigationActionsTasksRequest.builder()
listDetectMitigationActionsTasksRequest - A Consumer that will call methods on ListDetectMitigationActionsTasksRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListDetectMitigationActionsTasksIterable listDetectMitigationActionsTasksPaginator(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List of Device Defender ML Detect mitigation actions tasks.
Requires permission to access the ListDetectMitigationActionsTasks action.
This is a variant of
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client.listDetectMitigationActionsTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client
.listDetectMitigationActionsTasksPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client.listDetectMitigationActionsTasksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)
operation.
listDetectMitigationActionsTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListDetectMitigationActionsTasksIterable listDetectMitigationActionsTasksPaginator(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List of Device Defender ML Detect mitigation actions tasks.
Requires permission to access the ListDetectMitigationActionsTasks action.
This is a variant of
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client.listDetectMitigationActionsTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client
.listDetectMitigationActionsTasksPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client.listDetectMitigationActionsTasksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)
operation.
This is a convenience which creates an instance of the ListDetectMitigationActionsTasksRequest.Builder
avoiding the need to create one manually via ListDetectMitigationActionsTasksRequest.builder()
listDetectMitigationActionsTasksRequest - A Consumer that will call methods on ListDetectMitigationActionsTasksRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListDimensionsResponse listDimensions(ListDimensionsRequest listDimensionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the set of dimensions that are defined for your Amazon Web Services accounts.
Requires permission to access the ListDimensions action.
listDimensionsRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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 ListDimensionsResponse listDimensions(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the set of dimensions that are defined for your Amazon Web Services accounts.
Requires permission to access the ListDimensions action.
This is a convenience which creates an instance of the ListDimensionsRequest.Builder avoiding the need to
create one manually via ListDimensionsRequest.builder()
listDimensionsRequest - A Consumer that will call methods on ListDimensionsRequest.Builder to create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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 ListDimensionsIterable listDimensionsPaginator(ListDimensionsRequest listDimensionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the set of dimensions that are defined for your Amazon Web Services accounts.
Requires permission to access the ListDimensions action.
This is a variant of listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListDimensionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest) operation.
listDimensionsRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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 ListDimensionsIterable listDimensionsPaginator(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the set of dimensions that are defined for your Amazon Web Services accounts.
Requires permission to access the ListDimensions action.
This is a variant of listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListDimensionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest) operation.
This is a convenience which creates an instance of the ListDimensionsRequest.Builder avoiding the need to
create one manually via ListDimensionsRequest.builder()
listDimensionsRequest - A Consumer that will call methods on ListDimensionsRequest.Builder to create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.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 ListDomainConfigurationsResponse listDomainConfigurations(ListDomainConfigurationsRequest listDomainConfigurationsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
Requires permission to access the ListDomainConfigurations action.
listDomainConfigurationsRequest - 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 ListDomainConfigurationsResponse listDomainConfigurations(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
Requires permission to access the ListDomainConfigurations action.
This is a convenience which creates an instance of the ListDomainConfigurationsRequest.Builder avoiding
the need to create one manually via ListDomainConfigurationsRequest.builder()
listDomainConfigurationsRequest - A Consumer that will call methods on ListDomainConfigurationsRequest.Builder to create a
request.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 ListDomainConfigurationsIterable listDomainConfigurationsPaginator(ListDomainConfigurationsRequest listDomainConfigurationsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
Requires permission to access the ListDomainConfigurations action.
This is a variant of
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client.listDomainConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client
.listDomainConfigurationsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListDomainConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client.listDomainConfigurationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)
operation.
listDomainConfigurationsRequest - 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 ListDomainConfigurationsIterable listDomainConfigurationsPaginator(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
Requires permission to access the ListDomainConfigurations action.
This is a variant of
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client.listDomainConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client
.listDomainConfigurationsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListDomainConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client.listDomainConfigurationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)
operation.
This is a convenience which creates an instance of the ListDomainConfigurationsRequest.Builder avoiding
the need to create one manually via ListDomainConfigurationsRequest.builder()
listDomainConfigurationsRequest - A Consumer that will call methods on ListDomainConfigurationsRequest.Builder to create a
request.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 ListFleetMetricsResponse listFleetMetrics(ListFleetMetricsRequest listFleetMetricsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all your fleet metrics.
Requires permission to access the ListFleetMetrics action.
listFleetMetricsRequest - 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 ListFleetMetricsResponse listFleetMetrics(Consumer<ListFleetMetricsRequest.Builder> listFleetMetricsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all your fleet metrics.
Requires permission to access the ListFleetMetrics action.
This is a convenience which creates an instance of the ListFleetMetricsRequest.Builder avoiding the need
to create one manually via ListFleetMetricsRequest.builder()
listFleetMetricsRequest - A Consumer that will call methods on ListFleetMetricsRequest.Builder to create a request.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 ListFleetMetricsIterable listFleetMetricsPaginator(ListFleetMetricsRequest listFleetMetricsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all your fleet metrics.
Requires permission to access the ListFleetMetrics action.
This is a variant of listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListFleetMetricsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest) operation.
listFleetMetricsRequest - 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 ListFleetMetricsIterable listFleetMetricsPaginator(Consumer<ListFleetMetricsRequest.Builder> listFleetMetricsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all your fleet metrics.
Requires permission to access the ListFleetMetrics action.
This is a variant of listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListFleetMetricsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest) operation.
This is a convenience which creates an instance of the ListFleetMetricsRequest.Builder avoiding the need
to create one manually via ListFleetMetricsRequest.builder()
listFleetMetricsRequest - A Consumer that will call methods on ListFleetMetricsRequest.Builder to create a request.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 ListIndicesResponse listIndices() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the search indices.
Requires permission to access the ListIndices action.
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.AwsServiceExceptionlistIndices(ListIndicesRequest)default ListIndicesResponse listIndices(ListIndicesRequest listIndicesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the search indices.
Requires permission to access the ListIndices action.
listIndicesRequest - 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 ListIndicesResponse listIndices(Consumer<ListIndicesRequest.Builder> listIndicesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the search indices.
Requires permission to access the ListIndices action.
This is a convenience which creates an instance of the ListIndicesRequest.Builder avoiding the need to
create one manually via ListIndicesRequest.builder()
listIndicesRequest - A Consumer that will call methods on ListIndicesRequest.Builder to create a request.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 ListIndicesIterable listIndicesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the search indices.
Requires permission to access the ListIndices action.
This is a variant of listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListIndicesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest) 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.AwsServiceExceptionlistIndicesPaginator(ListIndicesRequest)default ListIndicesIterable listIndicesPaginator(ListIndicesRequest listIndicesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the search indices.
Requires permission to access the ListIndices action.
This is a variant of listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListIndicesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest) operation.
listIndicesRequest - 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 ListIndicesIterable listIndicesPaginator(Consumer<ListIndicesRequest.Builder> listIndicesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the search indices.
Requires permission to access the ListIndices action.
This is a variant of listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListIndicesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest) operation.
This is a convenience which creates an instance of the ListIndicesRequest.Builder avoiding the need to
create one manually via ListIndicesRequest.builder()
listIndicesRequest - A Consumer that will call methods on ListIndicesRequest.Builder to create a request.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 ListJobExecutionsForJobResponse listJobExecutionsForJob(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the job executions for a job.
Requires permission to access the ListJobExecutionsForJob action.
listJobExecutionsForJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobExecutionsForJobResponse listJobExecutionsForJob(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the job executions for a job.
Requires permission to access the ListJobExecutionsForJob action.
This is a convenience which creates an instance of the ListJobExecutionsForJobRequest.Builder avoiding
the need to create one manually via ListJobExecutionsForJobRequest.builder()
listJobExecutionsForJobRequest - A Consumer that will call methods on ListJobExecutionsForJobRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobExecutionsForJobIterable listJobExecutionsForJobPaginator(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the job executions for a job.
Requires permission to access the ListJobExecutionsForJob action.
This is a variant of
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client.listJobExecutionsForJobPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client
.listJobExecutionsForJobPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client.listJobExecutionsForJobPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)
operation.
listJobExecutionsForJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobExecutionsForJobIterable listJobExecutionsForJobPaginator(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the job executions for a job.
Requires permission to access the ListJobExecutionsForJob action.
This is a variant of
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client.listJobExecutionsForJobPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client
.listJobExecutionsForJobPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client.listJobExecutionsForJobPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)
operation.
This is a convenience which creates an instance of the ListJobExecutionsForJobRequest.Builder avoiding
the need to create one manually via ListJobExecutionsForJobRequest.builder()
listJobExecutionsForJobRequest - A Consumer that will call methods on ListJobExecutionsForJobRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobExecutionsForThingResponse listJobExecutionsForThing(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
listJobExecutionsForThingRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobExecutionsForThingResponse listJobExecutionsForThing(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
This is a convenience which creates an instance of the ListJobExecutionsForThingRequest.Builder avoiding
the need to create one manually via ListJobExecutionsForThingRequest.builder()
listJobExecutionsForThingRequest - A Consumer that will call methods on ListJobExecutionsForThingRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobExecutionsForThingIterable listJobExecutionsForThingPaginator(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
This is a variant of
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client.listJobExecutionsForThingPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client
.listJobExecutionsForThingPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client.listJobExecutionsForThingPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)
operation.
listJobExecutionsForThingRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobExecutionsForThingIterable listJobExecutionsForThingPaginator(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
This is a variant of
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client.listJobExecutionsForThingPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client
.listJobExecutionsForThingPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client.listJobExecutionsForThingPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)
operation.
This is a convenience which creates an instance of the ListJobExecutionsForThingRequest.Builder avoiding
the need to create one manually via ListJobExecutionsForThingRequest.builder()
listJobExecutionsForThingRequest - A Consumer that will call methods on ListJobExecutionsForThingRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobTemplatesResponse listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Returns a list of job templates.
Requires permission to access the ListJobTemplates action.
listJobTemplatesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListJobTemplatesResponse listJobTemplates(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Returns a list of job templates.
Requires permission to access the ListJobTemplates action.
This is a convenience which creates an instance of the ListJobTemplatesRequest.Builder avoiding the need
to create one manually via ListJobTemplatesRequest.builder()
listJobTemplatesRequest - A Consumer that will call methods on ListJobTemplatesRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListJobTemplatesIterable listJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Returns a list of job templates.
Requires permission to access the ListJobTemplates action.
This is a variant of listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListJobTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest) operation.
listJobTemplatesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListJobTemplatesIterable listJobTemplatesPaginator(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Returns a list of job templates.
Requires permission to access the ListJobTemplates action.
This is a variant of listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListJobTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest) operation.
This is a convenience which creates an instance of the ListJobTemplatesRequest.Builder avoiding the need
to create one manually via ListJobTemplatesRequest.builder()
listJobTemplatesRequest - A Consumer that will call methods on ListJobTemplatesRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListJobsResponse listJobs() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists jobs.
Requires permission to access the ListJobs action.
InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptionlistJobs(ListJobsRequest)default ListJobsResponse listJobs(ListJobsRequest listJobsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists jobs.
Requires permission to access the ListJobs action.
listJobsRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobsResponse listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists jobs.
Requires permission to access the ListJobs action.
This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to
create one manually via ListJobsRequest.builder()
listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobsIterable listJobsPaginator() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists jobs.
Requires permission to access the ListJobs action.
This is a variant of listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation.
InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptionlistJobsPaginator(ListJobsRequest)default ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists jobs.
Requires permission to access the ListJobs action.
This is a variant of listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation.
listJobsRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListJobsIterable listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists jobs.
Requires permission to access the ListJobs action.
This is a variant of listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation.
This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to
create one manually via ListJobsRequest.builder()
listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListManagedJobTemplatesResponse listManagedJobTemplates(ListManagedJobTemplatesRequest listManagedJobTemplatesRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException
Returns a list of managed job templates.
listManagedJobTemplatesRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalServerException - Internal error from the service that indicates an unexpected error or that the service is 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 ListManagedJobTemplatesResponse listManagedJobTemplates(Consumer<ListManagedJobTemplatesRequest.Builder> listManagedJobTemplatesRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException
Returns a list of managed job templates.
This is a convenience which creates an instance of the ListManagedJobTemplatesRequest.Builder avoiding
the need to create one manually via ListManagedJobTemplatesRequest.builder()
listManagedJobTemplatesRequest - A Consumer that will call methods on ListManagedJobTemplatesRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.InternalServerException - Internal error from the service that indicates an unexpected error or that the service is 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 ListMitigationActionsResponse listMitigationActions(ListMitigationActionsRequest listMitigationActionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of all mitigation actions that match the specified filter criteria.
Requires permission to access the ListMitigationActions action.
listMitigationActionsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListMitigationActionsResponse listMitigationActions(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of all mitigation actions that match the specified filter criteria.
Requires permission to access the ListMitigationActions action.
This is a convenience which creates an instance of the ListMitigationActionsRequest.Builder avoiding the
need to create one manually via ListMitigationActionsRequest.builder()
listMitigationActionsRequest - A Consumer that will call methods on ListMitigationActionsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListMitigationActionsIterable listMitigationActionsPaginator(ListMitigationActionsRequest listMitigationActionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of all mitigation actions that match the specified filter criteria.
Requires permission to access the ListMitigationActions action.
This is a variant of
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client.listMitigationActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client
.listMitigationActionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListMitigationActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client.listMitigationActionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)
operation.
listMitigationActionsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListMitigationActionsIterable listMitigationActionsPaginator(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Gets a list of all mitigation actions that match the specified filter criteria.
Requires permission to access the ListMitigationActions action.
This is a variant of
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client.listMitigationActionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client
.listMitigationActionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListMitigationActionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client.listMitigationActionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)
operation.
This is a convenience which creates an instance of the ListMitigationActionsRequest.Builder avoiding the
need to create one manually via ListMitigationActionsRequest.builder()
listMitigationActionsRequest - A Consumer that will call methods on ListMitigationActionsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListOtaUpdatesResponse listOTAUpdates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists OTA updates.
Requires permission to access the ListOTAUpdates action.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.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.AwsServiceExceptionlistOTAUpdates(ListOtaUpdatesRequest)default ListOtaUpdatesResponse listOTAUpdates(ListOtaUpdatesRequest listOtaUpdatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists OTA updates.
Requires permission to access the ListOTAUpdates action.
listOtaUpdatesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.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 ListOtaUpdatesResponse listOTAUpdates(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists OTA updates.
Requires permission to access the ListOTAUpdates action.
This is a convenience which creates an instance of the ListOtaUpdatesRequest.Builder avoiding the need to
create one manually via ListOtaUpdatesRequest.builder()
listOtaUpdatesRequest - A Consumer that will call methods on ListOTAUpdatesRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.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 ListOTAUpdatesIterable listOTAUpdatesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists OTA updates.
Requires permission to access the ListOTAUpdates action.
This is a variant of listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest) operation.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.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.AwsServiceExceptionlistOTAUpdatesPaginator(ListOtaUpdatesRequest)default ListOTAUpdatesIterable listOTAUpdatesPaginator(ListOtaUpdatesRequest listOtaUpdatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists OTA updates.
Requires permission to access the ListOTAUpdates action.
This is a variant of listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest) operation.
listOtaUpdatesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.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 ListOTAUpdatesIterable listOTAUpdatesPaginator(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists OTA updates.
Requires permission to access the ListOTAUpdates action.
This is a variant of listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest) operation.
This is a convenience which creates an instance of the ListOtaUpdatesRequest.Builder avoiding the need to
create one manually via ListOtaUpdatesRequest.builder()
listOtaUpdatesRequest - A Consumer that will call methods on ListOTAUpdatesRequest.Builder to create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.InternalFailureException - An unexpected error has occurred.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 ListOutgoingCertificatesResponse listOutgoingCertificates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists certificates that are being transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
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 transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
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 transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
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 ListOutgoingCertificatesIterable listOutgoingCertificatesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists certificates that are being transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
This is a variant of
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client
.listOutgoingCertificatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
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.AwsServiceExceptionlistOutgoingCertificatesPaginator(ListOutgoingCertificatesRequest)default ListOutgoingCertificatesIterable listOutgoingCertificatesPaginator(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists certificates that are being transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
This is a variant of
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client
.listOutgoingCertificatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation.
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 ListOutgoingCertificatesIterable listOutgoingCertificatesPaginator(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists certificates that are being transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
This is a variant of
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client
.listOutgoingCertificatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation.
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.
Requires permission to access the ListPolicies action.
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.
Requires permission to access the ListPolicies action.
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.
Requires permission to access the ListPolicies action.
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 ListPoliciesIterable listPoliciesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your policies.
Requires permission to access the ListPolicies action.
This is a variant of listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest) 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.AwsServiceExceptionlistPoliciesPaginator(ListPoliciesRequest)default ListPoliciesIterable listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your policies.
Requires permission to access the ListPolicies action.
This is a variant of listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest) operation.
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 ListPoliciesIterable listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists your policies.
Requires permission to access the ListPolicies action.
This is a variant of listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest) operation.
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 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.
Requires permission to access the ListPolicyVersions action.
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.
Requires permission to access the ListPolicyVersions action.
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 ListPrincipalThingsResponse listPrincipalThings(ListPrincipalThingsRequest listPrincipalThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListPrincipalThings action.
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. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListPrincipalThings action.
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 ListPrincipalThingsIterable listPrincipalThingsPaginator(ListPrincipalThingsRequest listPrincipalThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListPrincipalThings action.
This is a variant of
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client.listPrincipalThingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client
.listPrincipalThingsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListPrincipalThingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client.listPrincipalThingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest) operation.
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 ListPrincipalThingsIterable listPrincipalThingsPaginator(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListPrincipalThings action.
This is a variant of
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client.listPrincipalThingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client
.listPrincipalThingsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListPrincipalThingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client.listPrincipalThingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest) operation.
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 ListProvisioningTemplateVersionsResponse listProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
A list of fleet provisioning template versions.
Requires permission to access the ListProvisioningTemplateVersions action.
listProvisioningTemplateVersionsRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.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 ListProvisioningTemplateVersionsResponse listProvisioningTemplateVersions(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
A list of fleet provisioning template versions.
Requires permission to access the ListProvisioningTemplateVersions action.
This is a convenience which creates an instance of the ListProvisioningTemplateVersionsRequest.Builder
avoiding the need to create one manually via ListProvisioningTemplateVersionsRequest.builder()
listProvisioningTemplateVersionsRequest - A Consumer that will call methods on ListProvisioningTemplateVersionsRequest.Builder to
create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.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 ListProvisioningTemplateVersionsIterable listProvisioningTemplateVersionsPaginator(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
A list of fleet provisioning template versions.
Requires permission to access the ListProvisioningTemplateVersions action.
This is a variant of
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client.listProvisioningTemplateVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client
.listProvisioningTemplateVersionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client.listProvisioningTemplateVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)
operation.
listProvisioningTemplateVersionsRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.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 ListProvisioningTemplateVersionsIterable listProvisioningTemplateVersionsPaginator(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
A list of fleet provisioning template versions.
Requires permission to access the ListProvisioningTemplateVersions action.
This is a variant of
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client.listProvisioningTemplateVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client
.listProvisioningTemplateVersionsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client.listProvisioningTemplateVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)
operation.
This is a convenience which creates an instance of the ListProvisioningTemplateVersionsRequest.Builder
avoiding the need to create one manually via ListProvisioningTemplateVersionsRequest.builder()
listProvisioningTemplateVersionsRequest - A Consumer that will call methods on ListProvisioningTemplateVersionsRequest.Builder to
create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.ResourceNotFoundException - The specified resource does not exist.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 ListProvisioningTemplatesResponse listProvisioningTemplates(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Lists the fleet provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
listProvisioningTemplatesRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListProvisioningTemplatesResponse listProvisioningTemplates(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Lists the fleet provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
This is a convenience which creates an instance of the ListProvisioningTemplatesRequest.Builder avoiding
the need to create one manually via ListProvisioningTemplatesRequest.builder()
listProvisioningTemplatesRequest - A Consumer that will call methods on ListProvisioningTemplatesRequest.Builder to create a
request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListProvisioningTemplatesIterable listProvisioningTemplatesPaginator(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Lists the fleet provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
This is a variant of
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client.listProvisioningTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client
.listProvisioningTemplatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client.listProvisioningTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)
operation.
listProvisioningTemplatesRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListProvisioningTemplatesIterable listProvisioningTemplatesPaginator(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Lists the fleet provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
This is a variant of
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client.listProvisioningTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client
.listProvisioningTemplatesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client.listProvisioningTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)
operation.
This is a convenience which creates an instance of the ListProvisioningTemplatesRequest.Builder avoiding
the need to create one manually via ListProvisioningTemplatesRequest.builder()
listProvisioningTemplatesRequest - A Consumer that will call methods on ListProvisioningTemplatesRequest.Builder to create a
request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListRoleAliasesResponse listRoleAliases() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
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.AwsServiceExceptionlistRoleAliases(ListRoleAliasesRequest)default ListRoleAliasesResponse listRoleAliases(ListRoleAliasesRequest listRoleAliasesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
listRoleAliasesRequest - 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 ListRoleAliasesResponse listRoleAliases(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
This is a convenience which creates an instance of the ListRoleAliasesRequest.Builder avoiding the need
to create one manually via ListRoleAliasesRequest.builder()
listRoleAliasesRequest - A Consumer that will call methods on ListRoleAliasesRequest.Builder to create a request.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 ListRoleAliasesIterable listRoleAliasesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
This is a variant of listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest) 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.AwsServiceExceptionlistRoleAliasesPaginator(ListRoleAliasesRequest)default ListRoleAliasesIterable listRoleAliasesPaginator(ListRoleAliasesRequest listRoleAliasesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
This is a variant of listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest) operation.
listRoleAliasesRequest - 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 ListRoleAliasesIterable listRoleAliasesPaginator(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
This is a variant of listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest) operation.
This is a convenience which creates an instance of the ListRoleAliasesRequest.Builder avoiding the need
to create one manually via ListRoleAliasesRequest.builder()
listRoleAliasesRequest - A Consumer that will call methods on ListRoleAliasesRequest.Builder to create a request.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 ListScheduledAuditsResponse listScheduledAudits() throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptionlistScheduledAudits(ListScheduledAuditsRequest)default ListScheduledAuditsResponse listScheduledAudits(ListScheduledAuditsRequest listScheduledAuditsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
listScheduledAuditsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListScheduledAuditsResponse listScheduledAudits(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
This is a convenience which creates an instance of the ListScheduledAuditsRequest.Builder avoiding the
need to create one manually via ListScheduledAuditsRequest.builder()
listScheduledAuditsRequest - A Consumer that will call methods on ListScheduledAuditsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListScheduledAuditsIterable listScheduledAuditsPaginator() throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
This is a variant of
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client
.listScheduledAuditsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptionlistScheduledAuditsPaginator(ListScheduledAuditsRequest)default ListScheduledAuditsIterable listScheduledAuditsPaginator(ListScheduledAuditsRequest listScheduledAuditsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
This is a variant of
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client
.listScheduledAuditsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation.
listScheduledAuditsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListScheduledAuditsIterable listScheduledAuditsPaginator(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
This is a variant of
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client
.listScheduledAuditsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation.
This is a convenience which creates an instance of the ListScheduledAuditsRequest.Builder avoiding the
need to create one manually via ListScheduledAuditsRequest.builder()
listScheduledAuditsRequest - A Consumer that will call methods on ListScheduledAuditsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListSecurityProfilesResponse listSecurityProfiles() throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionName and metricName cannot be used in the same request.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptionlistSecurityProfiles(ListSecurityProfilesRequest)default ListSecurityProfilesResponse listSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionName and metricName cannot be used in the same request.
listSecurityProfilesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListSecurityProfilesResponse listSecurityProfiles(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionName and metricName cannot be used in the same request.
This is a convenience which creates an instance of the ListSecurityProfilesRequest.Builder avoiding the
need to create one manually via ListSecurityProfilesRequest.builder()
listSecurityProfilesRequest - A Consumer that will call methods on ListSecurityProfilesRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListSecurityProfilesIterable listSecurityProfilesPaginator() throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionName and metricName cannot be used in the same request.
This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client
.listSecurityProfilesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)
operation.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptionlistSecurityProfilesPaginator(ListSecurityProfilesRequest)default ListSecurityProfilesIterable listSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionName and metricName cannot be used in the same request.
This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client
.listSecurityProfilesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)
operation.
listSecurityProfilesRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListSecurityProfilesIterable listSecurityProfilesPaginator(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionName and metricName cannot be used in the same request.
This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client
.listSecurityProfilesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)
operation.
This is a convenience which creates an instance of the ListSecurityProfilesRequest.Builder avoiding the
need to create one manually via ListSecurityProfilesRequest.builder()
listSecurityProfilesRequest - A Consumer that will call methods on ListSecurityProfilesRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListSecurityProfilesForTargetResponse listSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
listSecurityProfilesForTargetRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListSecurityProfilesForTargetResponse listSecurityProfilesForTarget(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
This is a convenience which creates an instance of the ListSecurityProfilesForTargetRequest.Builder
avoiding the need to create one manually via ListSecurityProfilesForTargetRequest.builder()
listSecurityProfilesForTargetRequest - A Consumer that will call methods on ListSecurityProfilesForTargetRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListSecurityProfilesForTargetIterable listSecurityProfilesForTargetPaginator(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
This is a variant of
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client.listSecurityProfilesForTargetPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client
.listSecurityProfilesForTargetPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client.listSecurityProfilesForTargetPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)
operation.
listSecurityProfilesForTargetRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListSecurityProfilesForTargetIterable listSecurityProfilesForTargetPaginator(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
This is a variant of
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client.listSecurityProfilesForTargetPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client
.listSecurityProfilesForTargetPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client.listSecurityProfilesForTargetPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)
operation.
This is a convenience which creates an instance of the ListSecurityProfilesForTargetRequest.Builder
avoiding the need to create one manually via ListSecurityProfilesForTargetRequest.builder()
listSecurityProfilesForTargetRequest - A Consumer that will call methods on ListSecurityProfilesForTargetRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListStreamsResponse listStreams() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
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.AwsServiceExceptionlistStreams(ListStreamsRequest)default ListStreamsResponse listStreams(ListStreamsRequest listStreamsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
listStreamsRequest - 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 ListStreamsResponse listStreams(Consumer<ListStreamsRequest.Builder> listStreamsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
This is a convenience which creates an instance of the ListStreamsRequest.Builder avoiding the need to
create one manually via ListStreamsRequest.builder()
listStreamsRequest - A Consumer that will call methods on ListStreamsRequest.Builder to create a request.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 ListStreamsIterable listStreamsPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
This is a variant of listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListStreamsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest) 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.AwsServiceExceptionlistStreamsPaginator(ListStreamsRequest)default ListStreamsIterable listStreamsPaginator(ListStreamsRequest listStreamsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
This is a variant of listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListStreamsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest) operation.
listStreamsRequest - 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 ListStreamsIterable listStreamsPaginator(Consumer<ListStreamsRequest.Builder> listStreamsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
This is a variant of listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListStreamsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest) operation.
This is a convenience which creates an instance of the ListStreamsRequest.Builder avoiding the need to
create one manually via ListStreamsRequest.builder()
listStreamsRequest - A Consumer that will call methods on ListStreamsRequest.Builder to create a request.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 ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the tags (metadata) you have assigned to the resource.
Requires permission to access the ListTagsForResource action.
listTagsForResourceRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the tags (metadata) you have assigned to the resource.
Requires permission to access the ListTagsForResource action.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the tags (metadata) you have assigned to the resource.
Requires permission to access the ListTagsForResource action.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client
.listTagsForResourcePaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTagsForResourceResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest) operation.
listTagsForResourceRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the tags (metadata) you have assigned to the resource.
Requires permission to access the ListTagsForResource action.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client
.listTagsForResourcePaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTagsForResourceResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest) operation.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListTargetsForPolicyResponse listTargetsForPolicy(ListTargetsForPolicyRequest listTargetsForPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
List targets for the specified policy.
Requires permission to access the ListTargetsForPolicy action.
listTargetsForPolicyRequest - 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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ListTargetsForPolicyResponse listTargetsForPolicy(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
List targets for the specified policy.
Requires permission to access the ListTargetsForPolicy action.
This is a convenience which creates an instance of the ListTargetsForPolicyRequest.Builder avoiding the
need to create one manually via ListTargetsForPolicyRequest.builder()
listTargetsForPolicyRequest - A Consumer that will call methods on ListTargetsForPolicyRequest.Builder to create a
request.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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ListTargetsForPolicyIterable listTargetsForPolicyPaginator(ListTargetsForPolicyRequest listTargetsForPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
List targets for the specified policy.
Requires permission to access the ListTargetsForPolicy action.
This is a variant of
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client.listTargetsForPolicyPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client
.listTargetsForPolicyPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTargetsForPolicyResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client.listTargetsForPolicyPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)
operation.
listTargetsForPolicyRequest - 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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ListTargetsForPolicyIterable listTargetsForPolicyPaginator(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
List targets for the specified policy.
Requires permission to access the ListTargetsForPolicy action.
This is a variant of
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client.listTargetsForPolicyPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client
.listTargetsForPolicyPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTargetsForPolicyResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client.listTargetsForPolicyPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)
operation.
This is a convenience which creates an instance of the ListTargetsForPolicyRequest.Builder avoiding the
need to create one manually via ListTargetsForPolicyRequest.builder()
listTargetsForPolicyRequest - A Consumer that will call methods on ListTargetsForPolicyRequest.Builder to create a
request.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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ListTargetsForSecurityProfileResponse listTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the targets (thing groups) associated with a given Device Defender security profile.
Requires permission to access the ListTargetsForSecurityProfile action.
listTargetsForSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListTargetsForSecurityProfileResponse listTargetsForSecurityProfile(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the targets (thing groups) associated with a given Device Defender security profile.
Requires permission to access the ListTargetsForSecurityProfile action.
This is a convenience which creates an instance of the ListTargetsForSecurityProfileRequest.Builder
avoiding the need to create one manually via ListTargetsForSecurityProfileRequest.builder()
listTargetsForSecurityProfileRequest - A Consumer that will call methods on ListTargetsForSecurityProfileRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListTargetsForSecurityProfileIterable listTargetsForSecurityProfilePaginator(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the targets (thing groups) associated with a given Device Defender security profile.
Requires permission to access the ListTargetsForSecurityProfile action.
This is a variant of
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client.listTargetsForSecurityProfilePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client
.listTargetsForSecurityProfilePaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client.listTargetsForSecurityProfilePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)
operation.
listTargetsForSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListTargetsForSecurityProfileIterable listTargetsForSecurityProfilePaginator(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the targets (thing groups) associated with a given Device Defender security profile.
Requires permission to access the ListTargetsForSecurityProfile action.
This is a variant of
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client.listTargetsForSecurityProfilePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client
.listTargetsForSecurityProfilePaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client.listTargetsForSecurityProfilePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)
operation.
This is a convenience which creates an instance of the ListTargetsForSecurityProfileRequest.Builder
avoiding the need to create one manually via ListTargetsForSecurityProfileRequest.builder()
listTargetsForSecurityProfileRequest - A Consumer that will call methods on ListTargetsForSecurityProfileRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 ListThingGroupsResponse listThingGroups() throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups in your account.
Requires permission to access the ListThingGroups action.
InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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.AwsServiceExceptionlistThingGroups(ListThingGroupsRequest)default ListThingGroupsResponse listThingGroups(ListThingGroupsRequest listThingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups in your account.
Requires permission to access the ListThingGroups action.
listThingGroupsRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingGroupsResponse listThingGroups(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups in your account.
Requires permission to access the ListThingGroups action.
This is a convenience which creates an instance of the ListThingGroupsRequest.Builder avoiding the need
to create one manually via ListThingGroupsRequest.builder()
listThingGroupsRequest - A Consumer that will call methods on ListThingGroupsRequest.Builder to create a request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingGroupsIterable listThingGroupsPaginator() throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups in your account.
Requires permission to access the ListThingGroups action.
This is a variant of listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest) operation.
InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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.AwsServiceExceptionlistThingGroupsPaginator(ListThingGroupsRequest)default ListThingGroupsIterable listThingGroupsPaginator(ListThingGroupsRequest listThingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups in your account.
Requires permission to access the ListThingGroups action.
This is a variant of listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest) operation.
listThingGroupsRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingGroupsIterable listThingGroupsPaginator(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups in your account.
Requires permission to access the ListThingGroups action.
This is a variant of listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest) operation.
This is a convenience which creates an instance of the ListThingGroupsRequest.Builder avoiding the need
to create one manually via ListThingGroupsRequest.builder()
listThingGroupsRequest - A Consumer that will call methods on ListThingGroupsRequest.Builder to create a request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingGroupsForThingResponse listThingGroupsForThing(ListThingGroupsForThingRequest listThingGroupsForThingRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups to which the specified thing belongs.
Requires permission to access the ListThingGroupsForThing action.
listThingGroupsForThingRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingGroupsForThingResponse listThingGroupsForThing(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups to which the specified thing belongs.
Requires permission to access the ListThingGroupsForThing action.
This is a convenience which creates an instance of the ListThingGroupsForThingRequest.Builder avoiding
the need to create one manually via ListThingGroupsForThingRequest.builder()
listThingGroupsForThingRequest - A Consumer that will call methods on ListThingGroupsForThingRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingGroupsForThingIterable listThingGroupsForThingPaginator(ListThingGroupsForThingRequest listThingGroupsForThingRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups to which the specified thing belongs.
Requires permission to access the ListThingGroupsForThing action.
This is a variant of
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client.listThingGroupsForThingPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client
.listThingGroupsForThingPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingGroupsForThingResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client.listThingGroupsForThingPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)
operation.
listThingGroupsForThingRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingGroupsForThingIterable listThingGroupsForThingPaginator(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
List the thing groups to which the specified thing belongs.
Requires permission to access the ListThingGroupsForThing action.
This is a variant of
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client.listThingGroupsForThingPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client
.listThingGroupsForThingPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingGroupsForThingResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client.listThingGroupsForThingPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)
operation.
This is a convenience which creates an instance of the ListThingGroupsForThingRequest.Builder avoiding
the need to create one manually via ListThingGroupsForThingRequest.builder()
listThingGroupsForThingRequest - A Consumer that will call methods on ListThingGroupsForThingRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingPrincipalsResponse listThingPrincipals(ListThingPrincipalsRequest listThingPrincipalsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListThingPrincipals action.
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. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListThingPrincipals action.
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 ListThingPrincipalsIterable listThingPrincipalsPaginator(ListThingPrincipalsRequest listThingPrincipalsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListThingPrincipals action.
This is a variant of
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client.listThingPrincipalsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client
.listThingPrincipalsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingPrincipalsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client.listThingPrincipalsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest) operation.
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 ListThingPrincipalsIterable listThingPrincipalsPaginator(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListThingPrincipals action.
This is a variant of
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client.listThingPrincipalsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client
.listThingPrincipalsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingPrincipalsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client.listThingPrincipalsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest) operation.
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 ListThingRegistrationTaskReportsResponse listThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Information about the thing registration tasks.
listThingRegistrationTaskReportsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 ListThingRegistrationTaskReportsResponse listThingRegistrationTaskReports(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Information about the thing registration tasks.
This is a convenience which creates an instance of the ListThingRegistrationTaskReportsRequest.Builder
avoiding the need to create one manually via ListThingRegistrationTaskReportsRequest.builder()
listThingRegistrationTaskReportsRequest - A Consumer that will call methods on ListThingRegistrationTaskReportsRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 ListThingRegistrationTaskReportsIterable listThingRegistrationTaskReportsPaginator(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Information about the thing registration tasks.
This is a variant of
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client.listThingRegistrationTaskReportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client
.listThingRegistrationTaskReportsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client.listThingRegistrationTaskReportsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)
operation.
listThingRegistrationTaskReportsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 ListThingRegistrationTaskReportsIterable listThingRegistrationTaskReportsPaginator(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Information about the thing registration tasks.
This is a variant of
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client.listThingRegistrationTaskReportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client
.listThingRegistrationTaskReportsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client.listThingRegistrationTaskReportsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)
operation.
This is a convenience which creates an instance of the ListThingRegistrationTaskReportsRequest.Builder
avoiding the need to create one manually via ListThingRegistrationTaskReportsRequest.builder()
listThingRegistrationTaskReportsRequest - A Consumer that will call methods on ListThingRegistrationTaskReportsRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 ListThingRegistrationTasksResponse listThingRegistrationTasks() throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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.AwsServiceExceptionlistThingRegistrationTasks(ListThingRegistrationTasksRequest)default ListThingRegistrationTasksResponse listThingRegistrationTasks(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
listThingRegistrationTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 ListThingRegistrationTasksResponse listThingRegistrationTasks(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
This is a convenience which creates an instance of the ListThingRegistrationTasksRequest.Builder avoiding
the need to create one manually via ListThingRegistrationTasksRequest.builder()
listThingRegistrationTasksRequest - A Consumer that will call methods on ListThingRegistrationTasksRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 ListThingRegistrationTasksIterable listThingRegistrationTasksPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
This is a variant of
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client
.listThingRegistrationTasksPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation.
InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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.AwsServiceExceptionlistThingRegistrationTasksPaginator(ListThingRegistrationTasksRequest)default ListThingRegistrationTasksIterable listThingRegistrationTasksPaginator(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
This is a variant of
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client
.listThingRegistrationTasksPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation.
listThingRegistrationTasksRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 ListThingRegistrationTasksIterable listThingRegistrationTasksPaginator(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
This is a variant of
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client
.listThingRegistrationTasksPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation.
This is a convenience which creates an instance of the ListThingRegistrationTasksRequest.Builder avoiding
the need to create one manually via ListThingRegistrationTasksRequest.builder()
listThingRegistrationTasksRequest - A Consumer that will call methods on ListThingRegistrationTasksRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the existing thing types.
Requires permission to access the ListThingTypes action.
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.
Requires permission to access the ListThingTypes action.
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.
Requires permission to access the ListThingTypes action.
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 ListThingTypesIterable listThingTypesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the existing thing types.
Requires permission to access the ListThingTypes action.
This is a variant of listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest) 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.AwsServiceExceptionlistThingTypesPaginator(ListThingTypesRequest)default ListThingTypesIterable listThingTypesPaginator(ListThingTypesRequest listThingTypesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the existing thing types.
Requires permission to access the ListThingTypes action.
This is a variant of listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest) operation.
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 ListThingTypesIterable listThingTypesPaginator(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the existing thing types.
Requires permission to access the ListThingTypes action.
This is a variant of listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest) operation.
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.
Requires permission to access the ListThings action.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
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.
Requires permission to access the ListThings action.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
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.
Requires permission to access the ListThings action.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
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 ListThingsIterable listThingsPaginator() 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.
Requires permission to access the ListThings action.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
This is a variant of listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) 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.AwsServiceExceptionlistThingsPaginator(ListThingsRequest)default ListThingsIterable listThingsPaginator(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.
Requires permission to access the ListThings action.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
This is a variant of listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
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 ListThingsIterable listThingsPaginator(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.
Requires permission to access the ListThings action.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
This is a variant of listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
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 ListThingsInBillingGroupResponse listThingsInBillingGroup(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the things you have added to the given billing group.
Requires permission to access the ListThingsInBillingGroup action.
listThingsInBillingGroupRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingsInBillingGroupResponse listThingsInBillingGroup(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the things you have added to the given billing group.
Requires permission to access the ListThingsInBillingGroup action.
This is a convenience which creates an instance of the ListThingsInBillingGroupRequest.Builder avoiding
the need to create one manually via ListThingsInBillingGroupRequest.builder()
listThingsInBillingGroupRequest - A Consumer that will call methods on ListThingsInBillingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingsInBillingGroupIterable listThingsInBillingGroupPaginator(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the things you have added to the given billing group.
Requires permission to access the ListThingsInBillingGroup action.
This is a variant of
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client.listThingsInBillingGroupPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client
.listThingsInBillingGroupPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client.listThingsInBillingGroupPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)
operation.
listThingsInBillingGroupRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingsInBillingGroupIterable listThingsInBillingGroupPaginator(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the things you have added to the given billing group.
Requires permission to access the ListThingsInBillingGroup action.
This is a variant of
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client.listThingsInBillingGroupPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client
.listThingsInBillingGroupPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client.listThingsInBillingGroupPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)
operation.
This is a convenience which creates an instance of the ListThingsInBillingGroupRequest.Builder avoiding
the need to create one manually via ListThingsInBillingGroupRequest.builder()
listThingsInBillingGroupRequest - A Consumer that will call methods on ListThingsInBillingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingsInThingGroupResponse listThingsInThingGroup(ListThingsInThingGroupRequest listThingsInThingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the things in the specified group.
Requires permission to access the ListThingsInThingGroup action.
listThingsInThingGroupRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingsInThingGroupResponse listThingsInThingGroup(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the things in the specified group.
Requires permission to access the ListThingsInThingGroup action.
This is a convenience which creates an instance of the ListThingsInThingGroupRequest.Builder avoiding the
need to create one manually via ListThingsInThingGroupRequest.builder()
listThingsInThingGroupRequest - A Consumer that will call methods on ListThingsInThingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingsInThingGroupIterable listThingsInThingGroupPaginator(ListThingsInThingGroupRequest listThingsInThingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the things in the specified group.
Requires permission to access the ListThingsInThingGroup action.
This is a variant of
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client.listThingsInThingGroupPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client
.listThingsInThingGroupPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingsInThingGroupResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client.listThingsInThingGroupPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)
operation.
listThingsInThingGroupRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListThingsInThingGroupIterable listThingsInThingGroupPaginator(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Lists the things in the specified group.
Requires permission to access the ListThingsInThingGroup action.
This is a variant of
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client.listThingsInThingGroupPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client
.listThingsInThingGroupPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListThingsInThingGroupResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client.listThingsInThingGroupPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)
operation.
This is a convenience which creates an instance of the ListThingsInThingGroupRequest.Builder avoiding the
need to create one manually via ListThingsInThingGroupRequest.builder()
listThingsInThingGroupRequest - A Consumer that will call methods on ListThingsInThingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 ListTopicRuleDestinationsResponse listTopicRuleDestinations(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Lists all the topic rule destinations in your Amazon Web Services account.
Requires permission to access the ListTopicRuleDestinations action.
listTopicRuleDestinationsRequest - 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 ListTopicRuleDestinationsResponse listTopicRuleDestinations(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Lists all the topic rule destinations in your Amazon Web Services account.
Requires permission to access the ListTopicRuleDestinations action.
This is a convenience which creates an instance of the ListTopicRuleDestinationsRequest.Builder avoiding
the need to create one manually via ListTopicRuleDestinationsRequest.builder()
listTopicRuleDestinationsRequest - A Consumer that will call methods on ListTopicRuleDestinationsRequest.Builder to create a
request.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 ListTopicRuleDestinationsIterable listTopicRuleDestinationsPaginator(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Lists all the topic rule destinations in your Amazon Web Services account.
Requires permission to access the ListTopicRuleDestinations action.
This is a variant of
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client.listTopicRuleDestinationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client
.listTopicRuleDestinationsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client.listTopicRuleDestinationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)
operation.
listTopicRuleDestinationsRequest - 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 ListTopicRuleDestinationsIterable listTopicRuleDestinationsPaginator(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException
Lists all the topic rule destinations in your Amazon Web Services account.
Requires permission to access the ListTopicRuleDestinations action.
This is a variant of
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client.listTopicRuleDestinationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client
.listTopicRuleDestinationsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client.listTopicRuleDestinationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)
operation.
This is a convenience which creates an instance of the ListTopicRuleDestinationsRequest.Builder avoiding
the need to create one manually via ListTopicRuleDestinationsRequest.builder()
listTopicRuleDestinationsRequest - A Consumer that will call methods on ListTopicRuleDestinationsRequest.Builder to create a
request.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 ListTopicRulesResponse listTopicRules() throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the rules for the specific topic.
Requires permission to access the ListTopicRules action.
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.
Requires permission to access the ListTopicRules action.
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.
Requires permission to access the ListTopicRules action.
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 ListTopicRulesIterable listTopicRulesPaginator() throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the rules for the specific topic.
Requires permission to access the ListTopicRules action.
This is a variant of listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTopicRulesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest) 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.AwsServiceExceptionlistTopicRulesPaginator(ListTopicRulesRequest)default ListTopicRulesIterable listTopicRulesPaginator(ListTopicRulesRequest listTopicRulesRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the rules for the specific topic.
Requires permission to access the ListTopicRules action.
This is a variant of listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTopicRulesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest) operation.
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 ListTopicRulesIterable listTopicRulesPaginator(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists the rules for the specific topic.
Requires permission to access the ListTopicRules action.
This is a variant of listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListTopicRulesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest) operation.
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 ListV2LoggingLevelsResponse listV2LoggingLevels(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists logging levels.
Requires permission to access the ListV2LoggingLevels action.
listV2LoggingLevelsRequest - InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.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 ListV2LoggingLevelsResponse listV2LoggingLevels(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists logging levels.
Requires permission to access the ListV2LoggingLevels action.
This is a convenience which creates an instance of the ListV2LoggingLevelsRequest.Builder avoiding the
need to create one manually via ListV2LoggingLevelsRequest.builder()
listV2LoggingLevelsRequest - A Consumer that will call methods on ListV2LoggingLevelsRequest.Builder to create a
request.InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.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 ListV2LoggingLevelsIterable listV2LoggingLevelsPaginator(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists logging levels.
Requires permission to access the ListV2LoggingLevels action.
This is a variant of
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client.listV2LoggingLevelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client
.listV2LoggingLevelsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client.listV2LoggingLevelsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest) operation.
listV2LoggingLevelsRequest - InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.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 ListV2LoggingLevelsIterable listV2LoggingLevelsPaginator(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Lists logging levels.
Requires permission to access the ListV2LoggingLevels action.
This is a variant of
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client.listV2LoggingLevelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client
.listV2LoggingLevelsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client.listV2LoggingLevelsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest) operation.
This is a convenience which creates an instance of the ListV2LoggingLevelsRequest.Builder avoiding the
need to create one manually via ListV2LoggingLevelsRequest.builder()
listV2LoggingLevelsRequest - A Consumer that will call methods on ListV2LoggingLevelsRequest.Builder to create a
request.InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.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 ListViolationEventsResponse listViolationEvents(ListViolationEventsRequest listViolationEventsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).
Requires permission to access the ListViolationEvents action.
listViolationEventsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListViolationEventsResponse listViolationEvents(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).
Requires permission to access the ListViolationEvents action.
This is a convenience which creates an instance of the ListViolationEventsRequest.Builder avoiding the
need to create one manually via ListViolationEventsRequest.builder()
listViolationEventsRequest - A Consumer that will call methods on ListViolationEventsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListViolationEventsIterable listViolationEventsPaginator(ListViolationEventsRequest listViolationEventsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).
Requires permission to access the ListViolationEvents action.
This is a variant of
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client.listViolationEventsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client
.listViolationEventsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListViolationEventsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client.listViolationEventsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest) operation.
listViolationEventsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ListViolationEventsIterable listViolationEventsPaginator(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).
Requires permission to access the ListViolationEvents action.
This is a variant of
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client.listViolationEventsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client
.listViolationEventsPaginator(request);
for (software.amazon.awssdk.services.iot.model.ListViolationEventsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client.listViolationEventsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest) operation.
This is a convenience which creates an instance of the ListViolationEventsRequest.Builder avoiding the
need to create one manually via ListViolationEventsRequest.builder()
listViolationEventsRequest - A Consumer that will call methods on ListViolationEventsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 PutVerificationStateOnViolationResponse putVerificationStateOnViolation(PutVerificationStateOnViolationRequest putVerificationStateOnViolationRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Set a verification state and provide a description of that verification state on a violation (detect alarm).
putVerificationStateOnViolationRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 PutVerificationStateOnViolationResponse putVerificationStateOnViolation(Consumer<PutVerificationStateOnViolationRequest.Builder> putVerificationStateOnViolationRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Set a verification state and provide a description of that verification state on a violation (detect alarm).
This is a convenience which creates an instance of the PutVerificationStateOnViolationRequest.Builder
avoiding the need to create one manually via PutVerificationStateOnViolationRequest.builder()
putVerificationStateOnViolationRequest - A Consumer that will call methods on PutVerificationStateOnViolationRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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(RegisterCaCertificateRequest registerCaCertificateRequest) throws ResourceAlreadyExistsException, RegistrationCodeValidationException, InvalidRequestException, CertificateValidationException, ThrottlingException, LimitExceededException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Registers a CA certificate with IoT. This CA certificate can then be used to sign device certificates, which can be then registered with IoT. You can register up to 10 CA certificates per Amazon Web Services 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 action.
Requires permission to access the RegisterCACertificate action.
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 - A limit has been exceeded.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 IoT. This CA certificate can then be used to sign device certificates, which can be then registered with IoT. You can register up to 10 CA certificates per Amazon Web Services 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 action.
Requires permission to access the RegisterCACertificate action.
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 - A limit has been exceeded.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 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.
Requires permission to access the RegisterCertificate action.
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 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.
Requires permission to access the RegisterCertificate action.
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 RegisterCertificateWithoutCaResponse registerCertificateWithoutCA(RegisterCertificateWithoutCaRequest registerCertificateWithoutCaRequest) throws ResourceAlreadyExistsException, InvalidRequestException, CertificateStateException, CertificateValidationException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Register a certificate that does not have a certificate authority (CA). For supported certificates, consult Certificate signing algorithms supported by IoT.
registerCertificateWithoutCaRequest - ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.CertificateStateException - The certificate operation is not allowed.CertificateValidationException - The certificate is invalid.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 RegisterCertificateWithoutCaResponse registerCertificateWithoutCA(Consumer<RegisterCertificateWithoutCaRequest.Builder> registerCertificateWithoutCaRequest) throws ResourceAlreadyExistsException, InvalidRequestException, CertificateStateException, CertificateValidationException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Register a certificate that does not have a certificate authority (CA). For supported certificates, consult Certificate signing algorithms supported by IoT.
This is a convenience which creates an instance of the RegisterCertificateWithoutCaRequest.Builder
avoiding the need to create one manually via RegisterCertificateWithoutCaRequest.builder()
registerCertificateWithoutCaRequest - A Consumer that will call methods on RegisterCertificateWithoutCARequest.Builder to create
a request.ResourceAlreadyExistsException - The resource already exists.InvalidRequestException - The request is not valid.CertificateStateException - The certificate operation is not allowed.CertificateValidationException - The certificate is invalid.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 RegisterThingResponse registerThing(RegisterThingRequest registerThingRequest) throws InternalFailureException, ServiceUnavailableException, InvalidRequestException, UnauthorizedException, ThrottlingException, ConflictingResourceUpdateException, ResourceRegistrationFailureException, AwsServiceException, SdkClientException, IotException
Provisions a thing in the device registry. RegisterThing calls other IoT control plane APIs. These calls might exceed your account level IoT Throttling Limits and cause throttle errors. Please contact Amazon Web Services Customer Support to raise your throttling limits if necessary.
Requires permission to access the RegisterThing action.
registerThingRequest - InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.InvalidRequestException - The request is not valid.UnauthorizedException - You are not authorized to perform this operation.ThrottlingException - The rate exceeds the limit.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.ResourceRegistrationFailureException - The resource registration failed.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 RegisterThingResponse registerThing(Consumer<RegisterThingRequest.Builder> registerThingRequest) throws InternalFailureException, ServiceUnavailableException, InvalidRequestException, UnauthorizedException, ThrottlingException, ConflictingResourceUpdateException, ResourceRegistrationFailureException, AwsServiceException, SdkClientException, IotException
Provisions a thing in the device registry. RegisterThing calls other IoT control plane APIs. These calls might exceed your account level IoT Throttling Limits and cause throttle errors. Please contact Amazon Web Services Customer Support to raise your throttling limits if necessary.
Requires permission to access the RegisterThing action.
This is a convenience which creates an instance of the RegisterThingRequest.Builder avoiding the need to
create one manually via RegisterThingRequest.builder()
registerThingRequest - A Consumer that will call methods on RegisterThingRequest.Builder to create a request.InternalFailureException - An unexpected error has occurred.ServiceUnavailableException - The service is temporarily unavailable.InvalidRequestException - The request is not valid.UnauthorizedException - You are not authorized to perform this operation.ThrottlingException - The rate exceeds the limit.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.ResourceRegistrationFailureException - The resource registration failed.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 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.
Requires permission to access the RejectCertificateTransfer action.
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 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.
Requires permission to access the RejectCertificateTransfer action.
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 RemoveThingFromBillingGroupResponse removeThingFromBillingGroup(RemoveThingFromBillingGroupRequest removeThingFromBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Removes the given thing from the billing group.
Requires permission to access the RemoveThingFromBillingGroup action.
This call is asynchronous. It might take several seconds for the detachment to propagate.
removeThingFromBillingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 RemoveThingFromBillingGroupResponse removeThingFromBillingGroup(Consumer<RemoveThingFromBillingGroupRequest.Builder> removeThingFromBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Removes the given thing from the billing group.
Requires permission to access the RemoveThingFromBillingGroup action.
This call is asynchronous. It might take several seconds for the detachment to propagate.
This is a convenience which creates an instance of the RemoveThingFromBillingGroupRequest.Builder
avoiding the need to create one manually via RemoveThingFromBillingGroupRequest.builder()
removeThingFromBillingGroupRequest - A Consumer that will call methods on RemoveThingFromBillingGroupRequest.Builder to create
a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 RemoveThingFromThingGroupResponse removeThingFromThingGroup(RemoveThingFromThingGroupRequest removeThingFromThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Remove the specified thing from the specified group.
You must specify either a thingGroupArn or a thingGroupName to identify the thing group
and either a thingArn or a thingName to identify the thing to remove from the thing
group.
Requires permission to access the RemoveThingFromThingGroup action.
removeThingFromThingGroupRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 RemoveThingFromThingGroupResponse removeThingFromThingGroup(Consumer<RemoveThingFromThingGroupRequest.Builder> removeThingFromThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Remove the specified thing from the specified group.
You must specify either a thingGroupArn or a thingGroupName to identify the thing group
and either a thingArn or a thingName to identify the thing to remove from the thing
group.
Requires permission to access the RemoveThingFromThingGroup action.
This is a convenience which creates an instance of the RemoveThingFromThingGroupRequest.Builder avoiding
the need to create one manually via RemoveThingFromThingGroupRequest.builder()
removeThingFromThingGroupRequest - A Consumer that will call methods on RemoveThingFromThingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ReplaceTopicRuleResponse replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest) throws SqlParseException, InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Replaces the 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.
Requires permission to access the ReplaceTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Replaces the 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.
Requires permission to access the ReplaceTopicRule action.
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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 SearchIndexResponse searchIndex(SearchIndexRequest searchIndexRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
The query search index.
Requires permission to access the SearchIndex action.
searchIndexRequest - 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.InvalidQueryException - The query is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 SearchIndexResponse searchIndex(Consumer<SearchIndexRequest.Builder> searchIndexRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
The query search index.
Requires permission to access the SearchIndex action.
This is a convenience which creates an instance of the SearchIndexRequest.Builder avoiding the need to
create one manually via SearchIndexRequest.builder()
searchIndexRequest - A Consumer that will call methods on SearchIndexRequest.Builder to create a request.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.InvalidQueryException - The query is invalid.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 SetDefaultAuthorizerResponse setDefaultAuthorizer(SetDefaultAuthorizerRequest setDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException
Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
Requires permission to access the SetDefaultAuthorizer action.
setDefaultAuthorizerRequest - 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.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 SetDefaultAuthorizerResponse setDefaultAuthorizer(Consumer<SetDefaultAuthorizerRequest.Builder> setDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException
Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
Requires permission to access the SetDefaultAuthorizer action.
This is a convenience which creates an instance of the SetDefaultAuthorizerRequest.Builder avoiding the
need to create one manually via SetDefaultAuthorizerRequest.builder()
setDefaultAuthorizerRequest - A Consumer that will call methods on SetDefaultAuthorizerRequest.Builder to create a
request.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.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 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 ListPrincipalPolicies action.
Requires permission to access the SetDefaultPolicyVersion action.
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 ListPrincipalPolicies action.
Requires permission to access the SetDefaultPolicyVersion action.
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.
NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead.
Requires permission to access the SetLoggingOptions action.
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.
NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead.
Requires permission to access the SetLoggingOptions action.
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 SetV2LoggingLevelResponse setV2LoggingLevel(SetV2LoggingLevelRequest setV2LoggingLevelRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Sets the logging level.
Requires permission to access the SetV2LoggingLevel action.
setV2LoggingLevelRequest - InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 SetV2LoggingLevelResponse setV2LoggingLevel(Consumer<SetV2LoggingLevelRequest.Builder> setV2LoggingLevelRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Sets the logging level.
Requires permission to access the SetV2LoggingLevel action.
This is a convenience which creates an instance of the SetV2LoggingLevelRequest.Builder avoiding the need
to create one manually via SetV2LoggingLevelRequest.builder()
setV2LoggingLevelRequest - A Consumer that will call methods on SetV2LoggingLevelRequest.Builder to create a request.InternalException - An unexpected error has occurred.NotConfiguredException - The resource is not configured.InvalidRequestException - The request is not valid.ServiceUnavailableException - The service is temporarily unavailable.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 SetV2LoggingOptionsResponse setV2LoggingOptions(SetV2LoggingOptionsRequest setV2LoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Sets the logging options for the V2 logging service.
Requires permission to access the SetV2LoggingOptions action.
setV2LoggingOptionsRequest - 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 SetV2LoggingOptionsResponse setV2LoggingOptions(Consumer<SetV2LoggingOptionsRequest.Builder> setV2LoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Sets the logging options for the V2 logging service.
Requires permission to access the SetV2LoggingOptions action.
This is a convenience which creates an instance of the SetV2LoggingOptionsRequest.Builder avoiding the
need to create one manually via SetV2LoggingOptionsRequest.builder()
setV2LoggingOptionsRequest - A Consumer that will call methods on SetV2LoggingOptionsRequest.Builder to create a
request.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 StartAuditMitigationActionsTaskResponse startAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest startAuditMitigationActionsTaskRequest) throws InvalidRequestException, TaskAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Starts a task that applies a set of mitigation actions to the specified target.
Requires permission to access the StartAuditMitigationActionsTask action.
startAuditMitigationActionsTaskRequest - InvalidRequestException - The request is not valid.TaskAlreadyExistsException - This exception occurs if you attempt to start a task with the same task-id as an existing task but with a
different clientRequestToken.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 StartAuditMitigationActionsTaskResponse startAuditMitigationActionsTask(Consumer<StartAuditMitigationActionsTaskRequest.Builder> startAuditMitigationActionsTaskRequest) throws InvalidRequestException, TaskAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Starts a task that applies a set of mitigation actions to the specified target.
Requires permission to access the StartAuditMitigationActionsTask action.
This is a convenience which creates an instance of the StartAuditMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via StartAuditMitigationActionsTaskRequest.builder()
startAuditMitigationActionsTaskRequest - A Consumer that will call methods on StartAuditMitigationActionsTaskRequest.Builder to
create a request.InvalidRequestException - The request is not valid.TaskAlreadyExistsException - This exception occurs if you attempt to start a task with the same task-id as an existing task but with a
different clientRequestToken.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 StartDetectMitigationActionsTaskResponse startDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest startDetectMitigationActionsTaskRequest) throws InvalidRequestException, TaskAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Starts a Device Defender ML Detect mitigation actions task.
Requires permission to access the StartDetectMitigationActionsTask action.
startDetectMitigationActionsTaskRequest - InvalidRequestException - The request is not valid.TaskAlreadyExistsException - This exception occurs if you attempt to start a task with the same task-id as an existing task but with a
different clientRequestToken.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 StartDetectMitigationActionsTaskResponse startDetectMitigationActionsTask(Consumer<StartDetectMitigationActionsTaskRequest.Builder> startDetectMitigationActionsTaskRequest) throws InvalidRequestException, TaskAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Starts a Device Defender ML Detect mitigation actions task.
Requires permission to access the StartDetectMitigationActionsTask action.
This is a convenience which creates an instance of the StartDetectMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via StartDetectMitigationActionsTaskRequest.builder()
startDetectMitigationActionsTaskRequest - A Consumer that will call methods on StartDetectMitigationActionsTaskRequest.Builder to
create a request.InvalidRequestException - The request is not valid.TaskAlreadyExistsException - This exception occurs if you attempt to start a task with the same task-id as an existing task but with a
different clientRequestToken.LimitExceededException - A limit has been exceeded.ThrottlingException - The rate exceeds the limit.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 StartOnDemandAuditTaskResponse startOnDemandAuditTask(StartOnDemandAuditTaskRequest startOnDemandAuditTaskRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Starts an on-demand Device Defender audit.
Requires permission to access the StartOnDemandAuditTask action.
startOnDemandAuditTaskRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 StartOnDemandAuditTaskResponse startOnDemandAuditTask(Consumer<StartOnDemandAuditTaskRequest.Builder> startOnDemandAuditTaskRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Starts an on-demand Device Defender audit.
Requires permission to access the StartOnDemandAuditTask action.
This is a convenience which creates an instance of the StartOnDemandAuditTaskRequest.Builder avoiding the
need to create one manually via StartOnDemandAuditTaskRequest.builder()
startOnDemandAuditTaskRequest - A Consumer that will call methods on StartOnDemandAuditTaskRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 StartThingRegistrationTaskResponse startThingRegistrationTask(StartThingRegistrationTaskRequest startThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a bulk thing provisioning task.
Requires permission to access the StartThingRegistrationTask action.
startThingRegistrationTaskRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 StartThingRegistrationTaskResponse startThingRegistrationTask(Consumer<StartThingRegistrationTaskRequest.Builder> startThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Creates a bulk thing provisioning task.
Requires permission to access the StartThingRegistrationTask action.
This is a convenience which creates an instance of the StartThingRegistrationTaskRequest.Builder avoiding
the need to create one manually via StartThingRegistrationTaskRequest.builder()
startThingRegistrationTaskRequest - A Consumer that will call methods on StartThingRegistrationTaskRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 StopThingRegistrationTaskResponse stopThingRegistrationTask(StopThingRegistrationTaskRequest stopThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Cancels a bulk thing provisioning task.
Requires permission to access the StopThingRegistrationTask action.
stopThingRegistrationTaskRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 StopThingRegistrationTaskResponse stopThingRegistrationTask(Consumer<StopThingRegistrationTaskRequest.Builder> stopThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Cancels a bulk thing provisioning task.
Requires permission to access the StopThingRegistrationTask action.
This is a convenience which creates an instance of the StopThingRegistrationTaskRequest.Builder avoiding
the need to create one manually via StopThingRegistrationTaskRequest.builder()
stopThingRegistrationTaskRequest - A Consumer that will call methods on StopThingRegistrationTaskRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.UnauthorizedException - You are not authorized to perform this operation.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 TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
Requires permission to access the TagResource action.
tagResourceRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
Requires permission to access the TagResource action.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.LimitExceededException - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 TestAuthorizationResponse testAuthorization(TestAuthorizationRequest testAuthorizationRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Tests if a specified principal is authorized to perform an IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the IoT device gateway.
Requires permission to access the TestAuthorization action.
testAuthorizationRequest - 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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 TestAuthorizationResponse testAuthorization(Consumer<TestAuthorizationRequest.Builder> testAuthorizationRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException
Tests if a specified principal is authorized to perform an IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the IoT device gateway.
Requires permission to access the TestAuthorization action.
This is a convenience which creates an instance of the TestAuthorizationRequest.Builder avoiding the need
to create one manually via TestAuthorizationRequest.builder()
testAuthorizationRequest - A Consumer that will call methods on TestAuthorizationRequest.Builder to create a request.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 - A limit has been exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 TestInvokeAuthorizerResponse testInvokeAuthorizer(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidResponseException, AwsServiceException, SdkClientException, IotException
Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the IoT device gateway.
Requires permission to access the TestInvokeAuthorizer action.
testInvokeAuthorizerRequest - 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.InvalidResponseException - The response is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 TestInvokeAuthorizerResponse testInvokeAuthorizer(Consumer<TestInvokeAuthorizerRequest.Builder> testInvokeAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidResponseException, AwsServiceException, SdkClientException, IotException
Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the IoT device gateway.
Requires permission to access the TestInvokeAuthorizer action.
This is a convenience which creates an instance of the TestInvokeAuthorizerRequest.Builder avoiding the
need to create one manually via TestInvokeAuthorizerRequest.builder()
testInvokeAuthorizerRequest - A Consumer that will call methods on TestInvokeAuthorizerRequest.Builder to create a
request.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.InvalidResponseException - The response is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 Amazon Web Services account.
Requires permission to access the TransferCertificate action.
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 action to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPolicy action 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 Amazon Web Services account.
Requires permission to access the TransferCertificate action.
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 action to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPolicy action 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 UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Removes the given tags (metadata) from the resource.
Requires permission to access the UntagResource action.
untagResourceRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Removes the given tags (metadata) from the resource.
Requires permission to access the UntagResource action.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.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 UpdateAccountAuditConfigurationResponse updateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest updateAccountAuditConfigurationRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the UpdateAccountAuditConfiguration action.
updateAccountAuditConfigurationRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 UpdateAccountAuditConfigurationResponse updateAccountAuditConfiguration(Consumer<UpdateAccountAuditConfigurationRequest.Builder> updateAccountAuditConfigurationRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the UpdateAccountAuditConfiguration action.
This is a convenience which creates an instance of the UpdateAccountAuditConfigurationRequest.Builder
avoiding the need to create one manually via UpdateAccountAuditConfigurationRequest.builder()
updateAccountAuditConfigurationRequest - A Consumer that will call methods on UpdateAccountAuditConfigurationRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 UpdateAuditSuppressionResponse updateAuditSuppression(UpdateAuditSuppressionRequest updateAuditSuppressionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a Device Defender audit suppression.
updateAuditSuppressionRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateAuditSuppressionResponse updateAuditSuppression(Consumer<UpdateAuditSuppressionRequest.Builder> updateAuditSuppressionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a Device Defender audit suppression.
This is a convenience which creates an instance of the UpdateAuditSuppressionRequest.Builder avoiding the
need to create one manually via UpdateAuditSuppressionRequest.builder()
updateAuditSuppressionRequest - A Consumer that will call methods on UpdateAuditSuppressionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateAuthorizerResponse updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates an authorizer.
Requires permission to access the UpdateAuthorizer action.
updateAuthorizerRequest - ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.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 UpdateAuthorizerResponse updateAuthorizer(Consumer<UpdateAuthorizerRequest.Builder> updateAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates an authorizer.
Requires permission to access the UpdateAuthorizer action.
This is a convenience which creates an instance of the UpdateAuthorizerRequest.Builder avoiding the need
to create one manually via UpdateAuthorizerRequest.builder()
updateAuthorizerRequest - A Consumer that will call methods on UpdateAuthorizerRequest.Builder to create a request.ResourceNotFoundException - The specified resource does not exist.InvalidRequestException - The request is not valid.LimitExceededException - A limit has been exceeded.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 UpdateBillingGroupResponse updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Updates information about the billing group.
Requires permission to access the UpdateBillingGroup action.
updateBillingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 UpdateBillingGroupResponse updateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Updates information about the billing group.
Requires permission to access the UpdateBillingGroup action.
This is a convenience which creates an instance of the UpdateBillingGroupRequest.Builder avoiding the
need to create one manually via UpdateBillingGroupRequest.builder()
updateBillingGroupRequest - A Consumer that will call methods on UpdateBillingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 UpdateCaCertificateResponse updateCACertificate(UpdateCaCertificateRequest updateCaCertificateRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a registered CA certificate.
Requires permission to access the UpdateCACertificate action.
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.
Requires permission to access the UpdateCACertificate action.
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.
Requires permission to access the UpdateCertificate action.
Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to IoT.
Within a few minutes of updating a certificate from the ACTIVE state to any other state, IoT disconnects all devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state to reconnect.
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.
Requires permission to access the UpdateCertificate action.
Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to IoT.
Within a few minutes of updating a certificate from the ACTIVE state to any other state, IoT disconnects all devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state to reconnect.
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 UpdateCustomMetricResponse updateCustomMetric(UpdateCustomMetricRequest updateCustomMetricRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a Device Defender detect custom metric.
Requires permission to access the UpdateCustomMetric action.
updateCustomMetricRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateCustomMetricResponse updateCustomMetric(Consumer<UpdateCustomMetricRequest.Builder> updateCustomMetricRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a Device Defender detect custom metric.
Requires permission to access the UpdateCustomMetric action.
This is a convenience which creates an instance of the UpdateCustomMetricRequest.Builder avoiding the
need to create one manually via UpdateCustomMetricRequest.builder()
updateCustomMetricRequest - A Consumer that will call methods on UpdateCustomMetricRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateDimensionResponse updateDimension(UpdateDimensionRequest updateDimensionRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and recreate it).
Requires permission to access the UpdateDimension action.
updateDimensionRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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 UpdateDimensionResponse updateDimension(Consumer<UpdateDimensionRequest.Builder> updateDimensionRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and recreate it).
Requires permission to access the UpdateDimension action.
This is a convenience which creates an instance of the UpdateDimensionRequest.Builder avoiding the need
to create one manually via UpdateDimensionRequest.builder()
updateDimensionRequest - A Consumer that will call methods on UpdateDimensionRequest.Builder to create a request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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 UpdateDomainConfigurationResponse updateDomainConfiguration(UpdateDomainConfigurationRequest updateDomainConfigurationRequest) throws ResourceNotFoundException, CertificateValidationException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
Requires permission to access the UpdateDomainConfiguration action.
updateDomainConfigurationRequest - ResourceNotFoundException - The specified resource does not exist.CertificateValidationException - The certificate is invalid.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 UpdateDomainConfigurationResponse updateDomainConfiguration(Consumer<UpdateDomainConfigurationRequest.Builder> updateDomainConfigurationRequest) throws ResourceNotFoundException, CertificateValidationException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
Requires permission to access the UpdateDomainConfiguration action.
This is a convenience which creates an instance of the UpdateDomainConfigurationRequest.Builder avoiding
the need to create one manually via UpdateDomainConfigurationRequest.builder()
updateDomainConfigurationRequest - A Consumer that will call methods on UpdateDomainConfigurationRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.CertificateValidationException - The certificate is invalid.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 UpdateDynamicThingGroupResponse updateDynamicThingGroup(UpdateDynamicThingGroupRequest updateDynamicThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, AwsServiceException, SdkClientException, IotException
Updates a dynamic thing group.
Requires permission to access the UpdateDynamicThingGroup action.
updateDynamicThingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.InvalidQueryException - The query is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 UpdateDynamicThingGroupResponse updateDynamicThingGroup(Consumer<UpdateDynamicThingGroupRequest.Builder> updateDynamicThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, AwsServiceException, SdkClientException, IotException
Updates a dynamic thing group.
Requires permission to access the UpdateDynamicThingGroup action.
This is a convenience which creates an instance of the UpdateDynamicThingGroupRequest.Builder avoiding
the need to create one manually via UpdateDynamicThingGroupRequest.builder()
updateDynamicThingGroupRequest - A Consumer that will call methods on UpdateDynamicThingGroupRequest.Builder to create a
request.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.InternalFailureException - An unexpected error has occurred.ResourceNotFoundException - The specified resource does not exist.InvalidQueryException - The query is invalid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 UpdateEventConfigurationsResponse updateEventConfigurations(UpdateEventConfigurationsRequest updateEventConfigurationsRequest) throws InvalidRequestException, InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Updates the event configurations.
Requires permission to access the UpdateEventConfigurations action.
updateEventConfigurationsRequest - InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.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 UpdateEventConfigurationsResponse updateEventConfigurations(Consumer<UpdateEventConfigurationsRequest.Builder> updateEventConfigurationsRequest) throws InvalidRequestException, InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotException
Updates the event configurations.
Requires permission to access the UpdateEventConfigurations action.
This is a convenience which creates an instance of the UpdateEventConfigurationsRequest.Builder avoiding
the need to create one manually via UpdateEventConfigurationsRequest.builder()
updateEventConfigurationsRequest - A Consumer that will call methods on UpdateEventConfigurationsRequest.Builder to create a
request.InvalidRequestException - The request is not valid.InternalFailureException - An unexpected error has occurred.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 UpdateFleetMetricResponse updateFleetMetric(UpdateFleetMetricRequest updateFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, VersionConflictException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Updates the data for a fleet metric.
Requires permission to access the UpdateFleetMetric action.
updateFleetMetricRequest - 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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 UpdateFleetMetricResponse updateFleetMetric(Consumer<UpdateFleetMetricRequest.Builder> updateFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, VersionConflictException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException
Updates the data for a fleet metric.
Requires permission to access the UpdateFleetMetric action.
This is a convenience which creates an instance of the UpdateFleetMetricRequest.Builder avoiding the need
to create one manually via UpdateFleetMetricRequest.builder()
updateFleetMetricRequest - A Consumer that will call methods on UpdateFleetMetricRequest.Builder to create a request.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.InvalidQueryException - The query is invalid.InvalidAggregationException - The aggregation is invalid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.IndexNotReadyException - The index is not ready.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 UpdateIndexingConfigurationResponse updateIndexingConfiguration(UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates the search configuration.
Requires permission to access the UpdateIndexingConfiguration action.
updateIndexingConfigurationRequest - 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 UpdateIndexingConfigurationResponse updateIndexingConfiguration(Consumer<UpdateIndexingConfigurationRequest.Builder> updateIndexingConfigurationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates the search configuration.
Requires permission to access the UpdateIndexingConfiguration action.
This is a convenience which creates an instance of the UpdateIndexingConfigurationRequest.Builder
avoiding the need to create one manually via UpdateIndexingConfigurationRequest.builder()
updateIndexingConfigurationRequest - A Consumer that will call methods on UpdateIndexingConfigurationRequest.Builder to create
a request.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 UpdateJobResponse updateJob(UpdateJobRequest updateJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Updates supported fields of the specified job.
Requires permission to access the UpdateJob action.
updateJobRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateJobResponse updateJob(Consumer<UpdateJobRequest.Builder> updateJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException
Updates supported fields of the specified job.
Requires permission to access the UpdateJob action.
This is a convenience which creates an instance of the UpdateJobRequest.Builder avoiding the need to
create one manually via UpdateJobRequest.builder()
updateJobRequest - A Consumer that will call methods on UpdateJobRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateMitigationActionResponse updateMitigationAction(UpdateMitigationActionRequest updateMitigationActionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates the definition for the specified mitigation action.
Requires permission to access the UpdateMitigationAction action.
updateMitigationActionRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateMitigationActionResponse updateMitigationAction(Consumer<UpdateMitigationActionRequest.Builder> updateMitigationActionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates the definition for the specified mitigation action.
Requires permission to access the UpdateMitigationAction action.
This is a convenience which creates an instance of the UpdateMitigationActionRequest.Builder avoiding the
need to create one manually via UpdateMitigationActionRequest.builder()
updateMitigationActionRequest - A Consumer that will call methods on UpdateMitigationActionRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateProvisioningTemplateResponse updateProvisioningTemplate(UpdateProvisioningTemplateRequest updateProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Updates a fleet provisioning template.
Requires permission to access the UpdateProvisioningTemplate action.
updateProvisioningTemplateRequest - InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 UpdateProvisioningTemplateResponse updateProvisioningTemplate(Consumer<UpdateProvisioningTemplateRequest.Builder> updateProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Updates a fleet provisioning template.
Requires permission to access the UpdateProvisioningTemplate action.
This is a convenience which creates an instance of the UpdateProvisioningTemplateRequest.Builder avoiding
the need to create one manually via UpdateProvisioningTemplateRequest.builder()
updateProvisioningTemplateRequest - A Consumer that will call methods on UpdateProvisioningTemplateRequest.Builder to create a
request.InternalFailureException - An unexpected error has occurred.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.UnauthorizedException - You are not authorized to perform this operation.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 UpdateRoleAliasResponse updateRoleAlias(UpdateRoleAliasRequest updateRoleAliasRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a role alias.
Requires permission to access the UpdateRoleAlias action.
updateRoleAliasRequest - 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 UpdateRoleAliasResponse updateRoleAlias(Consumer<UpdateRoleAliasRequest.Builder> updateRoleAliasRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a role alias.
Requires permission to access the UpdateRoleAlias action.
This is a convenience which creates an instance of the UpdateRoleAliasRequest.Builder avoiding the need
to create one manually via UpdateRoleAliasRequest.builder()
updateRoleAliasRequest - A Consumer that will call methods on UpdateRoleAliasRequest.Builder to create a request.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 UpdateScheduledAuditResponse updateScheduledAudit(UpdateScheduledAuditRequest updateScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
Requires permission to access the UpdateScheduledAudit action.
updateScheduledAuditRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateScheduledAuditResponse updateScheduledAudit(Consumer<UpdateScheduledAuditRequest.Builder> updateScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
Requires permission to access the UpdateScheduledAudit action.
This is a convenience which creates an instance of the UpdateScheduledAuditRequest.Builder avoiding the
need to create one manually via UpdateScheduledAuditRequest.builder()
updateScheduledAuditRequest - A Consumer that will call methods on UpdateScheduledAuditRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.ThrottlingException - The rate exceeds the limit.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 UpdateSecurityProfileResponse updateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a Device Defender security profile.
Requires permission to access the UpdateSecurityProfile action.
updateSecurityProfileRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 UpdateSecurityProfileResponse updateSecurityProfile(Consumer<UpdateSecurityProfileRequest.Builder> updateSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates a Device Defender security profile.
Requires permission to access the UpdateSecurityProfile action.
This is a convenience which creates an instance of the UpdateSecurityProfileRequest.Builder avoiding the
need to create one manually via UpdateSecurityProfileRequest.builder()
updateSecurityProfileRequest - A Consumer that will call methods on UpdateSecurityProfileRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 UpdateStreamResponse updateStream(UpdateStreamRequest updateStreamRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates an existing stream. The stream version will be incremented by one.
Requires permission to access the UpdateStream action.
updateStreamRequest - InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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 UpdateStreamResponse updateStream(Consumer<UpdateStreamRequest.Builder> updateStreamRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Updates an existing stream. The stream version will be incremented by one.
Requires permission to access the UpdateStream action.
This is a convenience which creates an instance of the UpdateStreamRequest.Builder avoiding the need to
create one manually via UpdateStreamRequest.builder()
updateStreamRequest - A Consumer that will call methods on UpdateStreamRequest.Builder to create a request.InvalidRequestException - The request is not valid.ResourceNotFoundException - The specified resource does not exist.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.
Requires permission to access the UpdateThing action.
updateThingRequest - The input for the UpdateThing operation.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.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.
Requires permission to access the UpdateThing action.
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 an entity specified with the expectedVersion
parameter does not match the latest version in the system.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 UpdateThingGroupResponse updateThingGroup(UpdateThingGroupRequest updateThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Update a thing group.
Requires permission to access the UpdateThingGroup action.
updateThingGroupRequest - InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 UpdateThingGroupResponse updateThingGroup(Consumer<UpdateThingGroupRequest.Builder> updateThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Update a thing group.
Requires permission to access the UpdateThingGroup action.
This is a convenience which creates an instance of the UpdateThingGroupRequest.Builder avoiding the need
to create one manually via UpdateThingGroupRequest.builder()
updateThingGroupRequest - A Consumer that will call methods on UpdateThingGroupRequest.Builder to create a request.InvalidRequestException - The request is not valid.VersionConflictException - An exception thrown when the version of an entity specified with the expectedVersion
parameter does not match the latest version in the system.ThrottlingException - The rate exceeds the limit.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 UpdateThingGroupsForThingResponse updateThingGroupsForThing(UpdateThingGroupsForThingRequest updateThingGroupsForThingRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Updates the groups to which the thing belongs.
Requires permission to access the UpdateThingGroupsForThing action.
updateThingGroupsForThingRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 UpdateThingGroupsForThingResponse updateThingGroupsForThing(Consumer<UpdateThingGroupsForThingRequest.Builder> updateThingGroupsForThingRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException
Updates the groups to which the thing belongs.
Requires permission to access the UpdateThingGroupsForThing action.
This is a convenience which creates an instance of the UpdateThingGroupsForThingRequest.Builder avoiding
the need to create one manually via UpdateThingGroupsForThingRequest.builder()
updateThingGroupsForThingRequest - A Consumer that will call methods on UpdateThingGroupsForThingRequest.Builder to create a
request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 UpdateTopicRuleDestinationResponse updateTopicRuleDestination(UpdateTopicRuleDestinationRequest updateTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination.
Requires permission to access the UpdateTopicRuleDestination action.
updateTopicRuleDestinationRequest - 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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 UpdateTopicRuleDestinationResponse updateTopicRuleDestination(Consumer<UpdateTopicRuleDestinationRequest.Builder> updateTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException
Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination.
Requires permission to access the UpdateTopicRuleDestination action.
This is a convenience which creates an instance of the UpdateTopicRuleDestinationRequest.Builder avoiding
the need to create one manually via UpdateTopicRuleDestinationRequest.builder()
updateTopicRuleDestinationRequest - A Consumer that will call methods on UpdateTopicRuleDestinationRequest.Builder to create a
request.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.ConflictingResourceUpdateException - A conflicting resource update exception. This exception is thrown when two pending updates cause a
conflict.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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 ValidateSecurityProfileBehaviorsResponse validateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest validateSecurityProfileBehaviorsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Validates a Device Defender security profile behaviors specification.
Requires permission to access the ValidateSecurityProfileBehaviors action.
validateSecurityProfileBehaviorsRequest - InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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 ValidateSecurityProfileBehaviorsResponse validateSecurityProfileBehaviors(Consumer<ValidateSecurityProfileBehaviorsRequest.Builder> validateSecurityProfileBehaviorsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException
Validates a Device Defender security profile behaviors specification.
Requires permission to access the ValidateSecurityProfileBehaviors action.
This is a convenience which creates an instance of the ValidateSecurityProfileBehaviorsRequest.Builder
avoiding the need to create one manually via ValidateSecurityProfileBehaviorsRequest.builder()
validateSecurityProfileBehaviorsRequest - A Consumer that will call methods on ValidateSecurityProfileBehaviorsRequest.Builder to
create a request.InvalidRequestException - The request is not valid.ThrottlingException - The rate exceeds the limit.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.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.