public class AWSIotClient extends AmazonWebServiceClient implements AWSIot
AWS IoT provides secure, bi-directional communication between Internet-connected devices (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.
The service endpoints that expose this API are listed in AWS 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 AWS Signature Version 4 to sign the request is: execute-api.
For more information about how AWS IoT works, see the Developer Guide.
For information about how to use the credentials provider for AWS IoT, see Authorizing Direct Calls to AWS Services.
LOGGING_AWS_REQUEST_METRIC
Constructor and Description |
---|
AWSIotClient()
Deprecated.
|
AWSIotClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on AWSIot using the
specified AWS account credentials.
|
AWSIotClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWSIot using the
specified AWS account credentials and client configuration options.
|
AWSIotClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on AWSIot using the
specified AWS account credentials provider.
|
AWSIotClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWSIot using the
specified AWS account credentials provider and client configuration
options.
|
AWSIotClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
HttpClient httpClient)
Constructs a new client to invoke service methods on AWSIot using the
specified AWS account credentials provider, client configuration options
and request metric collector.
|
AWSIotClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
Deprecated.
|
AWSIotClient(ClientConfiguration clientConfiguration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
acceptCertificateTransfer(AcceptCertificateTransferRequest acceptCertificateTransferRequest)
Accepts a pending certificate transfer.
|
AddThingToBillingGroupResult |
addThingToBillingGroup(AddThingToBillingGroupRequest addThingToBillingGroupRequest)
Adds a thing to a billing group.
|
AddThingToThingGroupResult |
addThingToThingGroup(AddThingToThingGroupRequest addThingToThingGroupRequest)
Adds a thing to a thing group.
|
AssociateTargetsWithJobResult |
associateTargetsWithJob(AssociateTargetsWithJobRequest associateTargetsWithJobRequest)
Associates a group with a continuous job.
|
void |
attachPolicy(AttachPolicyRequest attachPolicyRequest)
Attaches a policy to the specified target.
|
void |
attachPrincipalPolicy(AttachPrincipalPolicyRequest attachPrincipalPolicyRequest)
Deprecated.
|
AttachSecurityProfileResult |
attachSecurityProfile(AttachSecurityProfileRequest attachSecurityProfileRequest)
Associates a Device Defender security profile with a thing group or this
account.
|
AttachThingPrincipalResult |
attachThingPrincipal(AttachThingPrincipalRequest attachThingPrincipalRequest)
Attaches the specified principal to the specified thing.
|
CancelAuditMitigationActionsTaskResult |
cancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest cancelAuditMitigationActionsTaskRequest)
Cancels a mitigation action task that is in progress.
|
CancelAuditTaskResult |
cancelAuditTask(CancelAuditTaskRequest cancelAuditTaskRequest)
Cancels an audit that is in progress.
|
void |
cancelCertificateTransfer(CancelCertificateTransferRequest cancelCertificateTransferRequest)
Cancels a pending transfer for the specified certificate.
|
CancelDetectMitigationActionsTaskResult |
cancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest cancelDetectMitigationActionsTaskRequest)
Cancels a Device Defender ML Detect mitigation action.
|
CancelJobResult |
cancelJob(CancelJobRequest cancelJobRequest)
Cancels a job.
|
void |
cancelJobExecution(CancelJobExecutionRequest cancelJobExecutionRequest)
Cancels the execution of a job for a given thing.
|
ClearDefaultAuthorizerResult |
clearDefaultAuthorizer(ClearDefaultAuthorizerRequest clearDefaultAuthorizerRequest)
Clears the default authorizer.
|
ConfirmTopicRuleDestinationResult |
confirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest confirmTopicRuleDestinationRequest)
Confirms a topic rule destination.
|
CreateAuditSuppressionResult |
createAuditSuppression(CreateAuditSuppressionRequest createAuditSuppressionRequest)
Creates a Device Defender audit suppression.
|
CreateAuthorizerResult |
createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest)
Creates an authorizer.
|
CreateBillingGroupResult |
createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest)
Creates a billing group.
|
CreateCertificateFromCsrResult |
createCertificateFromCsr(CreateCertificateFromCsrRequest createCertificateFromCsrRequest)
Creates an X.509 certificate using the specified certificate signing
request.
|
CreateCustomMetricResult |
createCustomMetric(CreateCustomMetricRequest createCustomMetricRequest)
Use this API to define a Custom Metric published by your devices to
Device Defender.
|
CreateDimensionResult |
createDimension(CreateDimensionRequest createDimensionRequest)
Create a dimension that you can use to limit the scope of a metric used
in a security profile for AWS IoT Device Defender.
|
CreateDomainConfigurationResult |
createDomainConfiguration(CreateDomainConfigurationRequest createDomainConfigurationRequest)
Creates a domain configuration.
|
CreateDynamicThingGroupResult |
createDynamicThingGroup(CreateDynamicThingGroupRequest createDynamicThingGroupRequest)
Creates a dynamic thing group.
|
CreateJobResult |
createJob(CreateJobRequest createJobRequest)
Creates a job.
|
CreateKeysAndCertificateResult |
createKeysAndCertificate(CreateKeysAndCertificateRequest createKeysAndCertificateRequest)
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the
issued public key.
|
CreateMitigationActionResult |
createMitigationAction(CreateMitigationActionRequest createMitigationActionRequest)
Defines an action that can be applied to audit findings by using
StartAuditMitigationActionsTask.
|
CreateOTAUpdateResult |
createOTAUpdate(CreateOTAUpdateRequest createOTAUpdateRequest)
Creates an AWS IoT OTAUpdate on a target group of things or groups.
|
CreatePolicyResult |
createPolicy(CreatePolicyRequest createPolicyRequest)
Creates an AWS IoT policy.
|
CreatePolicyVersionResult |
createPolicyVersion(CreatePolicyVersionRequest createPolicyVersionRequest)
Creates a new version of the specified AWS IoT policy.
|
CreateProvisioningClaimResult |
createProvisioningClaim(CreateProvisioningClaimRequest createProvisioningClaimRequest)
Creates a provisioning claim.
|
CreateProvisioningTemplateResult |
createProvisioningTemplate(CreateProvisioningTemplateRequest createProvisioningTemplateRequest)
Creates a fleet provisioning template.
|
CreateProvisioningTemplateVersionResult |
createProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest createProvisioningTemplateVersionRequest)
Creates a new version of a fleet provisioning template.
|
CreateRoleAliasResult |
createRoleAlias(CreateRoleAliasRequest createRoleAliasRequest)
Creates a role alias.
|
CreateScheduledAuditResult |
createScheduledAudit(CreateScheduledAuditRequest createScheduledAuditRequest)
Creates a scheduled audit that is run at a specified time interval.
|
CreateSecurityProfileResult |
createSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest)
Creates a Device Defender security profile.
|
CreateStreamResult |
createStream(CreateStreamRequest createStreamRequest)
Creates a stream for delivering one or more large files in chunks over
MQTT.
|
CreateThingResult |
createThing(CreateThingRequest createThingRequest)
Creates a thing record in the registry.
|
CreateThingGroupResult |
createThingGroup(CreateThingGroupRequest createThingGroupRequest)
Create a thing group.
|
CreateThingTypeResult |
createThingType(CreateThingTypeRequest createThingTypeRequest)
Creates a new thing type.
|
void |
createTopicRule(CreateTopicRuleRequest createTopicRuleRequest)
Creates a rule.
|
CreateTopicRuleDestinationResult |
createTopicRuleDestination(CreateTopicRuleDestinationRequest createTopicRuleDestinationRequest)
Creates a topic rule destination.
|
DeleteAccountAuditConfigurationResult |
deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest deleteAccountAuditConfigurationRequest)
Restores the default settings for Device Defender audits for this
account.
|
DeleteAuditSuppressionResult |
deleteAuditSuppression(DeleteAuditSuppressionRequest deleteAuditSuppressionRequest)
Deletes a Device Defender audit suppression.
|
DeleteAuthorizerResult |
deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest)
Deletes an authorizer.
|
DeleteBillingGroupResult |
deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest)
Deletes the billing group.
|
DeleteCACertificateResult |
deleteCACertificate(DeleteCACertificateRequest deleteCACertificateRequest)
Deletes a registered CA certificate.
|
void |
deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)
Deletes the specified certificate.
|
DeleteCustomMetricResult |
deleteCustomMetric(DeleteCustomMetricRequest deleteCustomMetricRequest)
|
DeleteDimensionResult |
deleteDimension(DeleteDimensionRequest deleteDimensionRequest)
Removes the specified dimension from your AWS account.
|
DeleteDomainConfigurationResult |
deleteDomainConfiguration(DeleteDomainConfigurationRequest deleteDomainConfigurationRequest)
Deletes the specified domain configuration.
|
DeleteDynamicThingGroupResult |
deleteDynamicThingGroup(DeleteDynamicThingGroupRequest deleteDynamicThingGroupRequest)
Deletes a dynamic thing group.
|
void |
deleteJob(DeleteJobRequest deleteJobRequest)
Deletes a job and its related job executions.
|
void |
deleteJobExecution(DeleteJobExecutionRequest deleteJobExecutionRequest)
Deletes a job execution.
|
DeleteMitigationActionResult |
deleteMitigationAction(DeleteMitigationActionRequest deleteMitigationActionRequest)
Deletes a defined mitigation action from your AWS account.
|
DeleteOTAUpdateResult |
deleteOTAUpdate(DeleteOTAUpdateRequest deleteOTAUpdateRequest)
Delete an OTA update.
|
void |
deletePolicy(DeletePolicyRequest deletePolicyRequest)
Deletes the specified policy.
|
void |
deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest)
Deletes the specified version of the specified policy.
|
DeleteProvisioningTemplateResult |
deleteProvisioningTemplate(DeleteProvisioningTemplateRequest deleteProvisioningTemplateRequest)
Deletes a fleet provisioning template.
|
DeleteProvisioningTemplateVersionResult |
deleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest deleteProvisioningTemplateVersionRequest)
Deletes a fleet provisioning template version.
|
DeleteRegistrationCodeResult |
deleteRegistrationCode(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest)
Deletes a CA certificate registration code.
|
DeleteRoleAliasResult |
deleteRoleAlias(DeleteRoleAliasRequest deleteRoleAliasRequest)
Deletes a role alias
|
DeleteScheduledAuditResult |
deleteScheduledAudit(DeleteScheduledAuditRequest deleteScheduledAuditRequest)
Deletes a scheduled audit.
|
DeleteSecurityProfileResult |
deleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest)
Deletes a Device Defender security profile.
|
DeleteStreamResult |
deleteStream(DeleteStreamRequest deleteStreamRequest)
Deletes a stream.
|
DeleteThingResult |
deleteThing(DeleteThingRequest deleteThingRequest)
Deletes the specified thing.
|
DeleteThingGroupResult |
deleteThingGroup(DeleteThingGroupRequest deleteThingGroupRequest)
Deletes a thing group.
|
DeleteThingTypeResult |
deleteThingType(DeleteThingTypeRequest deleteThingTypeRequest)
Deletes the specified thing type.
|
void |
deleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest)
Deletes the rule.
|
DeleteTopicRuleDestinationResult |
deleteTopicRuleDestination(DeleteTopicRuleDestinationRequest deleteTopicRuleDestinationRequest)
Deletes a topic rule destination.
|
void |
deleteV2LoggingLevel(DeleteV2LoggingLevelRequest deleteV2LoggingLevelRequest)
Deletes a logging level.
|
DeprecateThingTypeResult |
deprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest)
Deprecates a thing type.
|
DescribeAccountAuditConfigurationResult |
describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest describeAccountAuditConfigurationRequest)
Gets information about the Device Defender audit settings for this
account.
|
DescribeAuditFindingResult |
describeAuditFinding(DescribeAuditFindingRequest describeAuditFindingRequest)
Gets information about a single audit finding.
|
DescribeAuditMitigationActionsTaskResult |
describeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest describeAuditMitigationActionsTaskRequest)
Gets information about an audit mitigation task that is used to apply
mitigation actions to a set of audit findings.
|
DescribeAuditSuppressionResult |
describeAuditSuppression(DescribeAuditSuppressionRequest describeAuditSuppressionRequest)
Gets information about a Device Defender audit suppression.
|
DescribeAuditTaskResult |
describeAuditTask(DescribeAuditTaskRequest describeAuditTaskRequest)
Gets information about a Device Defender audit.
|
DescribeAuthorizerResult |
describeAuthorizer(DescribeAuthorizerRequest describeAuthorizerRequest)
Describes an authorizer.
|
DescribeBillingGroupResult |
describeBillingGroup(DescribeBillingGroupRequest describeBillingGroupRequest)
Returns information about a billing group.
|
DescribeCACertificateResult |
describeCACertificate(DescribeCACertificateRequest describeCACertificateRequest)
Describes a registered CA certificate.
|
DescribeCertificateResult |
describeCertificate(DescribeCertificateRequest describeCertificateRequest)
Gets information about the specified certificate.
|
DescribeCustomMetricResult |
describeCustomMetric(DescribeCustomMetricRequest describeCustomMetricRequest)
Gets information about a Device Defender detect custom metric.
|
DescribeDefaultAuthorizerResult |
describeDefaultAuthorizer(DescribeDefaultAuthorizerRequest describeDefaultAuthorizerRequest)
Describes the default authorizer.
|
DescribeDetectMitigationActionsTaskResult |
describeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest describeDetectMitigationActionsTaskRequest)
Gets information about a Device Defender ML Detect mitigation action.
|
DescribeDimensionResult |
describeDimension(DescribeDimensionRequest describeDimensionRequest)
Provides details about a dimension that is defined in your AWS account.
|
DescribeDomainConfigurationResult |
describeDomainConfiguration(DescribeDomainConfigurationRequest describeDomainConfigurationRequest)
Gets summary information about a domain configuration.
|
DescribeEndpointResult |
describeEndpoint(DescribeEndpointRequest describeEndpointRequest)
Returns a unique endpoint specific to the AWS account making the call.
|
DescribeEventConfigurationsResult |
describeEventConfigurations(DescribeEventConfigurationsRequest describeEventConfigurationsRequest)
Describes event configurations.
|
DescribeIndexResult |
describeIndex(DescribeIndexRequest describeIndexRequest)
Describes a search index.
|
DescribeJobResult |
describeJob(DescribeJobRequest describeJobRequest)
Describes a job.
|
DescribeJobExecutionResult |
describeJobExecution(DescribeJobExecutionRequest describeJobExecutionRequest)
Describes a job execution.
|
DescribeMitigationActionResult |
describeMitigationAction(DescribeMitigationActionRequest describeMitigationActionRequest)
Gets information about a mitigation action.
|
DescribeProvisioningTemplateResult |
describeProvisioningTemplate(DescribeProvisioningTemplateRequest describeProvisioningTemplateRequest)
Returns information about a fleet provisioning template.
|
DescribeProvisioningTemplateVersionResult |
describeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest describeProvisioningTemplateVersionRequest)
Returns information about a fleet provisioning template version.
|
DescribeRoleAliasResult |
describeRoleAlias(DescribeRoleAliasRequest describeRoleAliasRequest)
Describes a role alias.
|
DescribeScheduledAuditResult |
describeScheduledAudit(DescribeScheduledAuditRequest describeScheduledAuditRequest)
Gets information about a scheduled audit.
|
DescribeSecurityProfileResult |
describeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest)
Gets information about a Device Defender security profile.
|
DescribeStreamResult |
describeStream(DescribeStreamRequest describeStreamRequest)
Gets information about a stream.
|
DescribeThingResult |
describeThing(DescribeThingRequest describeThingRequest)
Gets information about the specified thing.
|
DescribeThingGroupResult |
describeThingGroup(DescribeThingGroupRequest describeThingGroupRequest)
Describe a thing group.
|
DescribeThingRegistrationTaskResult |
describeThingRegistrationTask(DescribeThingRegistrationTaskRequest describeThingRegistrationTaskRequest)
Describes a bulk thing provisioning task.
|
DescribeThingTypeResult |
describeThingType(DescribeThingTypeRequest describeThingTypeRequest)
Gets information about the specified thing type.
|
void |
detachPolicy(DetachPolicyRequest detachPolicyRequest)
Detaches a policy from the specified target.
|
void |
detachPrincipalPolicy(DetachPrincipalPolicyRequest detachPrincipalPolicyRequest)
Deprecated.
|
DetachSecurityProfileResult |
detachSecurityProfile(DetachSecurityProfileRequest detachSecurityProfileRequest)
Disassociates a Device Defender security profile from a thing group or
from this account.
|
DetachThingPrincipalResult |
detachThingPrincipal(DetachThingPrincipalRequest detachThingPrincipalRequest)
Detaches the specified principal from the specified thing.
|
void |
disableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest)
Disables the rule.
|
void |
enableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest)
Enables the rule.
|
GetBehaviorModelTrainingSummariesResult |
getBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest)
Returns a Device Defender's ML Detect Security Profile training model's
status.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Deprecated.
ResponseMetadata cache can hold up to 50 requests and
responses in memory and will cause memory issue. This method
now always returns null.
|
GetCardinalityResult |
getCardinality(GetCardinalityRequest getCardinalityRequest)
Returns the approximate count of unique values that match the query.
|
GetEffectivePoliciesResult |
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 AWS IoT device
gateway.
|
GetIndexingConfigurationResult |
getIndexingConfiguration(GetIndexingConfigurationRequest getIndexingConfigurationRequest)
Gets the indexing configuration.
|
GetJobDocumentResult |
getJobDocument(GetJobDocumentRequest getJobDocumentRequest)
Gets a job document.
|
GetLoggingOptionsResult |
getLoggingOptions(GetLoggingOptionsRequest getLoggingOptionsRequest)
Gets the logging options.
|
GetOTAUpdateResult |
getOTAUpdate(GetOTAUpdateRequest getOTAUpdateRequest)
Gets an OTA update.
|
GetPercentilesResult |
getPercentiles(GetPercentilesRequest getPercentilesRequest)
Groups the aggregated values that match the query into percentile
groupings.
|
GetPolicyResult |
getPolicy(GetPolicyRequest getPolicyRequest)
Gets information about the specified policy with the policy document of
the default version.
|
GetPolicyVersionResult |
getPolicyVersion(GetPolicyVersionRequest getPolicyVersionRequest)
Gets information about the specified policy version.
|
GetRegistrationCodeResult |
getRegistrationCode(GetRegistrationCodeRequest getRegistrationCodeRequest)
Gets a registration code used to register a CA certificate with AWS IoT.
|
GetStatisticsResult |
getStatistics(GetStatisticsRequest getStatisticsRequest)
Returns the count, average, sum, minimum, maximum, sum of squares,
variance, and standard deviation for the specified aggregated field.
|
GetTopicRuleResult |
getTopicRule(GetTopicRuleRequest getTopicRuleRequest)
Gets information about the rule.
|
GetTopicRuleDestinationResult |
getTopicRuleDestination(GetTopicRuleDestinationRequest getTopicRuleDestinationRequest)
Gets information about a topic rule destination.
|
GetV2LoggingOptionsResult |
getV2LoggingOptions(GetV2LoggingOptionsRequest getV2LoggingOptionsRequest)
Gets the fine grained logging options.
|
ListActiveViolationsResult |
listActiveViolations(ListActiveViolationsRequest listActiveViolationsRequest)
Lists the active violations for a given Device Defender security profile.
|
ListAttachedPoliciesResult |
listAttachedPolicies(ListAttachedPoliciesRequest listAttachedPoliciesRequest)
Lists the policies attached to the specified thing group.
|
ListAuditFindingsResult |
listAuditFindings(ListAuditFindingsRequest listAuditFindingsRequest)
Lists the findings (results) of a Device Defender audit or of the audits
performed during a specified time period.
|
ListAuditMitigationActionsExecutionsResult |
listAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest)
Gets the status of audit mitigation action tasks that were executed.
|
ListAuditMitigationActionsTasksResult |
listAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest)
Gets a list of audit mitigation action tasks that match the specified
filters.
|
ListAuditSuppressionsResult |
listAuditSuppressions(ListAuditSuppressionsRequest listAuditSuppressionsRequest)
Lists your Device Defender audit listings.
|
ListAuditTasksResult |
listAuditTasks(ListAuditTasksRequest listAuditTasksRequest)
Lists the Device Defender audits that have been performed during a given
time period.
|
ListAuthorizersResult |
listAuthorizers(ListAuthorizersRequest listAuthorizersRequest)
Lists the authorizers registered in your account.
|
ListBillingGroupsResult |
listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest)
Lists the billing groups you have created.
|
ListCACertificatesResult |
listCACertificates(ListCACertificatesRequest listCACertificatesRequest)
Lists the CA certificates registered for your AWS account.
|
ListCertificatesResult |
listCertificates(ListCertificatesRequest listCertificatesRequest)
Lists the certificates registered in your AWS account.
|
ListCertificatesByCAResult |
listCertificatesByCA(ListCertificatesByCARequest listCertificatesByCARequest)
List the device certificates signed by the specified CA certificate.
|
ListCustomMetricsResult |
listCustomMetrics(ListCustomMetricsRequest listCustomMetricsRequest)
Lists your Device Defender detect custom metrics.
|
ListDetectMitigationActionsExecutionsResult |
listDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest)
Lists mitigation actions executions for a Device Defender ML Detect
Security Profile.
|
ListDetectMitigationActionsTasksResult |
listDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest)
List of Device Defender ML Detect mitigation actions tasks.
|
ListDimensionsResult |
listDimensions(ListDimensionsRequest listDimensionsRequest)
List the set of dimensions that are defined for your AWS account.
|
ListDomainConfigurationsResult |
listDomainConfigurations(ListDomainConfigurationsRequest listDomainConfigurationsRequest)
Gets a list of domain configurations for the user.
|
ListIndicesResult |
listIndices(ListIndicesRequest listIndicesRequest)
Lists the search indices.
|
ListJobExecutionsForJobResult |
listJobExecutionsForJob(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest)
Lists the job executions for a job.
|
ListJobExecutionsForThingResult |
listJobExecutionsForThing(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest)
Lists the job executions for the specified thing.
|
ListJobsResult |
listJobs(ListJobsRequest listJobsRequest)
Lists jobs.
|
ListMitigationActionsResult |
listMitigationActions(ListMitigationActionsRequest listMitigationActionsRequest)
Gets a list of all mitigation actions that match the specified filter
criteria.
|
ListOTAUpdatesResult |
listOTAUpdates(ListOTAUpdatesRequest listOTAUpdatesRequest)
Lists OTA updates.
|
ListOutgoingCertificatesResult |
listOutgoingCertificates(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest)
Lists certificates that are being transferred but not yet accepted.
|
ListPoliciesResult |
listPolicies(ListPoliciesRequest listPoliciesRequest)
Lists your policies.
|
ListPolicyPrincipalsResult |
listPolicyPrincipals(ListPolicyPrincipalsRequest listPolicyPrincipalsRequest)
Deprecated.
|
ListPolicyVersionsResult |
listPolicyVersions(ListPolicyVersionsRequest listPolicyVersionsRequest)
Lists the versions of the specified policy and identifies the default
version.
|
ListPrincipalPoliciesResult |
listPrincipalPolicies(ListPrincipalPoliciesRequest listPrincipalPoliciesRequest)
Deprecated.
|
ListPrincipalThingsResult |
listPrincipalThings(ListPrincipalThingsRequest listPrincipalThingsRequest)
Lists the things associated with the specified principal.
|
ListProvisioningTemplatesResult |
listProvisioningTemplates(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest)
Lists the fleet provisioning templates in your AWS account.
|
ListProvisioningTemplateVersionsResult |
listProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest)
A list of fleet provisioning template versions.
|
ListRoleAliasesResult |
listRoleAliases(ListRoleAliasesRequest listRoleAliasesRequest)
Lists the role aliases registered in your account.
|
ListScheduledAuditsResult |
listScheduledAudits(ListScheduledAuditsRequest listScheduledAuditsRequest)
Lists all of your scheduled audits.
|
ListSecurityProfilesResult |
listSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest)
Lists the Device Defender security profiles you've created.
|
ListSecurityProfilesForTargetResult |
listSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest)
Lists the Device Defender security profiles attached to a target (thing
group).
|
ListStreamsResult |
listStreams(ListStreamsRequest listStreamsRequest)
Lists all of the streams in your AWS account.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
|
ListTargetsForPolicyResult |
listTargetsForPolicy(ListTargetsForPolicyRequest listTargetsForPolicyRequest)
List targets for the specified policy.
|
ListTargetsForSecurityProfileResult |
listTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest)
Lists the targets (thing groups) associated with a given Device Defender
security profile.
|
ListThingGroupsResult |
listThingGroups(ListThingGroupsRequest listThingGroupsRequest)
List the thing groups in your account.
|
ListThingGroupsForThingResult |
listThingGroupsForThing(ListThingGroupsForThingRequest listThingGroupsForThingRequest)
List the thing groups to which the specified thing belongs.
|
ListThingPrincipalsResult |
listThingPrincipals(ListThingPrincipalsRequest listThingPrincipalsRequest)
Lists the principals associated with the specified thing.
|
ListThingRegistrationTaskReportsResult |
listThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest)
Information about the thing registration tasks.
|
ListThingRegistrationTasksResult |
listThingRegistrationTasks(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest)
List bulk thing provisioning tasks.
|
ListThingsResult |
listThings(ListThingsRequest listThingsRequest)
Lists your things.
|
ListThingsInBillingGroupResult |
listThingsInBillingGroup(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest)
Lists the things you have added to the given billing group.
|
ListThingsInThingGroupResult |
listThingsInThingGroup(ListThingsInThingGroupRequest listThingsInThingGroupRequest)
Lists the things in the specified group.
|
ListThingTypesResult |
listThingTypes(ListThingTypesRequest listThingTypesRequest)
Lists the existing thing types.
|
ListTopicRuleDestinationsResult |
listTopicRuleDestinations(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest)
Lists all the topic rule destinations in your AWS account.
|
ListTopicRulesResult |
listTopicRules(ListTopicRulesRequest listTopicRulesRequest)
Lists the rules for the specific topic.
|
ListV2LoggingLevelsResult |
listV2LoggingLevels(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest)
Lists logging levels.
|
ListViolationEventsResult |
listViolationEvents(ListViolationEventsRequest listViolationEventsRequest)
Lists the Device Defender security profile violations discovered during
the given time period.
|
RegisterCACertificateResult |
registerCACertificate(RegisterCACertificateRequest registerCACertificateRequest)
Registers a CA certificate with AWS IoT.
|
RegisterCertificateResult |
registerCertificate(RegisterCertificateRequest registerCertificateRequest)
Registers a device certificate with AWS IoT.
|
RegisterCertificateWithoutCAResult |
registerCertificateWithoutCA(RegisterCertificateWithoutCARequest registerCertificateWithoutCARequest)
Register a certificate that does not have a certificate authority (CA).
|
RegisterThingResult |
registerThing(RegisterThingRequest registerThingRequest)
Provisions a thing in the device registry.
|
void |
rejectCertificateTransfer(RejectCertificateTransferRequest rejectCertificateTransferRequest)
Rejects a pending certificate transfer.
|
RemoveThingFromBillingGroupResult |
removeThingFromBillingGroup(RemoveThingFromBillingGroupRequest removeThingFromBillingGroupRequest)
Removes the given thing from the billing group.
|
RemoveThingFromThingGroupResult |
removeThingFromThingGroup(RemoveThingFromThingGroupRequest removeThingFromThingGroupRequest)
Remove the specified thing from the specified group.
|
void |
replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest)
Replaces the rule.
|
SearchIndexResult |
searchIndex(SearchIndexRequest searchIndexRequest)
The query search index.
|
SetDefaultAuthorizerResult |
setDefaultAuthorizer(SetDefaultAuthorizerRequest setDefaultAuthorizerRequest)
Sets the default authorizer.
|
void |
setDefaultPolicyVersion(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest)
Sets the specified version of the specified policy as the policy's
default (operative) version.
|
void |
setLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest)
Sets the logging options.
|
void |
setV2LoggingLevel(SetV2LoggingLevelRequest setV2LoggingLevelRequest)
Sets the logging level.
|
void |
setV2LoggingOptions(SetV2LoggingOptionsRequest setV2LoggingOptionsRequest)
Sets the logging options for the V2 logging service.
|
StartAuditMitigationActionsTaskResult |
startAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest startAuditMitigationActionsTaskRequest)
Starts a task that applies a set of mitigation actions to the specified
target.
|
StartDetectMitigationActionsTaskResult |
startDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest startDetectMitigationActionsTaskRequest)
Starts a Device Defender ML Detect mitigation actions task.
|
StartOnDemandAuditTaskResult |
startOnDemandAuditTask(StartOnDemandAuditTaskRequest startOnDemandAuditTaskRequest)
Starts an on-demand Device Defender audit.
|
StartThingRegistrationTaskResult |
startThingRegistrationTask(StartThingRegistrationTaskRequest startThingRegistrationTaskRequest)
Creates a bulk thing provisioning task.
|
StopThingRegistrationTaskResult |
stopThingRegistrationTask(StopThingRegistrationTaskRequest stopThingRegistrationTaskRequest)
Cancels a bulk thing provisioning task.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Adds to or modifies the tags of the given resource.
|
TestAuthorizationResult |
testAuthorization(TestAuthorizationRequest testAuthorizationRequest)
Tests if a specified principal is authorized to perform an AWS IoT action
on a specified resource.
|
TestInvokeAuthorizerResult |
testInvokeAuthorizer(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest)
Tests a custom authorization behavior by invoking a specified custom
authorizer.
|
TransferCertificateResult |
transferCertificate(TransferCertificateRequest transferCertificateRequest)
Transfers the specified certificate to the specified AWS account.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the given tags (metadata) from the resource.
|
UpdateAccountAuditConfigurationResult |
updateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest updateAccountAuditConfigurationRequest)
Configures or reconfigures the Device Defender audit settings for this
account.
|
UpdateAuditSuppressionResult |
updateAuditSuppression(UpdateAuditSuppressionRequest updateAuditSuppressionRequest)
Updates a Device Defender audit suppression.
|
UpdateAuthorizerResult |
updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest)
Updates an authorizer.
|
UpdateBillingGroupResult |
updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest)
Updates information about the billing group.
|
void |
updateCACertificate(UpdateCACertificateRequest updateCACertificateRequest)
Updates a registered CA certificate.
|
void |
updateCertificate(UpdateCertificateRequest updateCertificateRequest)
Updates the status of the specified certificate.
|
UpdateCustomMetricResult |
updateCustomMetric(UpdateCustomMetricRequest updateCustomMetricRequest)
Updates a Device Defender detect custom metric.
|
UpdateDimensionResult |
updateDimension(UpdateDimensionRequest updateDimensionRequest)
Updates the definition for a dimension.
|
UpdateDomainConfigurationResult |
updateDomainConfiguration(UpdateDomainConfigurationRequest updateDomainConfigurationRequest)
Updates values stored in the domain configuration.
|
UpdateDynamicThingGroupResult |
updateDynamicThingGroup(UpdateDynamicThingGroupRequest updateDynamicThingGroupRequest)
Updates a dynamic thing group.
|
UpdateEventConfigurationsResult |
updateEventConfigurations(UpdateEventConfigurationsRequest updateEventConfigurationsRequest)
Updates the event configurations.
|
UpdateIndexingConfigurationResult |
updateIndexingConfiguration(UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest)
Updates the search configuration.
|
void |
updateJob(UpdateJobRequest updateJobRequest)
Updates supported fields of the specified job.
|
UpdateMitigationActionResult |
updateMitigationAction(UpdateMitigationActionRequest updateMitigationActionRequest)
Updates the definition for the specified mitigation action.
|
UpdateProvisioningTemplateResult |
updateProvisioningTemplate(UpdateProvisioningTemplateRequest updateProvisioningTemplateRequest)
Updates a fleet provisioning template.
|
UpdateRoleAliasResult |
updateRoleAlias(UpdateRoleAliasRequest updateRoleAliasRequest)
Updates a role alias.
|
UpdateScheduledAuditResult |
updateScheduledAudit(UpdateScheduledAuditRequest updateScheduledAuditRequest)
Updates a scheduled audit, including which checks are performed and how
often the audit takes place.
|
UpdateSecurityProfileResult |
updateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest)
Updates a Device Defender security profile.
|
UpdateStreamResult |
updateStream(UpdateStreamRequest updateStreamRequest)
Updates an existing stream.
|
UpdateThingResult |
updateThing(UpdateThingRequest updateThingRequest)
Updates the data for a thing.
|
UpdateThingGroupResult |
updateThingGroup(UpdateThingGroupRequest updateThingGroupRequest)
Update a thing group.
|
UpdateThingGroupsForThingResult |
updateThingGroupsForThing(UpdateThingGroupsForThingRequest updateThingGroupsForThingRequest)
Updates the groups to which the thing belongs.
|
UpdateTopicRuleDestinationResult |
updateTopicRuleDestination(UpdateTopicRuleDestinationRequest updateTopicRuleDestinationRequest)
Updates a topic rule destination.
|
ValidateSecurityProfileBehaviorsResult |
validateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest validateSecurityProfileBehaviorsRequest)
Validates a Device Defender security profile behaviors specification.
|
addRequestHandler, addRequestHandler, getEndpoint, getEndpointPrefix, getRegions, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setConfiguration, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
@Deprecated public AWSIotClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
@Deprecated public AWSIotClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling
how this client connects to AWSIot (ex: proxy settings, retry
counts, etc.).DefaultAWSCredentialsProviderChain
public AWSIotClient(AWSCredentials awsCredentials)
The client requests are authenticated using the AWSCredentials
provided in this constructor. Static AWSCredentials can be passed for
quick testing. However, it is strongly recommended to use Amazon Cognito
vended temporary credentials for use in production. This can be achieved
by using AWSMobileClient
. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient
.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() { @Override public void onResult(final UserStateDetails details) { AWSIotClient client = new AWSIotClient(AWSMobileClient.getInstance()); } @Override public void onError(final Exception e) { e.printStackTrace(); } });
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.public AWSIotClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
The client requests are authenticated using the AWSCredentials
provided in this constructor. Static AWSCredentials can be passed for
quick testing. However, it is strongly recommended to use Amazon Cognito
vended temporary credentials for use in production. This can be achieved
by using AWSMobileClient
. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient
.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() { @Override public void onResult(final UserStateDetails details) { AWSIotClient client = new AWSIotClient(AWSMobileClient.getInstance()); } @Override public void onError(final Exception e) { e.printStackTrace(); } });
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.clientConfiguration
- The client configuration options controlling
how this client connects to AWSIot (ex: proxy settings, retry
counts, etc.).public AWSIotClient(AWSCredentialsProvider awsCredentialsProvider)
The client requests are authenticated using the AWSCredentials
provided by the AWSCredentialsProvider
. Static AWSCredentials can
be passed for quick testing. However, it is strongly recommended to use
Amazon Cognito vended temporary credentials for use in production. This
can be achieved by using AWSMobileClient
. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient
.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() { @Override public void onResult(final UserStateDetails details) { AWSIotClient client = new AWSIotClient(AWSMobileClient.getInstance()); } @Override public void onError(final Exception e) { e.printStackTrace(); } });
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.public AWSIotClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
The client requests are authenticated using the AWSCredentials
provided by the AWSCredentialsProvider
. Static AWSCredentials can
be passed for quick testing. However, it is strongly recommended to use
Amazon Cognito vended temporary credentials for use in production. This
can be achieved by using AWSMobileClient
. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient
.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() { @Override public void onResult(final UserStateDetails details) { AWSIotClient client = new AWSIotClient(AWSMobileClient.getInstance()); } @Override public void onError(final Exception e) { e.printStackTrace(); } });
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration
- The client configuration options controlling
how this client connects to AWSIot (ex: proxy settings, retry
counts, etc.).@Deprecated public AWSIotClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration
- The client configuration options controlling
how this client connects to AWSIot (ex: proxy settings, retry
counts, etc.).requestMetricCollector
- optional request metric collectorpublic AWSIotClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, HttpClient httpClient)
The client requests are authenticated using the AWSCredentials
provided by the AWSCredentialsProvider
. Static AWSCredentials can
be passed for quick testing. However, it is strongly recommended to use
Amazon Cognito vended temporary credentials for use in production. This
can be achieved by using AWSMobileClient
. Please see
https://aws-amplify.github.io/docs/android/authentication for
instructions on how to enable AWSMobileClient
.
AWSMobileClient.getInstance().initialize(getApplicationContext(), new Callback<UserStateDetails>() { @Override public void onResult(final UserStateDetails details) { AWSIotClient client = new AWSIotClient(AWSMobileClient.getInstance()); } @Override public void onError(final Exception e) { e.printStackTrace(); } });
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration
- The client configuration options controlling
how this client connects to AWSIot (ex: proxy settings, retry
counts, etc.).httpClient
- A http clientpublic void acceptCertificateTransfer(AcceptCertificateTransferRequest acceptCertificateTransferRequest) throws AmazonServiceException, AmazonClientException
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.
acceptCertificateTransfer
in interface AWSIot
acceptCertificateTransferRequest
- The input for the AcceptCertificateTransfer operation.
ResourceNotFoundException
TransferAlreadyCompletedException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public AddThingToBillingGroupResult addThingToBillingGroup(AddThingToBillingGroupRequest addThingToBillingGroupRequest) throws AmazonServiceException, AmazonClientException
Adds a thing to a billing group.
addThingToBillingGroup
in interface AWSIot
addThingToBillingGroupRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public AddThingToThingGroupResult addThingToThingGroup(AddThingToThingGroupRequest addThingToThingGroupRequest) throws AmazonServiceException, AmazonClientException
Adds a thing to a thing group.
addThingToThingGroup
in interface AWSIot
addThingToThingGroupRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public AssociateTargetsWithJobResult associateTargetsWithJob(AssociateTargetsWithJobRequest associateTargetsWithJobRequest) throws AmazonServiceException, AmazonClientException
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.
associateTargetsWithJob
in interface AWSIot
associateTargetsWithJobRequest
- InvalidRequestException
ResourceNotFoundException
LimitExceededException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void attachPolicy(AttachPolicyRequest attachPolicyRequest) throws AmazonServiceException, AmazonClientException
Attaches a policy to the specified target.
attachPolicy
in interface AWSIot
attachPolicyRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.@Deprecated public void attachPrincipalPolicy(AttachPrincipalPolicyRequest attachPrincipalPolicyRequest) throws AmazonServiceException, AmazonClientException
Attaches the specified policy to the specified principal (certificate or other credential).
Note: This API is deprecated. Please use AttachPolicy instead.
attachPrincipalPolicy
in interface AWSIot
attachPrincipalPolicyRequest
- The input for the AttachPrincipalPolicy operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public AttachSecurityProfileResult attachSecurityProfile(AttachSecurityProfileRequest attachSecurityProfileRequest) throws AmazonServiceException, AmazonClientException
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.
attachSecurityProfile
in interface AWSIot
attachSecurityProfileRequest
- InvalidRequestException
ResourceNotFoundException
LimitExceededException
VersionConflictException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public AttachThingPrincipalResult attachThingPrincipal(AttachThingPrincipalRequest attachThingPrincipalRequest) throws AmazonServiceException, AmazonClientException
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.
attachThingPrincipal
in interface AWSIot
attachThingPrincipalRequest
- The input for the AttachThingPrincipal operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CancelAuditMitigationActionsTaskResult cancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest cancelAuditMitigationActionsTaskRequest) throws AmazonServiceException, AmazonClientException
Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.
cancelAuditMitigationActionsTask
in interface AWSIot
cancelAuditMitigationActionsTaskRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CancelAuditTaskResult cancelAuditTask(CancelAuditTaskRequest cancelAuditTaskRequest) throws AmazonServiceException, AmazonClientException
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.
cancelAuditTask
in interface AWSIot
cancelAuditTaskRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void cancelCertificateTransfer(CancelCertificateTransferRequest cancelCertificateTransferRequest) throws AmazonServiceException, AmazonClientException
Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
cancelCertificateTransfer
in interface AWSIot
cancelCertificateTransferRequest
- The input for the CancelCertificateTransfer operation.
ResourceNotFoundException
TransferAlreadyCompletedException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CancelDetectMitigationActionsTaskResult cancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest cancelDetectMitigationActionsTaskRequest) throws AmazonServiceException, AmazonClientException
Cancels a Device Defender ML Detect mitigation action.
cancelDetectMitigationActionsTask
in interface AWSIot
cancelDetectMitigationActionsTaskRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CancelJobResult cancelJob(CancelJobRequest cancelJobRequest) throws AmazonServiceException, AmazonClientException
Cancels a job.
cancelJob
in interface AWSIot
cancelJobRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void cancelJobExecution(CancelJobExecutionRequest cancelJobExecutionRequest) throws AmazonServiceException, AmazonClientException
Cancels the execution of a job for a given thing.
cancelJobExecution
in interface AWSIot
cancelJobExecutionRequest
- InvalidRequestException
InvalidStateTransitionException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
VersionConflictException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ClearDefaultAuthorizerResult clearDefaultAuthorizer(ClearDefaultAuthorizerRequest clearDefaultAuthorizerRequest) throws AmazonServiceException, AmazonClientException
Clears the default authorizer.
clearDefaultAuthorizer
in interface AWSIot
clearDefaultAuthorizerRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ConfirmTopicRuleDestinationResult confirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest confirmTopicRuleDestinationRequest) throws AmazonServiceException, AmazonClientException
Confirms a topic rule destination. When you create a rule requiring a
destination, AWS 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.
confirmTopicRuleDestination
in interface AWSIot
confirmTopicRuleDestinationRequest
- InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateAuditSuppressionResult createAuditSuppression(CreateAuditSuppressionRequest createAuditSuppressionRequest) throws AmazonServiceException, AmazonClientException
Creates a Device Defender audit suppression.
createAuditSuppression
in interface AWSIot
createAuditSuppressionRequest
- InvalidRequestException
ResourceAlreadyExistsException
ThrottlingException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) throws AmazonServiceException, AmazonClientException
Creates an authorizer.
createAuthorizer
in interface AWSIot
createAuthorizerRequest
- ResourceAlreadyExistsException
InvalidRequestException
LimitExceededException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateBillingGroupResult createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a billing group.
createBillingGroup
in interface AWSIot
createBillingGroupRequest
- InvalidRequestException
ResourceAlreadyExistsException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateCertificateFromCsrResult createCertificateFromCsr(CreateCertificateFromCsrRequest createCertificateFromCsrRequest) throws AmazonServiceException, AmazonClientException
Creates an X.509 certificate using the specified certificate signing request.
Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs.
Assuming a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR.
The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
createCertificateFromCsr
in interface AWSIot
createCertificateFromCsrRequest
- The input for the CreateCertificateFromCsr operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateCustomMetricResult createCustomMetric(CreateCustomMetricRequest createCustomMetricRequest) throws AmazonServiceException, AmazonClientException
Use this API to define a Custom Metric published by your devices to Device Defender.
createCustomMetric
in interface AWSIot
createCustomMetricRequest
- InvalidRequestException
LimitExceededException
ResourceAlreadyExistsException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateDimensionResult createDimension(CreateDimensionRequest createDimensionRequest) throws AmazonServiceException, AmazonClientException
Create a dimension that you can use to limit the scope of a metric used
in a security profile for AWS 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.
createDimension
in interface AWSIot
createDimensionRequest
- InternalFailureException
InvalidRequestException
LimitExceededException
ResourceAlreadyExistsException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateDomainConfigurationResult createDomainConfiguration(CreateDomainConfigurationRequest createDomainConfigurationRequest) throws AmazonServiceException, AmazonClientException
Creates a domain configuration.
The domain configuration feature is in public preview and is subject to change.
createDomainConfiguration
in interface AWSIot
createDomainConfigurationRequest
- LimitExceededException
CertificateValidationException
ResourceAlreadyExistsException
ServiceUnavailableException
InternalFailureException
InvalidRequestException
UnauthorizedException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateDynamicThingGroupResult createDynamicThingGroup(CreateDynamicThingGroupRequest createDynamicThingGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a dynamic thing group.
createDynamicThingGroup
in interface AWSIot
createDynamicThingGroupRequest
- InvalidRequestException
ResourceAlreadyExistsException
ResourceNotFoundException
ThrottlingException
InternalFailureException
InvalidQueryException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateJobResult createJob(CreateJobRequest createJobRequest) throws AmazonServiceException, AmazonClientException
Creates a job.
createJob
in interface AWSIot
createJobRequest
- InvalidRequestException
ResourceNotFoundException
ResourceAlreadyExistsException
LimitExceededException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateKeysAndCertificateResult createKeysAndCertificate(CreateKeysAndCertificateRequest createKeysAndCertificateRequest) throws AmazonServiceException, AmazonClientException
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 AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
createKeysAndCertificate
in interface AWSIot
createKeysAndCertificateRequest
- The input for the CreateKeysAndCertificate operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateMitigationActionResult createMitigationAction(CreateMitigationActionRequest createMitigationActionRequest) throws AmazonServiceException, AmazonClientException
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.
createMitigationAction
in interface AWSIot
createMitigationActionRequest
- InvalidRequestException
ResourceAlreadyExistsException
LimitExceededException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateOTAUpdateResult createOTAUpdate(CreateOTAUpdateRequest createOTAUpdateRequest) throws AmazonServiceException, AmazonClientException
Creates an AWS IoT OTAUpdate on a target group of things or groups.
createOTAUpdate
in interface AWSIot
createOTAUpdateRequest
- InvalidRequestException
LimitExceededException
ResourceNotFoundException
ResourceAlreadyExistsException
ThrottlingException
UnauthorizedException
InternalFailureException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreatePolicyResult createPolicy(CreatePolicyRequest createPolicyRequest) throws AmazonServiceException, AmazonClientException
Creates an AWS IoT policy.
The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.
createPolicy
in interface AWSIot
createPolicyRequest
- The input for the CreatePolicy operation.
ResourceAlreadyExistsException
MalformedPolicyException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreatePolicyVersionResult createPolicyVersion(CreatePolicyVersionRequest createPolicyVersionRequest) throws AmazonServiceException, AmazonClientException
Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.
Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
createPolicyVersion
in interface AWSIot
createPolicyVersionRequest
- The input for the CreatePolicyVersion operation.
ResourceNotFoundException
MalformedPolicyException
VersionsLimitExceededException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateProvisioningClaimResult createProvisioningClaim(CreateProvisioningClaimRequest createProvisioningClaimRequest) throws AmazonServiceException, AmazonClientException
Creates a provisioning claim.
createProvisioningClaim
in interface AWSIot
createProvisioningClaimRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateProvisioningTemplateResult createProvisioningTemplate(CreateProvisioningTemplateRequest createProvisioningTemplateRequest) throws AmazonServiceException, AmazonClientException
Creates a fleet provisioning template.
createProvisioningTemplate
in interface AWSIot
createProvisioningTemplateRequest
- InternalFailureException
InvalidRequestException
LimitExceededException
ThrottlingException
UnauthorizedException
ResourceAlreadyExistsException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateProvisioningTemplateVersionResult createProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest createProvisioningTemplateVersionRequest) throws AmazonServiceException, AmazonClientException
Creates a new version of a fleet provisioning template.
createProvisioningTemplateVersion
in interface AWSIot
createProvisioningTemplateVersionRequest
- VersionsLimitExceededException
InternalFailureException
InvalidRequestException
ThrottlingException
ResourceNotFoundException
UnauthorizedException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateRoleAliasResult createRoleAlias(CreateRoleAliasRequest createRoleAliasRequest) throws AmazonServiceException, AmazonClientException
Creates a role alias.
createRoleAlias
in interface AWSIot
createRoleAliasRequest
- ResourceAlreadyExistsException
InvalidRequestException
LimitExceededException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateScheduledAuditResult createScheduledAudit(CreateScheduledAuditRequest createScheduledAuditRequest) throws AmazonServiceException, AmazonClientException
Creates a scheduled audit that is run at a specified time interval.
createScheduledAudit
in interface AWSIot
createScheduledAuditRequest
- InvalidRequestException
ResourceAlreadyExistsException
ThrottlingException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateSecurityProfileResult createSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest) throws AmazonServiceException, AmazonClientException
Creates a Device Defender security profile.
createSecurityProfile
in interface AWSIot
createSecurityProfileRequest
- InvalidRequestException
ResourceAlreadyExistsException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateStreamResult createStream(CreateStreamRequest createStreamRequest) throws AmazonServiceException, AmazonClientException
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.
createStream
in interface AWSIot
createStreamRequest
- InvalidRequestException
LimitExceededException
ResourceNotFoundException
ResourceAlreadyExistsException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateThingResult createThing(CreateThingRequest createThingRequest) throws AmazonServiceException, AmazonClientException
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.
createThing
in interface AWSIot
createThingRequest
- The input for the CreateThing operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceAlreadyExistsException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateThingGroupResult createThingGroup(CreateThingGroupRequest createThingGroupRequest) throws AmazonServiceException, AmazonClientException
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
createThingGroup
in interface AWSIot
createThingGroupRequest
- InvalidRequestException
ResourceAlreadyExistsException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateThingTypeResult createThingType(CreateThingTypeRequest createThingTypeRequest) throws AmazonServiceException, AmazonClientException
Creates a new thing type.
createThingType
in interface AWSIot
createThingTypeRequest
- The input for the CreateThingType operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceAlreadyExistsException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void createTopicRule(CreateTopicRuleRequest createTopicRuleRequest) throws AmazonServiceException, AmazonClientException
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.
createTopicRule
in interface AWSIot
createTopicRuleRequest
- The input for the CreateTopicRule operation.
SqlParseException
InternalException
InvalidRequestException
ResourceAlreadyExistsException
ServiceUnavailableException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public CreateTopicRuleDestinationResult createTopicRuleDestination(CreateTopicRuleDestinationRequest createTopicRuleDestinationRequest) throws AmazonServiceException, AmazonClientException
Creates a topic rule destination. The destination must be confirmed prior to use.
createTopicRuleDestination
in interface AWSIot
createTopicRuleDestinationRequest
- InternalException
InvalidRequestException
ResourceAlreadyExistsException
ServiceUnavailableException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteAccountAuditConfigurationResult deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest deleteAccountAuditConfigurationRequest) throws AmazonServiceException, AmazonClientException
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.
deleteAccountAuditConfiguration
in interface AWSIot
deleteAccountAuditConfigurationRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteAuditSuppressionResult deleteAuditSuppression(DeleteAuditSuppressionRequest deleteAuditSuppressionRequest) throws AmazonServiceException, AmazonClientException
Deletes a Device Defender audit suppression.
deleteAuditSuppression
in interface AWSIot
deleteAuditSuppressionRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteAuthorizerResult deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) throws AmazonServiceException, AmazonClientException
Deletes an authorizer.
deleteAuthorizer
in interface AWSIot
deleteAuthorizerRequest
- DeleteConflictException
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteBillingGroupResult deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes the billing group.
deleteBillingGroup
in interface AWSIot
deleteBillingGroupRequest
- InvalidRequestException
VersionConflictException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteCACertificateResult deleteCACertificate(DeleteCACertificateRequest deleteCACertificateRequest) throws AmazonServiceException, AmazonClientException
Deletes a registered CA certificate.
deleteCACertificate
in interface AWSIot
deleteCACertificateRequest
- Input for the DeleteCACertificate operation.
InvalidRequestException
CertificateStateException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void deleteCertificate(DeleteCertificateRequest deleteCertificateRequest) throws AmazonServiceException, AmazonClientException
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 DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status.
deleteCertificate
in interface AWSIot
deleteCertificateRequest
- The input for the DeleteCertificate operation.
CertificateStateException
DeleteConflictException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteCustomMetricResult deleteCustomMetric(DeleteCustomMetricRequest deleteCustomMetricRequest) throws AmazonServiceException, AmazonClientException
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.
Deletes a Device Defender detect custom metric.
deleteCustomMetric
in interface AWSIot
deleteCustomMetricRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteDimensionResult deleteDimension(DeleteDimensionRequest deleteDimensionRequest) throws AmazonServiceException, AmazonClientException
Removes the specified dimension from your AWS account.
deleteDimension
in interface AWSIot
deleteDimensionRequest
- InternalFailureException
InvalidRequestException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteDomainConfigurationResult deleteDomainConfiguration(DeleteDomainConfigurationRequest deleteDomainConfigurationRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified domain configuration.
The domain configuration feature is in public preview and is subject to change.
deleteDomainConfiguration
in interface AWSIot
deleteDomainConfigurationRequest
- ResourceNotFoundException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
InvalidRequestException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteDynamicThingGroupResult deleteDynamicThingGroup(DeleteDynamicThingGroupRequest deleteDynamicThingGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes a dynamic thing group.
deleteDynamicThingGroup
in interface AWSIot
deleteDynamicThingGroupRequest
- InvalidRequestException
VersionConflictException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void deleteJob(DeleteJobRequest deleteJobRequest) throws AmazonServiceException, AmazonClientException
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.
deleteJob
in interface AWSIot
deleteJobRequest
- InvalidRequestException
InvalidStateTransitionException
ResourceNotFoundException
LimitExceededException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void deleteJobExecution(DeleteJobExecutionRequest deleteJobExecutionRequest) throws AmazonServiceException, AmazonClientException
Deletes a job execution.
deleteJobExecution
in interface AWSIot
deleteJobExecutionRequest
- InvalidRequestException
InvalidStateTransitionException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteMitigationActionResult deleteMitigationAction(DeleteMitigationActionRequest deleteMitigationActionRequest) throws AmazonServiceException, AmazonClientException
Deletes a defined mitigation action from your AWS account.
deleteMitigationAction
in interface AWSIot
deleteMitigationActionRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteOTAUpdateResult deleteOTAUpdate(DeleteOTAUpdateRequest deleteOTAUpdateRequest) throws AmazonServiceException, AmazonClientException
Delete an OTA update.
deleteOTAUpdate
in interface AWSIot
deleteOTAUpdateRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
UnauthorizedException
InternalFailureException
ServiceUnavailableException
VersionConflictException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void deletePolicy(DeletePolicyRequest deletePolicyRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified policy.
A policy cannot be deleted if it has non-default versions or it is attached to any certificate.
To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
deletePolicy
in interface AWSIot
deletePolicyRequest
- The input for the DeletePolicy operation.
DeleteConflictException
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
deletePolicyVersion
in interface AWSIot
deletePolicyVersionRequest
- The input for the DeletePolicyVersion operation.
DeleteConflictException
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteProvisioningTemplateResult deleteProvisioningTemplate(DeleteProvisioningTemplateRequest deleteProvisioningTemplateRequest) throws AmazonServiceException, AmazonClientException
Deletes a fleet provisioning template.
deleteProvisioningTemplate
in interface AWSIot
deleteProvisioningTemplateRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
DeleteConflictException
ThrottlingException
ConflictingResourceUpdateException
UnauthorizedException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteProvisioningTemplateVersionResult deleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest deleteProvisioningTemplateVersionRequest) throws AmazonServiceException, AmazonClientException
Deletes a fleet provisioning template version.
deleteProvisioningTemplateVersion
in interface AWSIot
deleteProvisioningTemplateVersionRequest
- InternalFailureException
InvalidRequestException
ThrottlingException
ResourceNotFoundException
UnauthorizedException
ConflictingResourceUpdateException
DeleteConflictException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteRegistrationCodeResult deleteRegistrationCode(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest) throws AmazonServiceException, AmazonClientException
Deletes a CA certificate registration code.
deleteRegistrationCode
in interface AWSIot
deleteRegistrationCodeRequest
- The input for the DeleteRegistrationCode operation.
ThrottlingException
ResourceNotFoundException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteRoleAliasResult deleteRoleAlias(DeleteRoleAliasRequest deleteRoleAliasRequest) throws AmazonServiceException, AmazonClientException
Deletes a role alias
deleteRoleAlias
in interface AWSIot
deleteRoleAliasRequest
- DeleteConflictException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteScheduledAuditResult deleteScheduledAudit(DeleteScheduledAuditRequest deleteScheduledAuditRequest) throws AmazonServiceException, AmazonClientException
Deletes a scheduled audit.
deleteScheduledAudit
in interface AWSIot
deleteScheduledAuditRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteSecurityProfileResult deleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest) throws AmazonServiceException, AmazonClientException
Deletes a Device Defender security profile.
deleteSecurityProfile
in interface AWSIot
deleteSecurityProfileRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
VersionConflictException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteStreamResult deleteStream(DeleteStreamRequest deleteStreamRequest) throws AmazonServiceException, AmazonClientException
Deletes a stream.
deleteStream
in interface AWSIot
deleteStreamRequest
- ResourceNotFoundException
DeleteConflictException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteThingResult deleteThing(DeleteThingRequest deleteThingRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
deleteThing
in interface AWSIot
deleteThingRequest
- The input for the DeleteThing operation.
ResourceNotFoundException
VersionConflictException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteThingGroupResult deleteThingGroup(DeleteThingGroupRequest deleteThingGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes a thing group.
deleteThingGroup
in interface AWSIot
deleteThingGroupRequest
- InvalidRequestException
VersionConflictException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteThingTypeResult deleteThingType(DeleteThingTypeRequest deleteThingTypeRequest) throws AmazonServiceException, AmazonClientException
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.
deleteThingType
in interface AWSIot
deleteThingTypeRequest
- The input for the DeleteThingType operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void deleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest) throws AmazonServiceException, AmazonClientException
Deletes the rule.
deleteTopicRule
in interface AWSIot
deleteTopicRuleRequest
- The input for the DeleteTopicRule operation.
InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeleteTopicRuleDestinationResult deleteTopicRuleDestination(DeleteTopicRuleDestinationRequest deleteTopicRuleDestinationRequest) throws AmazonServiceException, AmazonClientException
Deletes a topic rule destination.
deleteTopicRuleDestination
in interface AWSIot
deleteTopicRuleDestinationRequest
- InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void deleteV2LoggingLevel(DeleteV2LoggingLevelRequest deleteV2LoggingLevelRequest) throws AmazonServiceException, AmazonClientException
Deletes a logging level.
deleteV2LoggingLevel
in interface AWSIot
deleteV2LoggingLevelRequest
- InternalException
InvalidRequestException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DeprecateThingTypeResult deprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest) throws AmazonServiceException, AmazonClientException
Deprecates a thing type. You can not associate new things with deprecated thing type.
deprecateThingType
in interface AWSIot
deprecateThingTypeRequest
- The input for the DeprecateThingType operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeAccountAuditConfigurationResult describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest describeAccountAuditConfigurationRequest) throws AmazonServiceException, AmazonClientException
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.
describeAccountAuditConfiguration
in interface AWSIot
describeAccountAuditConfigurationRequest
- ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeAuditFindingResult describeAuditFinding(DescribeAuditFindingRequest describeAuditFindingRequest) throws AmazonServiceException, AmazonClientException
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.
describeAuditFinding
in interface AWSIot
describeAuditFindingRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeAuditMitigationActionsTaskResult describeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest describeAuditMitigationActionsTaskRequest) throws AmazonServiceException, AmazonClientException
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.
describeAuditMitigationActionsTask
in interface AWSIot
describeAuditMitigationActionsTaskRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeAuditSuppressionResult describeAuditSuppression(DescribeAuditSuppressionRequest describeAuditSuppressionRequest) throws AmazonServiceException, AmazonClientException
Gets information about a Device Defender audit suppression.
describeAuditSuppression
in interface AWSIot
describeAuditSuppressionRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeAuditTaskResult describeAuditTask(DescribeAuditTaskRequest describeAuditTaskRequest) throws AmazonServiceException, AmazonClientException
Gets information about a Device Defender audit.
describeAuditTask
in interface AWSIot
describeAuditTaskRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeAuthorizerResult describeAuthorizer(DescribeAuthorizerRequest describeAuthorizerRequest) throws AmazonServiceException, AmazonClientException
Describes an authorizer.
describeAuthorizer
in interface AWSIot
describeAuthorizerRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeBillingGroupResult describeBillingGroup(DescribeBillingGroupRequest describeBillingGroupRequest) throws AmazonServiceException, AmazonClientException
Returns information about a billing group.
describeBillingGroup
in interface AWSIot
describeBillingGroupRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeCACertificateResult describeCACertificate(DescribeCACertificateRequest describeCACertificateRequest) throws AmazonServiceException, AmazonClientException
Describes a registered CA certificate.
describeCACertificate
in interface AWSIot
describeCACertificateRequest
- The input for the DescribeCACertificate operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeCertificateResult describeCertificate(DescribeCertificateRequest describeCertificateRequest) throws AmazonServiceException, AmazonClientException
Gets information about the specified certificate.
describeCertificate
in interface AWSIot
describeCertificateRequest
- The input for the DescribeCertificate operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeCustomMetricResult describeCustomMetric(DescribeCustomMetricRequest describeCustomMetricRequest) throws AmazonServiceException, AmazonClientException
Gets information about a Device Defender detect custom metric.
describeCustomMetric
in interface AWSIot
describeCustomMetricRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeDefaultAuthorizerResult describeDefaultAuthorizer(DescribeDefaultAuthorizerRequest describeDefaultAuthorizerRequest) throws AmazonServiceException, AmazonClientException
Describes the default authorizer.
describeDefaultAuthorizer
in interface AWSIot
describeDefaultAuthorizerRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeDetectMitigationActionsTaskResult describeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest describeDetectMitigationActionsTaskRequest) throws AmazonServiceException, AmazonClientException
Gets information about a Device Defender ML Detect mitigation action.
describeDetectMitigationActionsTask
in interface AWSIot
describeDetectMitigationActionsTaskRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeDimensionResult describeDimension(DescribeDimensionRequest describeDimensionRequest) throws AmazonServiceException, AmazonClientException
Provides details about a dimension that is defined in your AWS account.
describeDimension
in interface AWSIot
describeDimensionRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeDomainConfigurationResult describeDomainConfiguration(DescribeDomainConfigurationRequest describeDomainConfigurationRequest) throws AmazonServiceException, AmazonClientException
Gets summary information about a domain configuration.
The domain configuration feature is in public preview and is subject to change.
describeDomainConfiguration
in interface AWSIot
describeDomainConfigurationRequest
- ResourceNotFoundException
ThrottlingException
InvalidRequestException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeEndpointResult describeEndpoint(DescribeEndpointRequest describeEndpointRequest) throws AmazonServiceException, AmazonClientException
Returns a unique endpoint specific to the AWS account making the call.
describeEndpoint
in interface AWSIot
describeEndpointRequest
- The input for the DescribeEndpoint operation.
InternalFailureException
InvalidRequestException
UnauthorizedException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeEventConfigurationsResult describeEventConfigurations(DescribeEventConfigurationsRequest describeEventConfigurationsRequest) throws AmazonServiceException, AmazonClientException
Describes event configurations.
describeEventConfigurations
in interface AWSIot
describeEventConfigurationsRequest
- InternalFailureException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeIndexResult describeIndex(DescribeIndexRequest describeIndexRequest) throws AmazonServiceException, AmazonClientException
Describes a search index.
describeIndex
in interface AWSIot
describeIndexRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeJobResult describeJob(DescribeJobRequest describeJobRequest) throws AmazonServiceException, AmazonClientException
Describes a job.
describeJob
in interface AWSIot
describeJobRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeJobExecutionResult describeJobExecution(DescribeJobExecutionRequest describeJobExecutionRequest) throws AmazonServiceException, AmazonClientException
Describes a job execution.
describeJobExecution
in interface AWSIot
describeJobExecutionRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeMitigationActionResult describeMitigationAction(DescribeMitigationActionRequest describeMitigationActionRequest) throws AmazonServiceException, AmazonClientException
Gets information about a mitigation action.
describeMitigationAction
in interface AWSIot
describeMitigationActionRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeProvisioningTemplateResult describeProvisioningTemplate(DescribeProvisioningTemplateRequest describeProvisioningTemplateRequest) throws AmazonServiceException, AmazonClientException
Returns information about a fleet provisioning template.
describeProvisioningTemplate
in interface AWSIot
describeProvisioningTemplateRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
ThrottlingException
UnauthorizedException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeProvisioningTemplateVersionResult describeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest describeProvisioningTemplateVersionRequest) throws AmazonServiceException, AmazonClientException
Returns information about a fleet provisioning template version.
describeProvisioningTemplateVersion
in interface AWSIot
describeProvisioningTemplateVersionRequest
- InternalFailureException
InvalidRequestException
ThrottlingException
ResourceNotFoundException
UnauthorizedException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeRoleAliasResult describeRoleAlias(DescribeRoleAliasRequest describeRoleAliasRequest) throws AmazonServiceException, AmazonClientException
Describes a role alias.
describeRoleAlias
in interface AWSIot
describeRoleAliasRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeScheduledAuditResult describeScheduledAudit(DescribeScheduledAuditRequest describeScheduledAuditRequest) throws AmazonServiceException, AmazonClientException
Gets information about a scheduled audit.
describeScheduledAudit
in interface AWSIot
describeScheduledAuditRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeSecurityProfileResult describeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest) throws AmazonServiceException, AmazonClientException
Gets information about a Device Defender security profile.
describeSecurityProfile
in interface AWSIot
describeSecurityProfileRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeStreamResult describeStream(DescribeStreamRequest describeStreamRequest) throws AmazonServiceException, AmazonClientException
Gets information about a stream.
describeStream
in interface AWSIot
describeStreamRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeThingResult describeThing(DescribeThingRequest describeThingRequest) throws AmazonServiceException, AmazonClientException
Gets information about the specified thing.
describeThing
in interface AWSIot
describeThingRequest
- The input for the DescribeThing operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeThingGroupResult describeThingGroup(DescribeThingGroupRequest describeThingGroupRequest) throws AmazonServiceException, AmazonClientException
Describe a thing group.
describeThingGroup
in interface AWSIot
describeThingGroupRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeThingRegistrationTaskResult describeThingRegistrationTask(DescribeThingRegistrationTaskRequest describeThingRegistrationTaskRequest) throws AmazonServiceException, AmazonClientException
Describes a bulk thing provisioning task.
describeThingRegistrationTask
in interface AWSIot
describeThingRegistrationTaskRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DescribeThingTypeResult describeThingType(DescribeThingTypeRequest describeThingTypeRequest) throws AmazonServiceException, AmazonClientException
Gets information about the specified thing type.
describeThingType
in interface AWSIot
describeThingTypeRequest
- The input for the DescribeThingType operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void detachPolicy(DetachPolicyRequest detachPolicyRequest) throws AmazonServiceException, AmazonClientException
Detaches a policy from the specified target.
detachPolicy
in interface AWSIot
detachPolicyRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.@Deprecated public void detachPrincipalPolicy(DetachPrincipalPolicyRequest detachPrincipalPolicyRequest) throws AmazonServiceException, AmazonClientException
Removes the specified policy from the specified certificate.
Note: This API is deprecated. Please use DetachPolicy instead.
detachPrincipalPolicy
in interface AWSIot
detachPrincipalPolicyRequest
- The input for the DetachPrincipalPolicy operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DetachSecurityProfileResult detachSecurityProfile(DetachSecurityProfileRequest detachSecurityProfileRequest) throws AmazonServiceException, AmazonClientException
Disassociates a Device Defender security profile from a thing group or from this account.
detachSecurityProfile
in interface AWSIot
detachSecurityProfileRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public DetachThingPrincipalResult detachThingPrincipal(DetachThingPrincipalRequest detachThingPrincipalRequest) throws AmazonServiceException, AmazonClientException
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.
detachThingPrincipal
in interface AWSIot
detachThingPrincipalRequest
- The input for the DetachThingPrincipal operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void disableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest) throws AmazonServiceException, AmazonClientException
Disables the rule.
disableTopicRule
in interface AWSIot
disableTopicRuleRequest
- The input for the DisableTopicRuleRequest operation.
InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void enableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest) throws AmazonServiceException, AmazonClientException
Enables the rule.
enableTopicRule
in interface AWSIot
enableTopicRuleRequest
- The input for the EnableTopicRuleRequest operation.
InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetBehaviorModelTrainingSummariesResult getBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest) throws AmazonServiceException, AmazonClientException
Returns a Device Defender's ML Detect Security Profile training model's status.
getBehaviorModelTrainingSummaries
in interface AWSIot
getBehaviorModelTrainingSummariesRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetCardinalityResult getCardinality(GetCardinalityRequest getCardinalityRequest) throws AmazonServiceException, AmazonClientException
Returns the approximate count of unique values that match the query.
getCardinality
in interface AWSIot
getCardinalityRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
InvalidQueryException
InvalidAggregationException
IndexNotReadyException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetEffectivePoliciesResult getEffectivePolicies(GetEffectivePoliciesRequest getEffectivePoliciesRequest) throws AmazonServiceException, AmazonClientException
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the AWS IoT device gateway.
getEffectivePolicies
in interface AWSIot
getEffectivePoliciesRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetIndexingConfigurationResult getIndexingConfiguration(GetIndexingConfigurationRequest getIndexingConfigurationRequest) throws AmazonServiceException, AmazonClientException
Gets the indexing configuration.
getIndexingConfiguration
in interface AWSIot
getIndexingConfigurationRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetJobDocumentResult getJobDocument(GetJobDocumentRequest getJobDocumentRequest) throws AmazonServiceException, AmazonClientException
Gets a job document.
getJobDocument
in interface AWSIot
getJobDocumentRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetLoggingOptionsResult getLoggingOptions(GetLoggingOptionsRequest getLoggingOptionsRequest) throws AmazonServiceException, AmazonClientException
Gets the logging options.
NOTE: use of this command is not recommended. Use
GetV2LoggingOptions
instead.
getLoggingOptions
in interface AWSIot
getLoggingOptionsRequest
- The input for the GetLoggingOptions operation.
InternalException
InvalidRequestException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetOTAUpdateResult getOTAUpdate(GetOTAUpdateRequest getOTAUpdateRequest) throws AmazonServiceException, AmazonClientException
Gets an OTA update.
getOTAUpdate
in interface AWSIot
getOTAUpdateRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
InternalFailureException
ServiceUnavailableException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetPercentilesResult getPercentiles(GetPercentilesRequest getPercentilesRequest) throws AmazonServiceException, AmazonClientException
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.
getPercentiles
in interface AWSIot
getPercentilesRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
InvalidQueryException
InvalidAggregationException
IndexNotReadyException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetPolicyResult getPolicy(GetPolicyRequest getPolicyRequest) throws AmazonServiceException, AmazonClientException
Gets information about the specified policy with the policy document of the default version.
getPolicy
in interface AWSIot
getPolicyRequest
- The input for the GetPolicy operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetPolicyVersionResult getPolicyVersion(GetPolicyVersionRequest getPolicyVersionRequest) throws AmazonServiceException, AmazonClientException
Gets information about the specified policy version.
getPolicyVersion
in interface AWSIot
getPolicyVersionRequest
- The input for the GetPolicyVersion operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetRegistrationCodeResult getRegistrationCode(GetRegistrationCodeRequest getRegistrationCodeRequest) throws AmazonServiceException, AmazonClientException
Gets a registration code used to register a CA certificate with AWS IoT.
getRegistrationCode
in interface AWSIot
getRegistrationCodeRequest
- The input to the GetRegistrationCode operation.
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
InvalidRequestException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetStatisticsResult getStatistics(GetStatisticsRequest getStatisticsRequest) throws AmazonServiceException, AmazonClientException
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.
getStatistics
in interface AWSIot
getStatisticsRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
InvalidQueryException
InvalidAggregationException
IndexNotReadyException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetTopicRuleResult getTopicRule(GetTopicRuleRequest getTopicRuleRequest) throws AmazonServiceException, AmazonClientException
Gets information about the rule.
getTopicRule
in interface AWSIot
getTopicRuleRequest
- The input for the GetTopicRule operation.
InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetTopicRuleDestinationResult getTopicRuleDestination(GetTopicRuleDestinationRequest getTopicRuleDestinationRequest) throws AmazonServiceException, AmazonClientException
Gets information about a topic rule destination.
getTopicRuleDestination
in interface AWSIot
getTopicRuleDestinationRequest
- InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public GetV2LoggingOptionsResult getV2LoggingOptions(GetV2LoggingOptionsRequest getV2LoggingOptionsRequest) throws AmazonServiceException, AmazonClientException
Gets the fine grained logging options.
getV2LoggingOptions
in interface AWSIot
getV2LoggingOptionsRequest
- InternalException
NotConfiguredException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListActiveViolationsResult listActiveViolations(ListActiveViolationsRequest listActiveViolationsRequest) throws AmazonServiceException, AmazonClientException
Lists the active violations for a given Device Defender security profile.
listActiveViolations
in interface AWSIot
listActiveViolationsRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListAttachedPoliciesResult listAttachedPolicies(ListAttachedPoliciesRequest listAttachedPoliciesRequest) throws AmazonServiceException, AmazonClientException
Lists the policies attached to the specified thing group.
listAttachedPolicies
in interface AWSIot
listAttachedPoliciesRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListAuditFindingsResult listAuditFindings(ListAuditFindingsRequest listAuditFindingsRequest) throws AmazonServiceException, AmazonClientException
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.)
listAuditFindings
in interface AWSIot
listAuditFindingsRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListAuditMitigationActionsExecutionsResult listAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest) throws AmazonServiceException, AmazonClientException
Gets the status of audit mitigation action tasks that were executed.
listAuditMitigationActionsExecutions
in interface AWSIot
listAuditMitigationActionsExecutionsRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListAuditMitigationActionsTasksResult listAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest) throws AmazonServiceException, AmazonClientException
Gets a list of audit mitigation action tasks that match the specified filters.
listAuditMitigationActionsTasks
in interface AWSIot
listAuditMitigationActionsTasksRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListAuditSuppressionsResult listAuditSuppressions(ListAuditSuppressionsRequest listAuditSuppressionsRequest) throws AmazonServiceException, AmazonClientException
Lists your Device Defender audit listings.
listAuditSuppressions
in interface AWSIot
listAuditSuppressionsRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListAuditTasksResult listAuditTasks(ListAuditTasksRequest listAuditTasksRequest) throws AmazonServiceException, AmazonClientException
Lists the Device Defender audits that have been performed during a given time period.
listAuditTasks
in interface AWSIot
listAuditTasksRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListAuthorizersResult listAuthorizers(ListAuthorizersRequest listAuthorizersRequest) throws AmazonServiceException, AmazonClientException
Lists the authorizers registered in your account.
listAuthorizers
in interface AWSIot
listAuthorizersRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListBillingGroupsResult listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest) throws AmazonServiceException, AmazonClientException
Lists the billing groups you have created.
listBillingGroups
in interface AWSIot
listBillingGroupsRequest
- InvalidRequestException
InternalFailureException
ResourceNotFoundException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListCACertificatesResult listCACertificates(ListCACertificatesRequest listCACertificatesRequest) throws AmazonServiceException, AmazonClientException
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
listCACertificates
in interface AWSIot
listCACertificatesRequest
- Input for the ListCACertificates operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListCertificatesResult listCertificates(ListCertificatesRequest listCertificatesRequest) throws AmazonServiceException, AmazonClientException
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
listCertificates
in interface AWSIot
listCertificatesRequest
- The input for the ListCertificates operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListCertificatesByCAResult listCertificatesByCA(ListCertificatesByCARequest listCertificatesByCARequest) throws AmazonServiceException, AmazonClientException
List the device certificates signed by the specified CA certificate.
listCertificatesByCA
in interface AWSIot
listCertificatesByCARequest
- The input to the ListCertificatesByCA operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListCustomMetricsResult listCustomMetrics(ListCustomMetricsRequest listCustomMetricsRequest) throws AmazonServiceException, AmazonClientException
Lists your Device Defender detect custom metrics.
listCustomMetrics
in interface AWSIot
listCustomMetricsRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListDetectMitigationActionsExecutionsResult listDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest) throws AmazonServiceException, AmazonClientException
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
listDetectMitigationActionsExecutions
in interface AWSIot
listDetectMitigationActionsExecutionsRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListDetectMitigationActionsTasksResult listDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest) throws AmazonServiceException, AmazonClientException
List of Device Defender ML Detect mitigation actions tasks.
listDetectMitigationActionsTasks
in interface AWSIot
listDetectMitigationActionsTasksRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListDimensionsResult listDimensions(ListDimensionsRequest listDimensionsRequest) throws AmazonServiceException, AmazonClientException
List the set of dimensions that are defined for your AWS account.
listDimensions
in interface AWSIot
listDimensionsRequest
- InternalFailureException
InvalidRequestException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListDomainConfigurationsResult listDomainConfigurations(ListDomainConfigurationsRequest listDomainConfigurationsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
The domain configuration feature is in public preview and is subject to change.
listDomainConfigurations
in interface AWSIot
listDomainConfigurationsRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListIndicesResult listIndices(ListIndicesRequest listIndicesRequest) throws AmazonServiceException, AmazonClientException
Lists the search indices.
listIndices
in interface AWSIot
listIndicesRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListJobExecutionsForJobResult listJobExecutionsForJob(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest) throws AmazonServiceException, AmazonClientException
Lists the job executions for a job.
listJobExecutionsForJob
in interface AWSIot
listJobExecutionsForJobRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListJobExecutionsForThingResult listJobExecutionsForThing(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest) throws AmazonServiceException, AmazonClientException
Lists the job executions for the specified thing.
listJobExecutionsForThing
in interface AWSIot
listJobExecutionsForThingRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListJobsResult listJobs(ListJobsRequest listJobsRequest) throws AmazonServiceException, AmazonClientException
Lists jobs.
listJobs
in interface AWSIot
listJobsRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListMitigationActionsResult listMitigationActions(ListMitigationActionsRequest listMitigationActionsRequest) throws AmazonServiceException, AmazonClientException
Gets a list of all mitigation actions that match the specified filter criteria.
listMitigationActions
in interface AWSIot
listMitigationActionsRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListOTAUpdatesResult listOTAUpdates(ListOTAUpdatesRequest listOTAUpdatesRequest) throws AmazonServiceException, AmazonClientException
Lists OTA updates.
listOTAUpdates
in interface AWSIot
listOTAUpdatesRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
InternalFailureException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListOutgoingCertificatesResult listOutgoingCertificates(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest) throws AmazonServiceException, AmazonClientException
Lists certificates that are being transferred but not yet accepted.
listOutgoingCertificates
in interface AWSIot
listOutgoingCertificatesRequest
- The input to the ListOutgoingCertificates operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListPoliciesResult listPolicies(ListPoliciesRequest listPoliciesRequest) throws AmazonServiceException, AmazonClientException
Lists your policies.
listPolicies
in interface AWSIot
listPoliciesRequest
- The input for the ListPolicies operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.@Deprecated public ListPolicyPrincipalsResult listPolicyPrincipals(ListPolicyPrincipalsRequest listPolicyPrincipalsRequest) throws AmazonServiceException, AmazonClientException
Lists the principals associated with the specified policy.
Note: This API is deprecated. Please use ListTargetsForPolicy instead.
listPolicyPrincipals
in interface AWSIot
listPolicyPrincipalsRequest
- The input for the ListPolicyPrincipals operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListPolicyVersionsResult listPolicyVersions(ListPolicyVersionsRequest listPolicyVersionsRequest) throws AmazonServiceException, AmazonClientException
Lists the versions of the specified policy and identifies the default version.
listPolicyVersions
in interface AWSIot
listPolicyVersionsRequest
- The input for the ListPolicyVersions operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.@Deprecated public ListPrincipalPoliciesResult listPrincipalPolicies(ListPrincipalPoliciesRequest listPrincipalPoliciesRequest) throws AmazonServiceException, AmazonClientException
Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
Note: This API is deprecated. Please use ListAttachedPolicies instead.
listPrincipalPolicies
in interface AWSIot
listPrincipalPoliciesRequest
- The input for the ListPrincipalPolicies operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListPrincipalThingsResult listPrincipalThings(ListPrincipalThingsRequest listPrincipalThingsRequest) throws AmazonServiceException, AmazonClientException
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.
listPrincipalThings
in interface AWSIot
listPrincipalThingsRequest
- The input for the ListPrincipalThings operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListProvisioningTemplateVersionsResult listProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest) throws AmazonServiceException, AmazonClientException
A list of fleet provisioning template versions.
listProvisioningTemplateVersions
in interface AWSIot
listProvisioningTemplateVersionsRequest
- InternalFailureException
InvalidRequestException
ThrottlingException
ResourceNotFoundException
UnauthorizedException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListProvisioningTemplatesResult listProvisioningTemplates(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest) throws AmazonServiceException, AmazonClientException
Lists the fleet provisioning templates in your AWS account.
listProvisioningTemplates
in interface AWSIot
listProvisioningTemplatesRequest
- InternalFailureException
InvalidRequestException
ThrottlingException
UnauthorizedException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListRoleAliasesResult listRoleAliases(ListRoleAliasesRequest listRoleAliasesRequest) throws AmazonServiceException, AmazonClientException
Lists the role aliases registered in your account.
listRoleAliases
in interface AWSIot
listRoleAliasesRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListScheduledAuditsResult listScheduledAudits(ListScheduledAuditsRequest listScheduledAuditsRequest) throws AmazonServiceException, AmazonClientException
Lists all of your scheduled audits.
listScheduledAudits
in interface AWSIot
listScheduledAuditsRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListSecurityProfilesResult listSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest) throws AmazonServiceException, AmazonClientException
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
dimensionName
and metricName
cannot be used in
the same request.
listSecurityProfiles
in interface AWSIot
listSecurityProfilesRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListSecurityProfilesForTargetResult listSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest) throws AmazonServiceException, AmazonClientException
Lists the Device Defender security profiles attached to a target (thing group).
listSecurityProfilesForTarget
in interface AWSIot
listSecurityProfilesForTargetRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListStreamsResult listStreams(ListStreamsRequest listStreamsRequest) throws AmazonServiceException, AmazonClientException
Lists all of the streams in your AWS account.
listStreams
in interface AWSIot
listStreamsRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AmazonServiceException, AmazonClientException
Lists the tags (metadata) you have assigned to the resource.
listTagsForResource
in interface AWSIot
listTagsForResourceRequest
- InvalidRequestException
InternalFailureException
ResourceNotFoundException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListTargetsForPolicyResult listTargetsForPolicy(ListTargetsForPolicyRequest listTargetsForPolicyRequest) throws AmazonServiceException, AmazonClientException
List targets for the specified policy.
listTargetsForPolicy
in interface AWSIot
listTargetsForPolicyRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListTargetsForSecurityProfileResult listTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest) throws AmazonServiceException, AmazonClientException
Lists the targets (thing groups) associated with a given Device Defender security profile.
listTargetsForSecurityProfile
in interface AWSIot
listTargetsForSecurityProfileRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListThingGroupsResult listThingGroups(ListThingGroupsRequest listThingGroupsRequest) throws AmazonServiceException, AmazonClientException
List the thing groups in your account.
listThingGroups
in interface AWSIot
listThingGroupsRequest
- InvalidRequestException
InternalFailureException
ResourceNotFoundException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListThingGroupsForThingResult listThingGroupsForThing(ListThingGroupsForThingRequest listThingGroupsForThingRequest) throws AmazonServiceException, AmazonClientException
List the thing groups to which the specified thing belongs.
listThingGroupsForThing
in interface AWSIot
listThingGroupsForThingRequest
- InvalidRequestException
InternalFailureException
ResourceNotFoundException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListThingPrincipalsResult listThingPrincipals(ListThingPrincipalsRequest listThingPrincipalsRequest) throws AmazonServiceException, AmazonClientException
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.
listThingPrincipals
in interface AWSIot
listThingPrincipalsRequest
- The input for the ListThingPrincipal operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListThingRegistrationTaskReportsResult listThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest) throws AmazonServiceException, AmazonClientException
Information about the thing registration tasks.
listThingRegistrationTaskReports
in interface AWSIot
listThingRegistrationTaskReportsRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListThingRegistrationTasksResult listThingRegistrationTasks(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest) throws AmazonServiceException, AmazonClientException
List bulk thing provisioning tasks.
listThingRegistrationTasks
in interface AWSIot
listThingRegistrationTasksRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListThingTypesResult listThingTypes(ListThingTypesRequest listThingTypesRequest) throws AmazonServiceException, AmazonClientException
Lists the existing thing types.
listThingTypes
in interface AWSIot
listThingTypesRequest
- The input for the ListThingTypes operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListThingsResult listThings(ListThingsRequest listThingsRequest) throws AmazonServiceException, AmazonClientException
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.
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.
listThings
in interface AWSIot
listThingsRequest
- The input for the ListThings operation.
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListThingsInBillingGroupResult listThingsInBillingGroup(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest) throws AmazonServiceException, AmazonClientException
Lists the things you have added to the given billing group.
listThingsInBillingGroup
in interface AWSIot
listThingsInBillingGroupRequest
- InvalidRequestException
InternalFailureException
ResourceNotFoundException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListThingsInThingGroupResult listThingsInThingGroup(ListThingsInThingGroupRequest listThingsInThingGroupRequest) throws AmazonServiceException, AmazonClientException
Lists the things in the specified group.
listThingsInThingGroup
in interface AWSIot
listThingsInThingGroupRequest
- InvalidRequestException
InternalFailureException
ResourceNotFoundException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListTopicRuleDestinationsResult listTopicRuleDestinations(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest) throws AmazonServiceException, AmazonClientException
Lists all the topic rule destinations in your AWS account.
listTopicRuleDestinations
in interface AWSIot
listTopicRuleDestinationsRequest
- InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListTopicRulesResult listTopicRules(ListTopicRulesRequest listTopicRulesRequest) throws AmazonServiceException, AmazonClientException
Lists the rules for the specific topic.
listTopicRules
in interface AWSIot
listTopicRulesRequest
- The input for the ListTopicRules operation.
InternalException
InvalidRequestException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListV2LoggingLevelsResult listV2LoggingLevels(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest) throws AmazonServiceException, AmazonClientException
Lists logging levels.
listV2LoggingLevels
in interface AWSIot
listV2LoggingLevelsRequest
- InternalException
NotConfiguredException
InvalidRequestException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ListViolationEventsResult listViolationEvents(ListViolationEventsRequest listViolationEventsRequest) throws AmazonServiceException, AmazonClientException
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).
listViolationEvents
in interface AWSIot
listViolationEventsRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public RegisterCACertificateResult registerCACertificate(RegisterCACertificateRequest registerCACertificateRequest) throws AmazonServiceException, AmazonClientException
Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.
registerCACertificate
in interface AWSIot
registerCACertificateRequest
- The input to the RegisterCACertificate operation.
ResourceAlreadyExistsException
RegistrationCodeValidationException
InvalidRequestException
CertificateValidationException
ThrottlingException
LimitExceededException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public RegisterCertificateResult registerCertificate(RegisterCertificateRequest registerCertificateRequest) throws AmazonServiceException, AmazonClientException
Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
registerCertificate
in interface AWSIot
registerCertificateRequest
- The input to the RegisterCertificate operation.
ResourceAlreadyExistsException
InvalidRequestException
CertificateValidationException
CertificateStateException
CertificateConflictException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public RegisterCertificateWithoutCAResult registerCertificateWithoutCA(RegisterCertificateWithoutCARequest registerCertificateWithoutCARequest) throws AmazonServiceException, AmazonClientException
Register a certificate that does not have a certificate authority (CA).
registerCertificateWithoutCA
in interface AWSIot
registerCertificateWithoutCARequest
- ResourceAlreadyExistsException
InvalidRequestException
CertificateStateException
CertificateValidationException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public RegisterThingResult registerThing(RegisterThingRequest registerThingRequest) throws AmazonServiceException, AmazonClientException
Provisions a thing in the device registry. RegisterThing calls other AWS IoT control plane APIs. These calls might exceed your account level AWS IoT Throttling Limits and cause throttle errors. Please contact AWS Customer Support to raise your throttling limits if necessary.
registerThing
in interface AWSIot
registerThingRequest
- InternalFailureException
ServiceUnavailableException
InvalidRequestException
UnauthorizedException
ThrottlingException
ConflictingResourceUpdateException
ResourceRegistrationFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void rejectCertificateTransfer(RejectCertificateTransferRequest rejectCertificateTransferRequest) throws AmazonServiceException, AmazonClientException
Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
rejectCertificateTransfer
in interface AWSIot
rejectCertificateTransferRequest
- The input for the RejectCertificateTransfer operation.
ResourceNotFoundException
TransferAlreadyCompletedException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public RemoveThingFromBillingGroupResult removeThingFromBillingGroup(RemoveThingFromBillingGroupRequest removeThingFromBillingGroupRequest) throws AmazonServiceException, AmazonClientException
Removes the given thing from the billing group.
removeThingFromBillingGroup
in interface AWSIot
removeThingFromBillingGroupRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public RemoveThingFromThingGroupResult removeThingFromThingGroup(RemoveThingFromThingGroupRequest removeThingFromThingGroupRequest) throws AmazonServiceException, AmazonClientException
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.
removeThingFromThingGroup
in interface AWSIot
removeThingFromThingGroupRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest) throws AmazonServiceException, AmazonClientException
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.
replaceTopicRule
in interface AWSIot
replaceTopicRuleRequest
- The input for the ReplaceTopicRule operation.
SqlParseException
InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public SearchIndexResult searchIndex(SearchIndexRequest searchIndexRequest) throws AmazonServiceException, AmazonClientException
The query search index.
searchIndex
in interface AWSIot
searchIndexRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
InvalidQueryException
IndexNotReadyException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public SetDefaultAuthorizerResult setDefaultAuthorizer(SetDefaultAuthorizerRequest setDefaultAuthorizerRequest) throws AmazonServiceException, AmazonClientException
Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
setDefaultAuthorizer
in interface AWSIot
setDefaultAuthorizerRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceAlreadyExistsException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void setDefaultPolicyVersion(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest) throws AmazonServiceException, AmazonClientException
Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.
setDefaultPolicyVersion
in interface AWSIot
setDefaultPolicyVersionRequest
- The input for the SetDefaultPolicyVersion operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void setLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest) throws AmazonServiceException, AmazonClientException
Sets the logging options.
NOTE: use of this command is not recommended. Use
SetV2LoggingOptions
instead.
setLoggingOptions
in interface AWSIot
setLoggingOptionsRequest
- The input for the SetLoggingOptions operation.
InternalException
InvalidRequestException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void setV2LoggingLevel(SetV2LoggingLevelRequest setV2LoggingLevelRequest) throws AmazonServiceException, AmazonClientException
Sets the logging level.
setV2LoggingLevel
in interface AWSIot
setV2LoggingLevelRequest
- InternalException
NotConfiguredException
InvalidRequestException
ServiceUnavailableException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void setV2LoggingOptions(SetV2LoggingOptionsRequest setV2LoggingOptionsRequest) throws AmazonServiceException, AmazonClientException
Sets the logging options for the V2 logging service.
setV2LoggingOptions
in interface AWSIot
setV2LoggingOptionsRequest
- InternalException
InvalidRequestException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public StartAuditMitigationActionsTaskResult startAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest startAuditMitigationActionsTaskRequest) throws AmazonServiceException, AmazonClientException
Starts a task that applies a set of mitigation actions to the specified target.
startAuditMitigationActionsTask
in interface AWSIot
startAuditMitigationActionsTaskRequest
- InvalidRequestException
TaskAlreadyExistsException
LimitExceededException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public StartDetectMitigationActionsTaskResult startDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest startDetectMitigationActionsTaskRequest) throws AmazonServiceException, AmazonClientException
Starts a Device Defender ML Detect mitigation actions task.
startDetectMitigationActionsTask
in interface AWSIot
startDetectMitigationActionsTaskRequest
- InvalidRequestException
TaskAlreadyExistsException
LimitExceededException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public StartOnDemandAuditTaskResult startOnDemandAuditTask(StartOnDemandAuditTaskRequest startOnDemandAuditTaskRequest) throws AmazonServiceException, AmazonClientException
Starts an on-demand Device Defender audit.
startOnDemandAuditTask
in interface AWSIot
startOnDemandAuditTaskRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public StartThingRegistrationTaskResult startThingRegistrationTask(StartThingRegistrationTaskRequest startThingRegistrationTaskRequest) throws AmazonServiceException, AmazonClientException
Creates a bulk thing provisioning task.
startThingRegistrationTask
in interface AWSIot
startThingRegistrationTaskRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public StopThingRegistrationTaskResult stopThingRegistrationTask(StopThingRegistrationTaskRequest stopThingRegistrationTaskRequest) throws AmazonServiceException, AmazonClientException
Cancels a bulk thing provisioning task.
stopThingRegistrationTask
in interface AWSIot
stopThingRegistrationTaskRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public TagResourceResult tagResource(TagResourceRequest tagResourceRequest) throws AmazonServiceException, AmazonClientException
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
tagResource
in interface AWSIot
tagResourceRequest
- InvalidRequestException
InternalFailureException
ResourceNotFoundException
ThrottlingException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public TestAuthorizationResult testAuthorization(TestAuthorizationRequest testAuthorizationRequest) throws AmazonServiceException, AmazonClientException
Tests if a specified principal is authorized to perform an AWS IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the AWS IoT device gateway.
testAuthorization
in interface AWSIot
testAuthorizationRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
LimitExceededException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public TestInvokeAuthorizerResult testInvokeAuthorizer(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest) throws AmazonServiceException, AmazonClientException
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 AWS IoT device gateway.
testInvokeAuthorizer
in interface AWSIot
testInvokeAuthorizerRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
InvalidResponseException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public TransferCertificateResult transferCertificate(TransferCertificateRequest transferCertificateRequest) throws AmazonServiceException, AmazonClientException
Transfers the specified certificate to the specified AWS account.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.
transferCertificate
in interface AWSIot
transferCertificateRequest
- The input for the TransferCertificate operation.
InvalidRequestException
ResourceNotFoundException
CertificateStateException
TransferConflictException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest) throws AmazonServiceException, AmazonClientException
Removes the given tags (metadata) from the resource.
untagResource
in interface AWSIot
untagResourceRequest
- InvalidRequestException
InternalFailureException
ResourceNotFoundException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateAccountAuditConfigurationResult updateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest updateAccountAuditConfigurationRequest) throws AmazonServiceException, AmazonClientException
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.
updateAccountAuditConfiguration
in interface AWSIot
updateAccountAuditConfigurationRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateAuditSuppressionResult updateAuditSuppression(UpdateAuditSuppressionRequest updateAuditSuppressionRequest) throws AmazonServiceException, AmazonClientException
Updates a Device Defender audit suppression.
updateAuditSuppression
in interface AWSIot
updateAuditSuppressionRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateAuthorizerResult updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) throws AmazonServiceException, AmazonClientException
Updates an authorizer.
updateAuthorizer
in interface AWSIot
updateAuthorizerRequest
- ResourceNotFoundException
InvalidRequestException
LimitExceededException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateBillingGroupResult updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest) throws AmazonServiceException, AmazonClientException
Updates information about the billing group.
updateBillingGroup
in interface AWSIot
updateBillingGroupRequest
- InvalidRequestException
VersionConflictException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void updateCACertificate(UpdateCACertificateRequest updateCACertificateRequest) throws AmazonServiceException, AmazonClientException
Updates a registered CA certificate.
updateCACertificate
in interface AWSIot
updateCACertificateRequest
- The input to the UpdateCACertificate operation.
ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void updateCertificate(UpdateCertificateRequest updateCertificateRequest) throws AmazonServiceException, AmazonClientException
Updates the status of the specified certificate. This operation is idempotent.
Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to AWS IoT.
Within a few minutes of updating a certificate from the ACTIVE state to any other state, AWS IoT disconnects all devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state to reconnect.
updateCertificate
in interface AWSIot
updateCertificateRequest
- The input for the UpdateCertificate operation.
ResourceNotFoundException
CertificateStateException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateCustomMetricResult updateCustomMetric(UpdateCustomMetricRequest updateCustomMetricRequest) throws AmazonServiceException, AmazonClientException
Updates a Device Defender detect custom metric.
updateCustomMetric
in interface AWSIot
updateCustomMetricRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateDimensionResult updateDimension(UpdateDimensionRequest updateDimensionRequest) throws AmazonServiceException, AmazonClientException
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).
updateDimension
in interface AWSIot
updateDimensionRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateDomainConfigurationResult updateDomainConfiguration(UpdateDomainConfigurationRequest updateDomainConfigurationRequest) throws AmazonServiceException, AmazonClientException
Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
The domain configuration feature is in public preview and is subject to change.
updateDomainConfiguration
in interface AWSIot
updateDomainConfigurationRequest
- ResourceNotFoundException
CertificateValidationException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateDynamicThingGroupResult updateDynamicThingGroup(UpdateDynamicThingGroupRequest updateDynamicThingGroupRequest) throws AmazonServiceException, AmazonClientException
Updates a dynamic thing group.
updateDynamicThingGroup
in interface AWSIot
updateDynamicThingGroupRequest
- InvalidRequestException
VersionConflictException
ThrottlingException
InternalFailureException
ResourceNotFoundException
InvalidQueryException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateEventConfigurationsResult updateEventConfigurations(UpdateEventConfigurationsRequest updateEventConfigurationsRequest) throws AmazonServiceException, AmazonClientException
Updates the event configurations.
updateEventConfigurations
in interface AWSIot
updateEventConfigurationsRequest
- InvalidRequestException
InternalFailureException
ThrottlingException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateIndexingConfigurationResult updateIndexingConfiguration(UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest) throws AmazonServiceException, AmazonClientException
Updates the search configuration.
updateIndexingConfiguration
in interface AWSIot
updateIndexingConfigurationRequest
- InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public void updateJob(UpdateJobRequest updateJobRequest) throws AmazonServiceException, AmazonClientException
Updates supported fields of the specified job.
updateJob
in interface AWSIot
updateJobRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
ServiceUnavailableException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateMitigationActionResult updateMitigationAction(UpdateMitigationActionRequest updateMitigationActionRequest) throws AmazonServiceException, AmazonClientException
Updates the definition for the specified mitigation action.
updateMitigationAction
in interface AWSIot
updateMitigationActionRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateProvisioningTemplateResult updateProvisioningTemplate(UpdateProvisioningTemplateRequest updateProvisioningTemplateRequest) throws AmazonServiceException, AmazonClientException
Updates a fleet provisioning template.
updateProvisioningTemplate
in interface AWSIot
updateProvisioningTemplateRequest
- InternalFailureException
InvalidRequestException
ResourceNotFoundException
UnauthorizedException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateRoleAliasResult updateRoleAlias(UpdateRoleAliasRequest updateRoleAliasRequest) throws AmazonServiceException, AmazonClientException
Updates a role alias.
updateRoleAlias
in interface AWSIot
updateRoleAliasRequest
- ResourceNotFoundException
InvalidRequestException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateScheduledAuditResult updateScheduledAudit(UpdateScheduledAuditRequest updateScheduledAuditRequest) throws AmazonServiceException, AmazonClientException
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
updateScheduledAudit
in interface AWSIot
updateScheduledAuditRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateSecurityProfileResult updateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest) throws AmazonServiceException, AmazonClientException
Updates a Device Defender security profile.
updateSecurityProfile
in interface AWSIot
updateSecurityProfileRequest
- InvalidRequestException
ResourceNotFoundException
VersionConflictException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateStreamResult updateStream(UpdateStreamRequest updateStreamRequest) throws AmazonServiceException, AmazonClientException
Updates an existing stream. The stream version will be incremented by one.
updateStream
in interface AWSIot
updateStreamRequest
- InvalidRequestException
ResourceNotFoundException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateThingResult updateThing(UpdateThingRequest updateThingRequest) throws AmazonServiceException, AmazonClientException
Updates the data for a thing.
updateThing
in interface AWSIot
updateThingRequest
- The input for the UpdateThing operation.
InvalidRequestException
VersionConflictException
ThrottlingException
UnauthorizedException
ServiceUnavailableException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateThingGroupResult updateThingGroup(UpdateThingGroupRequest updateThingGroupRequest) throws AmazonServiceException, AmazonClientException
Update a thing group.
updateThingGroup
in interface AWSIot
updateThingGroupRequest
- InvalidRequestException
VersionConflictException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateThingGroupsForThingResult updateThingGroupsForThing(UpdateThingGroupsForThingRequest updateThingGroupsForThingRequest) throws AmazonServiceException, AmazonClientException
Updates the groups to which the thing belongs.
updateThingGroupsForThing
in interface AWSIot
updateThingGroupsForThingRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
ResourceNotFoundException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public UpdateTopicRuleDestinationResult updateTopicRuleDestination(UpdateTopicRuleDestinationRequest updateTopicRuleDestinationRequest) throws AmazonServiceException, AmazonClientException
Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination.
updateTopicRuleDestination
in interface AWSIot
updateTopicRuleDestinationRequest
- InternalException
InvalidRequestException
ServiceUnavailableException
UnauthorizedException
ConflictingResourceUpdateException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.public ValidateSecurityProfileBehaviorsResult validateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest validateSecurityProfileBehaviorsRequest) throws AmazonServiceException, AmazonClientException
Validates a Device Defender security profile behaviors specification.
validateSecurityProfileBehaviors
in interface AWSIot
validateSecurityProfileBehaviorsRequest
- InvalidRequestException
ThrottlingException
InternalFailureException
AmazonClientException
- If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException
- If an error response is returned by AWS
IoT indicating either a problem with the data in the request,
or a server side issue.@Deprecated public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSIot
request
- The originally executed requestCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.